Open chadmeby opened 6 years ago
I had the same issue. When I installed ESP8266FS from:
https://github.com/esp8266/arduino-esp8266fs-plugin
and overwrote my ESP8266 SPIFFS, I was then able to re-upload my AlertMe sketch and start over with the configuration of AlertMe. Apparently there is something about the way that AlertMe writes data to the SPIFFS that causes this reset loop which seems to make the ESP8266 unusable in some circumstances.
Arduino IDE 1.8.4 on a Wemos D1 R2
Library compiles and works as expected, configuration via 'AlertMe Configuration' AP with scanning is smooth (and is a fantastic feature!) and I am receiving the emails/texts just fine. The issue comes if I modify the Arduino sketch and re-upload...this causes the board to go into a (seemingly) endless cycle of resets. Power cycling doesn't fix it, nor does uploading the example sketch, nor does shorting the config_pin (which I defined as D6 on the Wemos).
What does reliably work is to upload an empty SPIFFS image and then re-upload the sketch.
Once things go pear-shaped, this is what I see in the serial monitor:
(lather, rinse, repeat)
I will have a different ESP8266 board soon to test against. I'll let you know if it produces different results.