S32k344 jtag

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

S32k344 jtag

180 Views
Kavinraj1
Contributor I

Hello,

I am working with the S32K344 Mini-EVB and trying to connect a Segger J-Link debugger using the JTAG interface.

I am using the J9 connector for JTAG, but the debugger is not able to connect to the target.

I would like to know:

Is J9 the correct connector for JTAG on this board?

Do I need to change any jumper settings (for example, OpenSDA or JTAG/SWD selection)?

Should I use JTAG or SWD interface in the Segger configuration?

Currently, I am getting a connection failure in J-Link tools.

Any guidance or step-by-step instructions would be very helpful.

Thank you.

0 Kudos
Reply
1 Reply

131 Views
Robin_Shen
NXP TechSupport
NXP TechSupport

Hi

The FRDM-A-S32K344 - Default configuration of UM12406: FRDM-A-S32K344 development board mentioned:

Interface FRDM-A-S32K344 Reference / Signal Default configuration Description / Comment
On-board Debug Open SDA J11 Enabled The USB-C connector is configured by default as the primary interface for debugging.
JP11 1 - 2 JP11 is routed as default enabling the OpenSDA voltage.
PTA15 – LPUART6_RX Enabled For PC serial communication.
PTA16 – LPUART6_ TX Enabled
JTAG J9 Disabled The JTAG interface of the S32K344 microcontroller is accessible via a 20-pin Cortex Debug + ETM connector. To enable this interface, jumper JP11 (OpenSDA voltage) must be removed.

 

Please remove JP11 and try again.
Hope it helps.


Best Regards,
Robin
-------------------------------------------------------------------------------
Note:
- If this post answers your question, please click the "ACCEPT AS SOLUTION" button. Thank you!

- We are following threads for 7 weeks after the last post, later replies are ignored
Please open a new thread and refer to the closed one, if you have a related question at a later point in time.

-------------------------------------------------------------------------------

