This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Cannot flash nrf52 dk from different batch

Hi.

We just received few new nrf52 boards. They are same PCA10040 v1.1.0 as previous ones, but these have date of 2016.21 stamped on them instead of 2016.09. Problem is that I cannot flash these new ones with nrfjprog. The flashing starts but never completes. Drag&drop doesn't seem to flash it either, however I haven't tried the drag&drop method before with softdevice, so might be user error. But anyways we need to get the command line flashing working.

I'm using SDK v11 and s132 softdevice.

    • What version of nrfjprog are you using?
    • What OS and version are you using?
    • How far do the programming go, i.e. what output do you get from nrfjprog?
    • Can you try programming the board from nRFgo Studio and/or Keil as well?
    • nrfjprog --version: nrfjprog version: 8.3.0 JLinkARM.dll version: 5.10u

    • I'm using Ubuntu 14.04

    -Programming output: make flash Linking target: nrf52832_xxaa_s132.out make[1]: Entering directory `/home/matti/Tools/nRF52_SDK_0.9.2_dbc28c9/nRF52_sensor' Preparing: nrf52832_xxaa_s132.bin Preparing: nrf52832_xxaa_s132.hex

    text	   data	    bss	    dec	    hex	filename
    46644	    188	   3612	  50444	   c50c	_build/nrf52832_xxaa_s132.out
    
    make[1]: Leaving directory `/home/matti/Tools/nRF52_SDK_0.9.2_dbc28c9/nRF52_sensor'
    Flashing: _build/nrf52832_xxaa_s132.hex
    nrfjprog --program _build/nrf52832_xxaa_s132.hex -f nrf52  --sectorerase
    

    ^Cmake: *** [flash] Interrupt <-- This is me killing the flashing.

    Same thing with softdevice and application flash.

    Unfortunately I have linux only system here and we do not have Keil setup either.

  • And as I said, I can flash both samples of my older 2016.9 -version just fine. I've now tried 3 boards from the 2016.21 and none of them seem to work with nrfjprog.

  • Uh, and please ignore the old SDK0.9.2 folder in the path. I originally started with that SDK and workarea just stuck to that folder. We are using nRF5_SDK_11.0.0_89a8197.

  • Can you try with the latest version of nrfjprog (part of nRF5x-Command-Line-Tools-Linux32 or 64 found on the nRF52 DK downloads page.) There has been some relevant bugfixes lately.

Related