[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".

We have an automated test system which builds, flashes and then runs our SW on various different Nordic nRF5x DK boards: nRF52840, nRF5340 and now nRF52833.

The problem we have is that, in the nRF52833 case, and that case _only_, flash download fails to work 50% of the time, reporting the error given in the subject line (see also full output at the bottom of this post).

With the nRF52840DK boards and the nRF5340DK boards, flash download is always 100% successful (and has been for years), but with the nRF52833DK board that we added a few months ago we simply cannot get the flash download to work reliably.  We have tried more than one nRF52833DK board and the problem remains.  We have even tried using a dedicated Segger J-Link box connected to the debug connector on the nRF52833DK board, rather than connecting via the on-board debug chip, but the problem is the same: 50% of the time the flash download fails, always with the error given above.

In all cases, for all boards, flashing/running is done from a Raspberry Pi 4 [identical machines, all SD-card copies] using west  (NCS 2.3/Zephyr 3.3) as follows:

west flash --skip-rebuild  -d /home/build  --erase --recover

[we always add --erase and --recover in all cases as we have hit situations where those are necessary and they do no harm when added for all cases].

Anticipating that you will ask for a log from nrfjprog, we tried adding --log to the end of the west command-line but that doesn't seem to work:

west flash --skip-rebuild -d /home/build --erase --recover --log
-- west flash: using runner nrfjprog
FATAL ERROR: runner nrfjprog received unknown arguments: ['--log']

How should we go about getting reliable flash downloads to an nRF52833DK board?  

Full output from west:

west flash --skip-rebuild  -d /home/build  --erase --recover
-- west flash: using runner nrfjprog
-- runners.nrfjprog: mass erase requested
Using board 685174508
-- runners.nrfjprog: Recovering and erasing all flash memory.
Recovering device. This operation might take 30s.
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
ERROR: Recover failed. Please make sure that the correct device family is given
ERROR: and try again.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
FATAL ERROR: command exited with status 62: nrfjprog --recover -f NRF52 --snr 685174508
script returned exit code 62


For reference, here is a success case:

west flash --skip-rebuild  -d /home/build  --erase --recover
-- west flash: using runner nrfjprog
-- runners.nrfjprog: mass erase requested
Using board 685174508
-- runners.nrfjprog: Recovering and erasing all flash memory.
Recovering device. This operation might take 30s.
Erasing user code and UICR flash areas.
-- runners.nrfjprog: Flashing file: /home/build/zephyr/zephyr.hex
[ ######               ]   0.000s | Erase file - Check image                                                           
[ #################### ]   0.205s | Erase file - Done erasing                                                          
[ ######               ]   0.000s | Program file - Checking image                                                      
[ ####                 ]   0.000s | Check image validity - Initialize device info                                      
[ ########             ]   0.000s | Check image validity - Check region 0 settings                                     
[ ############         ]   0.000s | Check image validity - block 1 of 3                                                
[ #################### ]   0.010s | Check image validity - Finished                                                    
[ #############        ]   0.000s | Program file - Programming                                                         
[ ######               ]   0.000s | Programming image - block 1 of 2                                                   
[ #################### ]   0.000s | Programming image - Write successful                                               
[ #################### ]   4.500s | Program file - Done programming                                                    
[ ######               ]   0.000s | Verify file - Check image                                                          
[ ####                 ]   0.000s | Check image validity - Initialize device info                                      
[ ########             ]   0.000s | Check image validity - Check region 0 settings                                     
[ ############         ]   3.192s | Check image validity - block 1 of 3                                                
[ #################### ]   0.000s | Check image validity - Finished                                                    
[ #############        ]   0.000s | Verify file - Verifying                                                            
[ ######               ]   0.000s | Verifying image - block 1 of 2                                                     
[ #################### ]   0.000s | Verifying image - Verify successful                                                
[ #################### ]   4.426s | Verify file - Done verifying                                                       
Enabling pin reset.
Applying pin reset.
-- runners.nrfjprog: Board with serial number 685174508 flashed successfully.

Parents
  • Hello,

    Nothing pop to mind no, looks like something is marginally off.

    What happens if you try to reduce the clock speed and calling nrfjprog directly:
    nrfjprog --clockspeed 500 --recover --log 

    Have you connected logic analyzer trace (possible analog inputs also) to see if you can observe anything out of the ordinary for voltages or values?

    Kenneth

  • Hi, and thanks for the swift response.  Same outcome with that I'm afraid (failed on third attempt):

    nrfjprog --program /home/build/zephyr/zephyr.hex --clockspeed 500 --recover --log
    
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [error] [SeggerBackend] - JLinkARM.dll reported "-1", "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.


    Here is the contents of log.log:

    [2023-May-08 15:00:35] [debug] --------------------------------------------------------------------------------
    [2023-May-08 15:00:35] [debug] nrfjprog --program /home/ubxlib/build/zephyr/zephyr.hex --clockspeed 500 --recover --log 
    [2023-May-08 15:00:35] [debug] nrfjprog version 10.18.1 external
    [2023-May-08 15:00:35] [debug] --------------------------------------------------------------------------------
    [2023-May-08 15:00:35] [ info] Load library at /opt/nrf-command-line-tools/lib/libnrfjprogdll.so.
    [2023-May-08 15:00:35] [ info] Library loaded, loading member functions.
    [2023-May-08 15:00:35] [ info] Member functions succesfully loaded.
    [2023-May-08 15:00:35] [debug] [ Client] - open
    [2023-May-08 15:00:35] [debug] [ Client] - start
    [2023-May-08 15:00:35] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence c61db585-31b6-41c8-aee9-2fe7bb6a2e89.
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2023-May-08 15:00:35] [debug] [  JLink] - Logger sink registered in JLink logger
    [2023-May-08 15:00:35] [debug] [  nRFXX] - open
    [2023-May-08 15:00:35] [debug] [  nRFXX] - just_check_family
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - open_dll
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2023-May-08 15:00:35] [ info] [SeggerBackend] - Load library at /opt/SEGGER/JLink/libjlinkarm.so.
    [2023-May-08 15:00:35] [trace] [ Client] - Command open executed for 9 milliseconds with result 0
    [2023-May-08 15:00:35] [debug] [ Client] - config
    [2023-May-08 15:00:35] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2023-May-08 15:00:35] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - Set batch mode
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - dll_version
    [2023-May-08 15:00:35] [ info] [SeggerBackend] - Segger dll version 7.80.c loaded.
    [2023-May-08 15:00:35] [trace] [ Worker] - Command open executed for 7 milliseconds with result 0
    [2023-May-08 15:00:35] [debug] [  nRFXX] - config
    [2023-May-08 15:00:35] [trace] [ Client] - Command config executed for 4 milliseconds with result 0
    [2023-May-08 15:00:35] [debug] [ Client] - enum_emu_snr
    [2023-May-08 15:00:35] [trace] [ Worker] - Command config executed for 4 milliseconds with result 0
    [2023-May-08 15:00:35] [debug] [  nRFXX] - enum_emu_con_info
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - enum_emu_con_info
    [2023-May-08 15:00:35] [trace] [ Client] - Command enum_emu_con_info executed for 271 milliseconds with result 0
    [2023-May-08 15:00:35] [debug] [ Client] - connect_to_emu_with_snr
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:35] [trace] [ Worker] - Command enum_emu_con_info executed for 271 milliseconds with result 0
    [2023-May-08 15:00:35] [debug] [  nRFXX] - connect_to_emu_with_snr
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2023-May-08 15:00:35] [debug] [SeggerBackend] - ---just_get_num_emus
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Segger logging enabled.
    [2023-May-08 15:00:36] [trace] [ Client] - Command connect_to_emu_with_snr executed for 796 milliseconds with result 0
    [2023-May-08 15:00:36] [debug] [ Client] - read_connected_emu_snr
    [2023-May-08 15:00:36] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2023-May-08 15:00:36] [debug] [ Client] - read_device_family
    [2023-May-08 15:00:36] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39
    [2023-May-08 15:00:36] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39
    [2023-May-08 15:00:36] [trace] [  JLink] - Hardware: V1.00
    [2023-May-08 15:00:36] [trace] [  JLink] - S/N: 685174508
    [2023-May-08 15:00:36] [trace] [  JLink] - OEM: SEGGER
    [2023-May-08 15:00:36] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2023-May-08 15:00:36] [trace] [  JLink] - USB speed mode: High speed (480 MBit/s)
    [2023-May-08 15:00:36] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2023-May-08 15:00:36] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2023-May-08 15:00:36] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2023-May-08 15:00:36] [trace] [  JLink] - - 4.320ms returns "O.K."  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.011ms returns 0x01  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.005ms returns 0x00  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.005ms returns 0x00  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.019ms returns 0  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.358ms returns 0x00  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2023-May-08 15:00:36] [trace] [  JLink] - 10000000 Hz / n, n >= 10
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.019ms  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 1000kHz
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_SetSpeed(500)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.056ms  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_GetSpeed()  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.010ms returns 500  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - SWD clock set to 500kHz
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_GetSN()  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.010ms returns 685174508  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.012ms  
    [2023-May-08 15:00:36] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 796 milliseconds with result 0
    [2023-May-08 15:00:36] [debug] [  nRFXX] - read_connected_emu_snr
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.012ms returns 0x01  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - read_connected_emu_snr
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.010ms  
    [2023-May-08 15:00:36] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2023-May-08 15:00:36] [debug] [  nRFXX] - read_device_family
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.011ms returns 0x01  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - read_debug_port_idr
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - read_debug_port_register
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - coresight_configure
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.109ms returns 0  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 102.890ms returns 0  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - read_debug_port_idr
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - read_debug_port_register
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.301ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.280ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.275ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.272ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.277ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.291ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.328ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.318ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.277ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.275ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.278ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.275ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.332ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.293ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.278ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.282ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.276ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.389ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.315ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.294ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.277ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.297ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.272ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.282ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.289ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [ Client] - Command read_device_family executed for 143 milliseconds with result -102
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.324ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.040ms  
    [2023-May-08 15:00:36] [trace] [ Worker] - Command read_device_family executed for 143 milliseconds with result -102
    [2023-May-08 15:00:36] [debug] [  nRFXX] - close
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.012ms returns 0x01  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - close
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - disconnect_from_emu
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - is_connected_to_device
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_IsConnected()  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.011ms returns FALSE  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.294ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.286ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.275ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.292ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.277ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.272ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.355ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.330ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.294ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.279ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.280ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.289ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.271ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.280ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.412ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.295ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.303ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.278ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.286ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.275ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.272ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.350ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.398ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.299ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.295ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.299ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.278ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.270ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.439ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:36] [trace] [  JLink] - - 1.323ms returns -1  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:36] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:36] [trace] [  JLink] - - 0.036ms  
    [2023-May-08 15:00:36] [trace] [  JLink] - JLINK_Close()  
    [2023-May-08 15:00:36] [debug] [SeggerBackend] - Segger Backend closed.
    [2023-May-08 15:00:36] [debug] [  nRFXX] - nRF family DLL closed
    [2023-May-08 15:00:36] [trace] [ Client] - Command close executed for 67 milliseconds with result 0
    [2023-May-08 15:00:36] [debug] [ Client] - terminate
    [2023-May-08 15:00:36] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2023-May-08 15:00:40] [debug] --------------------------------------------------------------------------------
    [2023-May-08 15:00:40] [debug] nrfjprog --program /home/ubxlib/build/zephyr/zephyr.hex --clockspeed 500 --recover --log 
    [2023-May-08 15:00:40] [debug] nrfjprog version 10.18.1 external
    [2023-May-08 15:00:40] [debug] --------------------------------------------------------------------------------
    [2023-May-08 15:00:40] [ info] Load library at /opt/nrf-command-line-tools/lib/libnrfjprogdll.so.
    [2023-May-08 15:00:40] [ info] Library loaded, loading member functions.
    [2023-May-08 15:00:40] [ info] Member functions succesfully loaded.
    [2023-May-08 15:00:40] [debug] [ Client] - open
    [2023-May-08 15:00:40] [debug] [ Client] - start
    [2023-May-08 15:00:40] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 5ad80722-c74c-41c9-9469-4e168afe35e7.
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2023-May-08 15:00:40] [debug] [  JLink] - Logger sink registered in JLink logger
    [2023-May-08 15:00:40] [debug] [  nRFXX] - open
    [2023-May-08 15:00:40] [debug] [  nRFXX] - just_check_family
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - open_dll
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2023-May-08 15:00:40] [ info] [SeggerBackend] - Load library at /opt/SEGGER/JLink/libjlinkarm.so.
    [2023-May-08 15:00:40] [trace] [ Client] - Command open executed for 9 milliseconds with result 0
    [2023-May-08 15:00:40] [debug] [ Client] - config
    [2023-May-08 15:00:40] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2023-May-08 15:00:40] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - Set batch mode
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - dll_version
    [2023-May-08 15:00:40] [ info] [SeggerBackend] - Segger dll version 7.80.c loaded.
    [2023-May-08 15:00:40] [trace] [ Worker] - Command open executed for 6 milliseconds with result 0
    [2023-May-08 15:00:40] [debug] [  nRFXX] - config
    [2023-May-08 15:00:40] [trace] [ Client] - Command config executed for 4 milliseconds with result 0
    [2023-May-08 15:00:40] [debug] [ Client] - enum_emu_snr
    [2023-May-08 15:00:40] [trace] [ Worker] - Command config executed for 4 milliseconds with result 0
    [2023-May-08 15:00:40] [debug] [  nRFXX] - enum_emu_con_info
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - enum_emu_con_info
    [2023-May-08 15:00:40] [trace] [ Client] - Command enum_emu_con_info executed for 269 milliseconds with result 0
    [2023-May-08 15:00:40] [debug] [ Client] - connect_to_emu_with_snr
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:40] [trace] [ Worker] - Command enum_emu_con_info executed for 269 milliseconds with result 0
    [2023-May-08 15:00:40] [debug] [  nRFXX] - connect_to_emu_with_snr
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - ---just_get_num_emus
    [2023-May-08 15:00:40] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Segger logging enabled.
    [2023-May-08 15:00:41] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39
    [2023-May-08 15:00:41] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39
    [2023-May-08 15:00:41] [trace] [  JLink] - Hardware: V1.00
    [2023-May-08 15:00:41] [trace] [  JLink] - S/N: 685174508
    [2023-May-08 15:00:41] [trace] [  JLink] - OEM: SEGGER
    [2023-May-08 15:00:41] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2023-May-08 15:00:41] [trace] [  JLink] - USB speed mode: High speed (480 MBit/s)
    [2023-May-08 15:00:41] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2023-May-08 15:00:41] [trace] [ Client] - Command connect_to_emu_with_snr executed for 811 milliseconds with result 0
    [2023-May-08 15:00:41] [debug] [ Client] - read_connected_emu_snr
    [2023-May-08 15:00:41] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2023-May-08 15:00:41] [debug] [ Client] - read_device_family
    [2023-May-08 15:00:41] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2023-May-08 15:00:41] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2023-May-08 15:00:41] [trace] [  JLink] - - 5.775ms returns "O.K."  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.010ms returns 0x01  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.004ms returns 0x00  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.005ms returns 0x00  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.019ms returns 0  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.347ms returns 0x00  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2023-May-08 15:00:41] [trace] [  JLink] - 10000000 Hz / n, n >= 10
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.019ms  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 1000kHz
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_SetSpeed(500)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.070ms  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_GetSpeed()  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.009ms returns 500  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - SWD clock set to 500kHz
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_GetSN()  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.009ms returns 685174508  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.012ms  
    [2023-May-08 15:00:41] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 811 milliseconds with result 0
    [2023-May-08 15:00:41] [debug] [  nRFXX] - read_connected_emu_snr
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.011ms returns 0x01  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - read_connected_emu_snr
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.010ms  
    [2023-May-08 15:00:41] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2023-May-08 15:00:41] [debug] [  nRFXX] - read_device_family
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.011ms returns 0x01  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - read_debug_port_idr
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - read_debug_port_register
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - coresight_configure
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.114ms returns 0  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 102.463ms returns 0  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - read_debug_port_idr
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - read_debug_port_register
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.300ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.276ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.272ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.270ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.354ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.310ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.273ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.273ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.273ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.283ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.271ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.409ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.347ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.303ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.306ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.272ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.277ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.270ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.279ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.408ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.387ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.296ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.308ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.295ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.360ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [ Client] - Command read_device_family executed for 143 milliseconds with result -102
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.296ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.303ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.279ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.024ms  
    [2023-May-08 15:00:41] [trace] [ Worker] - Command read_device_family executed for 143 milliseconds with result -102
    [2023-May-08 15:00:41] [debug] [  nRFXX] - close
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.012ms returns 0x01  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - close
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - disconnect_from_emu
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - is_connected_to_device
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_IsConnected()  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.010ms returns FALSE  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.281ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.295ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.272ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.276ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 2.058ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.311ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.295ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.277ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.271ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.289ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.658ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.917ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.299ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.310ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.276ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.759ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.337ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.288ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.296ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.272ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.277ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.288ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.337ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.311ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.275ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:41] [trace] [  JLink] - - 1.299ms returns -1  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:41] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:41] [trace] [  JLink] - - 0.022ms  
    [2023-May-08 15:00:41] [trace] [  JLink] - JLINK_Close()  
    [2023-May-08 15:00:41] [debug] [SeggerBackend] - Segger Backend closed.
    [2023-May-08 15:00:41] [debug] [  nRFXX] - nRF family DLL closed
    [2023-May-08 15:00:41] [trace] [ Client] - Command close executed for 65 milliseconds with result 0
    [2023-May-08 15:00:41] [debug] [ Client] - terminate
    [2023-May-08 15:00:41] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2023-May-08 15:00:44] [debug] --------------------------------------------------------------------------------
    [2023-May-08 15:00:44] [debug] nrfjprog --program /home/ubxlib/build/zephyr/zephyr.hex --clockspeed 500 --recover --log 
    [2023-May-08 15:00:44] [debug] nrfjprog version 10.18.1 external
    [2023-May-08 15:00:44] [debug] --------------------------------------------------------------------------------
    [2023-May-08 15:00:44] [ info] Load library at /opt/nrf-command-line-tools/lib/libnrfjprogdll.so.
    [2023-May-08 15:00:44] [ info] Library loaded, loading member functions.
    [2023-May-08 15:00:44] [ info] Member functions succesfully loaded.
    [2023-May-08 15:00:44] [debug] [ Client] - open
    [2023-May-08 15:00:44] [debug] [ Client] - start
    [2023-May-08 15:00:44] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 4d06da0d-729f-4589-870a-c37da8ef8fa5.
    [2023-May-08 15:00:44] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2023-May-08 15:00:44] [debug] [  JLink] - Logger sink registered in JLink logger
    [2023-May-08 15:00:44] [debug] [  nRFXX] - open
    [2023-May-08 15:00:44] [debug] [  nRFXX] - just_check_family
    [2023-May-08 15:00:44] [debug] [SeggerBackend] - open_dll
    [2023-May-08 15:00:44] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2023-May-08 15:00:44] [ info] [SeggerBackend] - Load library at /opt/SEGGER/JLink/libjlinkarm.so.
    [2023-May-08 15:00:44] [trace] [ Client] - Command open executed for 9 milliseconds with result 0
    [2023-May-08 15:00:44] [debug] [ Client] - config
    [2023-May-08 15:00:44] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2023-May-08 15:00:44] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2023-May-08 15:00:44] [debug] [SeggerBackend] - Set batch mode
    [2023-May-08 15:00:44] [debug] [SeggerBackend] - dll_version
    [2023-May-08 15:00:44] [ info] [SeggerBackend] - Segger dll version 7.80.c loaded.
    [2023-May-08 15:00:44] [trace] [ Worker] - Command open executed for 6 milliseconds with result 0
    [2023-May-08 15:00:44] [debug] [  nRFXX] - config
    [2023-May-08 15:00:44] [trace] [ Client] - Command config executed for 4 milliseconds with result 0
    [2023-May-08 15:00:44] [debug] [ Client] - enum_emu_snr
    [2023-May-08 15:00:44] [trace] [ Worker] - Command config executed for 4 milliseconds with result 0
    [2023-May-08 15:00:44] [debug] [  nRFXX] - enum_emu_con_info
    [2023-May-08 15:00:44] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:44] [debug] [SeggerBackend] - enum_emu_con_info
    [2023-May-08 15:00:45] [trace] [ Client] - Command enum_emu_con_info executed for 266 milliseconds with result 0
    [2023-May-08 15:00:45] [debug] [ Client] - connect_to_emu_with_snr
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:45] [trace] [ Worker] - Command enum_emu_con_info executed for 266 milliseconds with result 0
    [2023-May-08 15:00:45] [debug] [  nRFXX] - connect_to_emu_with_snr
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - ---just_get_num_emus
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - Segger logging enabled.
    [2023-May-08 15:00:45] [trace] [ Client] - Command connect_to_emu_with_snr executed for 809 milliseconds with result 0
    [2023-May-08 15:00:45] [debug] [ Client] - read_connected_emu_snr
    [2023-May-08 15:00:45] [trace] [ Client] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2023-May-08 15:00:45] [debug] [ Client] - read_device_family
    [2023-May-08 15:00:45] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39
    [2023-May-08 15:00:45] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39
    [2023-May-08 15:00:45] [trace] [  JLink] - Hardware: V1.00
    [2023-May-08 15:00:45] [trace] [  JLink] - S/N: 685174508
    [2023-May-08 15:00:45] [trace] [  JLink] - OEM: SEGGER
    [2023-May-08 15:00:45] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
    [2023-May-08 15:00:45] [trace] [  JLink] - USB speed mode: High speed (480 MBit/s)
    [2023-May-08 15:00:45] [trace] [  JLink] - TELNET listener socket opened on port 19021
    [2023-May-08 15:00:45] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
    [2023-May-08 15:00:45] [trace] [  JLink] - WEBSRV Webserver running on local port 19080
    [2023-May-08 15:00:45] [trace] [  JLink] - - 4.251ms returns "O.K."  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.010ms returns 0x01  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.005ms returns 0x00  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.005ms returns 0x00  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.018ms returns 0  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.344ms returns 0x00  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_GetSpeedInfo()  
    [2023-May-08 15:00:45] [trace] [  JLink] - 10000000 Hz / n, n >= 10
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.018ms  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 1000kHz
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_SetSpeed(500)  
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.051ms  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_GetSpeed()  
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.010ms returns 500  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - SWD clock set to 500kHz
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_GetSN()  
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.009ms returns 685174508  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.011ms  
    [2023-May-08 15:00:45] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 809 milliseconds with result 0
    [2023-May-08 15:00:45] [debug] [  nRFXX] - read_connected_emu_snr
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.012ms returns 0x01  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - read_connected_emu_snr
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.010ms  
    [2023-May-08 15:00:45] [trace] [ Worker] - Command read_connected_emu_snr executed for 0 milliseconds with result 0
    [2023-May-08 15:00:45] [debug] [  nRFXX] - read_device_family
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.011ms returns 0x01  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - read_debug_port_idr
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - read_debug_port_register
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-May-08 15:00:45] [debug] [SeggerBackend] - coresight_configure
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_GetHWStatus(...)  
    [2023-May-08 15:00:45] [trace] [  JLink] - - 0.106ms returns 0  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:45] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 102.796ms returns 0  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - read_debug_port_idr
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - read_debug_port_register
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.298ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.283ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.276ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.282ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.271ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.271ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.285ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.273ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.512ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.297ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.285ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.277ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.284ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.271ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.284ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.472ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.397ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.294ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.271ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.276ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.279ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.286ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [ Client] - Command read_device_family executed for 143 milliseconds with result -102
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.275ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.351ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.337ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.287ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.273ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.273ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.272ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.278ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - - 0.024ms  
    [2023-May-08 15:00:46] [trace] [ Worker] - Command read_device_family executed for 143 milliseconds with result -102
    [2023-May-08 15:00:46] [debug] [  nRFXX] - close
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_IsOpen()  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 0.013ms returns 0x01  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_Lock()  
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - close
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - disconnect_from_emu
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - is_connected_to_device
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_IsConnected()  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 0.010ms returns FALSE  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.404ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.375ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.327ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.313ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.309ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.323ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.368ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.511ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.366ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.294ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.286ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.271ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.277ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.276ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.347ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.354ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.297ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.293ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.300ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.278ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.277ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.328ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.378ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.311ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.273ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.280ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.274ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.272ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
    [2023-May-08 15:00:46] [trace] [  JLink] - - 1.293ms returns -1  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_HasError()  
    [2023-May-08 15:00:46] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-May-08 15:00:46] [trace] [  JLink] - - 0.023ms  
    [2023-May-08 15:00:46] [trace] [  JLink] - JLINK_Close()  
    [2023-May-08 15:00:46] [debug] [SeggerBackend] - Segger Backend closed.
    [2023-May-08 15:00:46] [debug] [  nRFXX] - nRF family DLL closed
    [2023-May-08 15:00:46] [trace] [ Client] - Command close executed for 68 milliseconds with result 0
    [2023-May-08 15:00:46] [debug] [ Client] - terminate
    [2023-May-08 15:00:46] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0

  • Hello,

    I don't have any other suggestion than to make this case private so you can share the schematic of the board in question so we may take a look. Next step could be for you to send a few boards that systemtically show the symptoms here.

    Edit: Let me know if you want to make this case private, then I can do that.

    Kenneth

  • That's easy: this is a standard nRF52833DK board, nothing has been modified.  As indicated above, we've tried two different ones, so it does not appear to be a fault on that board, and we've also tried using the on-board debug connector with a dedicated J-Link box to by-pass the on-board debug chip - the outcome is always the same.

    And yet _exactly_ the same set-up on the Raspberry Pi 4 (i.e. SD copies) works 100% of the time with nRF52840DK and nRF5340DK boards.

    In other words, the problem appears to be a systematic one, but only with nRF52833DK.

  • So I assume you only see this on raspberry pi? And not for instance when using windows it always works?

    I can see there is a new version, though not sure if it make any difference:
    https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download

    What does nrfjprog --version output? Do you have any indication that previous nrfjprog worked better or worse?

    What version of the nRF52833DK you have?

    Kenneth

  • We only ever use this on the Raspberry Pi so I can't say for certain if it happens elsewhere.

    nrfjprog -v
    nrfjprog version: 10.18.1 external
    JLinkARM.dll version: 7.80c

    We've only been using nRF52833DK with this version, so unfortunately I can't say whether this is a new thing or not, all I know is that we've never, ever, seen it with nRF52840DK or nRF5340DK, which always flash-download 100% reliably, and we have been using those in the same automated test system for at least 2 years, maybe longer.  Pictures of the nRF52833DK board are below.

    I will try the later version, can't do any harm.
Reply
  • We only ever use this on the Raspberry Pi so I can't say for certain if it happens elsewhere.

    nrfjprog -v
    nrfjprog version: 10.18.1 external
    JLinkARM.dll version: 7.80c

    We've only been using nRF52833DK with this version, so unfortunately I can't say whether this is a new thing or not, all I know is that we've never, ever, seen it with nRF52840DK or nRF5340DK, which always flash-download 100% reliably, and we have been using those in the same automated test system for at least 2 years, maybe longer.  Pictures of the nRF52833DK board are below.

    I will try the later version, can't do any harm.
Children
Related