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

nrfjprog: cannot combine --reset with --program?

I am following the Makefile provided by Nordic, but using --reset with --program seems to fail:

>nrfjprog --reset --program _build/nrf51422_xxac_s110.hex
ERROR: Two arguments were provided that cannot be combined. Use --help to read
ERROR: about the valid argument combinations.

But the example Makefile does combine the two options.

Here's the tool version I am using:

>nrfjprog --version
nrfjprog version: 7.5.1
JLinkARM.dll version: 4.98c

I am using the nRF51 SDK version 8.1.0 on Windows 8 and am using the nRF-DK.

What am I doing wrong?

Thanks

UPDATE:

I was not able to solve the problem, so I side-stepped it by installing Segger j-link on Windows. Works great. But the problem above persists, so I'll leave this question open.

Related