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

nrfjprog -e does not erase nRF9160

I'm currently running nrfjprog version on OSX. Version info below:

nrfjprog --version
nrfjprog version: 10.9.0 
JLinkARM.dll version: 6.70b

When running a nrfjprog -e I expect that the device doesn't do anything afterwards. When monitoring the serial output I still see that the code that was last run is still running despite running nrfjprog -e. I'm using a nRF9160DK to program an external nRF9160 Feather board.

Parents
  • Hi Jared,

    I have had more success using the following routine:
    nrfjprog -r
    nrfjprog -e

    and do a hard reset on both devices. 

    make sure that the 9160DK is not he one targeted. Load a application on the nrf9160Dk that has a blinking led or something  that you can easily see is running on the device. Then when you run the nrfjprog -e you will quickly see that which device is being erased, if it is the DK or the Feather board.

    Latest version of JLinkARM is 6.84 I think so maybe consider updating.

    Regards,
    Jonathan

  • Hey Jonathan

    Thanks or the answer. I actually jumped SB32 on the DK, so there never should be a case when the on-board device is being erased. 

    Curiously, the erase command in the nRF Desktop Programmer App *does* erase the device. So I'm  not sure what the difference is between the CLI and the GUI are but there's something!

    Thanks

    Jared

Reply Children
Related