nRF9151 SMA DK locked

I'm facing a persistent issue with my nRF9151-SMA-DK kit when trying to perform USB debugging, uploading, recovering, or erasing.

Interestingly, other boards (nRF9151-SMA-DK and nRF9151-DK) work fine with the identical setup.

I've attached five log files that capture the error messages I'm encountering.

Has anyone else experienced this problem or have insights into a potential fix? Any advice from the community or technical support would be greatly appreciated!

2025-06-18T14:22:58.709Z INFO Initialising the bundled nrfutil device
2025-06-18T14:22:58.731Z DEBUG Application data folder: C:\Users\abdukhair\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer
2025-06-18T14:22:58.773Z DEBUG Sending event "programmer: running nrfutil device"
2025-06-18T14:22:58.774Z DEBUG App pc-nrfconnect-programmer v4.6.0 (official)
2025-06-18T14:22:58.774Z DEBUG App path: C:\Users\abdukhair\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer
2025-06-18T14:22:58.774Z DEBUG nRFConnect 5.2.0, required by the app is (>=5.2.0)
2025-06-18T14:22:58.774Z DEBUG nRFConnect path: C:\Users\abdukhair\AppData\Local\Programs\nrfconnect\resources\app.asar
2025-06-18T14:22:58.774Z DEBUG HomeDir: C:\Users\abdukhair
2025-06-18T14:22:58.774Z DEBUG TmpDir: C:\Users\ABDUKH~1\AppData\Local\Temp
2025-06-18T14:22:58.912Z DEBUG Sending event "programmer: running nrfutil device"
2025-06-18T14:22:59.485Z DEBUG Sending event "programmer: running nrfutil device"
2025-06-18T14:22:59.485Z DEBUG Sending event "programmer: running nrfutil device"
2025-06-18T14:22:59.497Z DEBUG Sending event "programmer: running nrfutil device"
2025-06-18T14:22:59.602Z INFO Using the bundled core version for nrfutil device: 8.0.0
2025-06-18T14:22:59.636Z INFO Using nrfutil-device version: 2.10.2
2025-06-18T14:22:59.636Z INFO Using nrf-device-lib version: 0.17.71
2025-06-18T14:22:59.637Z INFO Using nrf-probe version: 0.38.0
2025-06-18T14:22:59.637Z INFO Using JLink version: JLink_V8.34
2025-06-18T14:22:59.637Z INFO Your version of SEGGER J-Link (8.34) is newer than the one this app was tested with (8.18). 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-06-18T14:22:59.700Z INFO Getting serial port options from the persistent store for 001052034638.pc-nrfconnect-programmer
2025-06-18T14:22:59.700Z INFO Device connected with the serial number 001052034638
2025-06-18T14:22:59.701Z DEBUG Sending event "programmer: device connected"
2025-06-18T14:23:04.443Z INFO Selecting device with the serial number 001052034638
2025-06-18T14:23:04.465Z DEBUG Sending event "programmer: running nrfutil device"
2025-06-18T14:23:05.167Z ERROR Error: Failed with exit code 1.
One or more device info tasks failed:
 * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
Message: Operation device-info failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
2025-06-18T14:23:05.168Z INFO Selected device with the serial number 001052034638
2025-06-18T14:23:05.168Z INFO Using nrfutil device to communicate with target via JLink
2025-06-18T14:23:05.203Z DEBUG Sending event "programmer: device selected"
2025-06-18T14:23:05.203Z DEBUG Sending event "programmer: running nrfutil device"
2025-06-18T14:23:05.405Z DEBUG Sending event "programmer: running nrfutil device"
2025-06-18T14:23:05.798Z INFO Reading readback protection status for Application core
2025-06-18T14:23:05.798Z INFO Reading readback protection status for Application core 0%
2025-06-18T14:23:05.940Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1)
2025-06-18T14:23:05.971Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
Message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
2025-06-18T14:23:05.971Z ERROR Error: Failed with exit code 1.
One or more batch tasks failed:
 * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
Message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).

2025-06-18T14:56:11.363Z INFO Initialising the bundled nrfutil device
2025-06-18T14:56:11.383Z DEBUG Application data folder: C:\Users\abdukhair\AppData\Roaming\nrfconnect\pc-nrfconnect-serial-terminal
2025-06-18T14:56:11.442Z DEBUG Sending event "serial-terminal: running nrfutil device"
2025-06-18T14:56:11.442Z DEBUG App pc-nrfconnect-serial-terminal v1.5.0 (official)
2025-06-18T14:56:11.442Z DEBUG App path: C:\Users\abdukhair\.nrfconnect-apps\node_modules\pc-nrfconnect-serial-terminal
2025-06-18T14:56:11.442Z DEBUG nRFConnect 5.2.0, required by the app is (>=5.2.0)
2025-06-18T14:56:11.442Z DEBUG nRFConnect path: C:\Users\abdukhair\AppData\Local\Programs\nrfconnect\resources\app.asar
2025-06-18T14:56:11.442Z DEBUG HomeDir: C:\Users\abdukhair
2025-06-18T14:56:11.442Z DEBUG TmpDir: C:\Users\ABDUKH~1\AppData\Local\Temp
2025-06-18T14:56:11.563Z DEBUG Sending event "serial-terminal: running nrfutil device"
2025-06-18T14:56:12.321Z DEBUG Sending event "serial-terminal: running nrfutil device"
2025-06-18T14:56:12.322Z DEBUG Sending event "serial-terminal: running nrfutil device"
2025-06-18T14:56:12.337Z DEBUG Sending event "serial-terminal: running nrfutil device"
2025-06-18T14:56:12.462Z INFO Using the bundled core version for nrfutil device: 8.0.0
2025-06-18T14:56:12.543Z INFO Using nrfutil-device version: 2.10.2
2025-06-18T14:56:12.543Z INFO Using nrf-device-lib version: 0.17.71
2025-06-18T14:56:12.544Z INFO Using nrf-probe version: 0.38.0
2025-06-18T14:56:12.544Z INFO Using JLink version: JLink_V8.34
2025-06-18T14:56:12.544Z INFO Your version of SEGGER J-Link (8.34) is newer than the one this app was tested with (8.18). 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-06-18T14:56:12.598Z INFO Getting serial port options from the persistent store for 001052034638.pc-nrfconnect-serial-terminal
2025-06-18T14:56:12.598Z INFO Device connected with the serial number 001052034638
2025-06-18T14:56:12.599Z DEBUG Sending event "serial-terminal: device connected"
2025-06-18T14:56:13.309Z INFO Selecting device with the serial number 001052034638
2025-06-18T14:56:13.327Z DEBUG Sending event "serial-terminal: running nrfutil device"
2025-06-18T14:56:13.871Z ERROR Error: Failed with exit code 1.
One or more device info tasks failed:
 * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
Message: Operation device-info failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
2025-06-18T14:56:13.872Z INFO Selected device with the serial number 001052034638
2025-06-18T14:56:13.874Z DEBUG Sending event "serial-terminal: device selected"
2025-06-18T14:56:13.878Z INFO Opened port with options: {"baudRate":115200,"path":"COM26"}
2025-06-18T14:56:13.891Z INFO Get terminal settings from the persistent store for 001052034638.vCom-0.TerminalSettings

