-
Learn the address range for your settings partition:
$ grep -A2 settings_storage build/partitions.yml settings_storage: address: 0xfc000 end_address: 0x100000
-
nrfjprog --readcode flash.hex
-
hex2bin.py -r 0xfc000:0xfffff flash.hex nvs.bin
(hex2bin.py
is part of the Python'sintelhex
package)