Leontyev Georgiy
Leontyev Georgiy

Reputation: 1315

Arduino OTA Firmware Backup ESP32

It is widely known that you can update firmware over-the-air using <Update.h> functionality: receive blob size over the network, call Update.begin(blob_size), consecutively call Update.write() until its done, then call Update.end(), and restart the board.

But is there a way to do a backup of current firmware binary using WiFi?

Upvotes: 0

Views: 370

Answers (1)

Phil Haigh
Phil Haigh

Reputation: 4591

The short answer is "no", there's no support for dumping the firmware over WiFi.

I've not looked at how WiFi Update is implemented so I'm not saying it can't be done at all - just that you're going to have to implement it yourself. Just like Update, if the sketch doesn't already support it, it is likely not possible at all (so you can't backup from an ESP32 flashed with just any old sketch).

Upvotes: 1

Related Questions