Hi
I have been working on OTA updates for an ESP32-wroom-32 chip. I have managed to successfully use esp_ota_write to perform the update.
However, the packets may arrive in an arbitrary order, so I have been looking at the esp_ota_write_with_offset function. Using this function I have not been able to perform the OTA, even when they arrive in sequential order. Does anyone have any experience in using esp_ota_write_with_offset? Do I have to perform any padding of some sort to each packet, or at the end of the image?
Link to the API: https://docs.espressif.com/projects/esp ... m/ota.html
OTA with offset
-
- Posts: 188
- Joined: Wed Jan 24, 2018 6:51 am
Re: OTA with offset
Hello,
We have some unit tests that perform OTA updates with API `esp_ota_write_with_offset()`, please refer to https://github.com/espressif/esp-idf/bl ... .c#L61-L77.
It will be good if you could share some test application that fails to perform OTA update with this API.
Thanks.
We have some unit tests that perform OTA updates with API `esp_ota_write_with_offset()`, please refer to https://github.com/espressif/esp-idf/bl ... .c#L61-L77.
It will be good if you could share some test application that fails to perform OTA update with this API.
Thanks.
Mahavir
https://github.com/mahavirj/
https://github.com/mahavirj/
Who is online
Users browsing this forum: No registered users and 251 guests