After some time I picked up my NRF5340 DK again to continue my Matter samples. But I noticed I cannot program any sample to it. The Segger seems to work fine, as I'm able to use the Debug Out to program other Boards. After the searching the internet, I could not find any solution which is working for me. It seems like my board is bricked? The following logs are shown:
Nrf Desktop Programmer Log:
20:24:52.798 Failed "reading readback protection status for application core". Error: code: 1, description: Generic, message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1) 20:24:52.971 Error: Failed with exit code 1. One or more batch tasks failed: - [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1), code: Generic. Message: Batch task protection-get failed, [Probe] Device error: Failed to write DebugPort register 2: Unknown Error in J-Link DLL (error code =-1).
Log after running the recommended "nrfjprog --log --recover"
[2024-Nov-16 20:22:19] [debug] -------------------------------------------------------------------------------- [2024-Nov-16 20:22:19] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --log --recover [2024-Nov-16 20:22:19] [debug] nrfjprog version 10.24.2 external [2024-Nov-16 20:22:19] [debug] -------------------------------------------------------------------------------- [2024-Nov-16 20:22:19] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll. [2024-Nov-16 20:22:19] [ info] Library loaded, loading member functions. [2024-Nov-16 20:22:19] [ info] Member functions succesfully loaded. [2024-Nov-16 20:22:19] [debug] [ Client] - open [2024-Nov-16 20:22:19] [debug] [ Client] - start [2024-Nov-16 20:22:19] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 6a94fc9a-d3e4-47ea-b08a-2529599646c1. [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger [2024-Nov-16 20:22:19] [trace] [ Client] - Command open executed for 21 milliseconds with result 0 [2024-Nov-16 20:22:19] [debug] [ JLink] - Logger sink registered in JLink logger [2024-Nov-16 20:22:19] [debug] [ nRFXX] - open [2024-Nov-16 20:22:19] [debug] [ nRFXX] - just_check_family [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - open_dll [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect. [2024-Nov-16 20:22:19] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink_V794i\JLink_x64.dll. [2024-Nov-16 20:22:19] [ info] [SeggerBackend] - Library loaded, loading member functions. [2024-Nov-16 20:22:19] [ info] [SeggerBackend] - Member functions succesfully loaded. [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Set batch mode [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - dll_version [2024-Nov-16 20:22:19] [ info] [SeggerBackend] - Segger dll version 7.94.i loaded. [2024-Nov-16 20:22:19] [trace] [ Worker] - Command open executed for 2 milliseconds with result 0 [2024-Nov-16 20:22:19] [debug] [ Client] - config [2024-Nov-16 20:22:19] [trace] [ Client] - Command config executed for 15 milliseconds with result 0 [2024-Nov-16 20:22:19] [debug] [ Client] - enum_emu_snr [2024-Nov-16 20:22:19] [debug] [ nRFXX] - config [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - enum_emu_snr [2024-Nov-16 20:22:19] [trace] [ Worker] - Command config executed for 1 milliseconds with result 0 [2024-Nov-16 20:22:19] [debug] [ nRFXX] - enum_emu_con_info [2024-Nov-16 20:22:19] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0 [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - is_connected_to_emu [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - enum_emu_con_info [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - is_connected_to_emu [2024-Nov-16 20:22:19] [debug] [ Client] - connect_to_emu_with_snr [2024-Nov-16 20:22:19] [trace] [ Worker] - Command enum_emu_con_info executed for 1 milliseconds with result 0 [2024-Nov-16 20:22:19] [debug] [ nRFXX] - connect_to_emu_with_snr [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - is_connected_to_emu [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - connect_to_emu_with_snr [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - is_connected_to_emu [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_enum_emu_snr [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_get_num_emus [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Segger logging enabled. [2024-Nov-16 20:22:19] [trace] [ JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Oct 9 2024 11:01:34 [2024-Nov-16 20:22:19] [trace] [ JLink] - Firmware: J-Link OB-nRF5340-NordicSemi compiled Oct 9 2024 11:01:34 [2024-Nov-16 20:22:19] [trace] [ JLink] - Hardware: V1.00 [2024-Nov-16 20:22:19] [trace] [ JLink] - S/N: 1050098574 [2024-Nov-16 20:22:19] [trace] [ JLink] - OEM: SEGGER [2024-Nov-16 20:22:19] [trace] [ JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB [2024-Nov-16 20:22:19] [trace] [ JLink] - Bootloader: 2021 May 18 [2024-Nov-16 20:22:19] [trace] [ JLink] - USB speed mode: Full speed (12 MBit/s) [2024-Nov-16 20:22:19] [trace] [ JLink] - TELNET listener socket opened on port 19021 [2024-Nov-16 20:22:19] [trace] [ JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s) [2024-Nov-16 20:22:19] [trace] [ JLink] - WEBSRV Webserver running on local port 19080 [2024-Nov-16 20:22:19] [trace] [ JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink_V794i\JLinkGUIServer.exe [2024-Nov-16 20:22:19] [trace] [ JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink_V794i\JLinkGUIServer.exe [2024-Nov-16 20:22:19] [trace] [ JLink] - J-Link GUI Server info: "J-Link GUI server V7.94i " [2024-Nov-16 20:22:19] [trace] [ JLink] - - 179.126ms returns "O.K." [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_Lock() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...). [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.001ms returns 0x01 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_ExecCommand("DisableFlashDL", ...). [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.000ms returns 0x00 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.002ms returns 0x00 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_SetHookUnsecureDialog [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_SetHookUnsecureDialog(...) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.006ms returns 0 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.474ms returns 0x00 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_GetSpeedInfo() [2024-Nov-16 20:22:19] [trace] [ JLink] - 128000000 Hz / n, n >= 64 [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.004ms [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 2000kHz [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_SetSpeed(2000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.114ms [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_GetSpeed() [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.001ms returns 2000 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - SWD clock set to 2000kHz [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_GetSN() [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.002ms returns 1050098574 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.002ms [2024-Nov-16 20:22:19] [debug] [ nRFXX] - read_device_family [2024-Nov-16 20:22:19] [debug] [ nRFXX] - read_device_family [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - is_connected_to_emu [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_IsOpen() [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.003ms returns 0x01 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_Lock() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - is_connected_to_emu [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - read_debug_port_idr [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - read_debug_port_register [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_read_debug_port_register [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - coresight_configure [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_GetHWStatus(...) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.201ms returns 0 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_Configure() [2024-Nov-16 20:22:19] [trace] [ JLink] - - 102.352ms returns 0 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - read_debug_port_idr [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - read_debug_port_register [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_read_debug_port_register [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_select_debug_port_register [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.797ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.993ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.603ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.972ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 2.402ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 1.988ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 1.973ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.755ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.566ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.985ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.978ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.987ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.984ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.992ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 2.393ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.571ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.986ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.990ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.984ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.987ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.987ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.984ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.996ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.987ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.984ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.987ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.990ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.987ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.981ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.995ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 1.018ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.945ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.983ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.988ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [error] [ Client] - Encountered error -102: Command connect_to_emu_with_snr executed for 377 milliseconds with result -102 [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.991ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 2.398ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.574ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.982ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.993ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.982ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.989ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.990ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.438ms [2024-Nov-16 20:22:19] [error] [ Worker] - An unknown error. [2024-Nov-16 20:22:19] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 366 milliseconds with result -102 [2024-Nov-16 20:22:19] [debug] [ nRFXX] - close [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - is_connected_to_emu [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_IsOpen() [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.003ms returns 0x01 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_Lock() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - close [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - disconnect_from_emu [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_disconnect_from_emu [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - is_connected_to_device [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_IsConnected() [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.001ms returns FALSE [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_is_debug_region_powered [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_read_debug_port_register [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_select_debug_port_register [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.583ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.995ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.982ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.989ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.990ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.983ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.987ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.984ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.995ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.988ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.986ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.988ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.991ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.986ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.996ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.973ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.981ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.980ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.988ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.988ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.987ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.976ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.995ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.986ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.989ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.989ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.990ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.991ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.981ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.994ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.987ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.990ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.975ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.986ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 2.396ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 1.975ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - ---just_abort_debug_action [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.570ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 1.013ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.944ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.989ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.980ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.997ms returns -1 [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_HasError() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Ignore exception An unknown error. [2024-Nov-16 20:22:19] [trace] [ JLink] - - 0.228ms [2024-Nov-16 20:22:19] [trace] [ JLink] - JLINK_Close() [2024-Nov-16 20:22:19] [debug] [SeggerBackend] - Segger Backend closed. [2024-Nov-16 20:22:19] [debug] [ nRFXX] - nRF family DLL closed [2024-Nov-16 20:22:19] [trace] [ Worker] - Command close executed for 78 milliseconds with result 0 [2024-Nov-16 20:22:19] [trace] [ Client] - Command close executed for 93 milliseconds with result 0 [2024-Nov-16 20:22:19] [debug] [ Client] - terminate [2024-Nov-16 20:22:19] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0 [2024-Nov-16 20:22:19] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0 [2024-Nov-16 20:22:19] [trace] [ Worker] - Executed 6 commands for 448 milliseconds [2024-Nov-16 20:22:19] [debug] [ Client] - Worker process exited with code: 0 [2024-Nov-16 20:22:19] [debug] [ Client] - Worker process exited with code: 0 [2024-Nov-16 20:22:19] [debug] [ Client] - Child process terminated with result 0 [2024-Nov-16 20:22:19] [trace] [ Client] - Executed 6 commands for 521 milliseconds [2024-Nov-16 20:22:19] [debug] [ Client] - terminate
I tried it on several SDK and Toolchain versions like 2.6.2, 2.7.0 and the most recent 2.8.0.
I appreciate any help to get it up and running again before my NRF54L15 DK arrives :)