Page 1 of 1

ESP32 Serial Upgrade over SDIO

Posted: Tue Feb 05, 2019 12:14 pm
by vivek.vaghela
Hi,
I have connected esp32 on my XYZ MCU over SDIO interface and I want to serial upgrade ESP32's Firmware.
Is it possible?

Re: ESP32 Serial Upgrade over SDIO

Posted: Tue Feb 05, 2019 12:39 pm
by ESP_igrr
Assuming your ESP32 application can receive some kind of commands from the master over SDIO, you can add several commands for OTA:
- start sending OTA binary
- send one chunk of OTA binary
- end sending OTA binary and perform the update

In the ESP32 application, you can then map these commands to calls to the respective esp_ota_* APIs.