Cannot flash my board nrf5340

Hi, I have changed Vdd from 1.8 V to 3.3 V but now I cannot flash anymore my board (nrf5340). This is the output error:

* Executing task: nRF Connect: Flash: AppCore_RHS_SD_UI_v1B/build (active)

Flashing build to 1050081286

-- west flash: rebuilding
ninja: no work to do.
-- west flash: using runner nrfjprog
-- runners.nrfjprog: reset after flashing requested
-- runners.nrfjprog: Flashing file: c:\nordic\myapps\AppCore_RHS_SD_UI_v1B\build\zephyr\zephyr.hex
[error] [ Worker] - An unknown error.
[error] [ Client] - Encountered error -102: Command select_coprocessor executed for 137 milliseconds with result -102
ERROR: Failed when selecting coprocessor APPLICATION
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 33: nrfjprog --program 'c:\nordic\myapps\AppCore_RHS_SD_UI_v1B\build\zephyr\zephyr.hex' --sectorerase --verify -f NRF53 --coprocessor CP_APPLICATION --snr 1050081286

* The terminal process terminated with exit code: 33.
* Terminal will be reused by tasks, press any key to close it.

I have tried to erase the board but I get this message: Error erasing device. See the Output tab for more details.

What can I do?

Thanks

Parents
  • Try these things

    `nrfjprog --eraseall`

    `west flash --recover`

    Paste outputs 

  • These are the outputs I got in both cases.

    PS C:\nordic\myapps\AppCore_RHS_SD_UI_v1B> nrfjprog --eraseall
    [error] [ Client] - Encountered error -102: Command connect_to_emu_with_snr executed for 557 milliseconds with result -102
    ERROR: Unable to connect to a debugger.
    [error] [ Worker] - An unknown error.
    ERROR: JLinkARM DLL reported an error. Try again. If error condition
    ERROR: persists, run the same command again with argument --log, contact Nordic
    ERROR: Semiconductor and provide the generated log.log file to them.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.

    PS C:\nordic\myapps\AppCore_RHS_SD_UI_v1B\build> west flash --recover
    -- west flash: rebuilding
    ninja: no work to do.
    -- west flash: using runner nrfjprog
    -- runners.nrfjprog: reset after flashing requested
    Using board 1050081286
    -- runners.nrfjprog: Recovering and erasing flash memory for both the network and application cores.
    [error] [ Client] - Encountered error -102: Command enable_coprocessor executed for 168 milliseconds with result -102
    Failed to enable coprocessor with unknown error.
    [error] [ Worker] - An unknown error.
    ERROR: JLinkARM DLL reported an error. Try again. If error condition
    ERROR: persists, run the same command again with argument --log, contact Nordic
    ERROR: Semiconductor and provide the generated log.log file to them.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.
    FATAL ERROR: command exited with status 33: nrfjprog --recover -f NRF53 --coprocessor CP_NETWORK --snr 1050081286

  • Okay, can you collect the log and send the output?

    Or, can you install NRF Connect for Desktop Application --> Under this install Programmer, try to erase all and see the log output. It mentions low voltage or something, then its power supply issue. 

    If not, try to change the debugger unit/check for loose connections. 

  • [2025-May-20 21:04:26] [debug] --------------------------------------------------------------------------------
    [2025-May-20 21:04:26] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --recover --coprocessor CP_APPLICATION -f NRF53 --snr 1050081286 --log 
    [2025-May-20 21:04:26] [debug] nrfjprog version 10.24.2 external
    [2025-May-20 21:04:26] [debug] --------------------------------------------------------------------------------
    [2025-May-20 21:04:26] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-May-20 21:04:26] [ info] Library loaded, loading member functions.
    [2025-May-20 21:04:26] [ info] Member functions succesfully loaded.
    [2025-May-20 21:04:26] [debug] [ Client] - open
    [2025-May-20 21:04:26] [debug] [ Client] - start
    [2025-May-20 21:04:26] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 882d2a0f-feca-4e3b-ae70-79af41f2c605.
    
    [2025-May-20 21:04:26] [trace] [ Client] - Command open executed for 85 milliseconds with result 0
    [2025-May-20 21:04:26] [debug] [ Client] - config
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-May-20 21:04:26] [trace] [ Client] - Command config executed for 14 milliseconds with result 0
    [2025-May-20 21:04:26] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-May-20 21:04:26] [debug] [  nRF53] - open
    [2025-May-20 21:04:26] [debug] [  nRF53] - just_check_family
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - open_dll
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-May-20 21:04:26] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink_V816\JLink_x64.dll.
    [2025-May-20 21:04:26] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-May-20 21:04:26] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - Set batch mode
    [2025-May-20 21:04:26] [debug] [ Client] - enum_emu_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - dll_version
    [2025-May-20 21:04:26] [ info] [SeggerBackend] - Segger dll version 8.16.  loaded.
    [2025-May-20 21:04:26] [trace] [ Worker] - Command open executed for 10 milliseconds with result 0
    [2025-May-20 21:04:26] [debug] [  nRF53] - config
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - enum_emu_snr
    [2025-May-20 21:04:26] [trace] [ Worker] - Command config executed for 7 milliseconds with result 0
    [2025-May-20 21:04:26] [trace] [ Client] - Command enum_emu_con_info executed for 14 milliseconds with result 0
    [2025-May-20 21:04:26] [debug] [ Client] - connect_to_emu_with_snr
    [2025-May-20 21:04:26] [debug] [  nRF53] - enum_emu_con_info
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:26] [trace] [ Worker] - Command enum_emu_con_info executed for 5 milliseconds with result 0
    [2025-May-20 21:04:26] [debug] [  nRF53] - connect_to_emu_with_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - ---just_get_num_emus
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - Segger logging enabled.
    [2025-May-20 21:04:27] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Feb 11 2025 17:15:35
    [2025-May-20 21:04:27] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Feb 11 2025 17:15:35
    [2025-May-20 21:04:27] [trace] [  JLink] - Hardware: V1.00
    [2025-May-20 21:04:27] [trace] [  JLink] - S/N: 1050081286
    [2025-May-20 21:04:27] [trace] [  JLink] - OEM: SEGGER
    [2025-May-20 21:04:27] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2025-May-20 21:04:27] [trace] [  JLink] - Bootloader: 2021 May 18
    [2025-May-20 21:04:27] [trace] [  JLink] - USB speed mode: Full speed (12 MBit/s)
    [2025-May-20 21:04:27] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2025-May-20 21:04:27] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2025-May-20 21:04:27] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2025-May-20 21:04:27] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V816\JLinkGUIServer.exe 
    [2025-May-20 21:04:27] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink_V816\JLinkGUIServer.exe 
    [2025-May-20 21:04:27] [trace] [ Client] - Command connect_to_emu_with_snr executed for 93 milliseconds with result 0
    [2025-May-20 21:04:27] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.16 " 
    [2025-May-20 21:04:27] [debug] [ Client] - read_connected_emu_snr
    [2025-May-20 21:04:27] [trace] [  JLink] - - 55.235ms returns "O.K."  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.002ms returns 0x01  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.000ms returns 0x00  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.005ms returns 0x00  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.019ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.654ms returns 0x00  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2025-May-20 21:04:27] [trace] [  JLink] - 128000000 Hz / n, n >= 64
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.011ms   
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.095ms   
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_GetSpeed()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.014ms returns 2000  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_GetSN()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.006ms returns 1050081286  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.009ms   
    [2025-May-20 21:04:27] [debug] [  nRF53] - read_device_family
    [2025-May-20 21:04:27] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 86 milliseconds with result 0
    [2025-May-20 21:04:27] [trace] [ Client] - Command read_connected_emu_snr executed for 14 milliseconds with result 0
    [2025-May-20 21:04:27] [debug] [ Client] - enable_coprocessor
    [2025-May-20 21:04:27] [debug] [  nRF53] - read_connected_emu_snr
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.010ms returns 0x01  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - read_connected_emu_snr
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.004ms   
    [2025-May-20 21:04:27] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-May-20 21:04:27] [debug] [  nRF53] - enable_coprocessor
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:27] [trace] [ Client] - Command enable_coprocessor executed for 0 milliseconds with result 0
    [2025-May-20 21:04:27] [debug] [ Client] - select_coprocessor
    [2025-May-20 21:04:27] [error] [ Client] - Encountered error -5: Command select_coprocessor executed for 14 milliseconds with result -5
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.013ms returns 0x01  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:04:27] [debug] [  nRF53] - Just_enable_coprocessor
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.010ms   
    [2025-May-20 21:04:27] [trace] [ Worker] - Command enable_coprocessor executed for 0 milliseconds with result 0
    [2025-May-20 21:04:27] [debug] [  nRF53] - select_coprocessor
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.003ms returns 0x01  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.004ms returns FALSE  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [debug] [  nRF53] - Just_select_coprocessor
    [2025-May-20 21:04:27] [ info] [  nRF53] - Loading new coprocessor data.
    [2025-May-20 21:04:27] [debug] [  nRF53] - Just_load_coprocessor_data
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - set_core_data
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - Set core data:
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   Device ID: Cortex-M33
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   Expected core: 235012351
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   Existing Expected core: 235012351
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   Coprocessor: APPLICATION
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   AHB AP index: 0
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   Core base address: 4294967295
    [2025-May-20 21:04:27] [debug] [  nRF53] - Just_readback_status
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - read_access_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - coresight_configure
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.146ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.571ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - read_debug_port_idr
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - read_debug_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.355ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)  
    [2025-May-20 21:04:27] [trace] [  JLink] - Value=0x00000000
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.389ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.052ms   
    [2025-May-20 21:04:27] [error] [ Worker] - Encountered unexpected debug port ID 0, expected 6
    [2025-May-20 21:04:27] [trace] [ Worker] - Command select_coprocessor executed for 1 milliseconds with result -5
    [2025-May-20 21:04:27] [debug] [  nRF53] - close
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.013ms returns 0x01  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - close
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.007ms returns FALSE  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.370ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)  
    [2025-May-20 21:04:27] [trace] [  JLink] - Value=0x00000000
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.418ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.014ms   
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Close()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-May-20 21:04:27] [debug] [  nRF53] - nRF family DLL closed
    [2025-May-20 21:04:27] [trace] [ Client] - Command close executed for 62 milliseconds with result 0
    [2025-May-20 21:04:27] [debug] [ Client] - terminate
    [2025-May-20 21:04:27] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-May-20 21:04:27] [trace] [ Worker] - Command close executed for 45 milliseconds with result 0
    [2025-May-20 21:04:27] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-May-20 21:04:27] [trace] [ Worker] - Executed 9 commands for 154 milliseconds
    [2025-May-20 21:04:27] [debug] [ Client] - Worker process exited with code: 0
    [2025-May-20 21:04:27] [debug] [ Client] - Worker process exited with code: 0
    [2025-May-20 21:04:27] [debug] [ Client] - Child process terminated with result 0
    [2025-May-20 21:04:27] [trace] [ Client] - Executed 9 commands for 296 milliseconds
    [2025-May-20 21:04:27] [debug] [ Client] - terminate
    [2025-May-20 21:22:37] [debug] --------------------------------------------------------------------------------
    [2025-May-20 21:22:37] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --recover --coprocessor CP_APPLICATION -f NRF53 --snr 1050081286 --log 
    [2025-May-20 21:22:37] [debug] nrfjprog version 10.24.2 external
    [2025-May-20 21:22:37] [debug] --------------------------------------------------------------------------------
    [2025-May-20 21:22:37] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-May-20 21:22:37] [ info] Library loaded, loading member functions.
    [2025-May-20 21:22:37] [ info] Member functions succesfully loaded.
    [2025-May-20 21:22:37] [debug] [ Client] - open
    [2025-May-20 21:22:37] [debug] [ Client] - start
    [2025-May-20 21:22:37] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 736a9d68-6317-4d88-af19-3f3ced7bef0c.
    
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-May-20 21:22:37] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-May-20 21:22:37] [debug] [  nRF53] - open
    [2025-May-20 21:22:37] [debug] [  nRF53] - just_check_family
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - open_dll
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-May-20 21:22:37] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink_V816\JLink_x64.dll.
    [2025-May-20 21:22:37] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-May-20 21:22:37] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - Set batch mode
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - dll_version
    [2025-May-20 21:22:37] [ info] [SeggerBackend] - Segger dll version 8.16.  loaded.
    [2025-May-20 21:22:37] [trace] [ Worker] - Command open executed for 7 milliseconds with result 0
    [2025-May-20 21:22:37] [trace] [ Client] - Command open executed for 76 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [ Client] - config
    [2025-May-20 21:22:37] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [  nRF53] - config
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - enum_emu_snr
    [2025-May-20 21:22:37] [trace] [ Worker] - Command config executed for 4 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [ Client] - enum_emu_snr
    [2025-May-20 21:22:37] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [ Client] - connect_to_emu_with_snr
    [2025-May-20 21:22:37] [debug] [  nRF53] - enum_emu_con_info
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:37] [trace] [ Worker] - Command enum_emu_con_info executed for 4 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [  nRF53] - connect_to_emu_with_snr
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - ---just_get_num_emus
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - Segger logging enabled.
    [2025-May-20 21:22:37] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Feb 11 2025 17:15:35
    [2025-May-20 21:22:37] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Feb 11 2025 17:15:35
    [2025-May-20 21:22:37] [trace] [  JLink] - Hardware: V1.00
    [2025-May-20 21:22:37] [trace] [  JLink] - S/N: 1050081286
    [2025-May-20 21:22:37] [trace] [  JLink] - OEM: SEGGER
    [2025-May-20 21:22:37] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2025-May-20 21:22:37] [trace] [  JLink] - Bootloader: 2021 May 18
    [2025-May-20 21:22:37] [trace] [  JLink] - USB speed mode: Full speed (12 MBit/s)
    [2025-May-20 21:22:37] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2025-May-20 21:22:37] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2025-May-20 21:22:37] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2025-May-20 21:22:37] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V816\JLinkGUIServer.exe 
    [2025-May-20 21:22:37] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink_V816\JLinkGUIServer.exe 
    [2025-May-20 21:22:37] [trace] [ Client] - Command connect_to_emu_with_snr executed for 107 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [ Client] - read_connected_emu_snr
    [2025-May-20 21:22:38] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.16 " 
    [2025-May-20 21:22:38] [trace] [  JLink] - - 79.704ms returns "O.K."  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.001ms returns 0x01  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.000ms returns 0x00  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.003ms returns 0x00  
    [2025-May-20 21:22:38] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2025-May-20 21:22:38] [debug] [ Client] - enable_coprocessor
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.010ms returns 0  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.561ms returns 0x00  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2025-May-20 21:22:38] [trace] [  JLink] - 128000000 Hz / n, n >= 64
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.011ms   
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2025-May-20 21:22:38] [trace] [ Client] - Command enable_coprocessor executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.072ms   
    [2025-May-20 21:22:38] [debug] [ Client] - select_coprocessor
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_GetSpeed()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.026ms returns 2000  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_GetSN()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.010ms returns 1050081286  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.015ms   
    [2025-May-20 21:22:38] [debug] [  nRF53] - read_device_family
    [2025-May-20 21:22:38] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 105 milliseconds with result 0
    [2025-May-20 21:22:38] [debug] [  nRF53] - read_connected_emu_snr
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.009ms returns 0x01  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - read_connected_emu_snr
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.007ms   
    [2025-May-20 21:22:38] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [debug] [  nRF53] - enable_coprocessor
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.006ms returns 0x01  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:22:38] [debug] [  nRF53] - Just_enable_coprocessor
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.005ms   
    [2025-May-20 21:22:38] [trace] [ Worker] - Command enable_coprocessor executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [debug] [  nRF53] - select_coprocessor
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.003ms returns 0x01  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.004ms returns FALSE  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [  nRF53] - Just_select_coprocessor
    [2025-May-20 21:22:38] [ info] [  nRF53] - Loading new coprocessor data.
    [2025-May-20 21:22:38] [debug] [  nRF53] - Just_load_coprocessor_data
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - set_core_data
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Set core data:
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   Device ID: Cortex-M33
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   Expected core: 235012351
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   Existing Expected core: 235012351
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   Coprocessor: APPLICATION
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   AHB AP index: 0
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   Core base address: 4294967295
    [2025-May-20 21:22:38] [debug] [  nRF53] - Just_readback_status
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - read_access_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - coresight_configure
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.263ms returns 0  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 102.112ms returns 0  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - read_debug_port_idr
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - read_debug_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.933ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.928ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.840ms returns -1  
    [2025-May-20 21:22:38] [error] [ Client] - Encountered error -102: Command select_coprocessor executed for 139 milliseconds with result -102
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.799ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.930ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.667ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.867ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.667ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.661ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.598ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.646ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.645ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.632ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.618ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.640ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.623ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.653ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.647ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.627ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.646ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.617ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.671ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.616ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.652ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.627ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.635ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.594ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.610ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.634ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.607ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.608ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.639ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.703ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.634ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.620ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.621ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.619ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.654ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.580ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.547ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.575ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.573ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.057ms   
    [2025-May-20 21:22:38] [error] [ Worker] - An unknown error.
    [2025-May-20 21:22:38] [trace] [ Worker] - Command select_coprocessor executed for 133 milliseconds with result -102
    [2025-May-20 21:22:38] [debug] [  nRF53] - close
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.016ms returns 0x01  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - close
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.024ms returns FALSE  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.529ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.495ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.584ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.586ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.646ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.585ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.586ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.590ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.597ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.580ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.631ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.567ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.542ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.585ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.535ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.575ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.504ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.597ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.562ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.553ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.546ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.524ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.545ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.520ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.519ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.513ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.518ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.557ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.518ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.532ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.527ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.527ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.528ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.520ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.537ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.576ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.612ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.604ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.637ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.558ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.638ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.480ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Ignore exception An unknown error.
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.066ms   
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Close()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-May-20 21:22:38] [debug] [  nRF53] - nRF family DLL closed
    [2025-May-20 21:22:38] [trace] [ Client] - Command close executed for 77 milliseconds with result 0
    [2025-May-20 21:22:38] [debug] [ Client] - terminate
    [2025-May-20 21:22:38] [trace] [ Worker] - Command close executed for 61 milliseconds with result 0
    [2025-May-20 21:22:38] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [trace] [ Worker] - Executed 9 commands for 314 milliseconds
    [2025-May-20 21:22:38] [debug] [ Client] - Worker process exited with code: 0
    [2025-May-20 21:22:38] [debug] [ Client] - Worker process exited with code: 0
    [2025-May-20 21:22:38] [debug] [ Client] - Child process terminated with result 0
    [2025-May-20 21:22:38] [trace] [ Client] - Executed 9 commands for 429 milliseconds
    [2025-May-20 21:22:38] [debug] [ Client] - terminate
    

    This is the log output. Yes, I also think the problem is related to the power supply because I got this problem about flashing after that I changed the Vdd form 1.8 V to 3.3 V.

