-->
Page 3 of 4

Re: wdt reset problem with ESP8266 dev board and Arduino IDE

PostPosted: Mon Aug 03, 2015 11:44 pm
by andornot
Hi:

I have seen a similar error when I tried to access pin numbers that did not correspond to GPIO pins on my NodeMCU (Amica) ESP8266 dev board. Executing this instruction ...

pinMode(6, OUTPUT);

will generate a reset and the following text will be returned to the serial port ...

ets Jan 8 2013,rst cause:4, boot mode:(3,7)

wdt reset
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld


The same result occurs when I try to set pins 7, 8 and 11 as output. Your error message is a bit more involved. I'm running Arduino IDE 1.6.5-r2 (with 32-bit Windows 7) and have the board "NodeMCU 1.0 (ESP-12E Module)" selected. This appears to be a critical selection. I cannot program my device with ANY of the other ESP8266 options offered by the boards manager. To get the "NodeMCU 1.0 (ESP-12E Module)" I had to install an additional boards manager. Under preferences, I put in an additional boards manager URL: http://arduino.esp8266.com/stable/package_esp8266com_index.json and installed it from the boards manager. You can see details of how to set up additional boards here: https://learn.adafruit.com/adafruit-huzzah-esp8266-breakout/using-arduino-ide.

Good luck.

Re: wdt reset problem with ESP8266 dev board and Arduino IDE

PostPosted: Wed Aug 05, 2015 5:39 am
by JvK
As mentioned in another post: the problem is caused by the esp having no time to deal with the WDT (Watch Dog Timer), you can solve is by adding a delay(1) to your programm in the loop or at a point where it waits more than 10 ms, for instance in my programm i have changed while (Serial.read()!='1'); (wait till the user sends a '1') to while (Serial.read()!='1') delay(1); (give delay(1) while the user is not sending a '1') and problem solved

Re: wdt reset problem with ESP8266 dev board and Arduino IDE

PostPosted: Mon Feb 01, 2016 4:30 pm
by Hasse Nielsen
Did you finde a solution?
I have the same board and the same error.

And it does not seem to help adding a delay in the code.
- Shouting at the board have not made any difference either ;)

Re: wdt reset problem with ESP8266 dev board and Arduino IDE

PostPosted: Tue Feb 23, 2016 4:52 pm
by biobier
I had the same issue and found on a blog this hint that helped me:
Add a 100nF capacitor directly across the ESP8266 VCC-Gnd pins.