board nrf52832 does not connect anymore

I am following the BLE accademy course and flashing an exercise, the exercise did not perform as requested.

I could not flash anymore.

I clear the board from the switch button and then could not connect the board anymore even I coud see it by the JLINK or nrfConnect or Teraterm.

I tried several version of JLINK without success.

I then made a power ON with the IfBoot pressed and the board now act strangely.

The board led flash every second for a while and is visible on the USB but then flash rapidly and disapear from the USB.

Reading manuals I do not understand what to upload here, what file, how...

Some manual indicate the use of nrfGo which is obsolete... I am completly lost.

Thank you for some hints to start again.

JLINK 780c

nRF Connect 4.2.0

Parents Reply
  • Hi,

     

    jean-marc said:
    Great you fixed my bootloader problem.

    Great to hear that the board is one step closer to working!

     

    jean-marc said:

    I can connect thru TeraTerm.

    I can see my board with nRFConnect, but cannot select it.

    It is good that you can connect to the COM port, that means that the board itself works as intended.

     

    jean-marc said:
    With nRFConnect I get such messages: "Note: no pre-compiled firmware is available for the selected device."

    Which application within nrf connect for desktop is reporting this?

     

    What we can try is to use nrfjprog, the command line tool, directly.

    * Open up a cmd prompt

    * write "nrfjprog --recover -f nrf52 --log"

     

    If it fails, please attach the "log.log" file generated.

     

    Kind regards,

    Håkon

