Hi Dev Zone Team,
I have been working with the nRF series for quite sometime and I am having an issue with an nRF52840 based module that I haven't experienced before. I debugging the nRF IC via SES and then closed that application and went to use ```nrfjprog``` to erase and put on production code. I ran the ```nrfjprog``` command but the nRF8540 was no longer reachable via the debug port. The code on the micro is running fine as the device is functional.
I have tried updating to the latest version of ```nrfjprog``` and that didn't help. I have included the log from ```nrfjprog```. Is there any way to get access back to the debug port as the code running on the micro doesn't have a bootloader installed so it can't be updated.
Thanks,
[ info]: -------------------------------------------------------------------------------- [ info]: nrfjprog --log -f NRF52 --recover [ info]: nrfjprog version 10.17.3 external [ info]: -------------------------------------------------------------------------------- [ info]: Load library at /Applications/Nordic Semiconductor/lib/libnrfjprogdll.dylib. [ info]: Library loaded, loading member functions. [ info]: Member functions succesfully loaded. [debug]: [ Client] - open [debug]: [ Client] - start [ info]: [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence b7c69780-c6ef-4b62-88e2-d12be936ef67. [trace]: [ Client] - Command open executed for 7 milliseconds with result 0 [debug]: [ Client] - config [trace]: [ Client] - Command config executed for 3 milliseconds with result 0 [debug]: [ Client] - enum_emu_snr [trace]: [ Client] - Command enum_emu_con_info executed for 4 milliseconds with result 0 [debug]: [ Client] - connect_to_emu_with_snr [debug]: [SeggerBackend] - Logger sink registered in Segger backend logger [debug]: [ JLink] - Logger sink registered in JLink logger [debug]: [ nRF52] - open [debug]: [ nRF52] - just_check_family [debug]: [SeggerBackend] - open_dll [debug]: [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect. [ info]: [SeggerBackend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.7.66.1.dylib. [ info]: [SeggerBackend] - Library loaded, loading member functions. [ info]: [SeggerBackend] - Member functions succesfully loaded. [debug]: [SeggerBackend] - Set batch mode [debug]: [SeggerBackend] - dll_version [ info]: [SeggerBackend] - Segger dll version 7.66.a loaded. [trace]: [ Worker] - Command open executed for 5 milliseconds with result 0 [debug]: [ nRF52] - config [trace]: [ Worker] - Command config executed for 3 milliseconds with result 0 [debug]: [ nRF52] - enum_emu_con_info [debug]: [SeggerBackend] - is_connected_to_emu [debug]: [SeggerBackend] - enum_emu_con_info [debug]: [SeggerBackend] - is_connected_to_emu [trace]: [ Worker] - Command enum_emu_con_info executed for 4 milliseconds with result 0 [debug]: [ nRF52] - connect_to_emu_with_snr [debug]: [SeggerBackend] - is_connected_to_emu [debug]: [SeggerBackend] - connect_to_emu_with_snr [debug]: [SeggerBackend] - is_connected_to_emu [debug]: [SeggerBackend] - ---just_enum_emu_snr [debug]: [SeggerBackend] - ---just_get_num_emus [debug]: [SeggerBackend] - ---just_connect_to_emu_with_snr [debug]: [SeggerBackend] - ---just_connect_to_emu_without_snr [debug]: [SeggerBackend] - Segger logging enabled. [trace]: [ JLink] - Firmware: J-Link Ultra V5-1 compiled May 18 2022 17:08:33 [trace]: [ JLink] - Firmware: J-Link Ultra V5-1 compiled May 18 2022 17:08:33 [trace]: [ JLink] - Hardware: V5.10 [trace]: [ JLink] - S/N: 505102150 [trace]: [ JLink] - OEM: SEGGER [trace]: [ JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB [trace]: [ JLink] - USB speed mode: High speed (480 MBit/s) [trace]: [ JLink] - TELNET listener socket opened on port 19021 [trace]: [ JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s) [trace]: [ JLink] - WEBSRV Webserver running on local port 19080 [trace]: [ JLink] - - 11.489ms returns "O.K." [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_Lock() [trace]: [ JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...). [trace]: [ JLink] - - 0.004ms returns 0x01 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_ExecCommand("DisableFlashDL", ...). [trace]: [ JLink] - - 0.001ms returns 0x00 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). [trace]: [ JLink] - - 0.002ms returns 0x00 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_SetHookUnsecureDialog [trace]: [ JLink] - JLINK_SetHookUnsecureDialog(...) [trace]: [ JLink] - - 0.007ms returns 0 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD) [trace]: [ JLink] - - 0.755ms returns 0x00 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_GetSpeedInfo() [trace]: [ JLink] - 1600000000 Hz / n, n >= 32 [trace]: [ JLink] - - 0.006ms [trace]: [ JLink] - JLINK_HasError() [debug]: [SeggerBackend] - Connected emulator supports SWD speeds up to 50000kHz [trace]: [ JLink] - JLINK_SetSpeed(2000) [trace]: [ JLink] - - 0.100ms [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_GetSpeed() [trace]: [ JLink] - - 0.002ms returns 2000 [trace]: [ JLink] - JLINK_HasError() [debug]: [SeggerBackend] - SWD clock set to 2000kHz [trace]: [ JLink] - JLINK_GetSN() [trace]: [ JLink] - - 0.002ms returns 505102150 [trace]: [ JLink] - JLINK_HasError() [debug]: [SeggerBackend] - read_debug_port_idr [debug]: [SeggerBackend] - read_debug_port_register [debug]: [SeggerBackend] - ---just_read_debug_port_register [debug]: [SeggerBackend] - coresight_configure [trace]: [ JLink] - JLINK_GetHWStatus(...) [trace]: [ JLink] - - 1.174ms returns 0 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_CORESIGHT_Configure() [trace]: [ JLink] - - 100.125ms returns 0 [trace]: [ JLink] - JLINK_HasError() [debug]: [SeggerBackend] - ---just_select_debug_port_register [debug]: [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255 [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.474ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.411ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.423ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.484ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.476ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.463ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.455ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.424ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.435ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.413ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.429ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ Client] - Command connect_to_emu_with_snr executed for 157 milliseconds with result -102 [trace]: [ JLink] - - 0.466ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.412ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.410ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.449ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.375ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.447ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.406ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.453ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.404ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.387ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.401ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.418ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.410ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.448ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.412ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.408ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.393ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.452ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.401ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - - 0.009ms [trace]: [ Worker] - Command connect_to_emu_with_snr executed for 157 milliseconds with result -102 [debug]: [ nRF52] - close [debug]: [SeggerBackend] - is_connected_to_emu [trace]: [ JLink] - JLINK_IsOpen() [trace]: [ JLink] - - 0.004ms returns 0x01 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_Lock() [debug]: [SeggerBackend] - close [debug]: [SeggerBackend] - disconnect_from_emu [debug]: [SeggerBackend] - ---just_disconnect_from_emu [debug]: [SeggerBackend] - is_connected_to_device [trace]: [ JLink] - JLINK_IsConnected() [trace]: [ JLink] - - 0.002ms returns FALSE [trace]: [ JLink] - JLINK_HasError() [debug]: [SeggerBackend] - ---just_is_debug_region_powered [debug]: [SeggerBackend] - ---just_read_debug_port_register [debug]: [SeggerBackend] - ---just_select_debug_port_register [debug]: [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255 [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.418ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.412ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.447ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.466ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.436ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.397ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.428ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.433ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.414ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.438ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.419ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.406ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.410ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.430ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.375ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.421ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.390ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.367ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.409ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.450ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.421ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.409ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.439ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.408ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.412ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.393ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.391ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.410ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.387ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.402ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - - 0.010ms [trace]: [ JLink] - JLINK_Close() [debug]: [SeggerBackend] - Segger Backend closed. [debug]: [ nRF52] - nRF family DLL closed [trace]: [ Client] - Command close executed for 51 milliseconds with result 0 [debug]: [ Client] - terminate [trace]: [ Client] - Command terminate executed for 0 milliseconds with result 0 [trace]: [ Worker] - Command close executed for 51 milliseconds with result 0 [trace]: [ Worker] - Command terminate executed for 0 milliseconds with result 0 [trace]: [ Worker] - Executed 6 commands for 220 milliseconds [debug]: [ Client] - Child process terminated with result 0 [trace]: [ Client] - Executed 6 commands for 222 milliseconds [debug]: [ Client] - terminate [ info]: -------------------------------------------------------------------------------- [ info]: nrfjprog --log -f NRF52 -p [ info]: nrfjprog version 10.17.3 external [ info]: -------------------------------------------------------------------------------- [ info]: Load library at /Applications/Nordic Semiconductor/lib/libnrfjprogdll.dylib. [ info]: Library loaded, loading member functions. [ info]: Member functions succesfully loaded. [debug]: [ Client] - open [debug]: [ Client] - start [ info]: [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 12a7f812-88a4-46b5-993c-572736fbc3f2. [trace]: [ Client] - Command open executed for 8 milliseconds with result 0 [debug]: [ Client] - config [trace]: [ Client] - Command config executed for 3 milliseconds with result 0 [debug]: [ Client] - enum_emu_snr [debug]: [SeggerBackend] - Logger sink registered in Segger backend logger [debug]: [ JLink] - Logger sink registered in JLink logger [debug]: [ nRF52] - open [debug]: [ nRF52] - just_check_family [debug]: [SeggerBackend] - open_dll [debug]: [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect. [ info]: [SeggerBackend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.7.66.1.dylib. [ info]: [SeggerBackend] - Library loaded, loading member functions. [ info]: [SeggerBackend] - Member functions succesfully loaded. [debug]: [SeggerBackend] - Set batch mode [debug]: [SeggerBackend] - dll_version [ info]: [SeggerBackend] - Segger dll version 7.66.a loaded. [trace]: [ Worker] - Command open executed for 5 milliseconds with result 0 [debug]: [ nRF52] - config [trace]: [ Worker] - Command config executed for 3 milliseconds with result 0 [debug]: [ nRF52] - enum_emu_con_info [debug]: [SeggerBackend] - is_connected_to_emu [debug]: [SeggerBackend] - enum_emu_con_info [trace]: [ Client] - Command enum_emu_con_info executed for 4 milliseconds with result 0 [debug]: [ Client] - connect_to_emu_with_snr [debug]: [SeggerBackend] - is_connected_to_emu [trace]: [ Worker] - Command enum_emu_con_info executed for 4 milliseconds with result 0 [debug]: [ nRF52] - connect_to_emu_with_snr [debug]: [SeggerBackend] - is_connected_to_emu [debug]: [SeggerBackend] - connect_to_emu_with_snr [debug]: [SeggerBackend] - is_connected_to_emu [debug]: [SeggerBackend] - ---just_enum_emu_snr [debug]: [SeggerBackend] - ---just_get_num_emus [debug]: [SeggerBackend] - ---just_connect_to_emu_with_snr [debug]: [SeggerBackend] - ---just_connect_to_emu_without_snr [debug]: [SeggerBackend] - Segger logging enabled. [trace]: [ JLink] - Firmware: J-Link Ultra V5-1 compiled May 18 2022 17:08:33 [trace]: [ JLink] - Firmware: J-Link Ultra V5-1 compiled May 18 2022 17:08:33 [trace]: [ JLink] - Hardware: V5.10 [trace]: [ JLink] - S/N: 505102150 [trace]: [ JLink] - OEM: SEGGER [trace]: [ JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB [trace]: [ JLink] - USB speed mode: High speed (480 MBit/s) [trace]: [ JLink] - TELNET listener socket opened on port 19021 [trace]: [ JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s) [trace]: [ JLink] - WEBSRV Webserver running on local port 19080 [trace]: [ JLink] - - 11.098ms returns "O.K." [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_Lock() [trace]: [ JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...). [trace]: [ JLink] - - 0.004ms returns 0x01 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_ExecCommand("DisableFlashDL", ...). [trace]: [ JLink] - - 0.001ms returns 0x00 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...). [trace]: [ JLink] - - 0.001ms returns 0x00 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_SetHookUnsecureDialog [trace]: [ JLink] - JLINK_SetHookUnsecureDialog(...) [trace]: [ JLink] - - 0.008ms returns 0 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD) [trace]: [ JLink] - - 0.630ms returns 0x00 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_GetSpeedInfo() [trace]: [ JLink] - 1600000000 Hz / n, n >= 32 [trace]: [ JLink] - - 0.006ms [trace]: [ JLink] - JLINK_HasError() [debug]: [SeggerBackend] - Connected emulator supports SWD speeds up to 50000kHz [trace]: [ JLink] - JLINK_SetSpeed(2000) [trace]: [ JLink] - - 0.097ms [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_GetSpeed() [trace]: [ JLink] - - 0.002ms returns 2000 [trace]: [ JLink] - JLINK_HasError() [debug]: [SeggerBackend] - SWD clock set to 2000kHz [trace]: [ JLink] - JLINK_GetSN() [trace]: [ JLink] - - 0.003ms returns 505102150 [trace]: [ JLink] - JLINK_HasError() [debug]: [SeggerBackend] - read_debug_port_idr [debug]: [SeggerBackend] - read_debug_port_register [debug]: [SeggerBackend] - ---just_read_debug_port_register [debug]: [SeggerBackend] - coresight_configure [trace]: [ JLink] - JLINK_GetHWStatus(...) [trace]: [ JLink] - - 0.190ms returns 0 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_CORESIGHT_Configure() [trace]: [ JLink] - - 99.952ms returns 0 [trace]: [ JLink] - JLINK_HasError() [debug]: [SeggerBackend] - ---just_select_debug_port_register [debug]: [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255 [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.456ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.423ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.433ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.414ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.423ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.475ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.474ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.417ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.441ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.432ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.419ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.425ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.417ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.427ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.424ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.419ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.410ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.414ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ Client] - Command connect_to_emu_with_snr executed for 157 milliseconds with result -102 [trace]: [ JLink] - - 0.426ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.457ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.421ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.477ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.415ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.438ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.443ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.445ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.400ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.391ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.419ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.415ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - - 0.008ms [trace]: [ Worker] - Command connect_to_emu_with_snr executed for 157 milliseconds with result -102 [debug]: [ nRF52] - close [debug]: [SeggerBackend] - is_connected_to_emu [trace]: [ JLink] - JLINK_IsOpen() [trace]: [ JLink] - - 0.003ms returns 0x01 [trace]: [ JLink] - JLINK_HasError() [trace]: [ JLink] - JLINK_Lock() [debug]: [SeggerBackend] - close [debug]: [SeggerBackend] - disconnect_from_emu [debug]: [SeggerBackend] - ---just_disconnect_from_emu [debug]: [SeggerBackend] - is_connected_to_device [trace]: [ JLink] - JLINK_IsConnected() [trace]: [ JLink] - - 0.002ms returns FALSE [trace]: [ JLink] - JLINK_HasError() [debug]: [SeggerBackend] - ---just_is_debug_region_powered [debug]: [SeggerBackend] - ---just_read_debug_port_register [debug]: [SeggerBackend] - ---just_select_debug_port_register [debug]: [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255 [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.420ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.421ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.459ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.412ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.410ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.420ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.394ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.408ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.427ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.405ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.433ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.396ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.433ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.394ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.418ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.413ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.399ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.407ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.416ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.412ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.445ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.443ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.394ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.395ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000) [trace]: [ JLink] - - 0.437ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [debug]: [SeggerBackend] - ---just_abort_debug_action [debug]: [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.446ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.430ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.444ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.409ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F) [trace]: [ JLink] - - 0.443ms returns -1 [trace]: [ JLink] - JLINK_HasError() [error]: [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.". [trace]: [ JLink] - - 0.020ms [trace]: [ JLink] - JLINK_Close() [debug]: [SeggerBackend] - Segger Backend closed. [debug]: [ nRF52] - nRF family DLL closed [trace]: [ Client] - Command close executed for 41 milliseconds with result 0 [debug]: [ Client] - terminate [trace]: [ Client] - Command terminate executed for 0 milliseconds with result 0 [trace]: [ Worker] - Command close executed for 41 milliseconds with result 0 [trace]: [ Worker] - Command terminate executed for 0 milliseconds with result 0 [trace]: [ Worker] - Executed 6 commands for 210 milliseconds [debug]: [ Client] - Child process terminated with result 0 [debug]: [ Client] - Worker process exited with code: 0 [debug]: [ Client] - Worker process exited with code: 0 [trace]: [ Client] - Executed 6 commands for 213 milliseconds [debug]: [ Client] - terminate