This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Writing issue on board nRF52840

Hi,

I am trying to use nRF52840 boards but I am not able to write on them using JLinkExe nor nrfjprog. However, when drag-and-drop-ing a built example application, it works perfectly on the board. Running nrfjprog -i works fine as well, I just have issues when it comes to writing on the board.

I work on Ubuntu 16.04.

Here are the logs from JLinkExe and nrfjprog:


$ JLinkExe
SEGGER J-Link Commander V6.32a (Compiled Apr 30 2018 15:46:56)
DLL version V6.32a, compiled Apr 30 2018 15:46:51

Connecting to J-Link via USB...Updating firmware:  J-Link OB-SAM3U128-V2-NordicSemi compiled Jan 12 2018 16:05:20
Replacing firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Mar  2 2017 12:22:13
FAILED: Communication timed out - Can not execute firmware update


$ nrfjprog --family nRF52 -e --log
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.


The log.log file:
--------------------------------------------------------------------------------
nrfjprog --family nRF52 -e --log
nrfjprog verion 9.7.2
--------------------------------------------------------------------------------
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.
JLinkARM.dll OpenEx returned error 'Cannot connect to J-Link via USB.'.
FUNCTION: close_dll.
FUNCTION: close_dll.



Does anyone have any advice to resolve that issue?

Thanks

Related