Re: OTA erases SPIFFS?
Posted: Mon Aug 13, 2018 12:32 pm
So far my projects using OTA have worked. Now OTA consumes CPU cycles and the OTA handle must be called frequently so watch out for delay(xx) statements and any other code that might be blocking OTA and not giving OTA the cycles it needs. I'm unsure what might happen if the OTA is starved it should just fail or freeze during the upload but potentially your Spiffs is active and it gets impacted. Often you wrap a long delay(xx) as many smaller ones with a call to OTA before each small delay.