-->
Page 2 of 3

Re: Examples don't work

PostPosted: Fri Apr 03, 2015 3:19 am
by gerardwr
Ovaltineo wrote:Has anyone got WifiClient and WifWebServer examples working? I can compile and upload them but the ESP crashes/locks up during startup.


Yes, the examples are working OK here, so the crashing is probably caused by the ESP.

Are you sure that the power supply to the ESP is OK. Programming does not require a lot of power, but when the ESP connects to Wifi it consumes a lot of power.

Powering from an USB-serial adapter causes many troubles, better use a separate 3.3V power supply. Or 2 AA batteries.

Re: Examples don't work

PostPosted: Fri Apr 03, 2015 6:13 pm
by Ovaltineo
Thanks. You are exactly right! I don't know why HelloServer works with built-in FTDI power, but WifiClient and WifiWebServer needs external power -- the Wifi library is probably more complicated and uses more CPU power.

Re: Examples don't work

PostPosted: Sat Apr 04, 2015 3:46 pm
by Ovaltineo
OK, so I hook up a 3A 3.3V supply and got WifiClient working. But the ESP reboots with a WDT timer reset at least once every 3 minutes. Is this a bug in the SDK?

Re: Examples don't work

PostPosted: Sat Apr 04, 2015 6:00 pm
by Ovaltineo
Hmm, it may not be a WDT reset. Here's what I get:

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

wdt reset
load 0x40100000, len 30000, room 16
tail 0
chksum 0x7f
load 0x3ffe8000, len 2556, room 8
tail 4
chksum 0x07
load 0x3ffe8a00, len 2476, room 4
tail 8
chksum 0x1a
csum 0x1a
r