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
  • When I run JLink Commander I get

    SEGGER J-Link Commander V6.12a (Compiled Dec  2 2016 16:44:55)
    DLL version V6.12a, compiled Dec  2 2016 16:44:26
    
    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: 683083406
    VTref = 3.300V
    
    
    Type "connect" to establish a target connection, '?' for help
    J-Link>
    

    When I tried to flash with nRF5x-OB-JLink-IF I received the same FAIL.TXT file from earlier. "Error While Connecting to CPU"

Reply
  • When I run JLink Commander I get

    SEGGER J-Link Commander V6.12a (Compiled Dec  2 2016 16:44:55)
    DLL version V6.12a, compiled Dec  2 2016 16:44:26
    
    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: 683083406
    VTref = 3.300V
    
    
    Type "connect" to establish a target connection, '?' for help
    J-Link>
    

    When I tried to flash with nRF5x-OB-JLink-IF I received the same FAIL.TXT file from earlier. "Error While Connecting to CPU"

Children
No Data
Related