Error when burning bootloader on nRF52840 DK

Hello,

When I try to burn bootloader on nRF52840 DK board I get the following error:
JLinkARM DLL reported an error.

OS is Windows, I have nRF connect and Segger downloaded. What can I try to resolve this? New to nRF boards and using embedded boards in general.

Here is the log file:

[2023-Jun-23 13:40:06] [ info] --------------------------------------------------------------------------------
[2023-Jun-23 13:40:06] [ info] nrfjprog --family nRF52 --eraseall --log 
[2023-Jun-23 13:40:06] [ info] nrfjprog version 10.16.0 external
[2023-Jun-23 13:40:06] [ info] --------------------------------------------------------------------------------
[2023-Jun-23 13:40:06] [ info] Load library at C:\Program Files\Nordic Semiconductor\nrf-command-line-tools\bin\nrfjprog.dll.
[2023-Jun-23 13:40:06] [ info] Library loaded, loading member functions.
[2023-Jun-23 13:40:06] [ info] Member functions succesfully loaded.
[2023-Jun-23 13:40:07] [debug] [ Client] - open
[2023-Jun-23 13:40:07] [debug] [ Client] - start
[2023-Jun-23 13:40:07] [ info] [ Client] - stdout: Jlinkarm nRF Worker ready. Handling sequence dc093cee-8793-412a-befe-a836ef6b94be.

[2023-Jun-23 13:40:07] [trace] [ Client] - Command open executed for 128 milliseconds with result 0
[2023-Jun-23 13:40:07] [debug] [ Client] - enum_emu_snr
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - Logger sink registered in Segger backend logger
[2023-Jun-23 13:40:07] [debug] [  JLink] - Logger sink registered in JLink logger
[2023-Jun-23 13:40:07] [debug] [  nRF52] - open
[2023-Jun-23 13:40:07] [debug] [  nRF52] - just_check_family
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - open_dll
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - No J-Link DLL path was provided. Attempting to auto detect.
[2023-Jun-23 13:40:07] [ info] [SeggerBackend] - Load library at C:\Program Files\SEGGER\JLink\JLink_x64.dll.
[2023-Jun-23 13:40:07] [ info] [SeggerBackend] - Library loaded, loading member functions.
[2023-Jun-23 13:40:07] [ info] [SeggerBackend] - Member functions succesfully loaded.
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - dll_version
[2023-Jun-23 13:40:07] [ info] [SeggerBackend] - Segger dll version 7.80.c loaded.
[2023-Jun-23 13:40:07] [trace] [ Worker] - Command open executed for 26 milliseconds with result 0
[2023-Jun-23 13:40:07] [debug] [  nRF52] - enum_emu_con_info
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - enum_emu_con_info
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Jun-23 13:40:07] [trace] [ Worker] - Command enum_emu_con_info executed for 9 milliseconds with result 0
[2023-Jun-23 13:40:07] [trace] [ Client] - Command enum_emu_con_info executed for 20 milliseconds with result 0
[2023-Jun-23 13:40:07] [debug] [  nRF52] - close
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - close
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - disconnect_from_emu
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - is_connected_to_emu
[2023-Jun-23 13:40:07] [debug] [SeggerBackend] - Segger Backend closed.
[2023-Jun-23 13:40:07] [debug] [  nRF52] - nRF family DLL closed
[2023-Jun-23 13:40:07] [trace] [ Client] - Command close executed for 53 milliseconds with result 0
[2023-Jun-23 13:40:07] [debug] [ Client] - terminate
[2023-Jun-23 13:40:07] [trace] [ Worker] - Command close executed for 38 milliseconds with result 0
[2023-Jun-23 13:40:07] [trace] [ Worker] - Command terminate executed for 0 milliseconds with result 0
[2023-Jun-23 13:40:07] [trace] [ Worker] - Executed 4 commands for 73 milliseconds
[2023-Jun-23 13:40:07] [trace] [ Client] - Command terminate executed for 34 milliseconds with result 0
[2023-Jun-23 13:40:07] [debug] [ Client] - Worker process exited with code: 0
[2023-Jun-23 13:40:07] [debug] [ Client] - Worker process exited with code: 0
[2023-Jun-23 13:40:07] [debug] [ Client] - Child process terminated with result 0
[2023-Jun-23 13:40:07] [trace] [ Client] - Executed 4 commands for 235 milliseconds
[2023-Jun-23 13:40:07] [debug] [ Client] - terminate
--------------------------------------------------------------------------------
C:\Users\2livi\AppData\Local\Arduino15\packages\adafruit\tools\nrfjprog\9.4.0/nrfjprog.exe --program C:\Users\2livi\AppData\Local\Arduino15\packages\adafruit\hardware\nrf52\1.3.0/bootloader/pca10056/pca10056_bootloader-0.6.2_s140_6.1.1.hex -f nrf52 --chiperase --reset --log
nrfjprog verion 9.4.0
--------------------------------------------------------------------------------
FUNCTION: open_dll.
FUNCTION: open_dll.
FUNCTION: enum_emu_snr.
FUNCTION: enum_emu_snr.
FUNCTION: enum_emu_snr.
FUNCTION: enum_emu_snr.
FUNCTION: connect_to_emu_with_snr.
FUNCTION: connect_to_emu_with_snr.
FUNCTION: connect_to_emu_without_snr.
FUNCTION: enum_emu_snr.
Device "NRF52832_XXAA" selected.
FUNCTION: read_device_version.
FUNCTION: read_device_version.
JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -1.
JLinkARM.dll CORESIGHT_WriteAPDPReg returned error -102.
FUNCTION: close_dll.
FUNCTION: close_dll.
Parents Reply Children
No Data
Related