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.

Parents
  • Ok. What J-Link version are you using? You can check with nrfjprog -v

    Have you tried connecting with J-Link Commander? Does it say something like:

    Connecting to J-Link via USB...O.K.
    Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Nov 14 2016 16:58:29
    Hardware version: V1.00
    S/N: 683379432
    VTref = 3.300V
    

    Also try to reflash the J-Link with nRF5x-OB-JLink-IF found here (drag and drop into removable drive)

Reply
  • Ok. What J-Link version are you using? You can check with nrfjprog -v

    Have you tried connecting with J-Link Commander? Does it say something like:

    Connecting to J-Link via USB...O.K.
    Firmware: J-Link OB-SAM3U128-V2-NordicSemi compiled Nov 14 2016 16:58:29
    Hardware version: V1.00
    S/N: 683379432
    VTref = 3.300V
    

    Also try to reflash the J-Link with nRF5x-OB-JLink-IF found here (drag and drop into removable drive)

Children
No Data
Related