I am using the following version of nrfjprog on my Windows 10 machine:
nrfjprog version: 10.24.2 external
JLinkARM.dll version: 8.44a
Most of the sub-commands work with nrfjprog ... BUT
when I want to program my nRF52840 board (using the onboard jlink in a NRF54 DK) then I am seeing this error. I don't think it has anything to do with the hardware and is being raised by the nrfjprog command itself. I am able to use JFLASHlite and SES IDE to program the board -- just not able to do so with nrfjprog command.
Here is the offending command and its output (and yes, the HEX file does exist):
>nrfjprog --family NRF52 --progam MyFullApp.hex
ERROR: An invalid argument was provided. Use --help for a list of valid
ERROR: arguments.
NOTE: For additional output, try running again with logging enabled (--log).
NOTE: Any generated log error messages will be displayed.
Any ideas on what is going wrong here?