Skip to content

Commit 1da672b

Browse files
authored
Update README.md
Adding nvs related stuff
1 parent 03602a1 commit 1da672b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ There are three actions:
77
- **show_partitions** - will display all of the partitions found in an image file.
88
- **dump_partition** - will dump the raw bytes of a specified partition into a file.
99
- **create_elf** - reconstruct an ELF file from an 'app' partition (e.g. ota_0).
10+
- **dump_nvs** - will parse a specified NVS partition and dump its contents.
1011

1112
# Setup
1213
`pip install -r requirements.txt`
@@ -28,3 +29,11 @@ Dumps to ble_data.dump
2829
Converts ota_0 partition into ELF. Writes to ota_0.elf
2930

3031
`$ python3 esp32_image_parser.py create_elf espwroom32.bin -partition ota_0 -output ota_0.elf`
32+
33+
## Dump a specific NVS partition
34+
Dumps the nvs partition
35+
36+
`$ python3 esp32_image_parser.py dump_nvs esp32_flashdump.bin -partition nvs`
37+
38+
Dumps the nvs partition as a JSON
39+
`$ python3 esp32_image_parser.py dump_nvs flashdump/esp32_flashdump.bin -partition nvs -nvs_output_type json`

0 commit comments

Comments
 (0)