Reply
  • [2025-May-20 21:04:26] [debug] --------------------------------------------------------------------------------
    [2025-May-20 21:04:26] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --recover --coprocessor CP_APPLICATION -f NRF53 --snr 1050081286 --log 
    [2025-May-20 21:04:26] [debug] nrfjprog version 10.24.2 external
    [2025-May-20 21:04:26] [debug] --------------------------------------------------------------------------------
    [2025-May-20 21:04:26] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-May-20 21:04:26] [ info] Library loaded, loading member functions.
    [2025-May-20 21:04:26] [ info] Member functions succesfully loaded.
    [2025-May-20 21:04:26] [debug] [ Client] - open
    [2025-May-20 21:04:26] [debug] [ Client] - start
    [2025-May-20 21:04:26] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 882d2a0f-feca-4e3b-ae70-79af41f2c605.
    
    [2025-May-20 21:04:26] [trace] [ Client] - Command open executed for 85 milliseconds with result 0
    [2025-May-20 21:04:26] [debug] [ Client] - config
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-May-20 21:04:26] [trace] [ Client] - Command config executed for 14 milliseconds with result 0
    [2025-May-20 21:04:26] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-May-20 21:04:26] [debug] [  nRF53] - open
    [2025-May-20 21:04:26] [debug] [  nRF53] - just_check_family
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - open_dll
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-May-20 21:04:26] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink_V816\JLink_x64.dll.
    [2025-May-20 21:04:26] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-May-20 21:04:26] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - Set batch mode
    [2025-May-20 21:04:26] [debug] [ Client] - enum_emu_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - dll_version
    [2025-May-20 21:04:26] [ info] [SeggerBackend] - Segger dll version 8.16.  loaded.
    [2025-May-20 21:04:26] [trace] [ Worker] - Command open executed for 10 milliseconds with result 0
    [2025-May-20 21:04:26] [debug] [  nRF53] - config
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - enum_emu_snr
    [2025-May-20 21:04:26] [trace] [ Worker] - Command config executed for 7 milliseconds with result 0
    [2025-May-20 21:04:26] [trace] [ Client] - Command enum_emu_con_info executed for 14 milliseconds with result 0
    [2025-May-20 21:04:26] [debug] [ Client] - connect_to_emu_with_snr
    [2025-May-20 21:04:26] [debug] [  nRF53] - enum_emu_con_info
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:26] [trace] [ Worker] - Command enum_emu_con_info executed for 5 milliseconds with result 0
    [2025-May-20 21:04:26] [debug] [  nRF53] - connect_to_emu_with_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - ---just_get_num_emus
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2025-May-20 21:04:26] [debug] [SeggerBackend] - Segger logging enabled.
    [2025-May-20 21:04:27] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Feb 11 2025 17:15:35
    [2025-May-20 21:04:27] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Feb 11 2025 17:15:35
    [2025-May-20 21:04:27] [trace] [  JLink] - Hardware: V1.00
    [2025-May-20 21:04:27] [trace] [  JLink] - S/N: 1050081286
    [2025-May-20 21:04:27] [trace] [  JLink] - OEM: SEGGER
    [2025-May-20 21:04:27] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2025-May-20 21:04:27] [trace] [  JLink] - Bootloader: 2021 May 18
    [2025-May-20 21:04:27] [trace] [  JLink] - USB speed mode: Full speed (12 MBit/s)
    [2025-May-20 21:04:27] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2025-May-20 21:04:27] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2025-May-20 21:04:27] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2025-May-20 21:04:27] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V816\JLinkGUIServer.exe 
    [2025-May-20 21:04:27] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink_V816\JLinkGUIServer.exe 
    [2025-May-20 21:04:27] [trace] [ Client] - Command connect_to_emu_with_snr executed for 93 milliseconds with result 0
    [2025-May-20 21:04:27] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.16 " 
    [2025-May-20 21:04:27] [debug] [ Client] - read_connected_emu_snr
    [2025-May-20 21:04:27] [trace] [  JLink] - - 55.235ms returns "O.K."  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.002ms returns 0x01  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.000ms returns 0x00  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.005ms returns 0x00  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.019ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.654ms returns 0x00  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2025-May-20 21:04:27] [trace] [  JLink] - 128000000 Hz / n, n >= 64
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.011ms   
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.095ms   
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_GetSpeed()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.014ms returns 2000  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_GetSN()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.006ms returns 1050081286  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.009ms   
    [2025-May-20 21:04:27] [debug] [  nRF53] - read_device_family
    [2025-May-20 21:04:27] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 86 milliseconds with result 0
    [2025-May-20 21:04:27] [trace] [ Client] - Command read_connected_emu_snr executed for 14 milliseconds with result 0
    [2025-May-20 21:04:27] [debug] [ Client] - enable_coprocessor
    [2025-May-20 21:04:27] [debug] [  nRF53] - read_connected_emu_snr
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.010ms returns 0x01  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - read_connected_emu_snr
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.004ms   
    [2025-May-20 21:04:27] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-May-20 21:04:27] [debug] [  nRF53] - enable_coprocessor
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:27] [trace] [ Client] - Command enable_coprocessor executed for 0 milliseconds with result 0
    [2025-May-20 21:04:27] [debug] [ Client] - select_coprocessor
    [2025-May-20 21:04:27] [error] [ Client] - Encountered error -5: Command select_coprocessor executed for 14 milliseconds with result -5
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.013ms returns 0x01  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:04:27] [debug] [  nRF53] - Just_enable_coprocessor
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.010ms   
    [2025-May-20 21:04:27] [trace] [ Worker] - Command enable_coprocessor executed for 0 milliseconds with result 0
    [2025-May-20 21:04:27] [debug] [  nRF53] - select_coprocessor
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.003ms returns 0x01  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.004ms returns FALSE  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [debug] [  nRF53] - Just_select_coprocessor
    [2025-May-20 21:04:27] [ info] [  nRF53] - Loading new coprocessor data.
    [2025-May-20 21:04:27] [debug] [  nRF53] - Just_load_coprocessor_data
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - set_core_data
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - Set core data:
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   Device ID: Cortex-M33
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   Expected core: 235012351
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   Existing Expected core: 235012351
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   Coprocessor: APPLICATION
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   AHB AP index: 0
    [2025-May-20 21:04:27] [debug] [SeggerBackend] -   Core base address: 4294967295
    [2025-May-20 21:04:27] [debug] [  nRF53] - Just_readback_status
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - read_access_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - coresight_configure
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.146ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.571ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - read_debug_port_idr
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - read_debug_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.355ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)  
    [2025-May-20 21:04:27] [trace] [  JLink] - Value=0x00000000
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.389ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.052ms   
    [2025-May-20 21:04:27] [error] [ Worker] - Encountered unexpected debug port ID 0, expected 6
    [2025-May-20 21:04:27] [trace] [ Worker] - Command select_coprocessor executed for 1 milliseconds with result -5
    [2025-May-20 21:04:27] [debug] [  nRF53] - close
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.013ms returns 0x01  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - close
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.007ms returns FALSE  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.370ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)  
    [2025-May-20 21:04:27] [trace] [  JLink] - Value=0x00000000
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.418ms returns 0  
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:04:27] [trace] [  JLink] - - 0.014ms   
    [2025-May-20 21:04:27] [trace] [  JLink] - JLINK_Close()  
    [2025-May-20 21:04:27] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-May-20 21:04:27] [debug] [  nRF53] - nRF family DLL closed
    [2025-May-20 21:04:27] [trace] [ Client] - Command close executed for 62 milliseconds with result 0
    [2025-May-20 21:04:27] [debug] [ Client] - terminate
    [2025-May-20 21:04:27] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-May-20 21:04:27] [trace] [ Worker] - Command close executed for 45 milliseconds with result 0
    [2025-May-20 21:04:27] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-May-20 21:04:27] [trace] [ Worker] - Executed 9 commands for 154 milliseconds
    [2025-May-20 21:04:27] [debug] [ Client] - Worker process exited with code: 0
    [2025-May-20 21:04:27] [debug] [ Client] - Worker process exited with code: 0
    [2025-May-20 21:04:27] [debug] [ Client] - Child process terminated with result 0
    [2025-May-20 21:04:27] [trace] [ Client] - Executed 9 commands for 296 milliseconds
    [2025-May-20 21:04:27] [debug] [ Client] - terminate
    [2025-May-20 21:22:37] [debug] --------------------------------------------------------------------------------
    [2025-May-20 21:22:37] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --recover --coprocessor CP_APPLICATION -f NRF53 --snr 1050081286 --log 
    [2025-May-20 21:22:37] [debug] nrfjprog version 10.24.2 external
    [2025-May-20 21:22:37] [debug] --------------------------------------------------------------------------------
    [2025-May-20 21:22:37] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-May-20 21:22:37] [ info] Library loaded, loading member functions.
    [2025-May-20 21:22:37] [ info] Member functions succesfully loaded.
    [2025-May-20 21:22:37] [debug] [ Client] - open
    [2025-May-20 21:22:37] [debug] [ Client] - start
    [2025-May-20 21:22:37] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 736a9d68-6317-4d88-af19-3f3ced7bef0c.
    
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-May-20 21:22:37] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-May-20 21:22:37] [debug] [  nRF53] - open
    [2025-May-20 21:22:37] [debug] [  nRF53] - just_check_family
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - open_dll
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-May-20 21:22:37] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink_V816\JLink_x64.dll.
    [2025-May-20 21:22:37] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-May-20 21:22:37] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - Set batch mode
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - dll_version
    [2025-May-20 21:22:37] [ info] [SeggerBackend] - Segger dll version 8.16.  loaded.
    [2025-May-20 21:22:37] [trace] [ Worker] - Command open executed for 7 milliseconds with result 0
    [2025-May-20 21:22:37] [trace] [ Client] - Command open executed for 76 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [ Client] - config
    [2025-May-20 21:22:37] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [  nRF53] - config
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - enum_emu_snr
    [2025-May-20 21:22:37] [trace] [ Worker] - Command config executed for 4 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [ Client] - enum_emu_snr
    [2025-May-20 21:22:37] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [ Client] - connect_to_emu_with_snr
    [2025-May-20 21:22:37] [debug] [  nRF53] - enum_emu_con_info
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:37] [trace] [ Worker] - Command enum_emu_con_info executed for 4 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [  nRF53] - connect_to_emu_with_snr
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - ---just_get_num_emus
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2025-May-20 21:22:37] [debug] [SeggerBackend] - Segger logging enabled.
    [2025-May-20 21:22:37] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Feb 11 2025 17:15:35
    [2025-May-20 21:22:37] [trace] [  JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Feb 11 2025 17:15:35
    [2025-May-20 21:22:37] [trace] [  JLink] - Hardware: V1.00
    [2025-May-20 21:22:37] [trace] [  JLink] - S/N: 1050081286
    [2025-May-20 21:22:37] [trace] [  JLink] - OEM: SEGGER
    [2025-May-20 21:22:37] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2025-May-20 21:22:37] [trace] [  JLink] - Bootloader: 2021 May 18
    [2025-May-20 21:22:37] [trace] [  JLink] - USB speed mode: Full speed (12 MBit/s)
    [2025-May-20 21:22:37] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2025-May-20 21:22:37] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2025-May-20 21:22:37] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2025-May-20 21:22:37] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V816\JLinkGUIServer.exe 
    [2025-May-20 21:22:37] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink_V816\JLinkGUIServer.exe 
    [2025-May-20 21:22:37] [trace] [ Client] - Command connect_to_emu_with_snr executed for 107 milliseconds with result 0
    [2025-May-20 21:22:37] [debug] [ Client] - read_connected_emu_snr
    [2025-May-20 21:22:38] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.16 " 
    [2025-May-20 21:22:38] [trace] [  JLink] - - 79.704ms returns "O.K."  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.001ms returns 0x01  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.000ms returns 0x00  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.003ms returns 0x00  
    [2025-May-20 21:22:38] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2025-May-20 21:22:38] [debug] [ Client] - enable_coprocessor
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.010ms returns 0  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.561ms returns 0x00  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2025-May-20 21:22:38] [trace] [  JLink] - 128000000 Hz / n, n >= 64
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.011ms   
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2025-May-20 21:22:38] [trace] [ Client] - Command enable_coprocessor executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.072ms   
    [2025-May-20 21:22:38] [debug] [ Client] - select_coprocessor
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_GetSpeed()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.026ms returns 2000  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_GetSN()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.010ms returns 1050081286  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.015ms   
    [2025-May-20 21:22:38] [debug] [  nRF53] - read_device_family
    [2025-May-20 21:22:38] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 105 milliseconds with result 0
    [2025-May-20 21:22:38] [debug] [  nRF53] - read_connected_emu_snr
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.009ms returns 0x01  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - read_connected_emu_snr
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.007ms   
    [2025-May-20 21:22:38] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [debug] [  nRF53] - enable_coprocessor
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.006ms returns 0x01  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:22:38] [debug] [  nRF53] - Just_enable_coprocessor
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.005ms   
    [2025-May-20 21:22:38] [trace] [ Worker] - Command enable_coprocessor executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [debug] [  nRF53] - select_coprocessor
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.003ms returns 0x01  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.004ms returns FALSE  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [  nRF53] - Just_select_coprocessor
    [2025-May-20 21:22:38] [ info] [  nRF53] - Loading new coprocessor data.
    [2025-May-20 21:22:38] [debug] [  nRF53] - Just_load_coprocessor_data
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - set_core_data
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Set core data:
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   Device ID: Cortex-M33
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   Expected core: 235012351
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   Existing Expected core: 235012351
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   Coprocessor: APPLICATION
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   AHB AP index: 0
    [2025-May-20 21:22:38] [debug] [SeggerBackend] -   Core base address: 4294967295
    [2025-May-20 21:22:38] [debug] [  nRF53] - Just_readback_status
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - read_access_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - coresight_configure
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.263ms returns 0  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 102.112ms returns 0  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - read_debug_port_idr
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - read_debug_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.933ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.928ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.840ms returns -1  
    [2025-May-20 21:22:38] [error] [ Client] - Encountered error -102: Command select_coprocessor executed for 139 milliseconds with result -102
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.799ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.930ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.667ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.867ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.667ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.661ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.598ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.646ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.645ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.632ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.618ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.640ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.623ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.653ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.647ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.627ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.646ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.617ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.671ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.616ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.652ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.627ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.635ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.594ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.610ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.634ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.607ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.608ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.639ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.703ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.634ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.620ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.621ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.619ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.654ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.580ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.547ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.575ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.573ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.057ms   
    [2025-May-20 21:22:38] [error] [ Worker] - An unknown error.
    [2025-May-20 21:22:38] [trace] [ Worker] - Command select_coprocessor executed for 133 milliseconds with result -102
    [2025-May-20 21:22:38] [debug] [  nRF53] - close
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.016ms returns 0x01  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Lock()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - close
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - is_connected_to_device
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.024ms returns FALSE  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.529ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.495ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.584ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.586ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.646ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.585ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.586ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.590ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.597ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.580ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.631ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.567ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.542ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.585ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.535ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.575ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.504ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.597ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.562ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.553ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.546ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.524ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.545ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.520ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.519ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.513ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.518ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.557ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.518ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.532ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.527ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.527ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.528ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.520ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.537ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.576ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.612ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.604ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.637ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.558ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.638ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.480ms returns -1  
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_HasError()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Ignore exception An unknown error.
    [2025-May-20 21:22:38] [trace] [  JLink] - - 0.066ms   
    [2025-May-20 21:22:38] [trace] [  JLink] - JLINK_Close()  
    [2025-May-20 21:22:38] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-May-20 21:22:38] [debug] [  nRF53] - nRF family DLL closed
    [2025-May-20 21:22:38] [trace] [ Client] - Command close executed for 77 milliseconds with result 0
    [2025-May-20 21:22:38] [debug] [ Client] - terminate
    [2025-May-20 21:22:38] [trace] [ Worker] - Command close executed for 61 milliseconds with result 0
    [2025-May-20 21:22:38] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-May-20 21:22:38] [trace] [ Worker] - Executed 9 commands for 314 milliseconds
    [2025-May-20 21:22:38] [debug] [ Client] - Worker process exited with code: 0
    [2025-May-20 21:22:38] [debug] [ Client] - Worker process exited with code: 0
    [2025-May-20 21:22:38] [debug] [ Client] - Child process terminated with result 0
    [2025-May-20 21:22:38] [trace] [ Client] - Executed 9 commands for 429 milliseconds
    [2025-May-20 21:22:38] [debug] [ Client] - terminate
    

    This is the log output. Yes, I also think the problem is related to the power supply because I got this problem about flashing after that I changed the Vdd form 1.8 V to 3.3 V.

