I have a problem after uploading a sketch (any sketch from the Home Automation with ESP8266 course, like the first one with blinking LED) to my Wemos D1 mini: after successfully uploading the sketch, the device keeps resetting itself. The serial monitor shows:
12:12:23.063 -> ets Jan 8 2013,rst cause:4, boot mode:(3,6)
12:12:23.063 -> wdt reset
12:12:23.063 -> load 0x4010f000, len 1392, room 16
12:12:23.063 -> tail 0
12:12:23.063 -> chksum 0xd0
12:12:23.063 -> csum 0xd0
12:12:23.063 -> v3d128e5c
12:12:23.063 -> ~ld
I have tried uploading some other sketches, even one with empty setup and loop routines, but the result is always the same.
What can this be?
I solved this myself. It seems the board settings in the Arduino IDE were wrong. I had set the board to LOLIN (WEMOS) D1 R2 & mini and that had to be LOLIN (WEMOS) D1 mini.
At first, this did not seem to help, but next, I set the Erase Flash settings to ‘All Flash Content’ and re-uploaded. Then it worked.
Maybe that’s something to include in a ‘resolving errors’ section of the ESP8266 course?