Can't connect to IMXRT1170 EVK board using SWD

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

Can't connect to IMXRT1170 EVK board using SWD

跳至解决方案
1,566 次查看
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 项奖励
回复
1 解答
1,555 次查看
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

 

在原帖中查看解决方案

1 回复
1,556 次查看
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