I would like to use OTA in some of my less accessible esp's. I am using the examples/BasicOTA and BasicOTA_test. My esp is a -01 model with 1Mb of flash.
I upload the BasicOTA to my esp through the COM port, then upload the BasicOTA_test over WiFi. Everything appears to go OK, but the test sketch doesn't run until I press reset on the esp.
If I upload BasicOTA over the com port then upload a simple blink sketch over WiFi without the OTA code, it uploads fine then runs without a reset. But then, I can't upload over WiFi anymore.
If I have to hit reset every time I upload a new sketch that contains the OTA code, then why bother?
Tips would be appreciated.