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 -
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