jaredwolff Do you by any chance know what this error might be related to:
nrfjprog version: 10.23.2 external
JLinkARM.dll version: 7.88j
computer: mac
When I run the: nrfjprog -r
on the nrf9160 DK I get:
Applying system reset.
Run.
However, when connecting the feather with a TC2030-CTX-NL 6-Pin I get this error:
[error] [ Client] - Encountered error -102: Command connect_to_emu_with_snr executed for 576 milliseconds with result -102
ERROR: Unable to connect to a debugger.
[error] [ Worker] - An unknown error.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
I have followed this tutorial:
https://docs.circuitdojo.com/nrf9160-programming-and-debugging.html#requirements-for-external-programming
I have also run this:
nrfjprog --com
960045815 /dev/tty.usbmodem0009600458153 VCOM1
960045815 /dev/tty.usbmodem0009600458151 VCOM0
960045815 /dev/tty.usbmodem0009600458155 VCOM
FULL LOG:
[2023-Dec-12 21:22:30] [debug] --------------------------------------------------------------------------------
[2023-Dec-12 21:22:30] [debug] nrfjprog -r --log
[2023-Dec-12 21:22:30] [debug] nrfjprog version 10.23.2 external
[2023-Dec-12 21:22:30] [debug] --------------------------------------------------------------------------------
[2023-Dec-12 21:22:30] [ info] Load library at /Applications/Nordic Semiconductor/lib/libnrfjprogdll.dylib.
[2023-Dec-12 21:22:30] [ info] Library loaded, loading member functions.
[2023-Dec-12 21:22:30] [ info] Member functions succesfully loaded.
[2023-Dec-12 21:22:30] [debug] [ Client] - open
[2023-Dec-12 21:22:30] [debug] [ Client] - start
[2023-Dec-12 21:22:30] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence a1e71bc8-643a-4729-b539-53abac389a2f.
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
[2023-Dec-12 21:22:30] [debug] [ JLink] - Logger sink registered in JLink logger
[2023-Dec-12 21:22:30] [debug] [ nRFXX] - open
[2023-Dec-12 21:22:30] [debug] [ nRFXX] - just_check_family
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - open_dll
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[2023-Dec-12 21:22:30] [ info] [SeggerBackend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.7.88.10.dylib.
[2023-Dec-12 21:22:30] [ info] [SeggerBackend] - Library loaded, loading member functions.
[2023-Dec-12 21:22:30] [ info] [SeggerBackend] - Member functions succesfully loaded.
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Set batch mode
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - dll_version
[2023-Dec-12 21:22:30] [ info] [SeggerBackend] - Segger dll version 7.88.j loaded.
[2023-Dec-12 21:22:30] [trace] [ Worker] - Command open executed for 5 milliseconds with result 0
[2023-Dec-12 21:22:30] [trace] [ Client] - Command open executed for 12 milliseconds with result 0
[2023-Dec-12 21:22:30] [debug] [ Client] - config
[2023-Dec-12 21:22:30] [trace] [ Client] - Command config executed for 6 milliseconds with result 0
[2023-Dec-12 21:22:30] [debug] [ Client] - enum_emu_snr
[2023-Dec-12 21:22:30] [trace] [ Client] - Command enum_emu_con_info executed for 6 milliseconds with result 0
[2023-Dec-12 21:22:30] [debug] [ Client] - connect_to_emu_with_snr
[2023-Dec-12 21:22:30] [debug] [ nRFXX] - config
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - enum_emu_snr
[2023-Dec-12 21:22:30] [trace] [ Worker] - Command config executed for 1 milliseconds with result 0
[2023-Dec-12 21:22:30] [debug] [ nRFXX] - enum_emu_con_info
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - enum_emu_con_info
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-12 21:22:30] [trace] [ Worker] - Command enum_emu_con_info executed for 0 milliseconds with result 0
[2023-Dec-12 21:22:30] [debug] [ nRFXX] - connect_to_emu_with_snr
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - connect_to_emu_with_snr
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_enum_emu_snr
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_get_num_emus
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Segger logging enabled.
[2023-Dec-12 21:22:30] [trace] [ JLink] - Firmware: J-Link OB-K22-NordicSemi compiled Oct 30 2023 12:12:53
[2023-Dec-12 21:22:30] [trace] [ JLink] - Firmware: J-Link OB-K22-NordicSemi compiled Oct 30 2023 12:12:53
[2023-Dec-12 21:22:30] [trace] [ JLink] - Hardware: V1.00
[2023-Dec-12 21:22:30] [trace] [ JLink] - S/N: 960045815
[2023-Dec-12 21:22:30] [trace] [ JLink] - OEM: SEGGER
[2023-Dec-12 21:22:30] [trace] [ JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
[2023-Dec-12 21:22:30] [trace] [ JLink] - Bootloader: 2018 Aug 07
[2023-Dec-12 21:22:30] [trace] [ JLink] - USB speed mode: Full speed (12 MBit/s)
[2023-Dec-12 21:22:30] [trace] [ JLink] - TELNET listener socket opened on port 19021
[2023-Dec-12 21:22:30] [trace] [ JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
[2023-Dec-12 21:22:30] [trace] [ JLink] - WEBSRV Webserver running on local port 19080
[2023-Dec-12 21:22:30] [trace] [ JLink] - Looking for J-Link GUI Server exe at: /Applications/SEGGER/JLink_V788j/JLinkGUIServerExe
[2023-Dec-12 21:22:30] [trace] [ JLink] - Forking J-Link GUI Server: /Applications/SEGGER/JLink_V788j/JLinkGUIServerExe
[2023-Dec-12 21:22:30] [trace] [ JLink] - J-Link GUI Server info: "J-Link GUI server V7.88j "
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 429.943ms returns "O.K."
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_Lock()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.002ms returns 0x01
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_ExecCommand("DisableFlashDL", ...).
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.001ms returns 0x00
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.001ms returns 0x00
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_SetHookUnsecureDialog
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_SetHookUnsecureDialog(...)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.003ms returns 0
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.572ms returns 0x00
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_GetSpeedInfo()
[2023-Dec-12 21:22:30] [trace] [ JLink] - 72000000 Hz / n, n >= 36
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.003ms
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_SetSpeed(2000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.072ms
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_GetSpeed()
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.001ms returns 2000
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - SWD clock set to 2000kHz
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_GetSN()
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.002ms returns 960045815
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.001ms
[2023-Dec-12 21:22:30] [debug] [ nRFXX] - read_device_family
[2023-Dec-12 21:22:30] [debug] [ nRFXX] - read_device_family
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_IsOpen()
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.001ms returns 0x01
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_Lock()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - read_debug_port_idr
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - read_debug_port_register
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - coresight_configure
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_GetHWStatus(...)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.123ms returns 0
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_Configure()
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 100.442ms returns 0
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - read_debug_port_idr
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - read_debug_port_register
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.593ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.527ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.506ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.513ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.522ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.528ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.531ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.531ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.531ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.521ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.524ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.516ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.529ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.501ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.496ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.502ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.504ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.513ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.521ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [error] [ Client] - Encountered error -102: Command connect_to_emu_with_snr executed for 580 milliseconds with result -102
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.531ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.524ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.527ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.523ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.521ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.525ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.519ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.528ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.531ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.533ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.527ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.535ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.514ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.569ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.588ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.535ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.526ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.531ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.512ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.560ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.525ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.526ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.555ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.045ms
[2023-Dec-12 21:22:30] [error] [ Worker] - An unknown error.
[2023-Dec-12 21:22:30] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 570 milliseconds with result -102
[2023-Dec-12 21:22:30] [debug] [ nRFXX] - close
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_IsOpen()
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.002ms returns 0x01
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_Lock()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - close
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - disconnect_from_emu
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_disconnect_from_emu
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - is_connected_to_device
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_IsConnected()
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.004ms returns FALSE
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.581ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.585ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.529ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.530ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.523ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.527ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.534ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.516ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.523ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.593ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.555ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.535ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.532ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.517ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.507ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.540ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.522ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.522ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.521ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.540ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.514ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.572ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.525ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.517ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.539ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.520ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.532ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.524ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.558ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.547ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.586ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.534ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.532ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.530ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.521ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.534ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.517ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.525ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.561ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.591ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.520ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.523ms returns -1
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_HasError()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Ignore exception An unknown error.
[2023-Dec-12 21:22:30] [trace] [ JLink] - - 0.026ms
[2023-Dec-12 21:22:30] [trace] [ JLink] - JLINK_Close()
[2023-Dec-12 21:22:30] [debug] [SeggerBackend] - Segger Backend closed.
[2023-Dec-12 21:22:30] [debug] [ nRFXX] - nRF family DLL closed
[2023-Dec-12 21:22:30] [trace] [ Client] - Command close executed for 62 milliseconds with result 0
[2023-Dec-12 21:22:30] [debug] [ Client] - terminate
[2023-Dec-12 21:22:30] [trace] [ Client] - Command terminate executed for 6 milliseconds with result 0
[2023-Dec-12 21:22:30] [trace] [ Worker] - Command close executed for 55 milliseconds with result 0
[2023-Dec-12 21:22:30] [trace] [ Worker] - Command t