0 Kudos
Reply
%3CLINGO-SUB%20id%3D%22lingo-sub-2356165%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3ES32k344%20jtag%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2356165%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3EHello%2C%3C%2FP%3E%3CP%3EI%20am%20working%20with%20the%20S32K344%20Mini-EVB%20and%20trying%20to%20connect%20a%20Segger%20J-Link%20debugger%20using%20the%20JTAG%20interface.%3C%2FP%3E%3CP%3EI%20am%20using%20the%20J9%20connector%20for%20JTAG%2C%20but%20the%20debugger%20is%20not%20able%20to%20connect%20to%20the%20target.%3C%2FP%3E%3CP%3EI%20would%20like%20to%20know%3A%3C%2FP%3E%3CP%3EIs%20J9%20the%20correct%20connector%20for%20JTAG%20on%20this%20board%3F%3C%2FP%3E%3CP%3EDo%20I%20need%20to%20change%20any%20jumper%20settings%20(for%20example%2C%20OpenSDA%20or%20JTAG%2FSWD%20selection)%3F%3C%2FP%3E%3CP%3EShould%20I%20use%20JTAG%20or%20SWD%20interface%20in%20the%20Segger%20configuration%3F%3C%2FP%3E%3CP%3ECurrently%2C%20I%20am%20getting%20a%20connection%20failure%20in%20J-Link%20tools.%3C%2FP%3E%3CP%3EAny%20guidance%20or%20step-by-step%20instructions%20would%20be%20very%20helpful.%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2356351%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%20translate%3D%22no%22%3ERe%3A%20S32k344%20jtag%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2356351%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%20data-unlink%3D%22true%22%3EHi%3C%2FP%3E%0A%3CP%20data-unlink%3D%22true%22%3EThe%26nbsp%3B%3CSPAN%3E%3CSTRONG%3EFRDM-A-S32K344%20-%20Default%20configuration%3C%2FSTRONG%3E%26nbsp%3Bof%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.nxp.com%2Fbundle%2FUM12406%2Fpage%2Ftopics%2FDefault_Configuration.html%22%20target%3D%22_self%22%20rel%3D%22nofollow%20noopener%20noreferrer%22%3E%3CSTRONG%3EUM12406%3A%20FRDM-A-S32K344%20development%20board%3C%2FSTRONG%3E%3C%2FA%3E%20mentioned%3A%3C%2FSPAN%3E%3C%2FP%3E%0A%3CTABLE%20id%3D%22topic_0d931c4d-914c-49f7-af87-b0c4b71bb029__table_tzh_ncf_mgc%22%20class%3D%22table%20frame-all%20table--pgwide-0%22%3E%0A%3CTBODY%20class%3D%22tbody%22%3E%0A%3CTR%20class%3D%22row%22%3E%0A%3CTD%20width%3D%22128px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EInterface%3C%2FTD%3E%0A%3CTD%20width%3D%2298px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EFRDM-A-S32K344%3C%2FTD%3E%0A%3CTD%20width%3D%22125px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EReference%20%2F%20Signal%3C%2FTD%3E%0A%3CTD%20width%3D%22136px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EDefault%20configuration%3C%2FTD%3E%0A%3CTD%20width%3D%22545px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EDescription%20%2F%20Comment%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row%22%3E%0A%3CTD%20rowspan%3D%224%22%20width%3D%22128px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EOn-board%20Debug%20Open%20SDA%3C%2FTD%3E%0A%3CTD%20width%3D%2298px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3E%E2%97%8F%3C%2FTD%3E%0A%3CTD%20width%3D%22125px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EJ11%3C%2FTD%3E%0A%3CTD%20width%3D%22136px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EEnabled%3C%2FTD%3E%0A%3CTD%20width%3D%22545px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EThe%20USB-C%20connector%20is%20configured%20by%20default%20as%20the%20primary%20interface%20for%20debugging.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row%22%3E%0A%3CTD%20width%3D%2298px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3E%E2%97%8F%3C%2FTD%3E%0A%3CTD%20width%3D%22125px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EJP11%3C%2FTD%3E%0A%3CTD%20width%3D%22136px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3E1%20-%202%3C%2FTD%3E%0A%3CTD%20width%3D%22545px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EJP11%20is%20routed%20as%20default%20enabling%20the%20OpenSDA%20voltage.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row%22%3E%0A%3CTD%20rowspan%3D%222%22%20width%3D%2298px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3E%E2%97%8F%3C%2FTD%3E%0A%3CTD%20width%3D%22125px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EPTA15%20%E2%80%93%20LPUART6_RX%3C%2FTD%3E%0A%3CTD%20width%3D%22136px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EEnabled%3C%2FTD%3E%0A%3CTD%20rowspan%3D%222%22%20width%3D%22545px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EFor%20PC%20serial%20communication.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row%22%3E%0A%3CTD%20width%3D%22125px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EPTA16%20%E2%80%93%20LPUART6_%20TX%3C%2FTD%3E%0A%3CTD%20width%3D%22136px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EEnabled%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%20class%3D%22row%22%3E%0A%3CTD%20width%3D%22128px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EJTAG%3C%2FTD%3E%0A%3CTD%20width%3D%2298px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3E%E2%97%8F%3C%2FTD%3E%0A%3CTD%20width%3D%22125px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EJ9%3C%2FTD%3E%0A%3CTD%20width%3D%22136px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3E%3CFONT%20color%3D%22%23FF0000%22%3EDisabled%3C%2FFONT%3E%3C%2FTD%3E%0A%3CTD%20width%3D%22545px%22%20class%3D%22entry%20align-center%20colsep-1%20rowsep-1%20valign-middle%22%3EThe%20JTAG%20interface%20of%20the%20S32K344%20microcontroller%20is%20accessible%20via%20a%2020-pin%20Cortex%20Debug%20%2B%20ETM%20connector.%20%3CFONT%20color%3D%22%23FF0000%22%3ETo%20enable%20this%20interface%2C%20jumper%20JP11%20(OpenSDA%20voltage)%20must%20be%20removed%3C%2FFONT%3E.%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CBR%20%2F%3E%0A%3CP%3EPlease%20remove%20JP11%20and%20try%20again.%3CBR%20%2F%3EHope%20it%20helps.%3C%2FP%3E%0A%3CP%3E%3CBR%20%2F%3EBest%20Regards%2C%3CBR%20%2F%3ERobin%3CBR%20%2F%3E-------------------------------------------------------------------------------%3CBR%20%2F%3ENote%3A%3CBR%20%2F%3E-%20If%20this%20post%20answers%20your%20question%2C%20please%20click%20the%20%22ACCEPT%20AS%20SOLUTION%22%20button.%20Thank%20you!%3C%2FP%3E%0A%3CP%3E-%20We%20are%20following%20threads%20for%207%20weeks%20after%20the%20last%20post%2C%20later%20replies%20are%20ignored%3CBR%20%2F%3EPlease%20open%20a%20new%20thread%20and%20refer%20to%20the%20closed%20one%2C%20if%20you%20have%20a%20related%20question%20at%20a%20later%20point%20in%20time.%3C%2FP%3E%0A%3CP%3E-------------------------------------------------------------------------------%3C%2FP%3E%3C%2FLINGO-BODY%3E