nRF52832 cannot be recovered. Device error: Setting the debug port SELECT register failed while powering up sys and debug regions (Unknown Error in J-Link DLL (error code =-1))

Hello,

i have a custom board with a nRF52832 on it.
TL:DR: i can't seem to get a connection to the chip via the SWD


When i try to recover the device it tells me the debug port is unavailable.

The chip is battery powered and i measured all power lines and the clock so the chip gets 3.3V and 2V on I2C_SCl which should mean the chip itself is running fine.
i am using a J-Link which can measure the voltage of the Vtref which is 3.435V so the port has power aswell but i still can't seem to get a connection to the chip.

Before using nrfutil i used nrfjprog which turned out to be deprecated as i read in the forum. So what happened?

I worked with the chip and it was powered through the battery constantly. It was also connected to the J-Link and i left it there for an hour and came back just to find out that it suddenly won't communicate anymore. The code on it was still running fine but i cannot recover the chip. I read through the forum a lot but i can't seem to find any solution so any help would be greatly appreciated!

Parents
  • i created a log from the nrfutil device recover command maybe this helps 

    [2025-Oct-14 14:38:31] [debug] --------------------------------------------------------------------------------
    [2025-Oct-14 14:38:31] [debug] nrfjprog --recover --family nrf52 --log 
    [2025-Oct-14 14:38:31] [debug] nrfjprog version 10.24.2 external
    [2025-Oct-14 14:38:31] [debug] --------------------------------------------------------------------------------
    [2025-Oct-14 14:38:31] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-Oct-14 14:38:31] [ info] Library loaded, loading member functions.
    [2025-Oct-14 14:38:31] [ info] Member functions succesfully loaded.
    [2025-Oct-14 14:38:31] [debug] [ Client] - open
    [2025-Oct-14 14:38:31] [debug] [ Client] - start
    [2025-Oct-14 14:38:31] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 4962a399-b0f7-48ab-8ec1-bd76a84ab813.
    
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command open executed for 33 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - config
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command config executed for 16 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-Oct-14 14:38:31] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - open
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - just_check_family
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - open_dll
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-Oct-14 14:38:31] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
    [2025-Oct-14 14:38:31] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-Oct-14 14:38:31] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Set batch mode
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - dll_version
    [2025-Oct-14 14:38:31] [ info] [SeggerBackend] - Segger dll version 8.62.  loaded.
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command open executed for 4 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - config
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - enum_emu_snr
    [2025-Oct-14 14:38:31] [debug] [ Client] - enum_emu_snr
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command config executed for 2 milliseconds with result 0
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - connect_to_emu_with_snr
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - enum_emu_con_info
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command enum_emu_con_info executed for 2 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - connect_to_emu_with_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_get_num_emus
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Segger logging enabled.
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Firmware: J-Link V13 compiled Jul 21 2025 13:16:03
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Firmware: J-Link V13 compiled Jul 21 2025 13:16:03
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Hardware: V13.00
    [2025-Oct-14 14:38:31] [trace] [  JLink] - S/N: 53003530
    [2025-Oct-14 14:38:31] [trace] [  JLink] - OEM: SEGGER
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Feature(s): GDB
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Bootloader: 2024 Dec 03
    [2025-Oct-14 14:38:31] [trace] [  JLink] - USB speed mode: High speed (480 MBit/s)
    [2025-Oct-14 14:38:31] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2025-Oct-14 14:38:31] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2025-Oct-14 14:38:31] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command connect_to_emu_with_snr executed for 47 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - read_connected_emu_snr
    [2025-Oct-14 14:38:31] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.62 " 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 24.911ms returns "O.K."  
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command read_connected_emu_snr executed for 15 milliseconds with result 0
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_Lock()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.001ms returns 0x01  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.002ms returns 0x00  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.001ms returns 0x00  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.006ms returns 0  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.322ms returns 0x00  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - 180000000 Hz / n, n >= 12
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.005ms   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 15000kHz
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.065ms   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_GetSpeed()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.002ms returns 2000  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_GetSN()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.001ms returns 53003530  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.002ms   
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - read_device_family
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 41 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - read_connected_emu_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.007ms returns 0x01  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_Lock()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - read_connected_emu_snr
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.002ms   
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - recover
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - recover
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.004ms returns 0x01  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_Lock()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - Just_recover
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - Just_is_ctrl_ap_available
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - read_access_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - coresight_configure
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.087ms returns 0  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2025-Oct-14 14:38:31] [error] [ Client] - Encountered error -21: Command recover executed for 124 milliseconds with result -21
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 101.553ms returns 0  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - read_debug_port_idr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - read_debug_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.394ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.363ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.365ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.365ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.356ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.361ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.382ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.363ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.355ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.372ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.366ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.365ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.354ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.356ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.355ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.366ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.365ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.366ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.354ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.363ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.354ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.354ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.364ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.046ms   
    [2025-Oct-14 14:38:31] [error] [ Worker] - An unknown error.
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command recover executed for 117 milliseconds with result -21
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - close
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.004ms returns 0x01  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_Lock()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - close
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_device
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.003ms returns FALSE  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.448ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.354ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.356ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.372ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.374ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.373ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.361ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.356ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.363ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.356ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.355ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.368ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.363ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.377ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.370ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.366ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Ignore exception An unknown error.
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.028ms   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_Close()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - nRF family DLL closed
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command close executed for 60 milliseconds with result 0
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command close executed for 76 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - terminate
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Executed 8 commands for 226 milliseconds
    [2025-Oct-14 14:38:31] [debug] [ Client] - Worker process exited with code: 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - Worker process exited with code: 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - Child process terminated with result 0
    [2025-Oct-14 14:38:31] [trace] [ Client] - Executed 8 commands for 326 milliseconds
    [2025-Oct-14 14:38:31] [debug] [ Client] - terminate
    