2025-07-04T07_51_50.328Z.log

[2025-Jul-07 08:53:47] [debug] --------------------------------------------------------------------------------
[2025-Jul-07 08:53:47] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe -s 1052034638 -f nrf91 --recover --log 
[2025-Jul-07 08:53:47] [debug] nrfjprog version 10.24.2 external
[2025-Jul-07 08:53:47] [debug] --------------------------------------------------------------------------------
[2025-Jul-07 08:53:47] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
[2025-Jul-07 08:53:47] [ info] Library loaded, loading member functions.
[2025-Jul-07 08:53:47] [ info] Member functions succesfully loaded.
[2025-Jul-07 08:53:47] [debug] [ Client] - open
[2025-Jul-07 08:53:47] [debug] [ Client] - start
[2025-Jul-07 08:53:47] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence a8e83119-06c2-478c-aecc-7a476b91f0fa.

[2025-Jul-07 08:53:47] [trace] [ Client] - Command open executed for 66 milliseconds with result 0
[2025-Jul-07 08:53:47] [debug] [ Client] - config
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
[2025-Jul-07 08:53:47] [debug] [  JLink] - Logger sink registered in JLink logger
[2025-Jul-07 08:53:47] [debug] [  nRF91] - open
[2025-Jul-07 08:53:47] [debug] [  nRF91] - just_check_family
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - open_dll
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[2025-Jul-07 08:53:47] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink_V834\JLink_x64.dll.
[2025-Jul-07 08:53:47] [ info] [SeggerBackend] - Library loaded, loading member functions.
[2025-Jul-07 08:53:47] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
[2025-Jul-07 08:53:47] [ info] [SeggerBackend] - Member functions succesfully loaded.
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Set batch mode
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - dll_version
[2025-Jul-07 08:53:47] [ info] [SeggerBackend] - Segger dll version 8.34.  loaded.
[2025-Jul-07 08:53:47] [debug] [ Client] - enum_emu_snr
[2025-Jul-07 08:53:47] [trace] [ Worker] - Command open executed for 5 milliseconds with result 0
[2025-Jul-07 08:53:47] [debug] [  nRF91] - config
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - enum_emu_snr
[2025-Jul-07 08:53:47] [trace] [ Worker] - Command config executed for 5 milliseconds with result 0
[2025-Jul-07 08:53:47] [trace] [ Client] - Command enum_emu_con_info executed for 14 milliseconds with result 0
[2025-Jul-07 08:53:47] [debug] [ Client] - connect_to_emu_with_snr
[2025-Jul-07 08:53:47] [debug] [  nRF91] - enum_emu_con_info
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - enum_emu_con_info
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:47] [trace] [ Worker] - Command enum_emu_con_info executed for 5 milliseconds with result 0
[2025-Jul-07 08:53:47] [debug] [  nRF91] - connect_to_emu_with_snr
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - connect_to_emu_with_snr
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_enum_emu_snr
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_get_num_emus
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Segger logging enabled.
[2025-Jul-07 08:53:47] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
[2025-Jul-07 08:53:47] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
[2025-Jul-07 08:53:47] [trace] [  JLink] - Hardware: V1.00
[2025-Jul-07 08:53:47] [trace] [  JLink] - S/N: 1052034638
[2025-Jul-07 08:53:47] [trace] [  JLink] - OEM: SEGGER
[2025-Jul-07 08:53:47] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
[2025-Jul-07 08:53:47] [trace] [  JLink] - Bootloader: 2021 May 18
[2025-Jul-07 08:53:47] [trace] [  JLink] - USB speed mode: Full speed (12 MBit/s)
[2025-Jul-07 08:53:47] [trace] [  JLink] - TELNET listener socket opened on port 19021
[2025-Jul-07 08:53:47] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
[2025-Jul-07 08:53:47] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
[2025-Jul-07 08:53:47] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V834\JLinkGUIServer.exe 
[2025-Jul-07 08:53:47] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink_V834\JLinkGUIServer.exe 
[2025-Jul-07 08:53:47] [trace] [ Client] - Command connect_to_emu_with_snr executed for 93 milliseconds with result 0
[2025-Jul-07 08:53:47] [debug] [ Client] - read_connected_emu_snr
[2025-Jul-07 08:53:47] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
[2025-Jul-07 08:53:47] [debug] [ Client] - recover
[2025-Jul-07 08:53:47] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.34 " 
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 61.956ms returns "O.K."  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_Lock()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.001ms returns 0x01  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.002ms returns 0x00  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.003ms returns 0x00  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.008ms returns 0  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.660ms returns 0x00  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_GetSpeedInfo()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - 128000000 Hz / n, n >= 64
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.007ms   
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_SetSpeed(2000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.112ms   
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_GetSpeed()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.003ms returns 2000  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - SWD clock set to 2000kHz
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_GetSN()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.003ms returns 1052034638  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.004ms   
[2025-Jul-07 08:53:47] [debug] [  nRF91] - read_device_family
[2025-Jul-07 08:53:47] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 91 milliseconds with result 0
[2025-Jul-07 08:53:47] [debug] [  nRF91] - read_connected_emu_snr
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_IsOpen()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.013ms returns 0x01  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_Lock()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - read_connected_emu_snr
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.008ms   
[2025-Jul-07 08:53:47] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
[2025-Jul-07 08:53:47] [debug] [  nRF91] - recover
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_IsOpen()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.006ms returns 0x01  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_Lock()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:47] [debug] [  nRF91] - just_recover
[2025-Jul-07 08:53:47] [debug] [  nRF91] - Just_enable_coprocessor
[2025-Jul-07 08:53:47] [debug] [  nRF91] - Just_is_eraseprotect_enabled
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - read_access_port_register
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_read_access_port_register
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - coresight_configure
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_GetHWStatus(...)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.335ms returns 0  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 102.352ms returns 0  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - read_debug_port_idr
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - read_debug_port_register
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.951ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.846ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.946ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.952ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.825ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.820ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.858ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.724ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.818ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [error] [ Client] - Encountered error -21: Command recover executed for 141 milliseconds with result -21
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.762ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.754ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.639ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.676ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.591ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.529ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.727ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.657ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.535ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.531ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.545ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.561ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.478ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.543ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.624ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.645ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.567ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.503ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.535ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.518ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.535ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.811ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.526ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.615ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.485ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.651ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.603ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.630ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.542ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.587ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.499ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.533ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.550ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.097ms   
[2025-Jul-07 08:53:47] [error] [ Worker] - An unknown error.
[2025-Jul-07 08:53:47] [trace] [ Worker] - Command recover executed for 132 milliseconds with result -21
[2025-Jul-07 08:53:47] [debug] [  nRF91] - close
[2025-Jul-07 08:53:47] [debug] [  nRF91] - close
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_IsOpen()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.013ms returns 0x01  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_Lock()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - close
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - disconnect_from_emu
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_disconnect_from_emu
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - is_connected_to_device
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_IsConnected()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.007ms returns FALSE  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.655ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.560ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.564ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.520ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.545ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.539ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.547ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.531ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.586ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.548ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.558ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.544ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.588ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.555ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.552ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.621ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.664ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.510ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.542ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.544ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.534ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.731ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.585ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.676ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.741ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.596ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.567ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.555ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.549ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.554ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.541ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.598ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.522ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.617ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.619ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.638ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.541ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.608ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.551ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.703ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.570ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.547ms returns -1  
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Ignore exception An unknown error.
[2025-Jul-07 08:53:47] [trace] [  JLink] - - 0.071ms   
[2025-Jul-07 08:53:47] [trace] [  JLink] - JLINK_Close()  
[2025-Jul-07 08:53:47] [debug] [SeggerBackend] - Segger Backend closed.
[2025-Jul-07 08:53:47] [debug] [  nRF91] - nRF family DLL closed
[2025-Jul-07 08:53:47] [trace] [ Client] - Command close executed for 93 milliseconds with result 0
[2025-Jul-07 08:53:47] [debug] [ Client] - terminate
[2025-Jul-07 08:53:47] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
[2025-Jul-07 08:53:47] [trace] [ Worker] - Command close executed for 91 milliseconds with result 0
[2025-Jul-07 08:53:47] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
[2025-Jul-07 08:53:47] [trace] [ Worker] - Executed 8 commands for 329 milliseconds
[2025-Jul-07 08:53:47] [debug] [ Client] - Worker process exited with code: 0
[2025-Jul-07 08:53:47] [debug] [ Client] - Worker process exited with code: 0
[2025-Jul-07 08:53:47] [debug] [ Client] - Child process terminated with result 0
[2025-Jul-07 08:53:47] [trace] [ Client] - Executed 8 commands for 422 milliseconds
[2025-Jul-07 08:53:47] [debug] [ Client] - terminate

