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
OTA update question
Re: OTA update question
Well, I thought about that. But I did not enabled CONFIG_BOOTLOADER_APP_ROLLBACK_ENABLE and it is disabled in default settings. Secondly esp_ota_set_boot_partition returns no errors (ESP_OK) so new partition should be valid.
Re: OTA update question
What is the log output when esp32 restarts first time after OTA update?
Who is online
Users browsing this forum: No registered users and 132 guests