Children
  •  thank you for your precious help.

    --recover failed, here are the error on the vscode terminal:

    [error] [ Worker] - An unknown error.
    [error] [ Client] - Encountered error -21: Command recover executed for 152 milliseconds with result -21
    ERROR: Recover failed. Please make sure that the correct device family is given
    ERROR: and try again.

    Sorry, no idea on how to attach a file :-(

  • Hi,

     

    The log file should be created in the folder where you ran the command from.

    To insert the file here, you can drag-and-drop it into the reply box.

     

    Or you can go to:

    Insert -> Image/Video/file

    Then press the "upload" button - which will effectively work as "browse" button, and you can navigate to the file you want to upload.

    jean-marc said:
    ERROR: Recover failed. Please make sure that the correct device family is given

    Did you call it with the "nrfjprog --recover -f nrf52" option?

     

    Kind regards,

    Håkon

  • Oh! I though it was only for URL upload, sorry

    [2023-Sept-13 16:48:39] [debug] --------------------------------------------------------------------------------
    [2023-Sept-13 16:48:39] [debug] C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.exe --recover -f nrf52 --log 
    [2023-Sept-13 16:48:39] [debug] nrfjprog version 10.23.0 external
    [2023-Sept-13 16:48:39] [debug] --------------------------------------------------------------------------------
    [2023-Sept-13 16:48:39] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
    [2023-Sept-13 16:48:39] [ info] Library loaded, loading member functions.
    [2023-Sept-13 16:48:39] [ info] Member functions succesfully loaded.
    [2023-Sept-13 16:48:39] [debug] [ Client] - open
    [2023-Sept-13 16:48:39] [debug] [ Client] - start
    [2023-Sept-13 16:48:39] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 4fa841c6-c310-45f6-8085-f96d91b9652c.
    
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2023-Sept-13 16:48:39] [debug] [  JLink] - Logger sink registered in JLink logger
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - open
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - just_check_family
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - open_dll
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2023-Sept-13 16:48:39] [trace] [ Client] - Command open executed for 57 milliseconds with result 0
    [2023-Sept-13 16:48:39] [debug] [ Client] - config
    [2023-Sept-13 16:48:39] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
    [2023-Sept-13 16:48:39] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2023-Sept-13 16:48:39] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Set batch mode
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - dll_version
    [2023-Sept-13 16:48:39] [ info] [SeggerBackend] - Segger dll version 7.80.c loaded.
    [2023-Sept-13 16:48:39] [trace] [ Worker] - Command open executed for 8 milliseconds with result 0
    [2023-Sept-13 16:48:39] [trace] [ Client] - Command config executed for 14 milliseconds with result 0
    [2023-Sept-13 16:48:39] [debug] [ Client] - enum_emu_snr
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - config
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - enum_emu_snr
    [2023-Sept-13 16:48:39] [trace] [ Worker] - Command config executed for 4 milliseconds with result 0
    [2023-Sept-13 16:48:39] [trace] [ Client] - Command enum_emu_con_info executed for 14 milliseconds with result 0
    [2023-Sept-13 16:48:39] [debug] [ Client] - connect_to_emu_with_snr
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - enum_emu_con_info
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - enum_emu_con_info
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Sept-13 16:48:39] [trace] [ Worker] - Command enum_emu_con_info executed for 4 milliseconds with result 0
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - connect_to_emu_with_snr
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_get_num_emus
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Segger logging enabled.
    [2023-Sept-13 16:48:39] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39
    [2023-Sept-13 16:48:39] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39
    [2023-Sept-13 16:48:39] [trace] [  JLink] - Hardware: V1.00
    [2023-Sept-13 16:48:39] [trace] [  JLink] - S/N: 682571569
    [2023-Sept-13 16:48:39] [trace] [  JLink] - OEM: SEGGER
    [2023-Sept-13 16:48:39] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2023-Sept-13 16:48:39] [trace] [  JLink] - USB speed mode: High speed (480 MBit/s)
    [2023-Sept-13 16:48:39] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2023-Sept-13 16:48:39] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2023-Sept-13 16:48:39] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2023-Sept-13 16:48:39] [trace] [ Client] - Command connect_to_emu_with_snr executed for 59 milliseconds with result 0
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 22.656ms returns "O.K."  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_Lock()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.003ms returns 0x01  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.004ms returns 0x00  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.004ms returns 0x00  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.014ms returns 0  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.483ms returns 0x00  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - 10000000 Hz / n, n >= 10
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.014ms  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 1000kHz
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Requested speed 2000kHz is higher than the emulator max speed of 1000kHz
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_SetSpeed(2000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.068ms  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_GetSpeed()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.006ms returns 1000  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - SWD speed was reported as 1000kHz after requesting 2000kHz. Check the capabilities of the selected emulator.
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_GetSN()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.005ms returns 682571569  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.007ms  
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - read_device_family
    [2023-Sept-13 16:48:39] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 51 milliseconds with result 0
    [2023-Sept-13 16:48:39] [debug] [ Client] - read_connected_emu_snr
    [2023-Sept-13 16:48:39] [trace] [ Client] - Command read_connected_emu_snr executed for 14 milliseconds with result 0
    [2023-Sept-13 16:48:39] [debug] [ Client] - recover
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - read_connected_emu_snr
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.015ms returns 0x01  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_Lock()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - read_connected_emu_snr
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.018ms  
    [2023-Sept-13 16:48:39] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - recover
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.024ms returns 0x01  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_Lock()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - Just_recover
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - Just_is_ctrl_ap_available
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - read_access_port_register
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_read_access_port_register
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - coresight_configure
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.155ms returns 0  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 101.071ms returns 0  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - read_debug_port_idr
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - read_debug_port_register
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.757ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.793ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.775ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.770ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.767ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.750ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.739ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.802ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.751ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.765ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.734ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.743ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.779ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.776ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.745ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.743ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.791ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.905ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.796ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.770ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.747ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.756ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.732ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.749ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.779ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.745ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.736ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.767ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.734ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.797ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.734ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.741ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.760ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.752ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.740ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.742ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.838ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.859ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.774ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.754ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.799ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.758ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 1.995ms  
    [2023-Sept-13 16:48:39] [error] [ Worker] - An unknown error.
    [2023-Sept-13 16:48:39] [trace] [ Worker] - Command recover executed for 143 milliseconds with result -21
    [2023-Sept-13 16:48:39] [error] [ Client] - Encountered error -21: Command recover executed for 152 milliseconds with result -21
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - close
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.013ms returns 0x01  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_Lock()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - close
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - disconnect_from_emu
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - is_connected_to_device
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_IsConnected()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.006ms returns FALSE  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.778ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.829ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.776ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.767ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.744ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.733ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.743ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.735ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.740ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.792ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.770ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.764ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.762ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.755ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.745ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.812ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.906ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.799ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.756ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.772ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.809ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.781ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.782ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.829ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.758ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.738ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 1.333ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.850ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.787ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.859ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.778ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.820ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.752ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.900ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.759ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.786ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.806ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.835ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 1.157ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 1.088ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 1.070ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 1.069ms returns -1  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_HasError()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Ignore exception An unknown error.
    [2023-Sept-13 16:48:39] [trace] [  JLink] - - 0.456ms  
    [2023-Sept-13 16:48:39] [trace] [  JLink] - JLINK_Close()  
    [2023-Sept-13 16:48:39] [debug] [SeggerBackend] - Segger Backend closed.
    [2023-Sept-13 16:48:39] [debug] [  nRF52] - nRF family DLL closed
    [2023-Sept-13 16:48:39] [trace] [ Client] - Command close executed for 94 milliseconds with result 0
    [2023-Sept-13 16:48:39] [debug] [ Client] - terminate
    [2023-Sept-13 16:48:39] [trace] [ Worker] - Command close executed for 76 milliseconds with result 0
    [2023-Sept-13 16:48:39] [trace] [ Client] - Command terminate executed for 36 milliseconds with result 0
    [2023-Sept-13 16:48:39] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2023-Sept-13 16:48:39] [trace] [ Worker] - Executed 8 commands for 286 milliseconds
    [2023-Sept-13 16:48:39] [debug] [ Client] - Worker process exited with code: 0
    [2023-Sept-13 16:48:39] [debug] [ Client] - Worker process exited with code: 0
    [2023-Sept-13 16:48:39] [debug] [ Client] - Child process terminated with result 0
    [2023-Sept-13 16:48:39] [trace] [ Client] - Executed 8 commands for 440 milliseconds
    [2023-Sept-13 16:48:39] [debug] [ Client] - terminate
    

    And yes I call "nrfjprog --recover -f nrf52"

    Thanks again

  • Thanks for the log.

    Unfortunately, it shows that there's no successful contact with the nRF-chip at all.

     

    Could you share a picture of the nRF52-DK board? I just want to check all the switch positions and so forth, in case there's anything there.

     

    Kind regards,

    Håkon

Related