Example sketches for the new Arduino IDE for ESP8266

Moderator: igrr

User avatar
By apeggers
#66956 I doubt anyone will see this since it's been over two years, but if you do, I'm having some issues with this code.

Running the original code this on the Sparkfun ESP8266 Thing, I get a Soft WDT reset and stack trace every time I navigate to the board's IP in my browser. I figured its an issue of the while loop blocking necessary background functions. With a delay or a yield() added to the loop, it doesn't reset, but I receive a blank webpage. Any recommendations for fixing these problems? Thanks!

Console output on reset:
Code: Select allSoft WDT reset

ctx: cont
sp: 3ffefed0 end: 3fff0210 offset: 01b0

>>>stack>>>
3fff0080:  3ffe8c48 00000000 3fff00d0 40205400 
3fff0090:  0000008a 402324b8 00000000 40202a48 
3fff00a0:  00000001 00000001 3fff00d0 40201eec 
3fff00b0:  3ffe8c48 3fff0110 3fff0110 4020394c 
3fff00c0:  00000001 00000001 3fff16c4 402020dd 
3fff00d0:  3ffe84c8 00000000 000003e8 3ffef190 
3fff00e0:  3fff00e8 3fff1eb4 3ffe84c8 00000000 
3fff00f0:  000003e8 3fff0150 3fff0100 3fff1eb4 <
3fff0100:  3ffe84c8 00000000 000003e8 402054ab 
3fff0110:  3ffee7f4 3fff1eb4 000001ac 4010020c 
3fff0120:  00000001 00000001 3fff0150 40205d96 
3fff0130:  00000000 3fffdad0 3fff16c4 40203942 
3fff0140:  3fff16c4 3ffee810 3fff16c4 4020397e 
3fff0150:  00000000 00000000 00000000 4020560c 
3fff0160:  3fff16c4 3ffee810 3ffee7d0 40203a11 
3fff0170:  3fff17c4 0000000f 00000001 40202998 
3fff0180:  3ffee810 00000000 3ffef1f0 00000001 
3fff0190:  00000001 40202f54 0000000f 3ffef1f0 
3fff01a0:  00000000 00000000 3ffee7d0 3ffef1dc 
3fff01b0:  00000001 3ffee7f4 3ffee7d0 40203bf3 
3fff01c0:  3ffe84c8 00000000 000003e8 4020202e 
3fff01d0:  00000000 3fff1eb4 40205da0 40205d8c 
3fff01e0:  3fffdad0 00000000 3ffef1d4 4020204c 
3fff01f0:  3fffdad0 00000000 3ffef1d4 40205bc4 
3fff0200:  feefeffe feefeffe 3ffef1f0 40100718 
<<<stack<<<