Cant flash nrf52840dk anymore

Hi,
i was working on a project and from one day to the next i am no longer able to flash my DevBoard. 

When pluging it in it comes up as "E:\" name JLINK as always, but west flash has this Error:

ERROR: Unable to connect to a debugger.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 33: nrfjprog --program 'c:\Users\techn\Documents\nordicprojects\Button_DeepSleep\dk\zephyr\zephyr.hex' --sectoranduicrerase -f NRF52 --snr 683374296

and i will attach log.log from: nrfjprog --program 'location\zephyr.hex' --sectoranduicrerase -f NRF52 --snr 683374296 --log

[2022-Jul-20 02:19:31] [ info] --------------------------------------------------------------------------------
[2022-Jul-20 02:19:31] [ info] C:\Program Files (x86)\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --program c:\Users\techn\Documents\nordicprojects\Button_DeepSleep\dk\zephyr\zephyr.hex --sectoranduicrerase -f NRF52 --snr 683374296 --log 
[2022-Jul-20 02:19:31] [ info] nrfjprog version 10.15.1 external
[2022-Jul-20 02:19:31] [ info] --------------------------------------------------------------------------------
[2022-Jul-20 02:19:31] [ info] Load library at C:\Program Files (x86)\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
[2022-Jul-20 02:19:31] [ info] Library loaded, loading member functions.
[2022-Jul-20 02:19:31] [ info] Member functions succesfully loaded.
[2022-Jul-20 02:19:31] [debug] [ Client] - open
[2022-Jul-20 02:19:31] [debug] [ Client] - start
[2022-Jul-20 02:19:31] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence d5cf27eb-e0fd-4a15-b7b3-c675f63af6fc.

