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,

    It's possible that nRF Connect for Desktop is using a different j-link driver than the command-line shell. So updating the JLINK driver is my first recommendation too.

    Because the nRF Connect for Desktop programs the device, it can be assumed that the device selection switch (SW5) is in the correct position. However, when using the nRF9160-DK is a good idea to use the "family" flag to ensure the program is communication to the nRF9160 and not the nrf52 For example, >nrfjprog -f NFR91 -e

    Cheers,

    Jeff

  • Thanks for the suggestion Jeff.

    Unfortunately, even after an upgrade, it's still exhibiting the same issue:

    nrfjprog --version
    nrfjprog version: 10.9.0 
    JLinkARM.dll version: 6.84a

    My best guess it's something to do with nrfjprog not the JLink library.

    Jared

Reply Children
Related