To program Nordic Semiconductor SoCs through SEGGER J-Link programmers and debuggers, use the nrfjprog executable.
To set up a standard configuration for using the
nrfjprog utility, use the initialization file
nrfjprog.ini (as listed in the nRF Command Line Tools file structure). The currently supported configuration parameters are Family
and Clockspeed
. For example, by setting Family =
NRF51
, the family NRF51
will be chosen when calling
nrjprog without providing the --family
option. By default, if called without the --family
option,
nrfjprog uses UNKNOWN and detects the target family
automatically.
nrfjprog -f NRF52 --program file.hex –-chiperase