[2022-Jul-20 02:19:31] [trace] [ Client] - Command open executed for 233 milliseconds with result 0
[2022-Jul-20 02:19:31] [debug] [ Client] - enum_emu_snr
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
[2022-Jul-20 02:19:31] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
[2022-Jul-20 02:19:31] [debug] [  JLink] - Logger sink registered in JLink logger
[2022-Jul-20 02:19:31] [debug] [  nRF52] - open
[2022-Jul-20 02:19:31] [debug] [  nRF52] - just_check_family
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - open_dll
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[2022-Jul-20 02:19:31] [ info] [SeggerBackend] - Load library at C:\Program Files (x86)\SEGGER\JLink\JLinkARM.dll.
[2022-Jul-20 02:19:31] [ info] [SeggerBackend] - Library loaded, loading member functions.
[2022-Jul-20 02:19:31] [debug] [ Client] - connect_to_emu_with_snr
[2022-Jul-20 02:19:31] [ info] [SeggerBackend] - Member functions succesfully loaded.
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - dll_version
[2022-Jul-20 02:19:31] [ info] [SeggerBackend] - Segger dll version 7.58.b loaded.
[2022-Jul-20 02:19:31] [trace] [ Worker] - Command open executed for 33 milliseconds with result 0
[2022-Jul-20 02:19:31] [debug] [  nRF52] - enum_emu_con_info
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - is_connected_to_emu
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - enum_emu_con_info
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - is_connected_to_emu
[2022-Jul-20 02:19:31] [trace] [ Worker] - Command enum_emu_con_info executed for 9 milliseconds with result 0
[2022-Jul-20 02:19:31] [debug] [  nRF52] - connect_to_emu_with_snr
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - is_connected_to_emu
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - connect_to_emu_with_snr
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - is_connected_to_emu
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - ---just_enum_emu_snr
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - ---just_get_num_emus
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
[2022-Jul-20 02:19:31] [debug] [SeggerBackend] - Segger logging enabled.
[2022-Jul-20 02:19:31] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Feb  2 2021 16:47:20
[2022-Jul-20 02:19:31] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Feb  2 2021 16:47:20
[2022-Jul-20 02:19:31] [trace] [  JLink] - Hardware: V1.00
[2022-Jul-20 02:19:31] [trace] [  JLink] - S/N: 683374296
[2022-Jul-20 02:19:31] [trace] [  JLink] - OEM: SEGGER
[2022-Jul-20 02:19:31] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
[2022-Jul-20 02:19:31] [trace] [  JLink] - TELNET listener socket opened on port 19021
[2022-Jul-20 02:19:31] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
[2022-Jul-20 02:19:31] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 174.794ms returns "O.K."  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_Lock()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_GetHWStatus(...)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.439ms returns 0  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.016ms returns 0x01  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.016ms returns 0x00  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.031ms returns 0x00  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.079ms returns 0  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.445ms returns 0x00  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_SetSpeed(2000)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.293ms  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_GetSN()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.033ms returns 683374296  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - read_debug_port_idr
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - read_debug_port_register
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - coresight_configure
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 101.708ms returns 0  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.884ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_abort_debug_action
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.163ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.888ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.186ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.663ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.822ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.873ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_abort_debug_action
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.827ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.872ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.873ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.447ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [trace] [ Client] - Command connect_to_emu_with_snr executed for 533 milliseconds with result -102
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.002ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.010ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_abort_debug_action
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.021ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.014ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.099ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.074ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.082ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.024ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_abort_debug_action
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.031ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.095ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.079ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.032ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.996ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.169ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_abort_debug_action
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.071ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.112ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.037ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.065ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.085ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.096ms  
[2022-Jul-20 02:19:32] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 525 milliseconds with result -102
[2022-Jul-20 02:19:32] [debug] [  nRF52] - close
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - is_connected_to_emu
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_IsOpen()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.055ms returns 0x01  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_Lock()  
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - close
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - disconnect_from_emu
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_disconnect_from_emu
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - is_connected_to_device
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_IsConnected()  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.057ms returns FALSE  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.018ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_abort_debug_action
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.189ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.148ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.047ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.127ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.039ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.071ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_abort_debug_action
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.015ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.132ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.174ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.126ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.034ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.054ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_abort_debug_action
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.069ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.152ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.989ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.041ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.033ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.174ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_abort_debug_action
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.099ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.046ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.039ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.101ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.120ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.024ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - ---just_abort_debug_action
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.108ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.088ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.091ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.096ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 1.133ms returns -1  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_HasError()  
[2022-Jul-20 02:19:32] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2022-Jul-20 02:19:32] [trace] [  JLink] - - 0.171ms  
[2022-Jul-20 02:19:32] [trace] [  JLink] - JLINK_Close()  
[2022-Jul-20 02:19:32] [debug] [SeggerBackend] - Segger Backend closed.
[2022-Jul-20 02:19:32] [debug] [  nRF52] - nRF family DLL closed
[2022-Jul-20 02:19:32] [trace] [ Client] - Command close executed for 147 milliseconds with result 0
[2022-Jul-20 02:19:32] [debug] [ Client] - terminate
[2022-Jul-20 02:19:32] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
[2022-Jul-20 02:19:32] [trace] [ Worker] - Command close executed for 146 milliseconds with result 0
[2022-Jul-20 02:19:32] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
[2022-Jul-20 02:19:32] [trace] [ Worker] - Executed 5 commands for 713 milliseconds
[2022-Jul-20 02:19:32] [debug] [ Client] - Worker process exited with code: 0
[2022-Jul-20 02:19:32] [debug] [ Client] - Worker process exited with code: 0
[2022-Jul-20 02:19:32] [debug] [ Client] - Child process terminated with result 0
[2022-Jul-20 02:19:32] [trace] [ Client] - Executed 5 commands for 928 milliseconds
[2022-Jul-20 02:19:32] [debug] [ Client] - terminate

It also is no longer detected by the NRF programer UI, bevor it was a 52Board now it shows up as unsupported JLink.

I tried this solution and I was able to do the steps but it didn’t help :(

  • Hello,

    It is possible that you have somehow modified the DK, e.g. that you yesterday did some power consumption measurement and thereby cut some solder pad close to the current consumption header? Or it is possible that you have enabled pin reset by accident, and that P0.18 now is pulled low? In the latter case you need to connect P0.18 to VDD to recover the board.

    Kenneth

  • Hello,

    Thanks for the respons.
    I havent modified anything (at least not on Purpose) My sketch is trying to deepsleep and be woken up by pin 0.02 and I am using 1.15 during the sketch.

    The board is also always connected over USB, no external power.

    I tried your suggestion of connecting pin 0.18 to VDD shortly as well as connected on power-up, but it is still not recognized correctly :/

    Any further troubleshooting tips / ideas woold be greatly appreciated.

    Simon

  • If calling 'nrfjprog --recover' doesn't help either, then it seems to be damaged some way. But do some visual inspection of the board for any damages or wires that might be short circuit something. Are any of the switches out of place? Do you have any other DK's you can use for development?

    Kenneth

Related