J-Link DLL (error code =-1) programming custom nRF9160 board

Hi,

I am trying to program the custom nRF9160 board using SEGGER JLink/SWD programmer, For same of the boards when connected to custom board and trying to select the device in the programmer tool in nRF Connect for Desktop I get the following error. 

2025-05-08T09:14:32.540Z INFO Initialising the bundled nrfutil device
2025-05-08T09:14:32.556Z DEBUG Application data folder: C:\Users\popai\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer
2025-05-08T09:14:32.593Z DEBUG Sending event "programmer: running nrfutil device"
2025-05-08T09:14:32.607Z DEBUG App pc-nrfconnect-programmer v4.5.0 (official)
2025-05-08T09:14:32.607Z DEBUG App path: C:\Users\popai\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer
2025-05-08T09:14:32.607Z DEBUG nRFConnect 5.1.0, required by the app is (>=5.0.2)
2025-05-08T09:14:32.607Z DEBUG nRFConnect path: C:\Users\popai\AppData\Local\Programs\nrfconnect\resources\app.asar
2025-05-08T09:14:32.607Z DEBUG HomeDir: C:\Users\popai
2025-05-08T09:14:32.607Z DEBUG TmpDir: C:\Users\popai\AppData\Local\Temp
2025-05-08T09:14:33.029Z DEBUG Sending event "programmer: running nrfutil device"
2025-05-08T09:14:33.370Z DEBUG Sending event "programmer: running nrfutil device"
2025-05-08T09:14:33.370Z DEBUG Sending event "programmer: running nrfutil device"
2025-05-08T09:14:33.374Z DEBUG Sending event "programmer: running nrfutil device"
2025-05-08T09:14:33.414Z INFO Using the bundled core version for nrfutil device: 8.0.0
2025-05-08T09:14:33.847Z INFO Using nrfutil-device version: 2.6.4
2025-05-08T09:14:33.847Z INFO Using nrf-device-lib version: 0.17.35
2025-05-08T09:14:33.847Z INFO Using nrfjprog DLL version: 10.24.2
2025-05-08T09:14:33.847Z INFO Using JLink version: JLink_V8.30
2025-05-08T09:14:33.848Z INFO Your version of SEGGER J-Link (8.30) is newer than the one this app was tested with (7.94i). The tested version is not required, and your J-Link version will most likely work fine. If you get issues related to J-Link with your devices, use the tested version.
2025-05-08T09:14:34.116Z INFO Getting serial port options from the persistent store for 000052005496.pc-nrfconnect-programmer
2025-05-08T09:14:34.116Z INFO Getting serial port options from the persistent store for 8&164f767&0&4.pc-nrfconnect-programmer
2025-05-08T09:14:34.118Z DEBUG Sending event "programmer: device connected"
2025-05-08T09:14:34.119Z DEBUG Sending event "programmer: device connected"
2025-05-08T09:16:03.694Z INFO Selecting device with the serial number 000052005496
2025-05-08T09:16:03.707Z DEBUG Sending event "programmer: running nrfutil device"
2025-05-08T09:16:04.791Z ERROR Error: Failed with exit code 1.
Failed to device info one or more devices:
 * 52005496: [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic.
Message: Operation device-info failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).
2025-05-08T09:16:04.792Z INFO Selected device with the serial number 000052005496
2025-05-08T09:16:04.792Z INFO Using nrfutil device to communicate with target via JLink
2025-05-08T09:16:04.796Z DEBUG Sending event "programmer: device selected"
2025-05-08T09:16:04.796Z DEBUG Sending event "programmer: running nrfutil device"
2025-05-08T09:16:04.865Z DEBUG Sending event "programmer: running nrfutil device"
2025-05-08T09:16:05.744Z INFO Reading readback protection status for Application core
2025-05-08T09:16:05.744Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1)
2025-05-08T09:16:05.948Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 - [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic.
Message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).
2025-05-08T09:16:05.948Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 - [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic.
Message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).
2025-05-08T09:17:02.679Z DEBUG Sending event "programmer: running nrfutil device"
2025-05-08T09:17:03.762Z ERROR Error: Failed with exit code 1.
Failed to device info one or more devices:
 * 52005496: [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic.
Message: Operation device-info failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).
2025-05-08T09:17:03.766Z DEBUG Sending event "programmer: running nrfutil device"
2025-05-08T09:17:03.835Z DEBUG Sending event "programmer: running nrfutil device"
2025-05-08T09:17:04.724Z INFO Reading readback protection status for Application core
2025-05-08T09:17:04.724Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1)
2025-05-08T09:17:04.921Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 - [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic.
Message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).

