Can't connect to IMXRT1170 EVK board using SWD

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

Can't connect to IMXRT1170 EVK board using SWD

Jump to solution
980 Views
FredrikMoller
Contributor III

Hardware setup:

An external JLink-debugger is connected to J1 connector on IMXRT1170 EVK board. Board has not been modified since purchase. The J-Link debugger is connected to PC using USB. Board is powered using 5V wall power at J43.

Instructions to reproduce the problem:

  1. Open JLink Commander on PC.
  2. Run "connect" command with device "MIMXRT1176XXXA_M7", target interface "SWD" and speed 4000kHz.
  3. Observe error message "Cannot connect to target". Expected behaviour was successful connection.

Furher information:

Lowering SWD speed had no effect. VTref at pin 1 was 3.3 Volts as expected.

Pin 7 (SWDIO/JTAG_TMS) was measured to be at 0 Volts. This was unexpected, as board schematics shows a pull-up to 3.3 Volts. Removing the JTAG cable had no effect on voltage level for pin 7.

0 Kudos
1 Solution
969 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @FredrikMoller 

  MIMXRT1170-EVK can work with the external JLINK debugger, I have tested it on my side previously.

  Please follow me to test it again:

1. Board is powered using 5V wall power at J43, J38 connect 1-2.

2. remove J5,J6,J7,J8, it will disconnect the on board debugger.

3. Connect your Segger JLINK debugger to the J1

4. Use the JLINK commander connect the board:

kerryzhou_0-1639725518316.png

 

Wish it helps you!

Best Regards,

Kerry

 

View solution in original post

1 Reply
970 Views
kerryzhou
NXP TechSupport
NXP TechSupport

Hi @FredrikMoller 

  MIMXRT1170-EVK can work with the external JLINK debugger, I have tested it on my side previously.

  Please follow me to test it again:

1. Board is powered using 5V wall power at J43, J38 connect 1-2.

2. remove J5,J6,J7,J8, it will disconnect the on board debugger.

3. Connect your Segger JLINK debugger to the J1

4. Use the JLINK commander connect the board:

kerryzhou_0-1639725518316.png

 

Wish it helps you!

Best Regards,

Kerry