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
Flashing NVS partition .bin file into esp32 device using JTAG.
-
- Posts: 9746
- Joined: Thu Nov 26, 2015 4:08 am
Re: Flashing NVS partition .bin file into esp32 device using JTAG.
You could likely do it using OpenOCD, but you'd need to specify the offset in flash you're writing to rather than the partition name.
Re: Flashing NVS partition .bin file into esp32 device using JTAG.
Thank you! I am sorry if I am bumping my posts, I am quite new to development and it is hard to formulate good questions sometimes.ESP_Sprite wrote: ↑Wed Mar 01, 2023 12:42 amYou could likely do it using OpenOCD, but you'd need to specify the offset in flash you're writing to rather than the partition name.
Who is online
Users browsing this forum: Baidu [Spider] and 77 guests