Basic examples

nRF Util

tags
nRF Util

The typical workflow is to append one or more operations to a batch file, then execute the file on the selected device or devices.

  • Append an erase operation to a batch file:
nrfutil device erase --append-batch batchfile.json
  • Append a reset operation to the same batch file:
nrfutil device reset --append-batch batchfile.json
  • Execute all appended operations:
nrfutil device batch-execute --batch-file batchfile.json
  • Execute operations on a specific device:
nrfutil device batch-execute --batch-file batchfile.json --serial-number 1050244662