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

programming nRF91 from command line

I am working with nRFConnect and the nRF91-DK on MacOS Catalina.

After updating the command line tools I was able to program using the GUI

But now I want to write this into my scripts.

So I tried 

  nrfjprog --version

  nrfjprog version: 8.4.0

  JLinkARM.dll version: 6.86f

then 

  nrfjprog -f nrf91 --eraseall

  ERROR: Argument provided has a wrong value. Memory access not aligned, value

  ERROR: outside of range or similar.

then (in case that makes a difference)

  nrfjprog --program build/zephyr/merged.hex --sectorerase -r -f nrf91 --verify

  same error

Do I need a different version of nrfjprog?

Related