EMU_GetFirmwareString: Insufficient data read when trying to read the string length.

Hello 

I was using the NRF52840 dev kit as J-link to develop a custom board. at first was working, i uploaded a blink code to it then i modified the libry from gpio.h to boards.h and ran and example code but after the uploaded one led stays constantly on and the J-Link dosen't connect again. i'm using segger embedded studio.

this is the error

Connecting ?J-Link? using ?USB?
Loaded /Applications/SEGGER Embedded Studio for ARM 6.40/bin/libjlinkarm.dylib
EMU_GetFirmwareString: Insufficient data read when trying to read the string length.
 Insufficient data read when trying to read the string length.
Cannot connect to J-Link
Related