[2025-Jul-07 08:53:07] [debug] --------------------------------------------------------------------------------
[2025-Jul-07 08:53:07] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe -s 1052034638 -f nrf53 --recover --log 
[2025-Jul-07 08:53:07] [debug] nrfjprog version 10.24.2 external
[2025-Jul-07 08:53:07] [debug] --------------------------------------------------------------------------------
[2025-Jul-07 08:53:07] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
[2025-Jul-07 08:53:07] [ info] Library loaded, loading member functions.
[2025-Jul-07 08:53:07] [ info] Member functions succesfully loaded.
[2025-Jul-07 08:53:07] [debug] [ Client] - open
[2025-Jul-07 08:53:07] [debug] [ Client] - start
[2025-Jul-07 08:53:07] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence a07e5542-16ec-4fbd-b705-4855452c8772.

[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
[2025-Jul-07 08:53:07] [debug] [  JLink] - Logger sink registered in JLink logger
[2025-Jul-07 08:53:07] [debug] [  nRF53] - open
[2025-Jul-07 08:53:07] [debug] [  nRF53] - just_check_family
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - open_dll
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[2025-Jul-07 08:53:07] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink_V834\JLink_x64.dll.
[2025-Jul-07 08:53:07] [ info] [SeggerBackend] - Library loaded, loading member functions.
[2025-Jul-07 08:53:07] [ info] [SeggerBackend] - Member functions succesfully loaded.
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Set batch mode
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - dll_version
[2025-Jul-07 08:53:07] [ info] [SeggerBackend] - Segger dll version 8.34.  loaded.
[2025-Jul-07 08:53:07] [trace] [ Client] - Command open executed for 39 milliseconds with result 0
[2025-Jul-07 08:53:07] [trace] [ Worker] - Command open executed for 2 milliseconds with result 0
[2025-Jul-07 08:53:07] [debug] [ Client] - config
[2025-Jul-07 08:53:07] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
[2025-Jul-07 08:53:07] [debug] [ Client] - enum_emu_snr
[2025-Jul-07 08:53:07] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
[2025-Jul-07 08:53:07] [debug] [  nRF53] - config
[2025-Jul-07 08:53:07] [debug] [ Client] - connect_to_emu_with_snr
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - enum_emu_snr
[2025-Jul-07 08:53:07] [trace] [ Worker] - Command config executed for 2 milliseconds with result 0
[2025-Jul-07 08:53:07] [debug] [  nRF53] - enum_emu_con_info
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - enum_emu_con_info
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:07] [trace] [ Worker] - Command enum_emu_con_info executed for 3 milliseconds with result 0
[2025-Jul-07 08:53:07] [debug] [  nRF53] - connect_to_emu_with_snr
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - connect_to_emu_with_snr
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_enum_emu_snr
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_get_num_emus
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Segger logging enabled.
[2025-Jul-07 08:53:07] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
[2025-Jul-07 08:53:07] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
[2025-Jul-07 08:53:07] [trace] [  JLink] - Hardware: V1.00
[2025-Jul-07 08:53:07] [trace] [  JLink] - S/N: 1052034638
[2025-Jul-07 08:53:07] [trace] [  JLink] - OEM: SEGGER
[2025-Jul-07 08:53:07] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
[2025-Jul-07 08:53:07] [trace] [  JLink] - Bootloader: 2021 May 18
[2025-Jul-07 08:53:07] [trace] [  JLink] - USB speed mode: Full speed (12 MBit/s)
[2025-Jul-07 08:53:07] [trace] [  JLink] - TELNET listener socket opened on port 19021
[2025-Jul-07 08:53:07] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
[2025-Jul-07 08:53:07] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
[2025-Jul-07 08:53:07] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V834\JLinkGUIServer.exe 
[2025-Jul-07 08:53:07] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink_V834\JLinkGUIServer.exe 
[2025-Jul-07 08:53:07] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.34 " 
[2025-Jul-07 08:53:07] [trace] [ Client] - Command connect_to_emu_with_snr executed for 127 milliseconds with result 0
[2025-Jul-07 08:53:07] [debug] [ Client] - read_connected_emu_snr
[2025-Jul-07 08:53:07] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
[2025-Jul-07 08:53:07] [debug] [ Client] - recover
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 83.080ms returns "O.K."  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_Lock()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.001ms returns 0x01  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.002ms returns 0x00  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.003ms returns 0x00  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.012ms returns 0  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.795ms returns 0x00  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_GetSpeedInfo()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - 128000000 Hz / n, n >= 64
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.010ms   
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_SetSpeed(2000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.111ms   
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_GetSpeed()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.003ms returns 2000  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - SWD clock set to 2000kHz
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_GetSN()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.004ms returns 1052034638  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.004ms   
[2025-Jul-07 08:53:07] [debug] [  nRF53] - read_device_family
[2025-Jul-07 08:53:07] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 112 milliseconds with result 0
[2025-Jul-07 08:53:07] [debug] [  nRF53] - read_connected_emu_snr
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_IsOpen()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.015ms returns 0x01  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_Lock()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - read_connected_emu_snr
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.006ms   
[2025-Jul-07 08:53:07] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
[2025-Jul-07 08:53:07] [debug] [  nRF53] - recover
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_IsOpen()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.005ms returns 0x01  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_Lock()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:07] [debug] [  nRF53] - just_recover
[2025-Jul-07 08:53:07] [debug] [  nRF53] - Just_is_eraseprotect_enabled
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - read_access_port_register
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_read_access_port_register
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - coresight_configure
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_GetHWStatus(...)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.231ms returns 0  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 102.409ms returns 0  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - read_debug_port_idr
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - read_debug_port_register
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.728ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.702ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.800ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.782ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.773ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.803ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.626ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.809ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.784ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.802ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.711ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.620ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.597ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.710ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.622ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.632ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.651ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.657ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.671ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.658ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.790ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.696ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.628ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.664ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.672ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.731ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.681ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.705ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [error] [ Client] - Encountered error -21: Command recover executed for 139 milliseconds with result -21
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.771ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.670ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.665ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.578ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.652ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.679ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.702ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.667ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.685ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.694ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.666ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.669ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.652ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.746ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.163ms   
[2025-Jul-07 08:53:07] [error] [ Worker] - An unknown error.
[2025-Jul-07 08:53:07] [trace] [ Worker] - Command recover executed for 134 milliseconds with result -21
[2025-Jul-07 08:53:07] [debug] [  nRF53] - close
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_IsOpen()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.012ms returns 0x01  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_Lock()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - close
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - disconnect_from_emu
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_disconnect_from_emu
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - is_connected_to_device
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_IsConnected()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.006ms returns FALSE  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.562ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.580ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.587ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.626ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.650ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.657ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.633ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.703ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.637ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.713ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.700ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.602ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.523ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.634ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.694ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.672ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.545ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.512ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.679ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.559ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.823ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.559ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.557ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.693ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.614ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.626ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.645ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.558ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.598ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.609ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.577ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.597ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.532ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.533ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.627ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.558ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.594ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.565ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.553ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.558ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.550ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.778ms returns -1  
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_HasError()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Ignore exception An unknown error.
[2025-Jul-07 08:53:07] [trace] [  JLink] - - 0.091ms   
[2025-Jul-07 08:53:07] [trace] [  JLink] - JLINK_Close()  
[2025-Jul-07 08:53:07] [debug] [SeggerBackend] - Segger Backend closed.
[2025-Jul-07 08:53:07] [debug] [  nRF53] - nRF family DLL closed
[2025-Jul-07 08:53:08] [trace] [ Worker] - Command close executed for 93 milliseconds with result 0
[2025-Jul-07 08:53:08] [trace] [ Client] - Command close executed for 109 milliseconds with result 0
[2025-Jul-07 08:53:08] [debug] [ Client] - terminate
[2025-Jul-07 08:53:08] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
[2025-Jul-07 08:53:08] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
[2025-Jul-07 08:53:08] [trace] [ Worker] - Executed 8 commands for 346 milliseconds
[2025-Jul-07 08:53:08] [debug] [ Client] - Worker process exited with code: 0
[2025-Jul-07 08:53:08] [debug] [ Client] - Worker process exited with code: 0
[2025-Jul-07 08:53:08] [debug] [ Client] - Child process terminated with result 0
[2025-Jul-07 08:53:08] [trace] [ Client] - Executed 8 commands for 444 milliseconds
[2025-Jul-07 08:53:08] [debug] [ Client] - terminate

