Cannot flash / recover nRF52833DK (v2.0.0)

I teach a class that uses the nRF52833DK, and we have had no problems working w/ dev kits up until this semester.  We have several students who have ordered this DK with what appears to be a newer version of the debugging chip (v2.0.0, dated 2023.3), and some of them fail all efforts to flash.  Running commands like nrfjprog --recover result in messages like: 

09:10:56.654
Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] RECOVER_FAILED
09:10:56.902
Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] RECOVER_FAILED, code: Nrfjlink. Message: Batch task recover failed, [jlink] RECOVER_FAILED.
or
$ nrfjprog -f NRF52 --recover --log
Recovering device. This operation might take 30s.
[error] [ Client] - Encountered error -21: Command recover executed for 118 milliseconds with result -21
[error] [ Worker] - Encountered unexpected debug port ID 0, expected 2
ERROR: Recover failed. Please make sure that the correct device family is given
ERROR: and try again.
Trying a hard or debug reset yields this:
$ nrfjprog -f NRF52 --hardreset
Applying hard reset.
[error] [ Client] - Encountered error -5: Command hard_reset executed for 2296 milliseconds with result -5
[error] [ Worker] - Encountered unexpected debug port ID 15, expected 2
ERROR: The --family option given with the command (or the default from
ERROR: nrfjprog.ini) does not match the device connected.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
We've tried different versions of the JLink driver, including the latest, and WIndows, Mac and LInux platforms.
Any insights into how to proceed would be very appreciated!
Parents
  • Hi, 

    Could you try the latest version of the nRF Command Line Tools? If it cannot help, please provide the log with "nrfjprog --recover --log"

    Regards,
    Amanda H.

  • Yes, using the latest version of the commandline tools (v10.24.0).  Below is the log output:

    [2024-Jan-31 09:35:03] [debug] --------------------------------------------------------------------------------
    [2024-Jan-31 09:35:03] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --recover --log
    [2024-Jan-31 09:35:03] [debug] nrfjprog version 10.24.0 external
    [2024-Jan-31 09:35:03] [debug] --------------------------------------------------------------------------------
    [2024-Jan-31 09:35:03] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2024-Jan-31 09:35:03] [ info] Library loaded, loading member functions.
    [2024-Jan-31 09:35:03] [ info] Member functions succesfully loaded.
    [2024-Jan-31 09:35:04] [debug] [ Client] - open
    [2024-Jan-31 09:35:04] [debug] [ Client] - start
    [2024-Jan-31 09:35:04] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence aad3a518-e5dc-43ab-b2a6-96e4d2173f41.
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2024-Jan-31 09:35:04] [debug] [ JLink] - Logger sink registered in JLink logger
    [2024-Jan-31 09:35:04] [debug] [ nRFXX] - open
    [2024-Jan-31 09:35:04] [debug] [ nRFXX] - just_check_family
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - open_dll
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2024-Jan-31 09:35:04] [trace] [ Client] - Command open executed for 174 milliseconds with result 0
    [2024-Jan-31 09:35:04] [debug] [ Client] - config
    [2024-Jan-31 09:35:04] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
    [2024-Jan-31 09:35:04] [debug] [ Client] - enum_emu_snr
    [2024-Jan-31 09:35:04] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
    [2024-Jan-31 09:35:04] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2024-Jan-31 09:35:04] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - Set batch mode
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - dll_version
    [2024-Jan-31 09:35:04] [ info] [SeggerBackend] - Segger dll version 7.94.g loaded.
    [2024-Jan-31 09:35:04] [trace] [ Worker] - Command open executed for 16 milliseconds with result 0
    [2024-Jan-31 09:35:04] [debug] [ nRFXX] - config
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - enum_emu_snr
    [2024-Jan-31 09:35:04] [trace] [ Worker] - Command config executed for 6 milliseconds with result 0
    [2024-Jan-31 09:35:04] [debug] [ nRFXX] - enum_emu_con_info
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - enum_emu_con_info
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:04] [trace] [ Worker] - Command enum_emu_con_info executed for 13 milliseconds with result 0
    [2024-Jan-31 09:35:04] [trace] [ Client] - Command enum_emu_con_info executed for 31 milliseconds with result 0
    [2024-Jan-31 09:35:04] [debug] [ Client] - connect_to_emu_with_snr
    [2024-Jan-31 09:35:04] [debug] [ nRFXX] - connect_to_emu_with_snr
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - ---just_get_num_emus
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - Segger logging enabled.
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Oct 30 2023 12:13:06
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Oct 30 2023 12:13:06
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Hardware: V1.00
    [2024-Jan-31 09:35:04] [trace] [ JLink] - S/N: 1050666547
    [2024-Jan-31 09:35:04] [trace] [ JLink] - OEM: SEGGER
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Bootloader: 2021 May 18
    [2024-Jan-31 09:35:04] [trace] [ JLink] - USB speed mode: Full speed (12 MBit/s)
    [2024-Jan-31 09:35:04] [trace] [ JLink] - TELNET listener socket opened on port 19021
    [2024-Jan-31 09:35:04] [trace] [ JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2024-Jan-31 09:35:04] [trace] [ JLink] - WEBSRV Webserver running on local port 19080
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe
    [2024-Jan-31 09:35:05] [trace] [ JLink] - J-Link GUI Server info: "J-Link GUI server V7.94g "
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 126.186ms returns "O.K."
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.003ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_ExecCommand("DisableFlashDL", ...).
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.001ms returns 0x00
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.004ms returns 0x00
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_SetHookUnsecureDialog
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_SetHookUnsecureDialog(...)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.018ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.801ms returns 0x00
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_GetSpeedInfo()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - 128000000 Hz / n, n >= 64
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.024ms
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_SetSpeed(2000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.408ms
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_GetSpeed()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.008ms returns 2000
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_GetSN()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.008ms returns 1050666547
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.012ms
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - read_device_family
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - read_device_family
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsOpen()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.009ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_idr
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - coresight_configure
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_GetHWStatus(...)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.306ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_Configure()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 101.726ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_idr
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.054ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.799ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.902ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.803ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.789ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.804ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.862ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.075ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.652ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command connect_to_emu_with_snr executed for 314 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - read_connected_emu_snr
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - read_device_family
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.787ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - Value=0x00000000
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.826ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - Value=0x00000000
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.888ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [error] [ nRFXX] - Device does not have an ARM debug port.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.013ms
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - set_core_data
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Set core data:
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Device ID: Cortex-M4
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Expected core: 4294967295
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Existing Expected core: 4294967295
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Coprocessor: APPLICATION
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - AHB AP index: 0
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Core base address: 4294967295
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 301 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - read_connected_emu_snr
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsOpen()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.041ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_connected_emu_snr
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.006ms
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - read_device_family
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsOpen()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.005ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_idr
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.954ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command read_device_family executed for 15 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - select_family
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.845ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.811ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.843ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.865ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.972ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.997ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - failed
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.917ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.769ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - failed
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.904ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.639ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - Value=0x00000000
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.804ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [error] [ nRFXX] - Device does not have an ARM debug port.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.012ms
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command read_device_family executed for 13 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - set_core_data
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Set core data:
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Device ID: Cortex-M4
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Expected core: 4294967295
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Existing Expected core: 4294967295
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Coprocessor: APPLICATION
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - AHB AP index: 0
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Core base address: 4294967295
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command select_family executed for 0 milliseconds with result 0
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command select_family executed for 18 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - recover
    [2024-Jan-31 09:35:05] [error] [ Client] - Encountered error -21: Command recover executed for 2 milliseconds with result -21
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - recover
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsOpen()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.026ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.138ms
    [2024-Jan-31 09:35:05] [error] [ Worker] - This function cannot be executed without a known family.
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command recover executed for 0 milliseconds with result -21
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - close
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsOpen()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.024ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - close
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - disconnect_from_emu
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_device
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsConnected()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.008ms returns FALSE
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.909ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.831ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 2.176ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 5.412ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 4.449ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.986ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.520ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.848ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 2.614ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 6.625ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 2.135ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 2.716ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.336ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 3.361ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 5.925ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 3.034ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 2.120ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 3.368ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.292ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.013ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.002ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.934ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.846ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.687ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Ignore exception Failed to set Debug port SELECT register.
    This indicates that the debug port is not available.
    Please double-check device power supply and SWD wiring.
    An unknown error.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.171ms
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Close()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Segger Backend closed.
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - nRF family DLL closed
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command close executed for 97 milliseconds with result 0
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command close executed for 116 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - terminate
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Executed 10 commands for 446 milliseconds
    [2024-Jan-31 09:35:05] [debug] [ Client] - Worker process exited with code: 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - Worker process exited with code: 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - Child process terminated with result 0
    [2024-Jan-31 09:35:05] [trace] [ Client] - Executed 10 commands for 685 milliseconds
    [2024-Jan-31 09:35:05] [debug] [ Client] - terminate

Reply
  • Yes, using the latest version of the commandline tools (v10.24.0).  Below is the log output:

    [2024-Jan-31 09:35:03] [debug] --------------------------------------------------------------------------------
    [2024-Jan-31 09:35:03] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --recover --log
    [2024-Jan-31 09:35:03] [debug] nrfjprog version 10.24.0 external
    [2024-Jan-31 09:35:03] [debug] --------------------------------------------------------------------------------
    [2024-Jan-31 09:35:03] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2024-Jan-31 09:35:03] [ info] Library loaded, loading member functions.
    [2024-Jan-31 09:35:03] [ info] Member functions succesfully loaded.
    [2024-Jan-31 09:35:04] [debug] [ Client] - open
    [2024-Jan-31 09:35:04] [debug] [ Client] - start
    [2024-Jan-31 09:35:04] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence aad3a518-e5dc-43ab-b2a6-96e4d2173f41.
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2024-Jan-31 09:35:04] [debug] [ JLink] - Logger sink registered in JLink logger
    [2024-Jan-31 09:35:04] [debug] [ nRFXX] - open
    [2024-Jan-31 09:35:04] [debug] [ nRFXX] - just_check_family
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - open_dll
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2024-Jan-31 09:35:04] [trace] [ Client] - Command open executed for 174 milliseconds with result 0
    [2024-Jan-31 09:35:04] [debug] [ Client] - config
    [2024-Jan-31 09:35:04] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
    [2024-Jan-31 09:35:04] [debug] [ Client] - enum_emu_snr
    [2024-Jan-31 09:35:04] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
    [2024-Jan-31 09:35:04] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2024-Jan-31 09:35:04] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - Set batch mode
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - dll_version
    [2024-Jan-31 09:35:04] [ info] [SeggerBackend] - Segger dll version 7.94.g loaded.
    [2024-Jan-31 09:35:04] [trace] [ Worker] - Command open executed for 16 milliseconds with result 0
    [2024-Jan-31 09:35:04] [debug] [ nRFXX] - config
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - enum_emu_snr
    [2024-Jan-31 09:35:04] [trace] [ Worker] - Command config executed for 6 milliseconds with result 0
    [2024-Jan-31 09:35:04] [debug] [ nRFXX] - enum_emu_con_info
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - enum_emu_con_info
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:04] [trace] [ Worker] - Command enum_emu_con_info executed for 13 milliseconds with result 0
    [2024-Jan-31 09:35:04] [trace] [ Client] - Command enum_emu_con_info executed for 31 milliseconds with result 0
    [2024-Jan-31 09:35:04] [debug] [ Client] - connect_to_emu_with_snr
    [2024-Jan-31 09:35:04] [debug] [ nRFXX] - connect_to_emu_with_snr
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - ---just_get_num_emus
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2024-Jan-31 09:35:04] [debug] [SeggerBackend] - Segger logging enabled.
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Oct 30 2023 12:13:06
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Oct 30 2023 12:13:06
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Hardware: V1.00
    [2024-Jan-31 09:35:04] [trace] [ JLink] - S/N: 1050666547
    [2024-Jan-31 09:35:04] [trace] [ JLink] - OEM: SEGGER
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Bootloader: 2021 May 18
    [2024-Jan-31 09:35:04] [trace] [ JLink] - USB speed mode: Full speed (12 MBit/s)
    [2024-Jan-31 09:35:04] [trace] [ JLink] - TELNET listener socket opened on port 19021
    [2024-Jan-31 09:35:04] [trace] [ JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2024-Jan-31 09:35:04] [trace] [ JLink] - WEBSRV Webserver running on local port 19080
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe
    [2024-Jan-31 09:35:04] [trace] [ JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe
    [2024-Jan-31 09:35:05] [trace] [ JLink] - J-Link GUI Server info: "J-Link GUI server V7.94g "
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 126.186ms returns "O.K."
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.003ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_ExecCommand("DisableFlashDL", ...).
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.001ms returns 0x00
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.004ms returns 0x00
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_SetHookUnsecureDialog
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_SetHookUnsecureDialog(...)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.018ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.801ms returns 0x00
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_GetSpeedInfo()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - 128000000 Hz / n, n >= 64
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.024ms
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_SetSpeed(2000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.408ms
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_GetSpeed()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.008ms returns 2000
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - SWD clock set to 2000kHz
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_GetSN()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.008ms returns 1050666547
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.012ms
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - read_device_family
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - read_device_family
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsOpen()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.009ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_idr
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - coresight_configure
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_GetHWStatus(...)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.306ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_Configure()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 101.726ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_idr
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.054ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.799ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.902ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.803ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.789ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.804ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.862ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.075ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.652ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command connect_to_emu_with_snr executed for 314 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - read_connected_emu_snr
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - read_device_family
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.787ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - Value=0x00000000
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.826ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - Value=0x00000000
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.888ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [error] [ nRFXX] - Device does not have an ARM debug port.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.013ms
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - set_core_data
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Set core data:
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Device ID: Cortex-M4
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Expected core: 4294967295
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Existing Expected core: 4294967295
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Coprocessor: APPLICATION
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - AHB AP index: 0
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Core base address: 4294967295
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 301 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - read_connected_emu_snr
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsOpen()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.041ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_connected_emu_snr
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.006ms
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - read_device_family
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsOpen()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.005ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_idr
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.954ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command read_device_family executed for 15 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - select_family
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.845ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.811ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.843ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.865ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.972ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.997ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - failed
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.917ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.769ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - failed
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.904ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.639ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - Value=0x00000000
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.804ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [error] [ nRFXX] - Device does not have an ARM debug port.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.012ms
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command read_device_family executed for 13 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - set_core_data
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Set core data:
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Device ID: Cortex-M4
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Expected core: 4294967295
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Existing Expected core: 4294967295
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Coprocessor: APPLICATION
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - AHB AP index: 0
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Core base address: 4294967295
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command select_family executed for 0 milliseconds with result 0
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command select_family executed for 18 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - recover
    [2024-Jan-31 09:35:05] [error] [ Client] - Encountered error -21: Command recover executed for 2 milliseconds with result -21
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - recover
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsOpen()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.026ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.138ms
    [2024-Jan-31 09:35:05] [error] [ Worker] - This function cannot be executed without a known family.
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command recover executed for 0 milliseconds with result -21
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - close
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_emu
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsOpen()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.024ms returns 0x01
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Lock()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - close
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - disconnect_from_emu
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - is_connected_to_device
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_IsConnected()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.008ms returns FALSE
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.909ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.831ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 2.176ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 5.412ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 4.449ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.986ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.520ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.848ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 2.614ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 6.625ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 2.135ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 2.716ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.336ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 3.361ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 5.925ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 3.034ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 2.120ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 3.368ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.292ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.013ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 1.002ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.934ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.846ms returns -1
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.687ms returns 0
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_HasError()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Ignore exception Failed to set Debug port SELECT register.
    This indicates that the debug port is not available.
    Please double-check device power supply and SWD wiring.
    An unknown error.
    [2024-Jan-31 09:35:05] [trace] [ JLink] - - 0.171ms
    [2024-Jan-31 09:35:05] [trace] [ JLink] - JLINK_Close()
    [2024-Jan-31 09:35:05] [debug] [SeggerBackend] - Segger Backend closed.
    [2024-Jan-31 09:35:05] [debug] [ nRFXX] - nRF family DLL closed
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command close executed for 97 milliseconds with result 0
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command close executed for 116 milliseconds with result 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - terminate
    [2024-Jan-31 09:35:05] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2024-Jan-31 09:35:05] [trace] [ Worker] - Executed 10 commands for 446 milliseconds
    [2024-Jan-31 09:35:05] [debug] [ Client] - Worker process exited with code: 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - Worker process exited with code: 0
    [2024-Jan-31 09:35:05] [debug] [ Client] - Child process terminated with result 0
    [2024-Jan-31 09:35:05] [trace] [ Client] - Executed 10 commands for 685 milliseconds
    [2024-Jan-31 09:35:05] [debug] [ Client] - terminate

Children
Related