I have an old version of nRFgo Studio and nrfjprog installed on my computer (version 5.2.0.45231). I use nrfjprog from command line to flash my devices (easier than clicking around in nRFgo Studio when flashing many in a row).
Now I have a new computer that I want to be able to use to flash my nRF51822 devices. I downloaded nRFgo Studio from the website, installed and tried to run my usual nrfjprog command. It didn't work. The version I got when downloading from the website was 7. something.
The command I tried to run was:
nrfjprog --snr <jlink_serial> --rbp ALL -e --program <softdevice_path> <application_path> --verify -r
The error message I got was something about "undefined command, run --help to....."
Then I tried to use mergehex to merge my softdevice and application to one .hex-file, and rerun the command above with just one path. Then I got another error message about combining commands that cannot be combined.
I can tell that the available commands are different when comparing the versions.
How do I adapt my command to the new version of nrfjprog? What have you changed and why?
Thanks!