nrf52840 not able to recover the protected memory.

Hi, 

I have a nrf52840dk board with me which is not used for quit sometime. I remember the board was working earlier. Now I see "Core protection state is unknown" message in the nRF Connect.

No matter how many times I try to erase all and recover the board, it always shows the same message.

Attached the screenshot, log received when try to connect and erase all.

  

12:50:49.119	Using nrfutil-device version: 2.0.3
12:50:49.119	Using nrf-device-lib version: 0.17.3
12:50:49.120	Using nrfjprog DLL version: 10.23.1
12:50:49.120	Using JLink version: JLink_V7.88j
12:50:49.228	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
12:50:49.230	Getting serialport options from persistent store 000683067572.pc-nrfconnect-programmer
12:50:57.960	Error: Failed with exit code 1. Failed to device info one or more devices: * 683703812: [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Operation device-info failed, [jlink] JLINKARM_DLL_ERROR.
12:50:57.962	Using nrfutil device to communicate with target via JLink
12:51:00.021	Reading readback protection status for Application core
12:51:00.022	Failed to reading readback protection status for application core core. Error: [object Object], message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR
12:51:00.240	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.
12:51:00.241	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.
12:51:04.170	Recovering Application core
12:51:04.171	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:51:04.426	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:51:07.972	Recovering Application core
12:51:07.973	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:51:08.238	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:51:13.033	Recovering Application core
12:51:13.034	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:51:13.293	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:51:15.892	Recovering Application core
12:51:15.892	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:51:16.105	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:51:34.169	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
12:51:34.731	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
12:51:43.571	Error: Failed with exit code 1. Failed to device info one or more devices: * 683703812: [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Operation device-info failed, [jlink] JLINKARM_DLL_ERROR.
12:51:43.572	Using nrfutil device to communicate with target via JLink
12:51:45.706	Reading readback protection status for Application core
12:51:45.707	Failed to reading readback protection status for application core core. Error: [object Object], message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR
12:51:46.001	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.
12:51:46.002	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.
12:51:49.219	Recovering Application core
12:51:49.220	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:51:49.461	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:19.741	Recovering Application core
12:52:19.742	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:19.983	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:23.299	Recovering Application core
12:52:23.299	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:23.564	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:26.894	Recovering Application core
12:52:26.895	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:27.138	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:30.132	Recovering Application core
12:52:30.133	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:30.360	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:33.725	Recovering Application core
12:52:33.725	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:33.939	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:36.763	Recovering Application core
12:52:36.765	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:36.999	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:40.121	Recovering Application core
12:52:40.122	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:40.393	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:43.164	Recovering Application core
12:52:43.165	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:43.450	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:46.594	Recovering Application core
12:52:46.595	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:46.854	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:50.024	Recovering Application core
12:52:50.025	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:50.281	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:53.480	Recovering Application core
12:52:53.481	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:53.763	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:52:57.467	Recovering Application core
12:52:57.467	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:52:57.653	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:00.767	Recovering Application core
12:53:00.767	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:01.021	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:04.340	Recovering Application core
12:53:04.341	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:04.543	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:07.543	Recovering Application core
12:53:07.543	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:07.808	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:10.797	Recovering Application core
12:53:10.797	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:11.018	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:14.038	Recovering Application core
12:53:14.038	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:14.259	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:16.961	Recovering Application core
12:53:16.963	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:17.166	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:20.099	Recovering Application core
12:53:20.099	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:20.307	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:23.011	Recovering Application core
12:53:23.012	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:23.292	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:26.819	Recovering Application core
12:53:26.820	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:27.059	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:29.449	Error: Failed with exit code 1. One or more reset tasks failed. Message: Failed to reset 683703812, [jlink] JLINKARM_DLL_ERROR.
12:53:32.314	Error: Failed with exit code 1. One or more reset tasks failed. Message: Failed to reset 683703812, [jlink] JLINKARM_DLL_ERROR.
12:53:35.170	Recovering Application core
12:53:35.170	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:35.465	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:39.005	Parsing HEX file: D:\softwares\sniffer_software_4.1.1\hex\sniffer_nrf52dk_nrf52832_4.1.1.hex
12:53:39.074	File was last modified at 20/10/2022, 16:18:06
12:53:39.101	Update files regions according to Application core
12:53:39.101	Parse memory regions for file
12:53:44.106	Recovering Application core
12:53:44.108	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:44.368	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:53:48.778	Recovering Application core
12:53:48.779	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
12:53:48.994	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
12:56:51.189	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
12:56:53.192	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
12:56:53.824	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
12:59:40.200	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
12:59:40.774	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
12:59:53.007	Error: Failed with exit code 1. Failed to device info one or more devices: * 683703812: [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Operation device-info failed, [jlink] JLINKARM_DLL_ERROR.
12:59:53.008	Using nrfutil device to communicate with target via JLink
12:59:55.343	Reading readback protection status for Application core
12:59:55.343	Failed to reading readback protection status for application core core. Error: [object Object], message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR
12:59:55.672	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.
12:59:55.673	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.
13:01:02.546	Recovering Application core
13:01:02.547	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
13:01:02.790	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
13:01:26.999	Recovering Application core
13:01:26.999	Failed to recovering application core core. Error: [object Object], message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR
13:01:27.278	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task recover failed, [jlink] JLINKARM_DLL_ERROR.
14:32:01.902	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
14:32:03.857	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
14:32:04.307	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
15:36:34.784	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
15:36:34.814	Getting serialport options from persistent store 000683703812.pc-nrfconnect-programmer
15:36:43.703	Error: Failed with exit code 1. Failed to device info one or more devices: * 683703812: [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Operation device-info failed, [jlink] JLINKARM_DLL_ERROR.
15:36:43.706	Using nrfutil device to communicate with target via JLink
15:36:48.580	Reading readback protection status for Application core
15:36:48.601	Failed to reading readback protection status for application core core. Error: [object Object], message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR
15:36:48.916	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.
15:36:48.917	Error: Failed with exit code 1. One or more batch tasks failed: - [jlink] JLINKARM_DLL_ERROR, code: Nrfjlink. Message: Batch task protection-get failed, [jlink] JLINKARM_DLL_ERROR.

I even tried to recover using nrfjprog command and I get the below error.

❯ nrfjprog --snr 683703812 --recover
[error] [ Client] - Encountered error -102: Command connect_to_emu_with_snr executed for 363 milliseconds with result -102
ERROR: Unable to connect to a debugger.
[error] [ Worker] - An unknown error.
ERROR: JLinkARM DLL reported an error. Try again. If error condition
ERROR: persists, run the same command again with argument --log, contact Nordic
ERROR: Semiconductor and provide the generated log.log file to them.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.

Below is the log generated when running the above command.

[2023-Dec-19 15:38:33] [debug] --------------------------------------------------------------------------------
[2023-Dec-19 15:38:33] [debug] nrfjprog --snr 683703812 --recover --log d:work\references\nrf52840-recovery.log 
[2023-Dec-19 15:38:33] [debug] nrfjprog version 10.23.2 external
[2023-Dec-19 15:38:33] [debug] --------------------------------------------------------------------------------
[2023-Dec-19 15:38:33] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
[2023-Dec-19 15:38:33] [ info] Library loaded, loading member functions.
[2023-Dec-19 15:38:33] [ info] Member functions succesfully loaded.
[2023-Dec-19 15:38:33] [debug] [ Client] - open
[2023-Dec-19 15:38:33] [debug] [ Client] - start
[2023-Dec-19 15:38:33] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence e196cba3-0c31-4385-aa05-cba990592e83.

[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
[2023-Dec-19 15:38:33] [debug] [  JLink] - Logger sink registered in JLink logger
[2023-Dec-19 15:38:33] [debug] [  nRFXX] - open
[2023-Dec-19 15:38:33] [debug] [  nRFXX] - just_check_family
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - open_dll
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[2023-Dec-19 15:38:33] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
[2023-Dec-19 15:38:33] [ info] [SeggerBackend] - Library loaded, loading member functions.
[2023-Dec-19 15:38:33] [ info] [SeggerBackend] - Member functions succesfully loaded.
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Set batch mode
[2023-Dec-19 15:38:33] [trace] [ Client] - Command open executed for 95 milliseconds with result 0
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - dll_version
[2023-Dec-19 15:38:33] [debug] [ Client] - config
[2023-Dec-19 15:38:33] [ info] [SeggerBackend] - Segger dll version 7.88.j loaded.
[2023-Dec-19 15:38:33] [trace] [ Worker] - Command open executed for 13 milliseconds with result 0
[2023-Dec-19 15:38:33] [debug] [  nRFXX] - config
[2023-Dec-19 15:38:33] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
[2023-Dec-19 15:38:33] [debug] [ Client] - enum_emu_snr
[2023-Dec-19 15:38:33] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
[2023-Dec-19 15:38:33] [debug] [ Client] - connect_to_emu_with_snr
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - enum_emu_snr
[2023-Dec-19 15:38:33] [trace] [ Worker] - Command config executed for 9 milliseconds with result 0
[2023-Dec-19 15:38:33] [debug] [  nRFXX] - enum_emu_con_info
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - enum_emu_con_info
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-19 15:38:33] [trace] [ Worker] - Command enum_emu_con_info executed for 7 milliseconds with result 0
[2023-Dec-19 15:38:33] [debug] [  nRFXX] - connect_to_emu_with_snr
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - connect_to_emu_with_snr
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_enum_emu_snr
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_get_num_emus
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Segger logging enabled.
[2023-Dec-19 15:38:33] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Nov  7 2022 16:21:57
[2023-Dec-19 15:38:33] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Nov  7 2022 16:21:57
[2023-Dec-19 15:38:33] [trace] [  JLink] - Hardware: V1.00
[2023-Dec-19 15:38:33] [trace] [  JLink] - S/N: 683703812
[2023-Dec-19 15:38:33] [trace] [  JLink] - OEM: SEGGER
[2023-Dec-19 15:38:33] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
[2023-Dec-19 15:38:33] [trace] [  JLink] - Bootloader: (Could not read)
[2023-Dec-19 15:38:33] [trace] [  JLink] - USB speed mode: High speed (480 MBit/s)
[2023-Dec-19 15:38:33] [trace] [  JLink] - TELNET listener socket opened on port 19021
[2023-Dec-19 15:38:33] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
[2023-Dec-19 15:38:33] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
[2023-Dec-19 15:38:33] [trace] [  JLink] - Looking for J-Link GUI Server exe at: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
[2023-Dec-19 15:38:33] [trace] [  JLink] - Forking J-Link GUI Server: C:\Program Files\SEGGER\JLink\JLinkGUIServer.exe 
[2023-Dec-19 15:38:33] [trace] [  JLink] - J-Link GUI Server info: "J-Link GUI server V7.88j " 
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 146.990ms returns "O.K."  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_Lock()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.006ms returns 0x01  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.007ms returns 0x00  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.007ms returns 0x00  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.025ms returns 0  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 2.540ms returns 0x00  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_GetSpeedInfo()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - 10000000 Hz / n, n >= 10
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.022ms  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 1000kHz
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Requested speed 2000kHz is higher than the emulator max speed of 1000kHz
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_SetSpeed(2000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.577ms  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_GetSpeed()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.010ms returns 1000  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - SWD speed was reported as 1000kHz after requesting 2000kHz. Check the capabilities of the selected emulator.
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_GetSN()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.010ms returns 683703812  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.020ms  
[2023-Dec-19 15:38:33] [debug] [  nRFXX] - read_device_family
[2023-Dec-19 15:38:33] [debug] [  nRFXX] - read_device_family
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_IsOpen()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.012ms returns 0x01  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_Lock()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - read_debug_port_idr
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - read_debug_port_register
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - coresight_configure
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_GetHWStatus(...)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.531ms returns 0  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 100.868ms returns 0  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - read_debug_port_idr
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - read_debug_port_register
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.367ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.246ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.241ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.191ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.260ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.167ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.232ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.327ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.344ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.183ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.136ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.198ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.204ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.254ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.351ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.345ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.247ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.445ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.345ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.216ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.242ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.268ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.226ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.215ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.212ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.193ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.272ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.490ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.318ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.317ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 3.868ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 2.983ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.210ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [error] [ Client] - Encountered error -102: Command connect_to_emu_with_snr executed for 361 milliseconds with result -102
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 2.947ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.228ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.230ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.147ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.196ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.184ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.382ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.163ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.199ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.147ms  
[2023-Dec-19 15:38:33] [error] [ Worker] - An unknown error.
[2023-Dec-19 15:38:33] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 357 milliseconds with result -102
[2023-Dec-19 15:38:33] [debug] [  nRFXX] - close
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_IsOpen()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.034ms returns 0x01  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_Lock()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - close
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - disconnect_from_emu
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_disconnect_from_emu
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - is_connected_to_device
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_IsConnected()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.009ms returns FALSE  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.291ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.313ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.170ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.257ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.210ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.116ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.243ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.030ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.162ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.204ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.118ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.189ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.300ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.367ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.252ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.147ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.259ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.338ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.318ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.385ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.327ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.247ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.237ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.253ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.352ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.185ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.297ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.158ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.152ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.149ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.116ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.460ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.251ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.581ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.514ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.273ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.085ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.226ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.359ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.079ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.116ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 1.108ms returns -1  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_HasError()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Ignore exception An unknown error.
[2023-Dec-19 15:38:33] [trace] [  JLink] - - 0.119ms  
[2023-Dec-19 15:38:33] [trace] [  JLink] - JLINK_Close()  
[2023-Dec-19 15:38:33] [debug] [SeggerBackend] - Segger Backend closed.
[2023-Dec-19 15:38:33] [debug] [  nRFXX] - nRF family DLL closed
[2023-Dec-19 15:38:33] [trace] [ Client] - Command close executed for 111 milliseconds with result 0
[2023-Dec-19 15:38:33] [debug] [ Client] - terminate
[2023-Dec-19 15:38:33] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
[2023-Dec-19 15:38:33] [trace] [ Worker] - Command close executed for 94 milliseconds with result 0
[2023-Dec-19 15:38:33] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
[2023-Dec-19 15:38:33] [trace] [ Worker] - Executed 6 commands for 480 milliseconds
[2023-Dec-19 15:38:33] [debug] [ Client] - Worker process exited with code: 0
[2023-Dec-19 15:38:33] [debug] [ Client] - Worker process exited with code: 0
[2023-Dec-19 15:38:33] [debug] [ Client] - Child process terminated with result 0
[2023-Dec-19 15:38:33] [trace] [ Client] - Executed 6 commands for 597 milliseconds
[2023-Dec-19 15:38:33] [debug] [ Client] - terminate

Please help me to recover the board and let me know if any further details required.

Parents Reply Children
Related