OTA begin / flash erase status check

nagygabor93
Posts: 1
Joined: Tue Mar 12, 2024 6:13 pm

OTA begin / flash erase status check

Postby nagygabor93 » Tue Mar 12, 2024 6:16 pm

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?

chegewara
Posts: 2240
Joined: Wed Jun 14, 2017 9:00 pm

Re: OTA begin / flash erase status check

Postby chegewara » Thu Mar 14, 2024 2:04 am

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.

Who is online

Users browsing this forum: No registered users and 138 guests