0 SWD devices detected issue while flashing

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

0 SWD devices detected issue while flashing

1,983 Views
mayureshp
Contributor II

I am getting 0 SWD devices detected error when flashing IMXRT1175 controller using LPC Link-2.

I checked HW connections, which seems ok, i am getting some waveforms on SWDIO, SWDCLK and SWO as well

I am using SDK example "evkmimxrt1170_hello_world_demo_cm7" from 1175 SDK.

I have attached debug log. Do you have any solution for this? is there any other setting needs to be done?

mayureshp_0-1643632508792.png

 

0 Kudos
Reply
5 Replies

1,964 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @mayureshp 

I hope that you are doing excellent!

Just to get complete background >

  • Is this the first time that you are attempting  to debug your board?
  • Are you using custom board, correct? Mention this so we can check hardware design guidelines for the MCU. 
  • Did you attempted  to previously set any fuse in the MCU?

If you are able to do it:  please set the boot option to serial downloader mode , power cycle the board and try to  recover the MCU by erasing and flashing your application. Serial downloader halts the application from running.

Many thanks for posting and wait for our reply. 

Diego

0 Kudos
Reply

1,974 Views
mayureshp
Contributor II

I have tried with J Link segger, in Jtag mode. below are the logs i am getting. It says failed to "Failed to power up DAP". Do you have any Idea when this error is flagged?

 

0 Kudos
Reply

1,962 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @mayureshp 

Regarding your test for JTAG interface

Did you try to  set the  JTAG_MOD to  low? referring to  JTAG_MOD section Table 6. JTAG recommendation  Of the  Hardware Development Guide for the MIMXRT1160/1170 Processor

Diego

0 Kudos
Reply

1,955 Views
mayureshp
Contributor II

Hello @diego_charles 

Yes JTAG_MOD is LOW. when should i try to Flash and debug the application with Debugger? in Serial Download mode or Internal boot mode?

0 Kudos
Reply

1,942 Views
diego_charles
NXP TechSupport
NXP TechSupport

Hi @mayureshp 

Thanks for letting me know, 

Please try to erase and  flash with the board in serial downloader mode. This to  have  main application halted, or whatever the MCU is expecting to run that it is not the bootloader.

Did you where are able to flash the part in the past?

Cheers,

Diego

 

0 Kudos
Reply