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

Unable to program NRF52840 PDK

I just received my new NRF52480 PDK, but it will not respond to any commands.

I tried nrfjprog -e -f nrf52 and this is the log output:

--------------------------------------------------------------------------------
C:\Program Files (x86)\Nordic Semiconductor\nrf5x\bin\nrfjprog.exe -e -f nrf52 --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.

The device does show up as JLINK (removable drive) but when I try to flash a .hex file by dropping it in the directory, I see a text file called 'FAIL.TXT' and says:

Error while connecting to CPU

The last thing I tried was to use NRFgo Studio, but when I try to select the segger device there, the device resets and does not open the dialog box to erase\program the device.

Related