Reply
  • i created a log from the nrfutil device recover command maybe this helps 

    [2025-Oct-14 14:38:31] [debug] --------------------------------------------------------------------------------
    [2025-Oct-14 14:38:31] [debug] nrfjprog --recover --family nrf52 --log 
    [2025-Oct-14 14:38:31] [debug] nrfjprog version 10.24.2 external
    [2025-Oct-14 14:38:31] [debug] --------------------------------------------------------------------------------
    [2025-Oct-14 14:38:31] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2025-Oct-14 14:38:31] [ info] Library loaded, loading member functions.
    [2025-Oct-14 14:38:31] [ info] Member functions succesfully loaded.
    [2025-Oct-14 14:38:31] [debug] [ Client] - open
    [2025-Oct-14 14:38:31] [debug] [ Client] - start
    [2025-Oct-14 14:38:31] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 4962a399-b0f7-48ab-8ec1-bd76a84ab813.
    
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command open executed for 33 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - config
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command config executed for 16 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2025-Oct-14 14:38:31] [debug] [  JLink] - Logger sink registered in JLink logger
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - open
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - just_check_family
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - open_dll
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2025-Oct-14 14:38:31] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
    [2025-Oct-14 14:38:31] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2025-Oct-14 14:38:31] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Set batch mode
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - dll_version
    [2025-Oct-14 14:38:31] [ info] [SeggerBackend] - Segger dll version 8.62.  loaded.
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command open executed for 4 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - config
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - enum_emu_snr
    [2025-Oct-14 14:38:31] [debug] [ Client] - enum_emu_snr
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command config executed for 2 milliseconds with result 0
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - connect_to_emu_with_snr
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - enum_emu_con_info
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - enum_emu_con_info
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command enum_emu_con_info executed for 2 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - connect_to_emu_with_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_get_num_emus
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Segger logging enabled.
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Firmware: J-Link V13 compiled Jul 21 2025 13:16:03
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Firmware: J-Link V13 compiled Jul 21 2025 13:16:03
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Hardware: V13.00
    [2025-Oct-14 14:38:31] [trace] [  JLink] - S/N: 53003530
    [2025-Oct-14 14:38:31] [trace] [  JLink] - OEM: SEGGER
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Feature(s): GDB
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Bootloader: 2024 Dec 03
    [2025-Oct-14 14:38:31] [trace] [  JLink] - USB speed mode: High speed (480 MBit/s)
    [2025-Oct-14 14:38:31] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2025-Oct-14 14:38:31] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2025-Oct-14 14:38:31] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command connect_to_emu_with_snr executed for 47 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - read_connected_emu_snr
    [2025-Oct-14 14:38:31] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V8.62 " 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 24.911ms returns "O.K."  
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command read_connected_emu_snr executed for 15 milliseconds with result 0
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_Lock()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.001ms returns 0x01  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.002ms returns 0x00  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.001ms returns 0x00  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.006ms returns 0  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.322ms returns 0x00  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - 180000000 Hz / n, n >= 12
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.005ms   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 15000kHz
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.065ms   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_GetSpeed()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.002ms returns 2000  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_GetSN()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.001ms returns 53003530  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.002ms   
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - read_device_family
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 41 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - read_connected_emu_snr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.007ms returns 0x01  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_Lock()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - read_connected_emu_snr
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.002ms   
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - recover
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - recover
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.004ms returns 0x01  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_Lock()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - Just_recover
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - Just_is_ctrl_ap_available
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - read_access_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - coresight_configure
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.087ms returns 0  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2025-Oct-14 14:38:31] [error] [ Client] - Encountered error -21: Command recover executed for 124 milliseconds with result -21
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 101.553ms returns 0  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - read_debug_port_idr
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - read_debug_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.394ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.363ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.365ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.365ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.356ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.361ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.382ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.363ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.355ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.372ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.366ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.365ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.354ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.356ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.355ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.366ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.365ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.366ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.354ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.363ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.354ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.354ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.364ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.046ms   
    [2025-Oct-14 14:38:31] [error] [ Worker] - An unknown error.
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command recover executed for 117 milliseconds with result -21
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - close
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_emu
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_IsOpen()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.004ms returns 0x01  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_Lock()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - close
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - disconnect_from_emu
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - is_connected_to_device
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_IsConnected()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.003ms returns FALSE  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.448ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.354ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.356ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.372ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.374ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.373ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.361ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.356ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.363ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.356ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.355ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.368ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.359ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.362ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.363ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.360ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.357ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.358ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.377ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.370ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.366ms returns -1  
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_HasError()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Ignore exception An unknown error.
    [2025-Oct-14 14:38:31] [trace] [  JLink] - - 0.028ms   
    [2025-Oct-14 14:38:31] [trace] [  JLink] - JLINK_Close()  
    [2025-Oct-14 14:38:31] [debug] [SeggerBackend] - Segger Backend closed.
    [2025-Oct-14 14:38:31] [debug] [  nRF52] - nRF family DLL closed
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command close executed for 60 milliseconds with result 0
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command close executed for 76 milliseconds with result 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - terminate
    [2025-Oct-14 14:38:31] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2025-Oct-14 14:38:31] [trace] [ Worker] - Executed 8 commands for 226 milliseconds
    [2025-Oct-14 14:38:31] [debug] [ Client] - Worker process exited with code: 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - Worker process exited with code: 0
    [2025-Oct-14 14:38:31] [debug] [ Client] - Child process terminated with result 0
    [2025-Oct-14 14:38:31] [trace] [ Client] - Executed 8 commands for 326 milliseconds
    [2025-Oct-14 14:38:31] [debug] [ Client] - terminate
    

Children
No Data
Related