This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Failed to connect to target. No idcode detected. Please check connection and Target Interface Type

I have been using nRF9160 DK for a while, with program running and all, however today I failed to connect to it using SEGGER Embedded Studio with the following error.

Connecting ‘J-Link’ using ‘USB’
Connecting to target using SWD
Loaded C:/arm_segger_embedded_studio_v430c_win_x64_nordic/bin/JLink_x64.dll
Firmware Version: J-Link OB-K22-NordicSemi compiled Jan 21 2020 17:33:01
DLL Version: 6.56a
Hardware Version: V1.00
Target Voltage: 3.300
Device "NRF9160" selected.
ConfigTargetSettings() start
---Setting ROM table---
ConfigTargetSettings() end
ConfigTargetSettings() start
---Setting ROM table---
ConfigTargetSettings() end
connect failed
Failed to connect to target.
No idcode detected.
Please check connection and Target Interface Type

does anyone know how to solve this problem?

Parents Reply Children
  • NB NB: Accidentally shorting pins 2 and 3 (where pin closest to USB connector is pin 3) -> dead DK! So be careful, remove USB power before connecting your measurement probes.

    Some questions/remarks:

    • Can you find the board in Device Manager?
    • Is LED5 blinking?
    • Could you test with another USB cable or a different USB port?
    • Please ensure SW5 is set to nRF9160

    Best regards,

    Simon

Related