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

nrfjprog does not work with JLINK EDU

Hi,

I have a JLINK EDU and JLINK LITE and an nRF52 module and am attempting to use nrfjprog to program the device. Both devices are able to erase the chip, but the JLINK EDU is not able to program the device and fails with the following error log:

--------------------------------------------------------------------------------
nrfjprog -f NRF52 --clockspeed 10000 --program testout.hex --reset --log
nrfjprog verion 9.0.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.

The version of nrfjprog and JLINK I am using are as follows:

nrfjprog version: 9.0.0
JLinkARM.dll version: 5.12g

I saw this issue in another thread and it suggested updating to nrfjprog 9.0.0 (I was on 8.5.0 previously) but it has not resolved the issue. Does anyone have suggestions on how to resolve the issue?

Related