OTA update question
Posted: Tue Nov 19, 2019 12:51 pm
Hi,
I have a problem with OTA update. I have two ESP32 devices. One is connected to internet via ethernet and another is connected to the first one via serial. When I try to use native https ota (esp_https_ota) on first device (ethernet), it ends succesfully, but then it boots old partition. I check every error.
On the other hand when I download new firmware and send it over UART to second devices, where I manualy (native in documentation) use OTA (esp_ota_begin, esp_ota_write, esp_ota_end, esp_ota_set_boot_partition). It works.
Could anyone point me out, where could be problem? I went through code for esp_https_ota and I think it's very similar code to my manual (native) code, so I can't understand, why it doesn't work. Both devices runs same ESP-IDF version.
Thank you
I have a problem with OTA update. I have two ESP32 devices. One is connected to internet via ethernet and another is connected to the first one via serial. When I try to use native https ota (esp_https_ota) on first device (ethernet), it ends succesfully, but then it boots old partition. I check every error.
On the other hand when I download new firmware and send it over UART to second devices, where I manualy (native in documentation) use OTA (esp_ota_begin, esp_ota_write, esp_ota_end, esp_ota_set_boot_partition). It works.
Could anyone point me out, where could be problem? I went through code for esp_https_ota and I think it's very similar code to my manual (native) code, so I can't understand, why it doesn't work. Both devices runs same ESP-IDF version.
Thank you