AlertMe icon indicating copy to clipboard operation
AlertMe copied to clipboard

Constant resets after second upload.

Open chadmeby opened this issue 7 years ago • 1 comments

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:

chadmeby avatar Dec 23 '17 15:12 chadmeby

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.

fredringwald avatar Feb 27 '18 20:02 fredringwald