Using S32K3X4EVB OBD to debug external target (S32K312)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Using S32K3X4EVB OBD to debug external target (S32K312)

Jump to solution
1,041 Views
Hareesh_S
Contributor II

Hello,

I have an S32K3X4EVB-T172 evaluation board from NXP and an S32K312 MCU (on custom hardware) that I want to program using the on-board debugger on the evaluation board, if that is possible/supported. I am aware that the programming connectors on the evalulation kit are meant to be used with an external programmer and the on-board target (K344) but I was expecting it to work the other way around as well, given the K312 is in the same family.

I have the debugger powered on (using the micro-USB port), but the eval board unpowered (no 12V input), and a 10-pin SWD/JTAG FPC connected to J418 on the evaluation kit and the S32K312 board, but the debugger does not seem to recognize the S32K312 (when trying to debug or run from S32DS. I have verified that the 10-pin SWD/JTAG connector on the S32K312 is working as intended using a Segger).

Is there anything I am doing wrong, or is this usecase explicitly not supported/won't work? 

Much thanks,
Hareesh

0 Kudos
Reply
1 Solution
1,020 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Hareesh_S 

While it is technically possible, please note that modifications to the EVB fall outside the scope of our support.

However, I would recommend reviewing the following resources where this topic is discussed in detail. 

Using the Freedom Board as SWD Programmer

Debug External Processors with USBDM and Freedom Board

S32K144 openSDA

Eval board as debugger

 

BR, VaneB

View solution in original post

0 Kudos
Reply
2 Replies
1,021 Views
VaneB
NXP TechSupport
NXP TechSupport

Hi @Hareesh_S 

While it is technically possible, please note that modifications to the EVB fall outside the scope of our support.

However, I would recommend reviewing the following resources where this topic is discussed in detail. 

Using the Freedom Board as SWD Programmer

Debug External Processors with USBDM and Freedom Board

S32K144 openSDA

Eval board as debugger

 

BR, VaneB

0 Kudos
Reply
986 Views
Hareesh_S
Contributor II

Hello @VaneB ,

Thank you for attaching the relevant resources. Looks like the only feasible way is to depopulate the K344 from my understanding, which I am not willing to do at the moment. I had assumed having the K344 not powered would be sufficient, but that does not seem to be the case.

Thanks for the assistance nevertheless!

With regards,
Hareesh S


0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2175898%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EUsing%20S32K3X4EVB%20OBD%20to%20debug%20external%20target%20(S32K312)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2175898%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20an%20S32K3X4EVB-T172%20evaluation%20board%20from%20NXP%20and%20an%20S32K312%20MCU%20(on%20custom%20hardware)%20that%20I%20want%20to%20program%20using%20the%20on-board%20debugger%20on%20the%20evaluation%20board%2C%20if%20that%20is%20possible%2Fsupported.%20I%20am%20aware%20that%20the%20programming%20connectors%20on%20the%20evalulation%20kit%20are%20meant%20to%20be%20used%20with%20an%20external%20programmer%20and%20the%20on-board%20target%20(K344)%20but%20I%20was%20expecting%20it%20to%20work%20the%20other%20way%20around%20as%20well%2C%20given%20the%20K312%20is%20in%20the%20same%20family.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20the%20debugger%20powered%20on%20(using%20the%20micro-USB%20port)%2C%20but%20the%20eval%20board%20unpowered%20(no%2012V%20input)%2C%20and%20a%2010-pin%20SWD%2FJTAG%20FPC%20connected%20to%20J418%20on%20the%20evaluation%20kit%20and%20the%20S32K312%20board%2C%20but%20the%20debugger%20does%20not%20seem%20to%20recognize%20the%20S32K312%20(when%20trying%20to%20debug%20or%20run%20from%20S32DS.%20I%20have%20verified%20that%20the%2010-pin%20SWD%2FJTAG%20connector%20on%20the%20S32K312%20is%20working%20as%20intended%20using%20a%20Segger).%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20there%20anything%20I%20am%20doing%20wrong%2C%20or%20is%20this%20usecase%20explicitly%20not%20supported%2Fwon't%20work%3F%26nbsp%3B%3CBR%20%2F%3E%3CBR%20%2F%3EMuch%20thanks%2C%3CBR%20%2F%3EHareesh%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176514%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Using%20S32K3X4EVB%20OBD%20to%20debug%20external%20target%20(S32K312)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176514%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F201913%22%20target%3D%22_blank%22%3E%40VaneB%3C%2FA%3E%26nbsp%3B%2C%3CBR%20%2F%3E%3CBR%20%2F%3EThank%20you%20for%20attaching%20the%20relevant%20resources.%20Looks%20like%20the%20only%20feasible%20way%20is%20to%20depopulate%20the%20K344%20from%20my%20understanding%2C%20which%20I%20am%20not%20willing%20to%20do%20at%20the%20moment.%20I%20had%20assumed%20having%20the%20K344%20not%20powered%20would%20be%20sufficient%2C%20but%20that%20does%20not%20seem%20to%20be%20the%20case.%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%20for%20the%20assistance%20nevertheless!%3CBR%20%2F%3E%3CBR%20%2F%3EWith%20regards%2C%3CBR%20%2F%3EHareesh%20S%3CBR%20%2F%3E%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2176084%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20Using%20S32K3X4EVB%20OBD%20to%20debug%20external%20target%20(S32K312)%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2176084%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHi%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F251993%22%20target%3D%22_blank%22%3E%40Hareesh_S%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EWhile%20it%20is%20technically%20possible%2C%20please%20note%20that%20modifications%20to%20the%20EVB%20fall%20outside%20the%20scope%20of%20our%20support.%3C%2FP%3E%0A%3CP%3EHowever%2C%20I%20would%20recommend%20reviewing%20the%20following%20resources%20where%20this%20topic%20is%20discussed%20in%20detail.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmcuoneclipse.com%2F2013%2F04%2F21%2Fusing-the-freedom-board-as-jtag-programmer%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EUsing%20the%20Freedom%20Board%20as%20SWD%20Programmer%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fmcuoneclipse.com%2F2013%2F04%2F27%2Fdebug-external-processors-with-usbdm-and-freedom-board%2F%22%20target%3D%22_blank%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EDebug%20External%20Processors%20with%20USBDM%20and%20Freedom%20Board%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FS32K144-openSDA%2Fm-p%2F1709078%22%20target%3D%22_blank%22%3ES32K144%20openSDA%3C%2FA%3E%3C%2FP%3E%0A%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FS32K%2FEval-board-as-debugger%2Ftd-p%2F766915%22%20target%3D%22_blank%22%3EEval%20board%20as%20debugger%3C%2FA%3E%3C%2FP%3E%0A%3CBR%20%2F%3E%0A%3CP%3EBR%2C%20VaneB%3C%2FP%3E%3C%2FLINGO-BODY%3E