nrf52833 DK high voltage mode not connecting

Hello,

I am having trouble getting an nrf52833 DK to detect my external nrf52833 in high-voltage mode.

I have 2 Micro-USBs plugged into the DK at J2 and J3 and I have SW9 set to USB.

For SWD, I am using P20. I have VTG, SWDIO, SWDCLK, and GND DETECT connected to the SWD interface on the external board shown in the schematic below.

The external board is using an nrf52833 module, an MS88SF31 made by Minew. The entire schematic is below for reference.

The nrf52833 module U1 VDD is unconnected, the nrf52833 module U1 VDDH is connected to the power circuit which gives about 4.4V, and the nrf52833 module U1 VBUS is directly connected to the USB-C VBUS.

When I turn on the DK, my Windows PC continuously pops up with JLink detected, and then disconnects about every second. Using a multimeter, I saw that VDDH in the external board SWD interface was oscillating between 0 and 5V every second. What's odd is that sometimes when I plug in USB-C, VDDH in the external board gets 1V and the nrf52833 module U1 gets really hot.

I then tried with a new external board. I cut the VBUS wire going into VBUS in the nrf52833 module U1 so that only VDDH was connected to the nrf52833 module U1. This time using a multimeter, I saw that VDDH in the external board SWD interface was held at 4.41V. When I use nrf Connect, I usually get this error:

Unsupported device. The detected device could not be recognized as neither JLink device nor Nordic USB device

But sometimes I get this error:

Failed to load readback protection status: async task failure for id: 328583159625 msg: JLINKARM_DLL_ERROR (Origin: "Error when running nrfdll_device_control_get_protection")

I then try running "nrfjprog --recover" but get this error repeating. I've attached the log file for this output

[2023-Jan-22 21:46:07] [debug] --------------------------------------------------------------------------------
[2023-Jan-22 21:46:07] [debug] nrfjprog --recover --log 
[2023-Jan-22 21:46:07] [debug] nrfjprog version 10.19.0 external
[2023-Jan-22 21:46:07] [debug] --------------------------------------------------------------------------------
[2023-Jan-22 21:46:07] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
[2023-Jan-22 21:46:07] [ info] Library loaded, loading member functions.
[2023-Jan-22 21:46:07] [ info] Member functions succesfully loaded.
[2023-Jan-22 21:46:07] [debug] [ Client] - open
[2023-Jan-22 21:46:07] [debug] [ Client] - start
[2023-Jan-22 21:46:07] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence 4958e0e5-4fef-4fae-98ce-e625a8ca54b6.