Parents
  • Hello,

    Thank you for the quick feedback.

    I have reinstalled JLink with the suggested version v8.18.

    I am still facing the same issue

    PS C:\Program Files\SEGGER\JLink> .\JLink.exe -device nrf9151_xxca -if SWD -speed 1000
    SEGGER J-Link Commander V8.18 (Compiled Mar  5 2025 14:43:35)
    DLL version V8.18, compiled Mar  5 2025 14:42:43
    
    Connecting to J-Link via USB...O.K.
    Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
    Hardware version: V1.00
    J-Link uptime (since boot): 0d 00h 09m 22s
    S/N: 1052034638
    License(s): RDI, FlashBP, FlashDL, JFlash, GDB
    USB speed mode: Full speed (12 MBit/s)
    VTref=3.300V
    
    
    Type "connect" to establish a target connection, '?' for help
    J-Link>connect
    Device "NRF9151_XXCA" selected.
    
    
    Connecting to target via SWD
    ConfigTargetSettings() start
    ---Setting ROM table---
    ConfigTargetSettings() end - Took 734us
    InitTarget() start
    InitTarget() end - Took 112ms
    ConfigTargetSettings() start
    ---Setting ROM table---
    ConfigTargetSettings() end - Took 16.9ms
    InitTarget() start
    InitTarget() end - Took 9.83ms
    Error occurred: Could not connect to the target device.

    I also added logs

    [2025-Jul-07 14:15:58] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:15:58] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --snr 1052034638 -f nrf91 --recover --log 
    [2025-Jul-07 14:15:58] [debug] nrfjprog version 10.24.2 external
    [2025-Jul-07 14:15:58] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:15:58] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-Jul-07 14:15:58] [ info] Library loaded, loading member functions.
    [2025-Jul-07 14:15:58] [ info] Member functions succesfully loaded.
    [2025-Jul-07 14:15:58] [debug] [ Client] - open
    [2025-Jul-07 14:15:58] [debug] [ Client] - start
    [2025-Jul-07 14:15:58] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence eb9094e8-e759-4a60-882a-75daa9b44d29.
    
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command open executed for 61 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-Jul-07 14:15:59] [debug] [ Client] - config
    [2025-Jul-07 14:15:59] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - open
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - just_check_family
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - open_dll
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-Jul-07 14:15:59] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
    [2025-Jul-07 14:15:59] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-Jul-07 14:15:59] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Set batch mode
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - dll_version
    [2025-Jul-07 14:15:59] [ info] [SeggerBackend] - Segger dll version 8.18.  loaded.
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command open executed for 5 milliseconds with result 0
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - enum_emu_snr
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - config
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - enum_emu_snr
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command config executed for 6 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - enum_emu_con_info
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command enum_emu_con_info executed for 6 milliseconds with result 0
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_get_num_emus
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Segger logging enabled.
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Hardware: V1.00
    [2025-Jul-07 14:15:59] [trace] [  JLink] - S/N: 1052034638
    [2025-Jul-07 14:15:59] [trace] [  JLink] - OEM: SEGGER
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Bootloader: 2021 May 18
    [2025-Jul-07 14:15:59] [trace] [  JLink] - USB speed mode: Full speed (12 MBit/s)
    [2025-Jul-07 14:15:59] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2025-Jul-07 14:15:59] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2025-Jul-07 14:15:59] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command connect_to_emu_with_snr executed for 126 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - read_connected_emu_snr
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - recover
    [2025-Jul-07 14:15:59] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.18 " 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 83.563ms returns "O.K."  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.002ms returns 0x01  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.001ms returns 0x00  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.003ms returns 0x00  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.012ms returns 0  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.844ms returns 0x00  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - 128000000 Hz / n, n >= 64
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.012ms   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.104ms   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_GetSpeed()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.008ms returns 2000  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_GetSN()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.004ms returns 1052034638  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.006ms   
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - read_device_family
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 115 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - read_connected_emu_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.008ms returns 0x01  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - read_connected_emu_snr
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.003ms   
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - recover
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.007ms returns 0x01  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - just_recover
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - Just_enable_coprocessor
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - Just_is_eraseprotect_enabled
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - read_access_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - coresight_configure
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.244ms returns 0  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 102.093ms returns 0  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - read_debug_port_idr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - read_debug_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.932ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.832ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.858ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.825ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.835ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.816ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.837ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.765ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.859ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.752ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.761ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.553ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.643ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.648ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.720ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.631ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.604ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.802ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.728ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.701ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.615ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.554ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.607ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.538ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.658ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.596ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.574ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.682ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.601ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.521ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.598ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.709ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.619ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [error] [ Client] - Encountered error -21: Command recover executed for 143 milliseconds with result -21
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.682ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.558ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.590ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.595ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.501ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.520ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.594ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.546ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.596ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.145ms   
    [2025-Jul-07 14:15:59] [error] [ Worker] - An unknown error.
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command recover executed for 133 milliseconds with result -21
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - close
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - close
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.008ms returns 0x01  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - close
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_device
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.002ms returns FALSE  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.661ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.615ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.694ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.584ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.534ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.641ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.694ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.659ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.713ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.602ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.568ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.613ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.603ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.574ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.673ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.590ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.676ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.552ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.565ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.602ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.597ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.563ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.530ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.472ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.513ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.468ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.554ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.621ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.465ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.515ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.526ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.482ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.517ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.526ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.527ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.558ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.584ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.548ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.539ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.592ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.571ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.586ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Ignore exception An unknown error.
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.116ms   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_Close()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - nRF family DLL closed
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command close executed for 76 milliseconds with result 0
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command close executed for 93 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - terminate
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Executed 8 commands for 341 milliseconds
    [2025-Jul-07 14:15:59] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - Child process terminated with result 0
    [2025-Jul-07 14:15:59] [trace] [ Client] - Executed 8 commands for 453 milliseconds
    [2025-Jul-07 14:15:59] [debug] [ Client] - terminate
    

    [2025-Jul-07 14:14:03] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:14:03] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --snr 1052034638 -f nrf53 --recover --log 
    [2025-Jul-07 14:14:03] [debug] nrfjprog version 10.24.2 external
    [2025-Jul-07 14:14:03] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:14:03] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-Jul-07 14:14:03] [ info] Library loaded, loading member functions.
    [2025-Jul-07 14:14:03] [ info] Member functions succesfully loaded.
    [2025-Jul-07 14:14:03] [debug] [ Client] - open
    [2025-Jul-07 14:14:03] [debug] [ Client] - start
    [2025-Jul-07 14:14:03] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence c1fc8ec9-c616-4972-ae78-ef513044c540.
    
    [2025-Jul-07 14:14:03] [trace] [ Client] - Command open executed for 48 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [ Client] - config
    [2025-Jul-07 14:14:03] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-Jul-07 14:14:03] [debug] [ Client] - enum_emu_snr
    [2025-Jul-07 14:14:03] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - open
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - just_check_family
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - open_dll
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-Jul-07 14:14:03] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
    [2025-Jul-07 14:14:03] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-Jul-07 14:14:03] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - Set batch mode
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - dll_version
    [2025-Jul-07 14:14:03] [ info] [SeggerBackend] - Segger dll version 8.18.  loaded.
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Command open executed for 4 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - config
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - enum_emu_snr
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Command config executed for 2 milliseconds with result 0
    [2025-Jul-07 14:14:03] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - enum_emu_con_info
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Command enum_emu_con_info executed for 5 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - close
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - close
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - nRF family DLL closed
    [2025-Jul-07 14:14:03] [trace] [ Client] - Command close executed for 30 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [ Client] - terminate
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Command close executed for 14 milliseconds with result 0
    [2025-Jul-07 14:14:03] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Executed 5 commands for 25 milliseconds
    [2025-Jul-07 14:14:03] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:14:03] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:14:03] [debug] [ Client] - Child process terminated with result 0
    [2025-Jul-07 14:14:03] [trace] [ Client] - Executed 5 commands for 108 milliseconds
    [2025-Jul-07 14:14:03] [debug] [ Client] - terminate
    [2025-Jul-07 14:15:11] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:15:11] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --snr 1052034638 -f nrf53 --recover --log 
    [2025-Jul-07 14:15:11] [debug] nrfjprog version 10.24.2 external
    [2025-Jul-07 14:15:11] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:15:11] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-Jul-07 14:15:11] [ info] Library loaded, loading member functions.
    [2025-Jul-07 14:15:11] [ info] Member functions succesfully loaded.
    [2025-Jul-07 14:15:11] [debug] [ Client] - open
    [2025-Jul-07 14:15:11] [debug] [ Client] - start
    [2025-Jul-07 14:15:11] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 0856d200-119a-4e13-9e87-8592431f52b7.
    
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command open executed for 61 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-Jul-07 14:15:12] [debug] [ Client] - config
    [2025-Jul-07 14:15:12] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - open
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - just_check_family
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - open_dll
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-Jul-07 14:15:12] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
    [2025-Jul-07 14:15:12] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-Jul-07 14:15:12] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Set batch mode
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - dll_version
    [2025-Jul-07 14:15:12] [ info] [SeggerBackend] - Segger dll version 8.18.  loaded.
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command open executed for 2 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command config executed for 14 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - enum_emu_snr
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - config
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - enum_emu_snr
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command config executed for 4 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - enum_emu_con_info
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command enum_emu_con_info executed for 6 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_get_num_emus
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Segger logging enabled.
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Hardware: V1.00
    [2025-Jul-07 14:15:12] [trace] [  JLink] - S/N: 1052034638
    [2025-Jul-07 14:15:12] [trace] [  JLink] - OEM: SEGGER
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Bootloader: 2021 May 18
    [2025-Jul-07 14:15:12] [trace] [  JLink] - USB speed mode: Full speed (12 MBit/s)
    [2025-Jul-07 14:15:12] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2025-Jul-07 14:15:12] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2025-Jul-07 14:15:12] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command connect_to_emu_with_snr executed for 109 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.18 " 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 71.550ms returns "O.K."  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.001ms returns 0x01  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.000ms returns 0x00  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.002ms returns 0x00  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [ Client] - read_connected_emu_snr
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.010ms returns 0  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 2.139ms returns 0x00  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - 128000000 Hz / n, n >= 64
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.008ms   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.065ms   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_GetSpeed()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.004ms returns 2000  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_GetSN()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.002ms returns 1052034638  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.003ms   
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - read_device_family
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 99 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command read_connected_emu_snr executed for 15 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - read_connected_emu_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.010ms returns 0x01  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - read_connected_emu_snr
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.004ms   
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - recover
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - recover
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.015ms returns 0x01  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - just_recover
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - Just_is_eraseprotect_enabled
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - read_access_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - coresight_configure
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.453ms returns 0  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 101.946ms returns 0  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - read_debug_port_idr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - read_debug_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.869ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.708ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.777ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.820ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.809ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.725ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.769ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.688ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.664ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.684ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.490ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.554ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.568ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.531ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.581ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.549ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.636ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.574ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.586ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.595ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.575ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.563ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.680ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.580ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.536ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.598ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.563ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.539ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.610ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.543ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.623ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.663ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.512ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.561ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.568ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [error] [ Client] - Encountered error -21: Command recover executed for 143 milliseconds with result -21
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.672ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.661ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.525ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.540ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.639ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.581ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.597ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.117ms   
    [2025-Jul-07 14:15:12] [error] [ Worker] - An unknown error.
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command recover executed for 131 milliseconds with result -21
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - close
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.005ms returns 0x01  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - close
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_device
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.002ms returns FALSE  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.661ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.498ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.510ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.518ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.561ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.573ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.657ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.571ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.566ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.584ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.616ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.534ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.578ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.541ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.517ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.502ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.542ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.651ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.515ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.706ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.558ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.565ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.578ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.557ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.626ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.602ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.526ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.462ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.536ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.505ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.547ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.473ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.599ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.587ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.596ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.550ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.511ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.523ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.510ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.503ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.600ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.548ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Ignore exception An unknown error.
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.045ms   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_Close()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - nRF family DLL closed
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command close executed for 62 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command close executed for 78 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - terminate
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Executed 8 commands for 304 milliseconds
    [2025-Jul-07 14:15:12] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - Child process terminated with result 0
    [2025-Jul-07 14:15:12] [trace] [ Client] - Executed 8 commands for 435 milliseconds
    [2025-Jul-07 14:15:12] [debug] [ Client] - terminate
    

    2025-07-07T12:28:44.700Z INFO Initialising the bundled nrfutil device
    2025-07-07T12:28:44.724Z DEBUG Application data folder: C:\Users\abdukhair\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer
    2025-07-07T12:28:44.754Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:44.754Z DEBUG App pc-nrfconnect-programmer v4.6.0 (official)
    2025-07-07T12:28:44.754Z DEBUG App path: C:\Users\abdukhair\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer
    2025-07-07T12:28:44.754Z DEBUG nRFConnect 5.2.0, required by the app is (>=5.2.0)
    2025-07-07T12:28:44.754Z DEBUG nRFConnect path: C:\Users\abdukhair\AppData\Local\Programs\nrfconnect\resources\app.asar
    2025-07-07T12:28:44.754Z DEBUG HomeDir: C:\Users\abdukhair
    2025-07-07T12:28:44.754Z DEBUG TmpDir: C:\Users\ABDUKH~1\AppData\Local\Temp
    2025-07-07T12:28:44.846Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:45.136Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:45.136Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:45.148Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:45.186Z INFO Using the bundled core version for nrfutil device: 8.0.0
    2025-07-07T12:28:45.205Z INFO Using nrfutil-device version: 2.10.2
    2025-07-07T12:28:45.205Z INFO Using nrf-device-lib version: 0.17.71
    2025-07-07T12:28:45.205Z INFO Using nrf-probe version: 0.38.0
    2025-07-07T12:28:45.205Z INFO Using JLink version: JLink_V8.18
    2025-07-07T12:28:45.277Z INFO Getting serial port options from the persistent store for 001052034638.pc-nrfconnect-programmer
    2025-07-07T12:28:45.278Z INFO Device connected with the serial number 001052034638
    2025-07-07T12:28:45.279Z DEBUG Sending event "programmer: device connected"
    2025-07-07T12:28:46.634Z INFO Selecting device with the serial number 001052034638
    2025-07-07T12:28:46.652Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:47.185Z ERROR Error: Failed with exit code 1.
    One or more device info tasks failed:
     * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
    Message: Operation device-info failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
    2025-07-07T12:28:47.185Z INFO Selected device with the serial number 001052034638
    2025-07-07T12:28:47.185Z INFO Using nrfutil device to communicate with target via JLink
    2025-07-07T12:28:47.201Z DEBUG Sending event "programmer: device selected"
    2025-07-07T12:28:47.201Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:47.281Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:47.594Z INFO Reading readback protection status for Application core
    2025-07-07T12:28:47.594Z INFO Reading readback protection status for Application core 0%
    2025-07-07T12:28:47.757Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1)
    2025-07-07T12:28:47.769Z ERROR Error: Failed with exit code 1.
    One or more batch tasks failed:
     * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
    Message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
    2025-07-07T12:28:47.770Z ERROR Error: Failed with exit code 1.
    One or more batch tasks failed:
     * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
    Message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
    2025-07-07T12:29:24.129Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:29:24.655Z ERROR Error: Failed with exit code 1.
    One or more device info tasks failed:
     * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
    Message: Operation device-info failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
    2025-07-07T12:29:24.668Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:29:24.782Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:29:25.103Z INFO Reading readback protection status for Application core
    2025-07-07T12:29:25.103Z INFO Reading readback protection status for Application core 0%
    2025-07-07T12:29:25.245Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1)
    2025-07-07T12:29:25.268Z ERROR Error: Failed with exit code 1.
    One or more batch tasks failed:
     * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
    Message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
    

