My wdt resets, even when running simple sketches - ESP8266-12E

Hi forum,

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

wdt reset load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v8b899c12 ~ld

This is the message my ESP8266-12E keeps printing in the serial monitor over and over again, even when running simple sketches like the "Blink" sketch. And then, sometimes, after printing this for 5 min or so, the sketch starts to work again, even though it didn't work initially.

I know it is the watchdog timer that restarts the chip, but why would it do that when running such a simple sketch? And how come the sketches sometimes work great, and other times just prints this in the serial monitor over and over? Is my ESP broken? am i missing something?

wdt reset means that something the sketch tried to do took long enough that the watchdog timer reset the chip. The esp8266 wdt is always on due to the need to to time-sensitive stuff relating to wifi protocol.

Yes, but what is weird is that even though the sketch only has setup() and loop() in them, the problem still occurs. And even if i run a simple sketch such as "Blink", it still occurs. So i can't see why the wdt would reset the chip.

Hm, yeah, blink should not be doing that - delay() calls yield() while waiting as I understand, so that should keep the ESP happy.

Does Blink without Delay also trigger it?

Using latest version of ESP8266 core?

There is a forum somewhere dedicated to ESP8266 on Arduino - you may well get better results there.

I haven't tried without delay. But the thing is that, sometimes the blink sketch will work perfectly fine, but then when i either reset the chip or unplug and replug the power, it sometimes starts resetting over and over again.

I have pasted that link in the additional boards manager, so im pretty sure it is the latest version