Page 1 of 1

Download partition from ESP32 to local .bin file

Posted: Wed Aug 15, 2018 9:05 pm
by jumjum123
ESPFlashDownload is used to download a local file to ESP32.
I'm looking for the other direction, I need to download a data partition from ESP32 to a local .bin file
The .bin file, ceated this way will be downloaded to other ESP32, or to the same ESP32 after erasing flash.

Re: Download partition from ESP32 to local .bin file

Posted: Thu Aug 16, 2018 3:40 am
by kolban
I'm not familiar with "ESPFlashDownload". Is that similar to esptool?

Using esptool we can retrieve data from ESP32 flash.

For example

esptool read_flash {address} {size} {targetFile}

will retrieve data from a serial connected ESP32 at offset address for size bytes and write it to the given file. Is this what you are perhaps looking for?