i try to program with VScode: nrfjprog --log --program 'd:\ncs\app\acc_nrf9160\build\zephyr\merged.hex' --sectorerase --verify -f NRF91 --snr 52005496

and i get this errors:

[2025-May-08 12:43:38] [debug] --------------------------------------------------------------------------------
[2025-May-08 12:43:38] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --log --program d:\ncs\app\acc_nrf9160\build\zephyr\merged.hex --sectorerase --verify -f NRF91 --snr 52005496 
[2025-May-08 12:43:38] [debug] nrfjprog version 10.24.2 external
[2025-May-08 12:43:38] [debug] --------------------------------------------------------------------------------
[2025-May-08 12:43:38] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
[2025-May-08 12:43:38] [ info] Library loaded, loading member functions.
[2025-May-08 12:43:38] [ info] Member functions succesfully loaded.
[2025-May-08 12:43:39] [debug] [ Client] - open
[2025-May-08 12:43:39] [debug] [ Client] - start
[2025-May-08 12:43:39] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence b2d3d351-36e9-43d7-8f70-8790874e8008.

[2025-May-08 12:43:39] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
[2025-May-08 12:43:39] [trace] [ Client] - Command open executed for 43 milliseconds with result 0
[2025-May-08 12:43:39] [debug] [  JLink] - Logger sink registered in JLink logger
[2025-May-08 12:43:39] [debug] [  nRF91] - open
[2025-May-08 12:43:39] [debug] [  nRF91] - just_check_family
[2025-May-08 12:43:39] [debug] [SeggerBackend] - open_dll
[2025-May-08 12:43:39] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[2025-May-08 12:43:39] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
[2025-May-08 12:43:39] [debug] [ Client] - config
[2025-May-08 12:43:39] [ info] [SeggerBackend] - Library loaded, loading member functions.
[2025-May-08 12:43:39] [ info] [SeggerBackend] - Member functions succesfully loaded.
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Set batch mode
[2025-May-08 12:43:39] [debug] [SeggerBackend] - dll_version
[2025-May-08 12:43:39] [ info] [SeggerBackend] - Segger dll version 8.30.  loaded.
[2025-May-08 12:43:39] [trace] [ Worker] - Command open executed for 4 milliseconds with result 0
[2025-May-08 12:43:39] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
[2025-May-08 12:43:39] [debug] [ Client] - enum_emu_snr
[2025-May-08 12:43:39] [debug] [  nRF91] - config
[2025-May-08 12:43:39] [debug] [SeggerBackend] - enum_emu_snr
[2025-May-08 12:43:39] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
[2025-May-08 12:43:39] [trace] [ Worker] - Command config executed for 2 milliseconds with result 0
[2025-May-08 12:43:39] [debug] [  nRF91] - enum_emu_con_info
[2025-May-08 12:43:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-May-08 12:43:39] [debug] [SeggerBackend] - enum_emu_con_info
[2025-May-08 12:43:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-May-08 12:43:39] [trace] [ Worker] - Command enum_emu_con_info executed for 5 milliseconds with result 0
[2025-May-08 12:43:39] [debug] [ Client] - connect_to_emu_with_snr
[2025-May-08 12:43:39] [debug] [  nRF91] - connect_to_emu_with_snr
[2025-May-08 12:43:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-May-08 12:43:39] [debug] [SeggerBackend] - connect_to_emu_with_snr
[2025-May-08 12:43:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_enum_emu_snr
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_get_num_emus
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Segger logging enabled.
[2025-May-08 12:43:39] [trace] [  JLink] - Firmware: J-Link V12 compiled Apr  1 2025 10:02:39
[2025-May-08 12:43:39] [trace] [  JLink] - Firmware: J-Link V12 compiled Apr  1 2025 10:02:39
[2025-May-08 12:43:39] [trace] [  JLink] - Hardware: V12.00
[2025-May-08 12:43:39] [trace] [  JLink] - S/N: 52005496
[2025-May-08 12:43:39] [trace] [  JLink] - OEM: SEGGER
[2025-May-08 12:43:39] [trace] [  JLink] - Feature(s): GDB
[2025-May-08 12:43:39] [trace] [  JLink] - Bootloader: 2022 Oct 19
[2025-May-08 12:43:39] [trace] [  JLink] - USB speed mode: High speed (480 MBit/s)
[2025-May-08 12:43:39] [trace] [  JLink] - TELNET listener socket opened on port 19021
[2025-May-08 12:43:39] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
[2025-May-08 12:43:39] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
[2025-May-08 12:43:39] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
[2025-May-08 12:43:39] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
[2025-May-08 12:43:39] [trace] [ Client] - Command connect_to_emu_with_snr executed for 78 milliseconds with result 0
[2025-May-08 12:43:39] [debug] [ Client] - read_connected_emu_snr
[2025-May-08 12:43:39] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.30 " 
[2025-May-08 12:43:39] [trace] [  JLink] - - 39.240ms returns "O.K."  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_Lock()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.001ms returns 0x01  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.002ms returns 0x00  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.003ms returns 0x00  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.008ms returns 0  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.500ms returns 0x00  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_GetSpeedInfo()  
[2025-May-08 12:43:39] [trace] [  JLink] - 180000000 Hz / n, n >= 12
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.006ms   
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 15000kHz
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_SetSpeed(2000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.087ms   
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_GetSpeed()  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.002ms returns 2000  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - SWD clock set to 2000kHz
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_GetSN()  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.002ms returns 52005496  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.003ms   
[2025-May-08 12:43:39] [debug] [  nRF91] - read_device_family
[2025-May-08 12:43:39] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 66 milliseconds with result 0
[2025-May-08 12:43:39] [trace] [ Client] - Command read_connected_emu_snr executed for 15 milliseconds with result 0
[2025-May-08 12:43:39] [debug] [ Client] - read_device_info
[2025-May-08 12:43:39] [debug] [  nRF91] - read_connected_emu_snr
[2025-May-08 12:43:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_IsOpen()  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.015ms returns 0x01  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_Lock()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - read_connected_emu_snr
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.004ms   
[2025-May-08 12:43:39] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
[2025-May-08 12:43:39] [debug] [  nRF91] - read_device_info
[2025-May-08 12:43:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_IsOpen()  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.008ms returns 0x01  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_Lock()  
[2025-May-08 12:43:39] [debug] [  nRF91] - Just_read_device_version
[2025-May-08 12:43:39] [debug] [SeggerBackend] - read_access_port_register
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_read_access_port_register
[2025-May-08 12:43:39] [debug] [SeggerBackend] - coresight_configure
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_GetHWStatus(...)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.271ms returns 0  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
[2025-May-08 12:43:39] [trace] [  JLink] - - 102.171ms returns 0  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - read_debug_port_idr
[2025-May-08 12:43:39] [debug] [SeggerBackend] - read_debug_port_register
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.559ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.437ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.405ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.382ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.392ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.447ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.433ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.422ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.394ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.398ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.382ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.380ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.389ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.411ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.405ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.413ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.391ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.386ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.418ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.463ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.428ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [error] [ Client] - Encountered error -102: Command read_device_info executed for 128 milliseconds with result -102
[2025-May-08 12:43:39] [warning] Failed to read device info. Attempting to complete command anyways.
[2025-May-08 12:43:39] [debug] [ Client] - read_memory_descriptors
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.437ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.393ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.388ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.388ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.384ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.385ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.381ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.382ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.385ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.401ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.417ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.542ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.425ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.448ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.442ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.428ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.405ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.401ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.393ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.388ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.385ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.048ms   
[2025-May-08 12:43:39] [error] [ Worker] - An unknown error.
[2025-May-08 12:43:39] [trace] [ Worker] - Command read_device_info executed for 121 milliseconds with result -102
[2025-May-08 12:43:39] [debug] [  nRF91] - read_memory_descriptors
[2025-May-08 12:43:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_IsOpen()  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.010ms returns 0x01  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_Lock()  
[2025-May-08 12:43:39] [debug] [  nRF91] - Just_read_memory_descriptors
[2025-May-08 12:43:39] [error] [ Client] - Encountered error -102: Command read_memory_descriptors executed for 30 milliseconds with result -102
[2025-May-08 12:43:39] [debug] [  nRF91] - Just_readback_status
[2025-May-08 12:43:39] [debug] [SeggerBackend] - read_access_port_register
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_read_access_port_register
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.442ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.395ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.397ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.429ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.401ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.384ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.404ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.390ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.400ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.406ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.405ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.408ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.548ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.459ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.458ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.422ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.416ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.399ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.401ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.401ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.388ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.394ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.397ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.387ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.415ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.412ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.413ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.420ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.398ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.385ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.385ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.411ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.445ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.444ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.440ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.395ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.394ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.400ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.382ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.403ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.388ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.381ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.039ms   
[2025-May-08 12:43:39] [error] [ Worker] - An unknown error.
[2025-May-08 12:43:39] [trace] [ Worker] - Command read_memory_descriptors executed for 18 milliseconds with result -102
[2025-May-08 12:43:39] [debug] [  nRF91] - close
[2025-May-08 12:43:39] [debug] [  nRF91] - close
[2025-May-08 12:43:39] [debug] [SeggerBackend] - is_connected_to_emu
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_IsOpen()  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.008ms returns 0x01  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_Lock()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - close
[2025-May-08 12:43:39] [debug] [SeggerBackend] - disconnect_from_emu
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_disconnect_from_emu
[2025-May-08 12:43:39] [debug] [SeggerBackend] - is_connected_to_device
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_IsConnected()  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.002ms returns FALSE  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.430ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.404ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.473ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.416ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.410ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.395ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.404ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.396ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.385ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.416ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.406ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.403ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.379ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.396ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.407ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.461ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.446ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.466ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.432ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.421ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.415ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.425ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.415ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.429ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.411ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.413ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.422ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.414ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.427ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.422ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.420ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.403ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.425ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.430ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.434ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.403ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.387ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.393ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.394ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.390ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.390ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.408ms returns -1  
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_HasError()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Ignore exception An unknown error.
[2025-May-08 12:43:39] [trace] [  JLink] - - 0.055ms   
[2025-May-08 12:43:39] [trace] [  JLink] - JLINK_Close()  
[2025-May-08 12:43:39] [debug] [SeggerBackend] - Segger Backend closed.
[2025-May-08 12:43:39] [debug] [  nRF91] - nRF family DLL closed
[2025-May-08 12:43:39] [trace] [ Worker] - Command close executed for 62 milliseconds with result 0
[2025-May-08 12:43:39] [trace] [ Client] - Command close executed for 79 milliseconds with result 0
[2025-May-08 12:43:39] [debug] [ Client] - terminate
[2025-May-08 12:43:39] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
[2025-May-08 12:43:39] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
[2025-May-08 12:43:39] [trace] [ Worker] - Executed 9 commands for 278 milliseconds
[2025-May-08 12:43:39] [debug] [ Client] - Worker process exited with code: 0
[2025-May-08 12:43:39] [debug] [ Client] - Worker process exited with code: 0
[2025-May-08 12:43:39] [debug] [ Client] - Child process terminated with result 0
[2025-May-08 12:43:39] [trace] [ Client] - Executed 9 commands for 403 milliseconds
[2025-May-08 12:43:39] [debug] [ Client] - terminate

What could be the problem? it is anything i can do to recover this boards?

(I can program most boards without problems but some I can't)

Related