We are using the NRFJPROG ver 10.24.2 (JLINK Commander ver 8.92) to connect with our NRF52840 target. It fails to connect, here is the log entries:
[2025-Dec-10 17:05:02] [debug] --------------------------------------------------------------------------------
[2025-Dec-10 17:05:02] [debug] nrfjprog --halt --log
[2025-Dec-10 17:05:02] [debug] nrfjprog version 10.24.2 external
[2025-Dec-10 17:05:02] [debug] --------------------------------------------------------------------------------
[2025-Dec-10 17:05:02] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
[2025-Dec-10 17:05:02] [ info] Library loaded, loading member functions.
[2025-Dec-10 17:05:02] [ info] Member functions succesfully loaded.
[2025-Dec-10 17:05:02] [debug] [ Client] - open
[2025-Dec-10 17:05:02] [debug] [ Client] - start
[2025-Dec-10 17:05:02] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence cd6937a6-b41e-4499-9550-fd46990e18c0.
[2025-Dec-10 17:05:02] [trace] [ Client] - Command open executed for 38 milliseconds with result 0
[2025-Dec-10 17:05:02] [debug] [ Client] - config
[2025-Dec-10 17:05:02] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
[2025-Dec-10 17:05:02] [debug] [ Client] - enum_emu_snr
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
[2025-Dec-10 17:05:02] [debug] [ JLink] - Logger sink registered in JLink logger
[2025-Dec-10 17:05:02] [debug] [ nRFXX] - open
[2025-Dec-10 17:05:02] [debug] [ nRFXX] - just_check_family
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - open_dll
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[2025-Dec-10 17:05:02] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink_V892\JLink_x64.dll.
[2025-Dec-10 17:05:02] [ info] [SeggerBackend] - Library loaded, loading member functions.
[2025-Dec-10 17:05:02] [ info] [SeggerBackend] - Member functions succesfully loaded.
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - Set batch mode
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - dll_version
[2025-Dec-10 17:05:02] [ info] [SeggerBackend] - Segger dll version 8.92. loaded.
[2025-Dec-10 17:05:02] [trace] [ Worker] - Command open executed for 3 milliseconds with result 0
[2025-Dec-10 17:05:02] [debug] [ nRFXX] - config
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - enum_emu_snr
[2025-Dec-10 17:05:02] [trace] [ Worker] - Command config executed for 2 milliseconds with result 0
[2025-Dec-10 17:05:02] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
[2025-Dec-10 17:05:02] [debug] [ nRFXX] - enum_emu_con_info
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - enum_emu_con_info
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-10 17:05:02] [trace] [ Worker] - Command enum_emu_con_info executed for 2 milliseconds with result 0
[2025-Dec-10 17:05:02] [debug] [ Client] - connect_to_emu_with_snr
[2025-Dec-10 17:05:02] [debug] [ nRFXX] - connect_to_emu_with_snr
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - connect_to_emu_with_snr
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - ---just_enum_emu_snr
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - ---just_get_num_emus
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - Segger logging enabled.
[2025-Dec-10 17:05:02] [trace] [ JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 8 2025 10:14:41
[2025-Dec-10 17:05:02] [trace] [ JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Jul 8 2025 10:14:41
[2025-Dec-10 17:05:02] [trace] [ JLink] - Hardware: V1.00
[2025-Dec-10 17:05:02] [trace] [ JLink] - S/N: 683735126
[2025-Dec-10 17:05:02] [trace] [ JLink] - OEM: SEGGER
[2025-Dec-10 17:05:02] [trace] [ JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
[2025-Dec-10 17:05:02] [trace] [ JLink] - Bootloader: 2014 Sep 11
[2025-Dec-10 17:05:02] [trace] [ JLink] - USB speed mode: High speed (480 MBit/s)
[2025-Dec-10 17:05:02] [trace] [ JLink] - TELNET listener socket opened on port 19021
[2025-Dec-10 17:05:02] [trace] [ JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
[2025-Dec-10 17:05:02] [trace] [ JLink] - WEBSRV Failed to put socket into listener state (port 19080)
[2025-Dec-10 17:05:02] [trace] [ JLink] - WEBSRV Webserver running on local port 19081
[2025-Dec-10 17:05:02] [trace] [ JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V892\JLinkGUIServer.exe
[2025-Dec-10 17:05:02] [trace] [ JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink_V892\JLinkGUIServer.exe
[2025-Dec-10 17:05:02] [trace] [ JLink] - J-Link GUI Server info: "J-Link GUI server V8.92 "
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 13.238ms returns "O.K."
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_Lock()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.001ms returns 0x01
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_ExecCommand("DisableFlashDL", ...).
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.000ms returns 0x00
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.002ms returns 0x00
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_SetHookUnsecureDialog
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_SetHookUnsecureDialog(...)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.006ms returns 0
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.403ms returns 0x00
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_GetSpeedInfo()
[2025-Dec-10 17:05:02] [trace] [ JLink] - 10000000 Hz / n, n >= 10
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.004ms
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 1000kHz
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - Requested speed 2000kHz is higher than the emulator max speed of 1000kHz
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_SetSpeed(2000)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.069ms
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_GetSpeed()
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.002ms returns 1000
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - SWD speed was reported as 1000kHz after requesting 2000kHz. Check the capabilities of the selected emulator.
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_GetSN()
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.001ms returns 683735126
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.002ms
[2025-Dec-10 17:05:02] [debug] [ nRFXX] - read_device_family
[2025-Dec-10 17:05:02] [debug] [ nRFXX] - read_device_family
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_IsOpen()
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.002ms returns 0x01
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_Lock()
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - read_debug_port_idr
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - read_debug_port_register
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - coresight_configure
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_GetHWStatus(...)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.114ms returns 0
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_Configure()
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 104.021ms returns 0
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - read_debug_port_idr
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - read_debug_port_register
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.777ms returns -1
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.739ms returns -1
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.734ms returns -1
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.723ms returns -1
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.722ms returns -1
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.724ms returns -1
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.713ms returns -1
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.767ms returns -1
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:02] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.739ms returns -1
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:02] [trace] [ JLink] - - 0.717ms returns -1
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:02] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.721ms returns -1
[2025-Dec-10 17:05:03] [error] [ Client] - Encountered error -102: Command connect_to_emu_with_snr executed for 172 milliseconds with result -102
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.739ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.717ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.737ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.729ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.729ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.715ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.737ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.745ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.725ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.704ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.724ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.726ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.726ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.732ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.850ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.744ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.735ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.811ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.759ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.895ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.893ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.731ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.733ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.720ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.723ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.726ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.719ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.722ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.721ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.722ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.732ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.049ms
[2025-Dec-10 17:05:03] [error] [ Worker] - An unknown error.
[2025-Dec-10 17:05:03] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 164 milliseconds with result -102
[2025-Dec-10 17:05:03] [debug] [ nRFXX] - close
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - is_connected_to_emu
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_IsOpen()
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.004ms returns 0x01
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_Lock()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - close
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - disconnect_from_emu
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_disconnect_from_emu
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - is_connected_to_device
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_IsConnected()
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.002ms returns FALSE
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.725ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.726ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.727ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.795ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.856ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.772ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.733ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.716ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.717ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.805ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.744ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.729ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.729ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.736ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.731ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.720ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.736ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.735ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.754ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.749ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.724ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.721ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.740ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.721ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.720ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.855ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.754ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.808ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.731ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.743ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.718ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.734ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.731ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.731ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.731ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.745ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - ---just_abort_debug_action
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.722ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.725ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.743ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.790ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.718ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.717ms returns -1
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_HasError()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Ignore exception An unknown error.
[2025-Dec-10 17:05:03] [trace] [ JLink] - - 0.034ms
[2025-Dec-10 17:05:03] [trace] [ JLink] - JLINK_Close()
[2025-Dec-10 17:05:03] [debug] [SeggerBackend] - Segger Backend closed.
[2025-Dec-10 17:05:03] [debug] [ nRFXX] - nRF family DLL closed
[2025-Dec-10 17:05:03] [trace] [ Client] - Command close executed for 76 milliseconds with result 0
[2025-Dec-10 17:05:03] [debug] [ Client] - terminate
[2025-Dec-10 17:05:03] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
[2025-Dec-10 17:05:03] [trace] [ Worker] - Command close executed for 61 milliseconds with result 0
[2025-Dec-10 17:05:03] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
[2025-Dec-10 17:05:03] [trace] [ Worker] - Executed 6 commands for 232 milliseconds
[2025-Dec-10 17:05:03] [debug] [ Client] - Worker process exited with code: 0
[2025-Dec-10 17:05:03] [debug] [ Client] - Worker process exited with code: 0
[2025-Dec-10 17:05:03] [debug] [ Client] - Child process terminated with result 0
[2025-Dec-10 17:05:03] [trace] [ Client] - Executed 6 commands for 316 milliseconds
[2025-Dec-10 17:05:03] [debug] [ Client] - terminate
Programming did work on this target until we ran a new script using this tool. All electrical connectivity has been verified between the SWD end points. We suspect the APPPROTECT has been set in the UICR. All documented recovery attempts have failed for example, "nrfjprog -f NRF52 --recover" produces the included log output.
We are not concerned with recovering the firmware, just recovering access vis SWD programmer.
Thanks, Any help is appreciated.
John Martin
