"Bricking" a custom board by unplugging SWD debugger mid-session?

Hey guys.

I'm having a weird issue. I'm using a custom PCB with NRF52810 and S112 soft device, which has tag-connect connector for SWD debugger and it does not click into place, so it happens sometimes that connection is cut during debugging session. 

After N sessions, board stops responding. I have 4 different boards infront of me, all of them used to work, and then suddenly stoppe. I keep getting that: Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device.

The code seems to still run on the IC, but I cannot connect to it anymore.

I tried using command tools to recover board and I keep getting the same error. It seems that board just does not respond.

There was one instance of a different error, where I tried connecting to the board via NRF Connect programmer and got the message that memory is protected (I did not activate this..). But when I restarted the tool, I got the first message again (unsupported device).

So my question would be, is it possible that this happens because of random connection cut while debugging? Or could there be something else?

Any help would be greatly appreciated as I have only one board left.

command line log:

C:\Program Files (x86)\Nordic Semiconductor\nrf-command-line-tools\bin>nrfjprog --recover
[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: Unable to connect to a debugger.[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.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.

Thanks!

Kristjan

Parents
  • Let me expand on this:

    When I encountered these issues, I was using SEGGER J-link.

    I fixed the problem (for a day) by using NRF DK as Jlink. This seemed to work, until about an hour ago, when the same issues began happening again. I must have reprogramed the board at least 50 times and then suddenly it stops responding. However, the processor still runs as I can connect to it with BLE.

  • Hi,

     

    Which version of nrfjprog and jlink are you using? 

    You can download the latest here: https://www.nordicsemi.com/Products/Development-tools/nrf-command-line-tools/download

     

    kristjanb said:
    However, the processor still runs as I can connect to it with BLE.

    Thank you for this info, this effectively rules out any assertion loops (ie. reset loops) in the firmware.

    Do you see this behavior on one board only, or is it several ?

     

    Kind regards,

    HĂĄkon

  • At first I was using the latest drivers, but then in the process of elimination I went few releases back. Did not help though..

    Oh I should also add, that there is an LED that is ON when code is running. When I try to connect to the board, it blinks at the same time as debugger LED, which probably means that the IC resets, right?

    Regarding your second question, I currently have 5 non working boards. Each of them lasted "some" number of sessions and then stopped responding. So it's not a single board issue.

    Is it possible that firmware somehow remapped gipo pins? I'm using nrf_ble_template and did not mess with any gpios, so that would be weird, but it could be..

  • So I was reading ERRATA of the IC and found something interesting. Could this be the issue?

  • Hi,

     

    That errata is referring to specific states, ie. that you have the debugger attached (and active) and you use systemoff mode.

    Given that you are not able to access the device using the programmer, I suspect that your debug session is inactive.

    kristjanb said:

    Oh I should also add, that there is an LED that is ON when code is running. When I try to connect to the board, it blinks at the same time as debugger LED, which probably means that the IC resets, right?

    Regarding your second question, I currently have 5 non working boards. Each of them lasted "some" number of sessions and then stopped responding. So it's not a single board issue.

    Is it possible that firmware somehow remapped gipo pins? I'm using nrf_ble_template and did not mess with any gpios, so that would be weird, but it could be..

    The debugger will try to reset your board, which is highly likely the reason why you see the LED blink.

    It is unlikely that the firmware starts reconfiguring the pins.

     

    Could you try reducing the clock speed when recovering your device? This is done with the "-c" switch:

    nrfjprog --recover -c 125 --log

     

    If it still fails, could you share the generated log.log file?

     

    Kind regards,

    HĂĄkon

  • I'm having the same issue. Here's the logs when using Programmer (nRF Connect for Desktop): 

    2023-06-13T02:28:47.131Z INFO Using @nordicsemiconductor/nrf-device-lib-js to communicate with target via JLink
    2023-06-13T02:28:47.132Z INFO JLink OB firmware version
    2023-06-13T02:28:47.137Z INFO Device family
    2023-06-13T02:28:47.139Z INFO Device version
    2023-06-13T02:28:47.140Z INFO Board version
    2023-06-13T02:28:47.143Z INFO Loading readback protection status for Application core
    2023-06-13T02:28:47.450Z ERROR Failed to load readback protection status: async task failure for id: 51386707499 msg: [jlink] JLINKARM_DLL_ERROR (Origin: "Error when running operation: protection-get")
  • Hi,

     

    Mathew said:
    I'm having the same issue.

    Did you try the former command?

    HĂĄkon Alseth said:
    nrfjprog --recover -c 125 --log

     

    Kind regards,

    HĂĄkon

Reply Children
  • Yes, and it didn't fix the issue or change the output of the log.

  • Could you share the generated .log file?

    Which device are you using?

    Which debugger/programmer is being used?

     

    Kind regards,

    HĂĄkon

  • The log file looks identical as that shown in the original post by Kristjan so I have not included it.

    I'm using a J-Link LITE CortexM programmer with a Macbook to program a nRF52832 device.

    I have two different nRF52 PCB layouts (using different modules, but the same nRF52 SoC) and have never experienced the issue with the other one which has a much more secure programming pin connection.

    The VRef voltage is just a little over 3.3V.

    I can mostly rule out an issue with the J-Link programmer itself as it will program other nRF52-based products nearby.

    The reset pin does work as the device in question appears to reset and the code that was previously programmed on it executes.

  • Hi,

     

    Mathew said:
    The log file looks identical as that shown in the original post by Kristjan so I have not included it.

    There will be a .log file generated, which holds more info than what is written to stdout. can you attach this?

     

    Kind regards,

    HĂĄkon

  • [2023-Jun-15 11:16:07] [ info] --------------------------------------------------------------------------------
    [2023-Jun-15 11:16:07] [ info] nrfjprog --recover -c 125 --log
    [2023-Jun-15 11:16:07] [ info] nrfjprog version 10.14.0 external
    [2023-Jun-15 11:16:07] [ info] --------------------------------------------------------------------------------
    [2023-Jun-15 11:16:07] [ info] Load library at /Applications/Nordic Semiconductor/lib/libnrfjprogdll.dylib.
    [2023-Jun-15 11:16:07] [ info] Library loaded, loading member functions.
    [2023-Jun-15 11:16:07] [ info] Member functions succesfully loaded.
    [2023-Jun-15 11:16:07] [debug] [ Client] - open
    [2023-Jun-15 11:16:07] [debug] [ Client] - start
    [2023-Jun-15 11:16:08] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence eb186995-c78c-4406-85fc-7b4a7a6a7385.
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
    [2023-Jun-15 11:16:08] [debug] [ JLink] - Logger sink registered in JLink logger
    [2023-Jun-15 11:16:08] [debug] [ nRFXX] - open
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - open_dll
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
    [2023-Jun-15 11:16:08] [ info] [SeggerBackend] - Load library at /Applications/SEGGER/JLink/libjlinkarm.dylib.
    [2023-Jun-15 11:16:08] [trace] [ Client] - Command open executed for 138 milliseconds with result 0
    [2023-Jun-15 11:16:08] [debug] [ Client] - enum_emu_snr
    [2023-Jun-15 11:16:08] [trace] [ Client] - Command enum_emu_snr executed for 2 milliseconds with result 0
    [2023-Jun-15 11:16:08] [debug] [ Client] - connect_to_emu_with_snr
    [2023-Jun-15 11:16:08] [ info] [SeggerBackend] - Library loaded, loading member functions.
    [2023-Jun-15 11:16:08] [ info] [SeggerBackend] - Member functions succesfully loaded.
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - dll_version
    [2023-Jun-15 11:16:08] [ info] [SeggerBackend] - Segger dll version 7.54.b loaded.
    [2023-Jun-15 11:16:08] [trace] [ Worker] - Command open executed for 67 milliseconds with result 0
    [2023-Jun-15 11:16:08] [debug] [ nRFXX] - enum_emu_snr
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - enum_emu_snr
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_get_num_emus
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Jun-15 11:16:08] [trace] [ Worker] - Command enum_emu_snr executed for 2 milliseconds with result 0
    [2023-Jun-15 11:16:08] [debug] [ nRFXX] - connect_to_emu_with_snr
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - connect_to_emu_with_snr
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_enum_emu_snr
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_get_num_emus
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Segger logging enabled.
    [2023-Jun-15 11:16:08] [trace] [ JLink] - Firmware: J-Link Lite-Cortex-M V8 compiled Sep 15 2016 12:05:01
    [2023-Jun-15 11:16:08] [trace] [ JLink] - Firmware: J-Link Lite-Cortex-M V8 compiled Sep 15 2016 12:05:01
    [2023-Jun-15 11:16:08] [trace] [ JLink] - Hardware: V8.00
    [2023-Jun-15 11:16:08] [trace] [ JLink] - S/N: 518005754
    [2023-Jun-15 11:16:08] [trace] [ JLink] - OEM: SEGGER
    [2023-Jun-15 11:16:08] [trace] [ JLink] - Feature(s): GDB
    [2023-Jun-15 11:16:08] [trace] [ JLink] - TELNET listener socket opened on port 19021
    [2023-Jun-15 11:16:08] [trace] [ JLink] - WEBSRV Starting webserver
    [2023-Jun-15 11:16:08] [trace] [ JLink] - WEBSRV Webserver running on local port 19080
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 15.630ms returns "O.K."
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_Lock()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_GetHWStatus(...)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.442ms returns 0
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.040ms returns 0x01
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_ExecCommand("DisableFlashDL", ...).
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.062ms returns 0x00
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.036ms returns 0x00
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_SetHookUnsecureDialog
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_SetHookUnsecureDialog(...)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.049ms returns 0
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.912ms returns 0x00
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_SetSpeed(125)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.145ms
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_GetSN()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.007ms returns 518005754
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - read_debug_port_idr
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - read_debug_port_register
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - coresight_configure
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_Configure()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 5.938ms returns 0
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.377ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [trace] [ Client] - Command connect_to_emu_with_snr executed for 91 milliseconds with result -102
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.365ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.529ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.525ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.430ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.374ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 1.692ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.545ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.350ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.370ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.500ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.341ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.346ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.346ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.344ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.345ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.340ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.404ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.338ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.350ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.374ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.341ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.333ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.344ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.325ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.332ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.342ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.463ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.382ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.342ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.031ms
    [2023-Jun-15 11:16:08] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 91 milliseconds with result -102
    [2023-Jun-15 11:16:08] [debug] [ nRFXX] - close
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - is_connected_to_emu
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_IsOpen()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.008ms returns 0x01
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_Lock()
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - close
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - disconnect_from_emu
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_disconnect_from_emu
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - is_connected_to_device
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_IsConnected()
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.006ms returns FALSE
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_is_debug_region_powered
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_read_debug_port_register
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_select_debug_port_register
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.389ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.352ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.339ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.328ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.342ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.378ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.344ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.355ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.538ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.360ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.339ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.359ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.423ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.350ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.343ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.347ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.338ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.443ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.355ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.369ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.408ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.357ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.367ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.373ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.345ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - ---just_abort_debug_action
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection.
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.390ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.334ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.449ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.338ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.348ms returns -1
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_HasError()
    [2023-Jun-15 11:16:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
    [2023-Jun-15 11:16:08] [trace] [ JLink] - - 0.034ms
    [2023-Jun-15 11:16:08] [trace] [ JLink] - JLINK_Close()
    [2023-Jun-15 11:16:08] [trace] [ Client] - Command close executed for 56 milliseconds with result 0
    [2023-Jun-15 11:16:08] [debug] [ Client] - terminate
    [2023-Jun-15 11:16:08] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
    [2023-Jun-15 11:16:08] [debug] [SeggerBackend] - Segger Backend closed.
    [2023-Jun-15 11:16:08] [debug] [ nRFXX] - nRF family DLL closed
    [2023-Jun-15 11:16:08] [trace] [ Worker] - Command close executed for 56 milliseconds with result 0
    [2023-Jun-15 11:16:08] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
    [2023-Jun-15 11:16:08] [trace] [ Worker] - Executed 5 commands for 216 milliseconds
    [2023-Jun-15 11:16:08] [debug] [ Client] - Child process terminated with result 0
    [2023-Jun-15 11:16:08] [trace] [ Client] - Executed 5 commands for 287 milliseconds
    [2023-Jun-15 11:16:08] [debug] [ Client] - terminate

Related