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

Jlink not detecting on nRF52840 DK

I understood how external board programming works with nrf52840 DK.

Debug IN (P18) is used for external debugger while Debug OUT (P19) supports external board programming and debugging.

However, I used to program my custom board using P18 and it was working fine.

Today, I connected my custom board (based on nRF52832) on P19 port and started debugging. While debugging I went into critical area (app_error_weak.c) and it shows "On assert, the system can only recover with a reset". I did reset by pressing SW5 button and again started debugging. However, again the program went into critical area and upon this second reset, the serial port error came. I though it is happening because of loose MCU USB cable (J2) and tried to disconnect/connect but realized DK unresponsive.

nRF52840 DK MCU USB interface seems malfunctioned and not responding to being powered up. I cannot see JLINK connection prompt which generally appears as soon as USB connected to host PC. What wrong I did? Please help me in this concern. Is there any way to recover the board?

Related