Unable to recover/flash nrf5340 on nrf7002-DK

Hi,

I recently purchased nrf7002-DK and wanted to evaluate it.

I was first able to flash the blinky example, and it seems to work (although maybe it was the pre-loaded blinky program).

I was hoping to see some output on VCOM1, but I did't see any. I build/flashed the "three thread" example (Board: nrf7002dk_nrf5340_cpuapp_ns). it didn't appear to work (didn't see any LEDs flashing nor message on terminal).

I erased it and tried to re-flash the blinky example, but it would not flash. I have a suspicion that I didn't do the erase process in the correct order.

I used the Programmer v3.0.8, and it shows that "device is protected".

I also tried: 

>> nrfjprog --recover --coprocessor CP_NETWORK

Failed to enable coprocessor with unknown error.

ERROR: Access to the selected address is blocked by the SPU.

After doing some search, I cam across the nordic documentation site: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.0/nrf/ug_nrf5340.html#readback-protection-error

"Recovering the network core erases the flash memory of both cores. Recovering the application core erases only the flash memory of the application core. Therefore, you must recover the network core first. Otherwise, if you recover the application core first and the network core last, the binary written to the application core is deleted and readback protection is enabled again after a reset."

I probably didn't erase it in the correct order (should have been more careful).

Anyway, is there a way to fix my nrf7002-DK? Have I messed it up beyond repair?

I haven't even got to do any wifi stuff...

Thanks,

Makoto

Parents
  • Hi Makoto

    Have you made any changes on the DK itself since you got it? You've connected the micro USB cable to J2 on the DK, correct? And can you make sure that there are indeed jumpers on connectors P22 and P23. You can try writing nrfjprog --recover --family nRF53 --coprocessor CP_APPLICATION to define the family as the error message asks for, but that's not usually necessary.

    You can also add logging to get a .log file with you can upload here so we can take a look at that on our end if the problem persists by adding --log at the end of your command.

    Best regards,

    Simon

Reply
  • Hi Makoto

    Have you made any changes on the DK itself since you got it? You've connected the micro USB cable to J2 on the DK, correct? And can you make sure that there are indeed jumpers on connectors P22 and P23. You can try writing nrfjprog --recover --family nRF53 --coprocessor CP_APPLICATION to define the family as the error message asks for, but that's not usually necessary.

    You can also add logging to get a .log file with you can upload here so we can take a look at that on our end if the problem persists by adding --log at the end of your command.

    Best regards,

    Simon

Children
  • Hi Simon,

    I have not made any changes. Jumpers on P22 and P23 are untouched, and present. I connect my USB cable to J2.

    I tried what you suggested, but with same results:

    nrfjprog --recover --family nRF53 --coprocessor CP_APPLICATION --log

    Recovering device. This operation might take 30s.

    ERROR: Recover failed. Please make sure that the correct device family is given

    ERROR: and try again.

    I got a log.log file out of this command, and will attach here.

    2023-Jun-01 19:16:04  --------------------------------------------------------------------------------
    2023-Jun-01 19:16:04  nrfjprog --recover --family nRF53 --coprocessor CP_APPLICATION --log 
    2023-Jun-01 19:16:04  nrfjprog version 10.9.0 
    2023-Jun-01 19:16:04  --------------------------------------------------------------------------------
    2023-Jun-01 19:16:04  nRF_logger_open
    2023-Jun-01 19:16:04  nRF_logger_open:	nRFJProg logger opened to callback at address 0X1024F3C80
    2023-Jun-01 19:16:04  nRF_open_dll
    2023-Jun-01 19:16:04  nRF_open_dll:	Load library at "/Applications/Nordic Semiconductor/nrfjprog/libjlinkarm_nrf53_nrfjprogdll.dylib".
    
    2023-Jun-01 19:16:04  . nRF53_logger_open
    2023-Jun-01 19:16:04  . nRF53_logger_open:	nRFJProg logger opened to callback at address 0X10ABDB310
    2023-Jun-01 19:16:04  . nRF53_open
    2023-Jun-01 19:16:04  . . Segger_logger_open
    2023-Jun-01 19:16:04  . . Segger_logger_open:	nRFJProg logger opened to callback at address 0X10ACEB620
    2023-Jun-01 19:16:04  . . Segger_open_dll
    2023-Jun-01 19:16:04  . . Segger_open_dll:	No J-Link DLL path was provided. Attempting to auto detect.
    
    2023-Jun-01 19:16:04  . . Segger_open_dll:	Load library at "/Applications/SEGGER/JLink/libjlinkarm.7.88.4.dylib".
    
    2023-Jun-01 19:16:05  . . . Segger_dll_version
    2023-Jun-01 19:16:05  nRF_enum_emu_snr
    2023-Jun-01 19:16:05  . nRF53_enum_emu_snr
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu
    2023-Jun-01 19:16:05  . . Segger_enum_emu_snr
    2023-Jun-01 19:16:05  . . . Segger_enum_emu_snr
    2023-Jun-01 19:16:05  . . . . Segger_get_num_emus
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu
    2023-Jun-01 19:16:05  nRF_connect_to_emu_with_snr
    2023-Jun-01 19:16:05  . nRF53_connect_to_emu_with_snr
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu
    2023-Jun-01 19:16:05  . . Segger_connect_to_emu_with_snr
    2023-Jun-01 19:16:05  . . . Segger_is_connected_to_emu
    2023-Jun-01 19:16:05  . . . Segger_enum_emu_snr
    2023-Jun-01 19:16:05  . . . . Segger_get_num_emus
    2023-Jun-01 19:16:05  . . . Segger_connect_to_emu_with_snr
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	Segger logging enabled with callback at 0x4476441664.
    
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:009.775   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Firmware: J-Link OB-nRF5340-NordicSemi compiled Nov  7 2022 16:22:01
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:010.185   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Firmware: J-Link OB-nRF5340-NordicSemi compiled Nov  7 2022 16:22:01
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:023.296   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Hardware: V1.00
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:023.392   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	S/N: 1050728904
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:023.479   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	OEM: SEGGER
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:023.550   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:024.333   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	USB speed mode: Full speed (12 MBit/s)
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:025.392   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	TELNET listener socket opened on port 19021
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:025.563   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:026.092   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	WEBSRV Webserver running on local port 19080
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:026.173 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 23.720ms returns "O.K."  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:026.253 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:026.327 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_Lock()  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:026.424 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_GetHWStatus(...)  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:026.641 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.281ms returns 0  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:026.740 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:026.821 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:026.901 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.040ms returns 0x01  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:026.976 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:027.041 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("DisableFlashDL", ...).   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:027.114 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.039ms returns 0x00  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:027.180 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:027.243 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:027.308 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.034ms returns 0x00  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:027.369 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:027.433 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetHookUnsecureDialog  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:027.497   
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetHookUnsecureDialog(...)
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:027.558 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.154ms returns 0  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:027.616 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:027.718 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:028.217 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.535ms returns 0x00  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:028.284 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:028.351 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_SetSpeed(2000)  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:028.500 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.179ms  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:028.560 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:028.622 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_GetSN()  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:028.680 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	- 0.085ms returns 1050728904  
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	T28B3280 000:028.738 
    2023-Jun-01 19:16:05  . . . . Segger_connect_to_emu_without_snr:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 000:028.835 
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...).   
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 000:028.901 
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	- 0.032ms returns 0x00  
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 000:028.959 
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 000:029.022 
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("device = Cortex-M33", ...).   
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 000:035.908   
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	Device "CORTEX-M33" selected.
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 000:036.447 
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	- 7.405ms returns 0x00  
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 000:036.532 
    2023-Jun-01 19:16:05  . . . . . Segger_load_core_data:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . Segger_read_debug_port_idr
    2023-Jun-01 19:16:05  . . . Segger_read_debug_port_register
    2023-Jun-01 19:16:05  . . . . Segger_read_debug_port_register
    2023-Jun-01 19:16:05  . . . . . Segger_coresight_configure
    2023-Jun-01 19:16:05  . . . . . Segger_coresight_configure:	JLink INFO	T28B3280 000:036.752 
    2023-Jun-01 19:16:05  . . . . . Segger_coresight_configure:	JLink INFO	JLINK_CORESIGHT_Configure()  
    2023-Jun-01 19:16:05  . . . . . Segger_coresight_configure:	JLink INFO	T28B3280 000:037.231 
    2023-Jun-01 19:16:05  . . . . . Segger_coresight_configure:	JLink INFO	- 0.506ms returns 0  
    2023-Jun-01 19:16:05  . . . . . Segger_coresight_configure:	JLink INFO	T28B3280 000:037.292 
    2023-Jun-01 19:16:05  . . . . . Segger_coresight_configure:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 000:037.363 
    2023-Jun-01 19:16:05  . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x00)  
    2023-Jun-01 19:16:05  . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 000:037.677   
    2023-Jun-01 19:16:05  . . . . Segger_read_debug_port_register:	JLink INFO	Value=0x6BA02477
    2023-Jun-01 19:16:05  . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 000:037.738 
    2023-Jun-01 19:16:05  . . . . Segger_read_debug_port_register:	JLink INFO	- 0.408ms returns 0  
    2023-Jun-01 19:16:05  . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 000:037.804 
    2023-Jun-01 19:16:05  . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . :	JLink INFO	T28B3280 000:037.869 
    2023-Jun-01 19:16:05  . . :	JLink INFO	- 0.097ms  
    2023-Jun-01 19:16:05  . nRF53_enable_coprocessor
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 000:038.006 
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 000:038.073 
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	- 0.105ms returns 0x01  
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 000:038.137 
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . :	JLink INFO	T28B3280 000:038.201 
    2023-Jun-01 19:16:05  . . :	JLink INFO	JLINK_Lock()  
    2023-Jun-01 19:16:05  . . nRF53_enable_coprocessor
    2023-Jun-01 19:16:05  . . :	JLink INFO	T28B3280 000:038.305 
    2023-Jun-01 19:16:05  . . :	JLink INFO	- 0.134ms  
    2023-Jun-01 19:16:05  . nRF53_select_coprocessor
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 000:038.435 
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 000:038.498 
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	- 0.094ms returns 0x01  
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 000:038.560 
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . :	JLink INFO	T28B3280 000:038.618 
    2023-Jun-01 19:16:05  . . :	JLink INFO	JLINK_Lock()  
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_device
    2023-Jun-01 19:16:05  . . . Segger_is_connected_to_device
    2023-Jun-01 19:16:05  . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 000:038.733 
    2023-Jun-01 19:16:05  . . . Segger_is_connected_to_device:	JLink INFO	JLINK_IsConnected()  
    2023-Jun-01 19:16:05  . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 000:038.787 
    2023-Jun-01 19:16:05  . . . Segger_is_connected_to_device:	JLink INFO	- 0.086ms returns FALSE  
    2023-Jun-01 19:16:05  . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 000:038.849 
    2023-Jun-01 19:16:05  . . . Segger_is_connected_to_device:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . nRF53_is_coprocessor_enabled
    2023-Jun-01 19:16:05  . . nRF53_select_coprocessor
    2023-Jun-01 19:16:05  . . nRF53_select_coprocessor:	Loading new coprocessor data.
    
    2023-Jun-01 19:16:05  . . . nRF53_load_coprocessor_data
    2023-Jun-01 19:16:05  . . . . Segger_set_core_data
    2023-Jun-01 19:16:05  . . :	JLink INFO	T28B3280 000:039.069 
    2023-Jun-01 19:16:05  . . :	JLink INFO	- 0.251ms  
    2023-Jun-01 19:16:05  nRF_recover
    2023-Jun-01 19:16:05  . nRF53_recover
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 000:039.257 
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 000:039.331 
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	- 0.106ms returns 0x01  
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 000:039.395 
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . :	JLink INFO	T28B3280 000:039.498 
    2023-Jun-01 19:16:05  . . :	JLink INFO	JLINK_Lock()  
    2023-Jun-01 19:16:05  . . Segger_is_connected_to_emu
    2023-Jun-01 19:16:05  . . nRF53_recover
    2023-Jun-01 19:16:05  . . . nRF53_enable_coprocessor
    2023-Jun-01 19:16:05  . . . Segger_write_access_port_register
    2023-Jun-01 19:16:05  . . . . Segger_write_access_port_register
    2023-Jun-01 19:16:05  . . . . . Segger_is_debug_region_powered
    2023-Jun-01 19:16:05  . . . . . . Segger_read_debug_port_register
    2023-Jun-01 19:16:05  . . . . . . . Segger_write_debug_port_register
    2023-Jun-01 19:16:05  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 000:039.804 
    2023-Jun-01 19:16:05  . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    2023-Jun-01 19:16:05  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 000:040.067 
    2023-Jun-01 19:16:05  . . . . . . . Segger_write_debug_port_register:	JLink INFO	- 0.287ms returns 0  
    2023-Jun-01 19:16:05  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 000:040.120 
    2023-Jun-01 19:16:05  . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 000:040.184 
    2023-Jun-01 19:16:05  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)  
    2023-Jun-01 19:16:05  . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 000:040.449   
    2023-Jun-01 19:16:05  . . . . . . Segger_read_debug_port_register:	JLink INFO	Value=0xF0000000
    2023-Jun-01 19:16:05  . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 000:040.505 
    2023-Jun-01 19:16:05  . . . . . . Segger_read_debug_port_register:	JLink INFO	- 0.349ms returns 0  
    2023-Jun-01 19:16:05  . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 000:040.563 
    2023-Jun-01 19:16:05  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 000:040.651 
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x02000000)  
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 000:040.956 
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	- 0.329ms returns 0  
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 000:041.013 
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . Segger_write_access_port_register:	JLink INFO	T28B3280 000:041.089 
    2023-Jun-01 19:16:05  . . . . Segger_write_access_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(AP reg 0x01, 0x00000001)  
    2023-Jun-01 19:16:05  . . . . Segger_write_access_port_register:	JLink INFO	T28B3280 000:041.359 
    2023-Jun-01 19:16:05  . . . . Segger_write_access_port_register:	JLink INFO	- 0.297ms returns 0  
    2023-Jun-01 19:16:05  . . . . Segger_write_access_port_register:	JLink INFO	T28B3280 000:041.415 
    2023-Jun-01 19:16:05  . . . . Segger_write_access_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . Segger_read_access_port_register
    2023-Jun-01 19:16:05  . . . . Segger_read_access_port_register
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 000:547.583 
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x02000000)  
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 000:548.278 
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	- 0.829ms returns 0  
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 000:548.530 
    2023-Jun-01 19:16:05  . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:05  . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 000:548.911 
    2023-Jun-01 19:16:05  . . . . Segger_read_access_port_register:	JLink INFO	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x02)  
    2023-Jun-01 19:16:05  . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 000:549.443   
    2023-Jun-01 19:16:05  . . . . Segger_read_access_port_register:	JLink INFO	Value=0x00000001
    2023-Jun-01 19:16:05  . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 000:549.658 
    2023-Jun-01 19:16:05  . . . . Segger_read_access_port_register:	JLink INFO	- 0.818ms returns 0  
    2023-Jun-01 19:16:05  . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 000:549.804 
    2023-Jun-01 19:16:05  . . . . Segger_read_access_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . Segger_read_access_port_register
    2023-Jun-01 19:16:06  . . . . Segger_read_access_port_register
    2023-Jun-01 19:16:06  . . . . . Segger_write_debug_port_register
    2023-Jun-01 19:16:06  . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:056.036 
    2023-Jun-01 19:16:06  . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x02000000)  
    2023-Jun-01 19:16:06  . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:058.000 
    2023-Jun-01 19:16:06  . . . . . Segger_write_debug_port_register:	JLink INFO	- 2.245ms returns 0  
    2023-Jun-01 19:16:06  . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:058.455 
    2023-Jun-01 19:16:06  . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:058.752 
    2023-Jun-01 19:16:06  . . . . Segger_read_access_port_register:	JLink INFO	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x02)  
    2023-Jun-01 19:16:06  . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:059.360   
    2023-Jun-01 19:16:06  . . . . Segger_read_access_port_register:	JLink INFO	Value=0x00000000
    2023-Jun-01 19:16:06  . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:059.791 
    2023-Jun-01 19:16:06  . . . . Segger_read_access_port_register:	JLink INFO	- 1.169ms returns 0  
    2023-Jun-01 19:16:06  . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:060.049 
    2023-Jun-01 19:16:06  . . . . Segger_read_access_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . nRF53_pin_reset
    2023-Jun-01 19:16:06  . . . . Segger_pin_reset
    2023-Jun-01 19:16:06  . . . . . Segger_disconnect_from_device
    2023-Jun-01 19:16:06  . . . . . . Segger_is_connected_to_device
    2023-Jun-01 19:16:06  . . . . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 001:060.810 
    2023-Jun-01 19:16:06  . . . . . . Segger_is_connected_to_device:	JLink INFO	JLINK_IsConnected()  
    2023-Jun-01 19:16:06  . . . . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 001:061.041 
    2023-Jun-01 19:16:06  . . . . . . Segger_is_connected_to_device:	JLink INFO	- 0.347ms returns FALSE  
    2023-Jun-01 19:16:06  . . . . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 001:061.273 
    2023-Jun-01 19:16:06  . . . . . . Segger_is_connected_to_device:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . Segger_pin_reset:	JLink INFO	T28B3280 001:061.483 
    2023-Jun-01 19:16:06  . . . . Segger_pin_reset:	JLink INFO	JLINK_ClrRESET()  
    2023-Jun-01 19:16:06  . . . . Segger_pin_reset:	JLink INFO	T28B3280 001:061.907 
    2023-Jun-01 19:16:06  . . . . Segger_pin_reset:	JLink INFO	- 0.542ms  
    2023-Jun-01 19:16:06  . . . . Segger_pin_reset:	JLink INFO	T28B3280 001:082.736 
    2023-Jun-01 19:16:06  . . . . Segger_pin_reset:	JLink INFO	JLINK_SetRESET()  
    2023-Jun-01 19:16:06  . . . . Segger_pin_reset:	JLink INFO	T28B3280 001:083.336 
    2023-Jun-01 19:16:06  . . . . Segger_pin_reset:	JLink INFO	- 0.771ms  
    2023-Jun-01 19:16:06  . . . . Segger_pin_reset:	JLink INFO	T28B3280 001:083.660 
    2023-Jun-01 19:16:06  . . . . Segger_pin_reset:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . nRF53_readback_status
    2023-Jun-01 19:16:06  . . . . Segger_read_access_port_register
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register
    2023-Jun-01 19:16:06  . . . . . . Segger_coresight_configure
    2023-Jun-01 19:16:06  . . . . . . Segger_coresight_configure:	JLink INFO	T28B3280 001:097.313 
    2023-Jun-01 19:16:06  . . . . . . Segger_coresight_configure:	JLink INFO	JLINK_CORESIGHT_Configure()  
    2023-Jun-01 19:16:06  . . . . . . Segger_coresight_configure:	JLink INFO	T28B3280 001:098.156 
    2023-Jun-01 19:16:06  . . . . . . Segger_coresight_configure:	JLink INFO	- 1.017ms returns 0  
    2023-Jun-01 19:16:06  . . . . . . Segger_coresight_configure:	JLink INFO	T28B3280 001:098.450 
    2023-Jun-01 19:16:06  . . . . . . Segger_coresight_configure:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . . . Segger_is_debug_region_powered
    2023-Jun-01 19:16:06  . . . . . . . Segger_read_debug_port_register
    2023-Jun-01 19:16:06  . . . . . . . . Segger_write_debug_port_register
    2023-Jun-01 19:16:06  . . . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:099.147 
    2023-Jun-01 19:16:06  . . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    2023-Jun-01 19:16:06  . . . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:099.715 
    2023-Jun-01 19:16:06  . . . . . . . . Segger_write_debug_port_register:	JLink INFO	- 0.714ms returns 0  
    2023-Jun-01 19:16:06  . . . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:100.001 
    2023-Jun-01 19:16:06  . . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 001:100.237 
    2023-Jun-01 19:16:06  . . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)  
    2023-Jun-01 19:16:06  . . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 001:100.596   
    2023-Jun-01 19:16:06  . . . . . . . Segger_read_debug_port_register:	JLink INFO	Value=0xF0000000
    2023-Jun-01 19:16:06  . . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 001:100.769 
    2023-Jun-01 19:16:06  . . . . . . . Segger_read_debug_port_register:	JLink INFO	- 0.597ms returns 0  
    2023-Jun-01 19:16:06  . . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 001:100.898 
    2023-Jun-01 19:16:06  . . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:101.085 
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x02000000)  
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:101.417 
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	- 0.406ms returns 0  
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:101.555 
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:101.692 
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x03)  
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:102.044   
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	Value=0x00000003
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:102.184 
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	- 0.552ms returns 0  
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:102.304 
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . Segger_read_access_port_register
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:102.685 
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x02000010)  
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:103.025 
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	- 0.467ms returns 0  
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:103.233 
    2023-Jun-01 19:16:06  . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:103.379 
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	JLINK_CORESIGHT_ReadAPDPReg(AP reg 0x02)  
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:103.837   
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	Value=0x00000001
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:103.986 
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	- 0.675ms returns 0  
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	T28B3280 001:104.122 
    2023-Jun-01 19:16:06  . . . . . Segger_read_access_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . nRF53_readback_status:	Protection status read as NONE
    
    2023-Jun-01 19:16:06  . . . nRF53_enable_coprocessor
    2023-Jun-01 19:16:06  . . . Segger_halt
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 001:104.621 
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	JLINK_IsConnected()  
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 001:104.765 
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	- 0.212ms returns FALSE  
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 001:104.902 
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 001:105.128 
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("CORESIGHT_SetIndexAHBAPToUse = 0", ...).   
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 001:105.273 
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	- 0.071ms returns 0x00  
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 001:105.411 
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 001:105.546 
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	JLINK_ExecCommand("device = Cortex-M33", ...).   
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 001:105.733   
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	Device "CORTEX-M33" selected.
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 001:106.264 
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	- 0.653ms returns 0x00  
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	T28B3280 001:106.410 
    2023-Jun-01 19:16:06  . . . . . Segger_load_core_data:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . nRF53_is_coprocessor_enabled
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:106.625 
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	JLINK_Connect()  
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:107.988   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	Found SW-DP with ID 0x6BA02477
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:110.344   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	DPIDR: 0x6BA02477
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:110.492   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	CoreSight SoC-400 or earlier
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:110.610   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	AP map detection skipped. Manually configured AP map found.
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:110.721   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	AP[0]: AHB-AP (IDR: Not set)
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:112.218   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	AP[0]: Skipped. Could not read CPUID register
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:112.372   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	Attach to CPU failed. Executing connect under reset.
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:136.508   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	Failed to power up DAP
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:292.913   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	Found SW-DP with ID 0x6BA02477
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:297.359   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	DPIDR: 0x6BA02477
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:297.757   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	CoreSight SoC-400 or earlier
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:297.996   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	AP map detection skipped. Manually configured AP map found.
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:298.498   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	AP[0]: AHB-AP (IDR: Not set)
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:300.512   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	AP[0]: Skipped. Could not read CPUID register
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:300.791   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	Attach to CPU failed. Executing connect under reset.
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:325.781   
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	Failed to power up DAP
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:431.437 
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	- 325.272ms returns 0xFFFFFEFB  
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	T28B3280 001:432.346 
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . Segger_connect_to_device:	JLinkARM.dll reported "-261", "Could not find supported CPU.".
    
    2023-Jun-01 19:16:06  . . . . . Segger_abort_debug_action
    2023-Jun-01 19:16:06  . . . . . Segger_abort_debug_action:	Attempting to clear any configuration errors in debug port before closing connection. 
    
    2023-Jun-01 19:16:06  . . . . . Segger_abort_debug_action:	JLink INFO	T28B3280 001:433.136 
    2023-Jun-01 19:16:06  . . . . . Segger_abort_debug_action:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    2023-Jun-01 19:16:06  . . . . . Segger_abort_debug_action:	JLink INFO	T28B3280 001:433.891 
    2023-Jun-01 19:16:06  . . . . . Segger_abort_debug_action:	JLink INFO	- 0.946ms returns 0  
    2023-Jun-01 19:16:06  . . . . . Segger_abort_debug_action:	JLink INFO	T28B3280 001:434.345 
    2023-Jun-01 19:16:06  . . . . . Segger_abort_debug_action:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . nRF53_recover:	Failed to halt the device after recovering.
    
    2023-Jun-01 19:16:06  . . :	JLink INFO	T28B3280 001:434.549 
    2023-Jun-01 19:16:06  . . :	JLink INFO	- 0.267ms  
    2023-Jun-01 19:16:06  nRF_close_dll
    2023-Jun-01 19:16:06  . nRF53_close
    2023-Jun-01 19:16:06  . . Segger_is_connected_to_emu
    2023-Jun-01 19:16:06  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 001:435.173 
    2023-Jun-01 19:16:06  . . Segger_is_connected_to_emu:	JLink INFO	JLINK_IsOpen()  
    2023-Jun-01 19:16:06  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 001:435.300 
    2023-Jun-01 19:16:06  . . Segger_is_connected_to_emu:	JLink INFO	- 0.183ms returns 0x01  
    2023-Jun-01 19:16:06  . . Segger_is_connected_to_emu:	JLink INFO	T28B3280 001:435.426 
    2023-Jun-01 19:16:06  . . Segger_is_connected_to_emu:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . :	JLink INFO	T28B3280 001:435.540 
    2023-Jun-01 19:16:06  . . :	JLink INFO	JLINK_Lock()  
    2023-Jun-01 19:16:06  . . Segger_close
    2023-Jun-01 19:16:06  . . . Segger_disconnect_from_emu
    2023-Jun-01 19:16:06  . . . . Segger_disconnect_from_emu
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 001:435.868 
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	JLINK_IsConnected()  
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 001:435.980 
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	- 0.167ms returns FALSE  
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	T28B3280 001:436.092 
    2023-Jun-01 19:16:06  . . . . . Segger_is_connected_to_device:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . . Segger_is_debug_region_powered
    2023-Jun-01 19:16:06  . . . . . . Segger_read_debug_port_register
    2023-Jun-01 19:16:06  . . . . . . . Segger_write_debug_port_register
    2023-Jun-01 19:16:06  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:436.399 
    2023-Jun-01 19:16:06  . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    2023-Jun-01 19:16:06  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:436.746 
    2023-Jun-01 19:16:06  . . . . . . . Segger_write_debug_port_register:	JLink INFO	- 0.409ms returns 0  
    2023-Jun-01 19:16:06  . . . . . . . Segger_write_debug_port_register:	JLink INFO	T28B3280 001:436.864 
    2023-Jun-01 19:16:06  . . . . . . . Segger_write_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 001:436.978 
    2023-Jun-01 19:16:06  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_CORESIGHT_ReadAPDPReg(DP reg 0x01)  
    2023-Jun-01 19:16:06  . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 001:437.291   
    2023-Jun-01 19:16:06  . . . . . . Segger_read_debug_port_register:	JLink INFO	Value=0x00000000
    2023-Jun-01 19:16:06  . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 001:437.481 
    2023-Jun-01 19:16:06  . . . . . . Segger_read_debug_port_register:	JLink INFO	- 0.565ms returns 0  
    2023-Jun-01 19:16:06  . . . . . . Segger_read_debug_port_register:	JLink INFO	T28B3280 001:437.612 
    2023-Jun-01 19:16:06  . . . . . . Segger_read_debug_port_register:	JLink INFO	JLINK_HasError()  
    2023-Jun-01 19:16:06  . . . . Segger_disconnect_from_emu:	JLink INFO	T28B3280 001:437.753 
    2023-Jun-01 19:16:06  . . . . Segger_disconnect_from_emu:	JLink INFO	- 0.197ms  
    2023-Jun-01 19:16:06  . . . . Segger_disconnect_from_emu:	JLink INFO	T28B3280 001:446.727 
    2023-Jun-01 19:16:06  . . . . Segger_disconnect_from_emu:	JLink INFO	JLINK_Close()  
    2023-Jun-01 19:16:06  . . Segger_close:	Freeing Library.
    
    2023-Jun-01 19:16:06  nRF_close_dll:	Freeing Library.
    
    

  • Hi Simon,

    I don't know what I did differently, but now I am able to erase via the programmer app.

    I am able to flash the button/blinky program and flash a different button/blinky program.

    as soon as I run: nrfjprog --recover --family nRF53 --coprocessor CP_APPLICATION

    I am not able to flash again, and it gives me the same error. I then use the programmer app to erase it, then I am able to flash from the VS code plugin.

    At lease I am now able to flash it again.

    Thank you for your help!

    Best Regards,

    Makoto

Related