Reply
  • Hello,

    Thank you for the quick feedback.

    I have reinstalled JLink with the suggested version v8.18.

    I am still facing the same issue

    PS C:\Program Files\SEGGER\JLink> .\JLink.exe -device nrf9151_xxca -if SWD -speed 1000
    SEGGER J-Link Commander V8.18 (Compiled Mar  5 2025 14:43:35)
    DLL version V8.18, compiled Mar  5 2025 14:42:43
    
    Connecting to J-Link via USB...O.K.
    Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
    Hardware version: V1.00
    J-Link uptime (since boot): 0d 00h 09m 22s
    S/N: 1052034638
    License(s): RDI, FlashBP, FlashDL, JFlash, GDB
    USB speed mode: Full speed (12 MBit/s)
    VTref=3.300V
    
    
    Type "connect" to establish a target connection, '?' for help
    J-Link>connect
    Device "NRF9151_XXCA" selected.
    
    
    Connecting to target via SWD
    ConfigTargetSettings() start
    ---Setting ROM table---
    ConfigTargetSettings() end - Took 734us
    InitTarget() start
    InitTarget() end - Took 112ms
    ConfigTargetSettings() start
    ---Setting ROM table---
    ConfigTargetSettings() end - Took 16.9ms
    InitTarget() start
    InitTarget() end - Took 9.83ms
    Error occurred: Could not connect to the target device.

    I also added logs

    [2025-Jul-07 14:15:58] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:15:58] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --snr 1052034638 -f nrf91 --recover --log 
    [2025-Jul-07 14:15:58] [debug] nrfjprog version 10.24.2 external
    [2025-Jul-07 14:15:58] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:15:58] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-Jul-07 14:15:58] [ info] Library loaded, loading member functions.
    [2025-Jul-07 14:15:58] [ info] Member functions succesfully loaded.
    [2025-Jul-07 14:15:58] [debug] [ Client] - open
    [2025-Jul-07 14:15:58] [debug] [ Client] - start
    [2025-Jul-07 14:15:58] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence eb9094e8-e759-4a60-882a-75daa9b44d29.
    
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command open executed for 61 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-Jul-07 14:15:59] [debug] [ Client] - config
    [2025-Jul-07 14:15:59] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - open
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - just_check_family
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - open_dll
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-Jul-07 14:15:59] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
    [2025-Jul-07 14:15:59] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-Jul-07 14:15:59] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Set batch mode
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - dll_version
    [2025-Jul-07 14:15:59] [ info] [SeggerBackend] - Segger dll version 8.18.  loaded.
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command open executed for 5 milliseconds with result 0
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - enum_emu_snr
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - config
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - enum_emu_snr
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command config executed for 6 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - enum_emu_con_info
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command enum_emu_con_info executed for 6 milliseconds with result 0
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_get_num_emus
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Segger logging enabled.
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Hardware: V1.00
    [2025-Jul-07 14:15:59] [trace] [  JLink] - S/N: 1052034638
    [2025-Jul-07 14:15:59] [trace] [  JLink] - OEM: SEGGER
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Bootloader: 2021 May 18
    [2025-Jul-07 14:15:59] [trace] [  JLink] - USB speed mode: Full speed (12 MBit/s)
    [2025-Jul-07 14:15:59] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2025-Jul-07 14:15:59] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2025-Jul-07 14:15:59] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command connect_to_emu_with_snr executed for 126 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - read_connected_emu_snr
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - recover
    [2025-Jul-07 14:15:59] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.18 " 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 83.563ms returns "O.K."  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.002ms returns 0x01  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.001ms returns 0x00  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.003ms returns 0x00  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.012ms returns 0  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.844ms returns 0x00  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - 128000000 Hz / n, n >= 64
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.012ms   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.104ms   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_GetSpeed()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.008ms returns 2000  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_GetSN()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.004ms returns 1052034638  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.006ms   
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - read_device_family
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 115 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - read_connected_emu_snr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.008ms returns 0x01  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - read_connected_emu_snr
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.003ms   
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - recover
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.007ms returns 0x01  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - just_recover
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - Just_enable_coprocessor
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - Just_is_eraseprotect_enabled
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - read_access_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - coresight_configure
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.244ms returns 0  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 102.093ms returns 0  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - read_debug_port_idr
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - read_debug_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.932ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.832ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.858ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.825ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.835ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.816ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.837ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.765ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.859ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.752ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.761ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.553ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.643ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.648ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.720ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.631ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.604ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.802ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.728ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.701ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.615ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.554ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.607ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.538ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.658ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.596ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.574ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.682ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.601ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.521ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.598ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.709ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.619ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [error] [ Client] - Encountered error -21: Command recover executed for 143 milliseconds with result -21
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.682ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.558ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.590ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.595ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.501ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.520ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.594ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.546ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.596ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.145ms   
    [2025-Jul-07 14:15:59] [error] [ Worker] - An unknown error.
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command recover executed for 133 milliseconds with result -21
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - close
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - close
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.008ms returns 0x01  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - close
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - is_connected_to_device
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.002ms returns FALSE  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.661ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.615ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.694ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.584ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.534ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.641ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.694ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.659ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.713ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.602ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.568ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.613ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.603ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.574ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.673ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.590ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.676ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.552ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.565ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.602ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.597ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.563ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.530ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.472ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.513ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.468ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.554ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.621ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.465ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.515ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.526ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.482ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.517ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.526ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.527ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.558ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.584ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.548ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.539ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.592ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.571ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.586ms returns -1  
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Ignore exception An unknown error.
    [2025-Jul-07 14:15:59] [trace] [  JLink] - - 0.116ms   
    [2025-Jul-07 14:15:59] [trace] [  JLink] - JLINK_Close()  
    [2025-Jul-07 14:15:59] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-Jul-07 14:15:59] [debug] [  nRF91] - nRF family DLL closed
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command close executed for 76 milliseconds with result 0
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command close executed for 93 milliseconds with result 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - terminate
    [2025-Jul-07 14:15:59] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:59] [trace] [ Worker] - Executed 8 commands for 341 milliseconds
    [2025-Jul-07 14:15:59] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:15:59] [debug] [ Client] - Child process terminated with result 0
    [2025-Jul-07 14:15:59] [trace] [ Client] - Executed 8 commands for 453 milliseconds
    [2025-Jul-07 14:15:59] [debug] [ Client] - terminate
    

    [2025-Jul-07 14:14:03] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:14:03] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --snr 1052034638 -f nrf53 --recover --log 
    [2025-Jul-07 14:14:03] [debug] nrfjprog version 10.24.2 external
    [2025-Jul-07 14:14:03] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:14:03] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-Jul-07 14:14:03] [ info] Library loaded, loading member functions.
    [2025-Jul-07 14:14:03] [ info] Member functions succesfully loaded.
    [2025-Jul-07 14:14:03] [debug] [ Client] - open
    [2025-Jul-07 14:14:03] [debug] [ Client] - start
    [2025-Jul-07 14:14:03] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence c1fc8ec9-c616-4972-ae78-ef513044c540.
    
    [2025-Jul-07 14:14:03] [trace] [ Client] - Command open executed for 48 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [ Client] - config
    [2025-Jul-07 14:14:03] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-Jul-07 14:14:03] [debug] [ Client] - enum_emu_snr
    [2025-Jul-07 14:14:03] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - open
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - just_check_family
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - open_dll
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-Jul-07 14:14:03] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
    [2025-Jul-07 14:14:03] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-Jul-07 14:14:03] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - Set batch mode
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - dll_version
    [2025-Jul-07 14:14:03] [ info] [SeggerBackend] - Segger dll version 8.18.  loaded.
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Command open executed for 4 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - config
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - enum_emu_snr
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Command config executed for 2 milliseconds with result 0
    [2025-Jul-07 14:14:03] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - enum_emu_con_info
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Command enum_emu_con_info executed for 5 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - close
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - close
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:14:03] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-Jul-07 14:14:03] [debug] [  nRF53] - nRF family DLL closed
    [2025-Jul-07 14:14:03] [trace] [ Client] - Command close executed for 30 milliseconds with result 0
    [2025-Jul-07 14:14:03] [debug] [ Client] - terminate
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Command close executed for 14 milliseconds with result 0
    [2025-Jul-07 14:14:03] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:14:03] [trace] [ Worker] - Executed 5 commands for 25 milliseconds
    [2025-Jul-07 14:14:03] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:14:03] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:14:03] [debug] [ Client] - Child process terminated with result 0
    [2025-Jul-07 14:14:03] [trace] [ Client] - Executed 5 commands for 108 milliseconds
    [2025-Jul-07 14:14:03] [debug] [ Client] - terminate
    [2025-Jul-07 14:15:11] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:15:11] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --snr 1052034638 -f nrf53 --recover --log 
    [2025-Jul-07 14:15:11] [debug] nrfjprog version 10.24.2 external
    [2025-Jul-07 14:15:11] [debug] --------------------------------------------------------------------------------
    [2025-Jul-07 14:15:11] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-Jul-07 14:15:11] [ info] Library loaded, loading member functions.
    [2025-Jul-07 14:15:11] [ info] Member functions succesfully loaded.
    [2025-Jul-07 14:15:11] [debug] [ Client] - open
    [2025-Jul-07 14:15:11] [debug] [ Client] - start
    [2025-Jul-07 14:15:11] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 0856d200-119a-4e13-9e87-8592431f52b7.
    
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command open executed for 61 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-Jul-07 14:15:12] [debug] [ Client] - config
    [2025-Jul-07 14:15:12] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - open
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - just_check_family
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - open_dll
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-Jul-07 14:15:12] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
    [2025-Jul-07 14:15:12] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-Jul-07 14:15:12] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Set batch mode
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - dll_version
    [2025-Jul-07 14:15:12] [ info] [SeggerBackend] - Segger dll version 8.18.  loaded.
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command open executed for 2 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command config executed for 14 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - enum_emu_snr
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - config
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - enum_emu_snr
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command config executed for 4 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - enum_emu_con_info
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command enum_emu_con_info executed for 6 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_get_num_emus
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Segger logging enabled.
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Apr  1 2025 10:13:35
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Hardware: V1.00
    [2025-Jul-07 14:15:12] [trace] [  JLink] - S/N: 1052034638
    [2025-Jul-07 14:15:12] [trace] [  JLink] - OEM: SEGGER
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Bootloader: 2021 May 18
    [2025-Jul-07 14:15:12] [trace] [  JLink] - USB speed mode: Full speed (12 MBit/s)
    [2025-Jul-07 14:15:12] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2025-Jul-07 14:15:12] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2025-Jul-07 14:15:12] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command connect_to_emu_with_snr executed for 109 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.18 " 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 71.550ms returns "O.K."  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.001ms returns 0x01  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.000ms returns 0x00  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.002ms returns 0x00  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [ Client] - read_connected_emu_snr
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.010ms returns 0  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 2.139ms returns 0x00  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - 128000000 Hz / n, n >= 64
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.008ms   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.065ms   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_GetSpeed()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.004ms returns 2000  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_GetSN()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.002ms returns 1052034638  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.003ms   
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - read_device_family
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 99 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command read_connected_emu_snr executed for 15 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - read_connected_emu_snr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.010ms returns 0x01  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - read_connected_emu_snr
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.004ms   
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - recover
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - recover
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.015ms returns 0x01  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - just_recover
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - Just_is_eraseprotect_enabled
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - read_access_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - coresight_configure
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.453ms returns 0  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 101.946ms returns 0  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - read_debug_port_idr
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - read_debug_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.869ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.708ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.777ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.820ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.809ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.725ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.769ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.688ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.664ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.684ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.490ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.554ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.568ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.531ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.581ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.549ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.636ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.574ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.586ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.595ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.575ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.563ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.680ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.580ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.536ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.598ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.563ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.539ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.610ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.543ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.623ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.663ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.512ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.561ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.568ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [error] [ Client] - Encountered error -21: Command recover executed for 143 milliseconds with result -21
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.672ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.661ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.525ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.540ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.639ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.581ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.597ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.117ms   
    [2025-Jul-07 14:15:12] [error] [ Worker] - An unknown error.
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command recover executed for 131 milliseconds with result -21
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - close
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.005ms returns 0x01  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_Lock()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - close
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - is_connected_to_device
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.002ms returns FALSE  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.661ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.498ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.510ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.518ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.561ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.573ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.657ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.571ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.566ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.584ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.616ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.534ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.578ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.541ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.517ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.502ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.542ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.651ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.515ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.706ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.558ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.565ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.578ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.557ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.626ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.602ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.526ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.462ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.536ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.505ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.547ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.473ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.599ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.587ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.596ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.550ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.511ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.523ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.510ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.503ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.600ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.548ms returns -1  
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_HasError()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Ignore exception An unknown error.
    [2025-Jul-07 14:15:12] [trace] [  JLink] - - 0.045ms   
    [2025-Jul-07 14:15:12] [trace] [  JLink] - JLINK_Close()  
    [2025-Jul-07 14:15:12] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-Jul-07 14:15:12] [debug] [  nRF53] - nRF family DLL closed
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command close executed for 62 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command close executed for 78 milliseconds with result 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - terminate
    [2025-Jul-07 14:15:12] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-Jul-07 14:15:12] [trace] [ Worker] - Executed 8 commands for 304 milliseconds
    [2025-Jul-07 14:15:12] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - Worker process exited with code: 0
    [2025-Jul-07 14:15:12] [debug] [ Client] - Child process terminated with result 0
    [2025-Jul-07 14:15:12] [trace] [ Client] - Executed 8 commands for 435 milliseconds
    [2025-Jul-07 14:15:12] [debug] [ Client] - terminate
    

    2025-07-07T12:28:44.700Z INFO Initialising the bundled nrfutil device
    2025-07-07T12:28:44.724Z DEBUG Application data folder: C:\Users\abdukhair\AppData\Roaming\nrfconnect\pc-nrfconnect-programmer
    2025-07-07T12:28:44.754Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:44.754Z DEBUG App pc-nrfconnect-programmer v4.6.0 (official)
    2025-07-07T12:28:44.754Z DEBUG App path: C:\Users\abdukhair\.nrfconnect-apps\node_modules\pc-nrfconnect-programmer
    2025-07-07T12:28:44.754Z DEBUG nRFConnect 5.2.0, required by the app is (>=5.2.0)
    2025-07-07T12:28:44.754Z DEBUG nRFConnect path: C:\Users\abdukhair\AppData\Local\Programs\nrfconnect\resources\app.asar
    2025-07-07T12:28:44.754Z DEBUG HomeDir: C:\Users\abdukhair
    2025-07-07T12:28:44.754Z DEBUG TmpDir: C:\Users\ABDUKH~1\AppData\Local\Temp
    2025-07-07T12:28:44.846Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:45.136Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:45.136Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:45.148Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:45.186Z INFO Using the bundled core version for nrfutil device: 8.0.0
    2025-07-07T12:28:45.205Z INFO Using nrfutil-device version: 2.10.2
    2025-07-07T12:28:45.205Z INFO Using nrf-device-lib version: 0.17.71
    2025-07-07T12:28:45.205Z INFO Using nrf-probe version: 0.38.0
    2025-07-07T12:28:45.205Z INFO Using JLink version: JLink_V8.18
    2025-07-07T12:28:45.277Z INFO Getting serial port options from the persistent store for 001052034638.pc-nrfconnect-programmer
    2025-07-07T12:28:45.278Z INFO Device connected with the serial number 001052034638
    2025-07-07T12:28:45.279Z DEBUG Sending event "programmer: device connected"
    2025-07-07T12:28:46.634Z INFO Selecting device with the serial number 001052034638
    2025-07-07T12:28:46.652Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:47.185Z ERROR Error: Failed with exit code 1.
    One or more device info tasks failed:
     * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
    Message: Operation device-info failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
    2025-07-07T12:28:47.185Z INFO Selected device with the serial number 001052034638
    2025-07-07T12:28:47.185Z INFO Using nrfutil device to communicate with target via JLink
    2025-07-07T12:28:47.201Z DEBUG Sending event "programmer: device selected"
    2025-07-07T12:28:47.201Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:47.281Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:28:47.594Z INFO Reading readback protection status for Application core
    2025-07-07T12:28:47.594Z INFO Reading readback protection status for Application core 0%
    2025-07-07T12:28:47.757Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1)
    2025-07-07T12:28:47.769Z ERROR Error: Failed with exit code 1.
    One or more batch tasks failed:
     * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
    Message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
    2025-07-07T12:28:47.770Z ERROR Error: Failed with exit code 1.
    One or more batch tasks failed:
     * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
    Message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
    2025-07-07T12:29:24.129Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:29:24.655Z ERROR Error: Failed with exit code 1.
    One or more device info tasks failed:
     * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
    Message: Operation device-info failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
    2025-07-07T12:29:24.668Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:29:24.782Z DEBUG Sending event "programmer: running nrfutil device"
    2025-07-07T12:29:25.103Z INFO Reading readback protection status for Application core
    2025-07-07T12:29:25.103Z INFO Reading readback protection status for Application core 0%
    2025-07-07T12:29:25.245Z ERROR Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1)
    2025-07-07T12:29:25.268Z ERROR Error: Failed with exit code 1.
    One or more batch tasks failed:
     * 1052034638: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic).
    Message: Batch task protection-get failed, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1).
    

