The command uses the following structure:
nrfutil device program [<options>] <args>
nrfutil device erase [<options>] <args>
nrfutil device recover [<options>] <args>
nrfutil device reset [<options>] <args>
nrfutil device fw-verify [<options>] <args>
nrfutil device protection-set [<options>] <args>
nrfutil device protection-get [<options>] <args>
nrfutil device fw-info [<options>] <args>
nrfutil device mcu-state-set [<options>] <args>
nrfutil device core-info [<options>] <args>
nrfutil device device-info [<options>] <args>
nrfutil device pinreset-enable [<options>] <args>
nrfutil device read [<options>] <args>
nrfutil device write [<options>] <args>
nrfutil device halt [<options>] <args>
nrfutil device go [<options>] <args>
nrfutil device x-update-debug-probe-firmware [<options>] <args>
nrfutil device dump-to-file [<options>] <args>
nrfutil device cpu-register-read [<options>] <args>
nrfutil device x-boardcontroller-program [<options>] <args>
nrfutil device x-boot-mode-get [<options>] <args>
nrfutil device x-boot-mode-set [<options>] <args>
nrfutil device x-boot-status-get [<options>] <args>
nrfutil device x-ironside-boot-report-read [<options>] <args>
nrfutil device x-adac-discovery [<options>] <args>
nrfutil device x-adac-lcs-change [<options>] <args>
nrfutil device x-provision-nrf54h [<options>] <args>
nrfutil device x-provision-keys [<options>] <args>
nrfutil device x-adac-local-domain-lcs-set [<options>] <args>
nrfutil device x-adac-local-domain-lcs-get [<options>] <args>
nrfutil device x-adac-purge-protect [<options>] <args>
nrfutil device x-suit-dfu [<options>] <args>
nrfutil device x-suit-manifest-info-get [<options>] <args>
nrfutil device x-ssf-sdfw-update [<options>] <args>
nrfutil device x-sdfw-version-get [<options>] <args>
nrfutil device batch-execute [<options>] <args>
nrfutil device x-list-error-codes [<options>] <args>
nrfutil device list [<options>] <args>
nrfutil device help [<options>] <args>
To view the complete list of device operations, run nrfutil device --help. The following table lists the most relevant device operation commands:
| Command | Description |
|---|---|
program |
Program devices with the HEX file provided with the --firmware option. |
erase |
Erase firmware on devices. |
fw-verify |
Check the contents of the supplied HEX file and verify if the contents of the HEX are the same as the firmware on the DK. |
list |
View a list of connected devices and information such as serial numbers, com ports, and traits. |
mcu-state-set |
Set MCU state on devices (either Application or Programming). Specific to the Nordic DFU programming scenario (nRF52840 Dongle). |
protection-get |
Get readback protection status from all connected devices, for each of their cores. |
protection-set |
Enable the readback protection on the connected device in a desired region. See nrfutil device protection-set --help for the list of available regions. |
recover |
Recover a connected device. |
reset |
Reset a connected device. |
Running any of these device operations follows the same pattern: nrfutil device <operation_name>.
For example: nrfutil device program.