Page 1 of 1

OTA begin / flash erase status check

Posted: Tue Mar 12, 2024 6:16 pm
by nagygabor93
I am currently implementing a firmware which have strict timing requirements to answering flash erase commands and on the fw update in general.

I am using the OTA API, and the esp_ota_begin takes up to 5-8 secs to finish, and blocks. Is there a way to check the status on the erase?

Re: OTA begin / flash erase status check

Posted: Thu Mar 14, 2024 2:04 am
by chegewara
As far as i know there is no such option, but you can choose to not erase entire partition on ota begin, just block after block during flashing (iirc). That should speed up ota start, but will slow down entire ota process.