[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
[2023-Jan-22 21:46:07] [trace] [ Client] - Command open executed for 38 milliseconds with result 0
[2023-Jan-22 21:46:07] [debug] [  JLink] - Logger sink registered in JLink logger
[2023-Jan-22 21:46:07] [debug] [  nRFXX] - open
[2023-Jan-22 21:46:07] [debug] [  nRFXX] - just_check_family
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - open_dll
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[2023-Jan-22 21:46:07] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
[2023-Jan-22 21:46:07] [ info] [SeggerBackend] - Library loaded, loading member functions.
[2023-Jan-22 21:46:07] [ info] [SeggerBackend] - Member functions succesfully loaded.
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Set batch mode
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - dll_version
[2023-Jan-22 21:46:07] [ info] [SeggerBackend] - Segger dll version 7.80.c loaded.
[2023-Jan-22 21:46:07] [trace] [ Worker] - Command open executed for 4 milliseconds with result 0
[2023-Jan-22 21:46:07] [debug] [ Client] - config
[2023-Jan-22 21:46:07] [trace] [ Client] - Command config executed for 15 milliseconds with result 0
[2023-Jan-22 21:46:07] [debug] [ Client] - enum_emu_snr
[2023-Jan-22 21:46:07] [debug] [  nRFXX] - config
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - enum_emu_snr
[2023-Jan-22 21:46:07] [trace] [ Worker] - Command config executed for 3 milliseconds with result 0
[2023-Jan-22 21:46:07] [debug] [  nRFXX] - enum_emu_con_info
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - enum_emu_con_info
[2023-Jan-22 21:46:07] [trace] [ Client] - Command enum_emu_con_info executed for 15 milliseconds with result 0
[2023-Jan-22 21:46:07] [debug] [ Client] - connect_to_emu_with_snr
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Jan-22 21:46:07] [trace] [ Worker] - Command enum_emu_con_info executed for 2 milliseconds with result 0
[2023-Jan-22 21:46:07] [debug] [  nRFXX] - connect_to_emu_with_snr
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - connect_to_emu_with_snr
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_enum_emu_snr
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_get_num_emus
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_connect_to_emu_with_snr
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_connect_to_emu_without_snr
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Segger logging enabled.
[2023-Jan-22 21:46:07] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39
[2023-Jan-22 21:46:07] [trace] [  JLink] - Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Sep 21 2022 09:57:39
[2023-Jan-22 21:46:07] [trace] [  JLink] - Hardware: V1.00
[2023-Jan-22 21:46:07] [trace] [  JLink] - S/N: 685691738
[2023-Jan-22 21:46:07] [trace] [  JLink] - OEM: SEGGER
[2023-Jan-22 21:46:07] [trace] [  JLink] - Feature(s): RDI, FlashBP, FlashDL, JFlash, GDB
[2023-Jan-22 21:46:07] [trace] [  JLink] - USB speed mode: High speed (480 MBit/s)
[2023-Jan-22 21:46:07] [trace] [  JLink] - TELNET listener socket opened on port 19021
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV WEBSRV_Init(): Starting webserver thread(s)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Failed to put socket into listener state (port 19080)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Failed to put socket into listener state (port 19081)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Failed to put socket into listener state (port 19082)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Failed to put socket into listener state (port 19083)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Failed to put socket into listener state (port 19084)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Failed to put socket into listener state (port 19085)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Failed to put socket into listener state (port 19086)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Failed to put socket into listener state (port 19087)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Failed to put socket into listener state (port 19088)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Failed to put socket into listener state (port 19089)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Failed to put socket into listener state (port 19090)
[2023-Jan-22 21:46:07] [trace] [  JLink] - WEBSRV Webserver running on local port 19091
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 15.408ms returns "O.K."  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_Lock()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_ExecCommand("SetRestartOnClose = 0", ...).   
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.003ms returns 0x01  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_ExecCommand("DisableFlashDL", ...).   
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.003ms returns 0x00  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_ExecCommand("ExcludeFlashCacheRange 0x0-0xFFFFFFFF", ...).   
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.003ms returns 0x00  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_SetHookUnsecureDialog  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_SetHookUnsecureDialog(...)
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.013ms returns 0  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_TIF_Select(JLINKARM_TIF_SWD)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.784ms returns 0x00  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_GetSpeedInfo()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - 10000000 Hz / n, n >= 10
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.019ms  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Connected emulator supports SWD speeds up to 1000kHz
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Requested speed 2000kHz is higher than the emulator max speed of 1000kHz
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_SetSpeed(2000)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.084ms  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_GetSpeed()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.005ms returns 1000  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - SWD speed was reported as 1000kHz after requesting 2000kHz. Check the capabilities of the selected emulator.
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_GetSN()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.006ms returns 685691738  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.006ms  
[2023-Jan-22 21:46:07] [debug] [  nRFXX] - read_device_family
[2023-Jan-22 21:46:07] [debug] [  nRFXX] - read_device_family
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_IsOpen()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.005ms returns 0x01  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_Lock()  
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - read_debug_port_idr
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - read_debug_port_register
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - coresight_configure
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_GetHWStatus(...)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.185ms returns 0  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_Configure()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 100.698ms returns 0  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - read_debug_port_idr
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - read_debug_port_register
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.940ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.840ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.073ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.913ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.982ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.964ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.875ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.030ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.972ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.925ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.833ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.157ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.793ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.115ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.107ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.161ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.121ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.021ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.969ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.996ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.918ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.818ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.803ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.812ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.050ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.780ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.834ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.801ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.826ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.734ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.017ms  
[2023-Jan-22 21:46:07] [trace] [ Worker] - Command connect_to_emu_with_snr executed for 163 milliseconds with result -102
[2023-Jan-22 21:46:07] [trace] [ Client] - Command connect_to_emu_with_snr executed for 172 milliseconds with result -102
[2023-Jan-22 21:46:07] [debug] [  nRFXX] - close
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_IsOpen()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.010ms returns 0x01  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_Lock()  
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - close
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - disconnect_from_emu
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_disconnect_from_emu
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - is_connected_to_device
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_IsConnected()  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.008ms returns FALSE  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_is_debug_region_powered
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_read_debug_port_register
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_select_debug_port_register
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Select AP 255, DP Bank 0, AP Bank 255
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.074ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.045ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.072ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.817ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.066ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.781ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.087ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.033ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.972ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.962ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.815ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 1.044ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Jan-22 21:46:07] [trace] [  JLink] - - 0.816ms returns -1  
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:07] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Jan-22 21:46:07] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Jan-22 21:46:07] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.828ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.797ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.818ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.761ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.779ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.775ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Jan-22 21:46:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.780ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.812ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.818ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.851ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.921ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x02, 0x00000000)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.974ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [debug] [SeggerBackend] - ---just_abort_debug_action
[2023-Jan-22 21:46:08] [debug] [SeggerBackend] - Attempting to clear any configuration errors in debug port before closing connection. 
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.826ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.889ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.770ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.892ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_CORESIGHT_WriteAPDPReg(DP reg 0x00, 0x0000001F)  
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 1.057ms returns -1  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_HasError()  
[2023-Jan-22 21:46:08] [error] [SeggerBackend] - JLinkARM.dll reported "-1", "An unknown error.".
[2023-Jan-22 21:46:08] [trace] [  JLink] - - 0.014ms  
[2023-Jan-22 21:46:08] [trace] [  JLink] - JLINK_Close()  
[2023-Jan-22 21:46:08] [debug] [SeggerBackend] - Segger Backend closed.
[2023-Jan-22 21:46:08] [debug] [  nRFXX] - nRF family DLL closed
[2023-Jan-22 21:46:08] [trace] [ Client] - Command close executed for 75 milliseconds with result 0
[2023-Jan-22 21:46:08] [debug] [ Client] - terminate
[2023-Jan-22 21:46:08] [trace] [ Client] - Command terminate executed for 0 milliseconds with result 0
[2023-Jan-22 21:46:08] [trace] [ Worker] - Command close executed for 59 milliseconds with result 0
[2023-Jan-22 21:46:08] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
[2023-Jan-22 21:46:08] [trace] [ Worker] - Executed 6 commands for 231 milliseconds
[2023-Jan-22 21:46:08] [debug] [ Client] - Worker process exited with code: 0
[2023-Jan-22 21:46:08] [debug] [ Client] - Worker process exited with code: 0
[2023-Jan-22 21:46:08] [debug] [ Client] - Child process terminated with result 0
[2023-Jan-22 21:46:08] [trace] [ Client] - Executed 6 commands for 315 milliseconds
[2023-Jan-22 21:46:08] [debug] [ Client] - terminate
:

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

