Flashing NVS partition .bin file into esp32 device using JTAG.
Posted: Wed Jan 04, 2023 1:06 pm
Hello everyone,
for my application I would like to flash a costumized NVS partition table inside my esp32 device. The way I do this is I first create a csv file containing the required namespaces and data for my application.
I then proceed to use the nvs_partition_gen.py script that espressif provides to convert this csv file into a bootable .bin file.
Afterwards, I use parttool.py (which in itself calls esp_tool.py) to flash the nvs.bin file to the esp32 via UART:
parttool.py --port COM1 write_partition --partition-name=nvs --input "nvs.bin"
Is there a way to recreate this steps using only a jtag tool (ESP_PROG, Jlink...) without needing to use the rx/tx terminals of the esp32?
Best regards
Carlos
for my application I would like to flash a costumized NVS partition table inside my esp32 device. The way I do this is I first create a csv file containing the required namespaces and data for my application.
I then proceed to use the nvs_partition_gen.py script that espressif provides to convert this csv file into a bootable .bin file.
Afterwards, I use parttool.py (which in itself calls esp_tool.py) to flash the nvs.bin file to the esp32 via UART:
parttool.py --port COM1 write_partition --partition-name=nvs --input "nvs.bin"
Is there a way to recreate this steps using only a jtag tool (ESP_PROG, Jlink...) without needing to use the rx/tx terminals of the esp32?
Best regards
Carlos