Here are various ways to use the dump-to-file command:
-
Dump the code and UICR regions to a single file:
nrfutil device dump-to-file --code --uicr firmware_dump.hex -
Dump FICR and UICR regions to files for multiple devices:
nrfutil device dump-to-file --ficr --uicr --template dump_{sn}.hex --serial-number 1050244662,1057712957 -
Dump code, UICR, and FICR regions to a single file (one device at a time):
nrfutil device dump-to-file --code --uicr --ficr dump.hex -
Create a full memory snapshot including RAM, code, and configuration registers:
nrfutil device dump-to-file --code --uicr --ram --ficr full_memory_dump.hex -
Dump memory that belongs to a specific core on a multi-core device:
nrfutil device dump-to-file --code --core Network network_core_dump.hex -
Dump OICR for inspection, for example before or after programming OTP with
device otp-write:nrfutil device dump-to-file --oicr oicr_dump.hex --serial-number <serial_number>