Children
  • Hi,

    Can you provide some details about your setup?

    Can you provide more information about your power supply? 

    Do you see the same problem if you return to 1.8 V?

    Do you have any other board to test with?

    Can you try to use "nrfutil device" for erasing and recovering as shown in this documentation page?

    Best regards,
    Dejan


  • Hi, I didn't change anything else, just the power supply. When I try to return to 1.8 V I get another error. I don't have any other board. This is the output when I use "nrfutil": 

    PS C:\nordic\myapps\AppCore_RHS_SD_UI_v1B> .\nrfutil device recover --x-family nrf53
    >>
    x Failed to recover 1050081286, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1)
    Error: One or more recover tasks failed:
    * 1050081286: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic)

    PS C:\nordic\myapps\AppCore_RHS_SD_UI_v1B> .\nrfutil device erase --all --x-family nrf53
    >>
    x Failed to erase 1050081286, Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1)
    Error: One or more erase tasks failed:
    * 1050081286: Device error: Failed to write DebugPort register 0x08: Unknown Error in J-Link DLL (error code =-1) (Generic)

  • Hi,

    Marika Di Martino said:
    When I try to return to 1.8 V I get another error.

    Can you show this error?

    Marika Di Martino said:
    his is the output when I use "nrfutil"

    Is this output from "nrfutil device" when you used 3.3 V or 1.8 V? Can you show the output also when using other voltage?

    Best regards,
    Dejan

  • The output is for 3.3 V. I cannot return to 1.8 V because I get this error: 

    PS C:\nordic\myapps\AppCore_RHS_SD_UI_v1B> nrfjprog -f nrf53 --memwr 0x00FF8010 --val 3
    [error] [ Worker] - An unknown error.
    [error] [ Client] - Encountered error -102: Command read_device_info executed for 141 milliseconds with result -102
    [error] [ Client] - Encountered error -102: Command read_memory_descriptors executed for 27 milliseconds with result -102
    Failed to read device memories.
    [error] [ Worker] - An unknown error.
    ERROR: JLinkARM DLL reported an error. Try again. If error condition
    ERROR: persists, run the same command again with argument --log, contact Nordic
    ERROR: Semiconductor and provide the generated log.log file to them.
    NOTE: For additional output, try running again with logging enabled (--log).
    NOTE: Any generated log error messages will be displayed.
    PS C:\nordic\myapps\AppCore_RHS_SD_UI_v1B>

  • Hi,

    You sent logs where you used nrfutil for recoovering and erasing only in case of 3.3 V. Can you show the logs of "nrfutil device" when you use 1.8 V instead?

    Best regards,
    Dejan

Related