RT1040-EVK and JTAG Debug

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

RT1040-EVK and JTAG Debug

420 Views
frank9
Contributor II

Question for connecting JTAG Debug to the RT1040-EVK (with MIMXRT1042XJM5B).  The EVK user manual says need to remove the J9 and J10 jumpers, which I have done, but I have not been able to connect via JTAG. 

I see that the schematic for the EVK mentions “Board rework and fuse programming are needed to support JTAG debug”.  Is this true?  It is not mentioned in EVK user manual.  If needed, what is the exact Board rework needed? 

Below picture is from EVK user manual with highlighted area for reference:

frank9_0-1703208334962.png

Below picture is from EVK schematic with highlighted area for reference:

frank9_1-1703208379340.png

 

0 Kudos
Reply
1 Reply

394 Views
Masmiseim
Senior Contributor I

Hello frank9,

I’m not sure about JTAG-Mode as it is also not working here (with Segger J-Link), but SWD is working fine. Have you been able to connect via SWD? This should work, but you must remove Jumper J3, J4, J9, J10 and J80.

The Onboard Freelink Interface should also work with SWD (do not forget to put the Jumpers J3, J4, J9, J10 back. J80 still needs to be open).

 

If you really need the JTAG mode, have a look at the fusemap chapter in the reference manual. With the DAP_SJC_SWD_SEL fuse you seem to be able to change the mode from SWD to JTAG.

Masmiseim_0-1703348882092.png

 

Best Regards

Markus

0 Kudos
Reply