Download partition from ESP32 to local .bin file

jumjum123
Posts: 197
Joined: Mon Oct 17, 2016 3:11 pm

Download partition from ESP32 to local .bin file

Postby jumjum123 » Wed Aug 15, 2018 9:05 pm

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.

User avatar
kolban
Posts: 1683
Joined: Mon Nov 16, 2015 4:43 pm
Location: Texas, USA

Re: Download partition from ESP32 to local .bin file

Postby kolban » Thu Aug 16, 2018 3:40 am

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?
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 26 guests