Children
  • Are you able to flash and recover the DK with another working DK using a 10-pin connector?

  • Hi Hakon,

    I did not try to do that. I would like to proceed with this.

    I have couple questions regarding connections.

    1.  Locked DK (DEBUG OUT) -> Working DK (DEBUG IN)?
    2. Connect only working DK using usb to laptop?
    3. Do i need to remove nRF Current Measurement Jumper from any of the DK?
    4. Will both locked and working DK detected in laptop? nrfutil.exe device list
    5. Should i use this command to recover? nrfjprog.exe --snr 1052034638 -f nrf91 --recover --log

  • abdukhair said:
     Locked DK (DEBUG OUT) -> Working DK (DEBUG IN)?

    No, the working DK should use the DEBUG OUT connector, and the other one I believe should use DEBUG IN.

    abdukhair said:
    Connect only working DK using usb to laptop?

    Both DKs should of course be powered, so if you don't have an external power supply you should connect both DKs with usb.

    abdukhair said:
    Do i need to remove nRF Current Measurement Jumper from any of the DK?

    That should not be necessary.

    abdukhair said:
    Will both locked and working DK detected in laptop? nrfutil.exe device list

    I don't think so.

    abdukhair said:
    Should i use this command to recover? nrfjprog.exe --snr 1052034638 -f nrf91 --recover --log

    Yes, or nrfutil.

Related