Parents
  • Hello,

    ''The nrf52833 module U1 VDD is unconnected, the nrf52833 module U1 VDDH is connected to the power circuit which gives about 4.4V, and the nrf52833 module U1 VBUS is directly connected to the USB-C VBUS''

    you can try not to connect VDDH to the power circuit rather trying to power the VDD by 3V while programming. 4.4V is out of range, so it will not work to program between DK and external board.

    The system contains two main supply regulator stages, REG0 and REG1. REG1 regulator stage has the regulator type options of Low-droput regulator (LDO) and Buck regulator (DC/DC). REG0 regulator stage has only the option of Low-dropout regulator (LDO). In High Voltage mode, both regulator stages (REG0 and REG1) are used. The output voltage of REG0 can be configured in register REGOUT0. This output voltage is connected to VDD and is the input voltage to REG1. 

    The external program feature of the DK does only support 3V GPIO voltage. The GPIO voltage on the custom board is the same as the voltage on the VDD pins. The default setting of GPIO voltage for high voltage mode in 1.8V. That's why you should set the GPIO voltage on custom board as same as GPIO voltage level on DK (3V).   

    Try this and let us know the consequence.

    Thanks.

    Best Regards,

    Kazi Afroza Sultana

  • My understanding is that the nrf52833 DK cannot program an external board running in 5V. Instead, on the external board I should supply 3V to VDD and 0V to VDDH.

    I should then be able to program the board using the nrf52833 DK. 

    I can then configure REGOUT0 to 3V so that I can also program the external board in high-voltage mode.

    Alternatively, instead of using a DK I could use a Segger JLink to program an external board running in 5V.


    Experiment:

    I have a second set of external pcbs where VDDH and VDD are connected. All other pins are wired the same as the original schematic above. I used another board to provide 3.3V to the external board that I want to program through its SWD interface power and ground pins. (I could not find anything at the moment to provide exactly 3V). I then connected the nrf52833 DK to the external board SWD interface as well.

    This resulted in the same error as above in nrf Connect:

    Failed to load readback protection status: async task failure for id: 328583159625 msg: JLINKARM_DLL_ERROR (Origin: "Error when running nrfdll_device_control_get_protection")

    Do I need exactly 3V?

    Thank you,

    Austin

  • Hello Austin,

    Your understanding is correct. 

    I have a second set of external pcbs where VDDH and VDD are connected. All other pins are wired the same as the original schematic above. I used another board to provide 3.3V to the external board that I want to program through its SWD interface power and ground pins. (I could not find anything at the moment to provide exactly 3V). I then connected the nrf52833 DK to the external board SWD interface as well.

    This resulted in the same error as above in nrf Connect:

    Failed to load readback protection status: async task failure for id: 328583159625 msg: JLINKARM_DLL_ERROR (Origin: "Error when running nrfdll_device_control_get_protection")

    Do I need exactly 3V?''

    for your second set of PCBs, it is normal voltage mode as VDDH and VDD are connected. You may use a dedicated programmer. Since the programmer on the development kit only supports devices with 3V VDD voltage, so VDD pin on the custom board needs 3V. 

Reply
  • Hello Austin,

    Your understanding is correct. 

    I have a second set of external pcbs where VDDH and VDD are connected. All other pins are wired the same as the original schematic above. I used another board to provide 3.3V to the external board that I want to program through its SWD interface power and ground pins. (I could not find anything at the moment to provide exactly 3V). I then connected the nrf52833 DK to the external board SWD interface as well.

    This resulted in the same error as above in nrf Connect:

    Failed to load readback protection status: async task failure for id: 328583159625 msg: JLINKARM_DLL_ERROR (Origin: "Error when running nrfdll_device_control_get_protection")

    Do I need exactly 3V?''

    for your second set of PCBs, it is normal voltage mode as VDDH and VDD are connected. You may use a dedicated programmer. Since the programmer on the development kit only supports devices with 3V VDD voltage, so VDD pin on the custom board needs 3V. 

Children
No Data
Related