-->
Page 1 of 1

ESP8266 crashing / re-setting on web page connect

PostPosted: Wed Apr 22, 2020 12:37 pm
by Neddie
Hi all.
My ESP-F Devkit V4 board with an ESP-f module keeps resetting / crashing when a webpage that it's hosting is accessed. Previous projects that were working , now don't. The module connects to the wifi no problem
and all seems ok until you try and access the hosted webpage then it crashes. If I host a basic page is seems to be ok , but anything more complex causes a crash. I've tried 3 modules , same problem. The code that I got from this page used to work , now crashes:
https://circuits4you.com/2018/02/04/esp ... efreshing/

Any ideas?
I thought it may be a configuration issue in the IDE , but I've had no luck resolving it.

This is the error I'm getting from the console:

19:21:46.285 -> Connected to TP-LINK_7F78
19:21:46.285 -> IP address: 192.168.0.101
19:21:46.285 -> HTTP server started
19:22:02.113 -> You called root page
19:22:02.113 ->
19:22:02.113 -> Exception (3):
19:22:02.113 -> epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4023d389 depc=0x00000000
19:22:02.148 ->
19:22:02.148 -> >>>stack>>>
19:22:02.148 ->
19:22:02.148 -> ctx: cont
19:22:02.148 -> sp: 3ffffd00 end: 3fffffc0 offset: 01a0
19:22:02.148 -> 3ffffea0: 74736f00 00000001 3ffef2e4 4020328a
19:22:02.148 -> 3ffffeb0: 3ffffe00 3ffef30c 80000000 40206018
19:22:02.148 -> 3ffffec0: 00000001 4020107c 3ffffef0 4020813e
19:22:02.148 -> 3ffffed0: 00000001 4020107c 3ffef2e4 401000e1
19:22:02.148 -> 3ffffee0: 3ffef2e4 3ffee408 3ffef2e4 40201c7a
19:22:02.148 -> 3ffffef0: 3ffe0000 00000000 80000148 801006cc
19:22:02.182 -> 3fffff00: 3ffef2e4 3ffee408 3ffee3c8 402032de
19:22:02.182 -> 3fffff10: 0000002f 80000000 81fefe00 0000008f
19:22:02.182 -> 3fffff20: 80005054 64ffab9e 4010021c 00004f49
19:22:02.182 -> 3fffff30: 00000001 3ffee408 3ffee3c8 40205100
19:22:02.182 -> 3fffff40: 00000001 00000000 00001388 3ffee580
19:22:02.182 -> 3fffff50: 00000000 3ffef9ec 3ffee3c8 3ffee580
19:22:02.182 -> 3fffff60: 00000001 3ffee3ec 3ffee3c8 40203727
19:22:02.182 -> 3fffff70: 40208558 00000000 00001388 feefeffe
19:22:02.217 -> 3fffff80: 00000000 3ffef9ec 00000001 40100170
19:22:02.217 -> 3fffff90: 3fffdad0 00000000 3ffee540 402037c8
19:22:02.217 -> 3fffffa0: 3fffdad0 00000000 3ffee540 402068b8
19:22:02.217 -> 3fffffb0: feefeffe feefeffe 3ffe84f4 40100c19
19:22:02.217 -> <<<stack<<<
19:22:02.217 ->
19:22:02.217 -> ets Jan 8 2013,rst cause:2, boot mode:(3,6)
19:22:02.217 ->
19:22:02.217 -> load 0x4010f000, len 1392, room 16
19:22:02.251 -> tail 0
19:22:02.251 -> chksum 0xd0
19:22:02.251 -> csum 0xd0
19:22:02.251 -> v3d128e5c
19:22:02.251 -> ~ld
19:22:02.355 ->
19:22:02.901 -> .......
19:22:06.682 -> Connected to TP-LINK_7F78
19:22:06.682 -> IP address: 192.168.0.101
19:22:06.716 -> HTTP server started


Cheers
Neddie

Re: ESP8266 crashing / re-setting on web page connect

PostPosted: Mon Apr 27, 2020 2:33 am
by Neddie
Hi all.
Managed to resolve the issue.
When I reverted the software in the board manager to "ESP8266 community 2.6.1" from 2.6.3 the problem goes away. 2.6.2 and 2.6.3 both crash , so there must be some issue with these libraries.
Cheers
Neddie

Re: ESP8266 crashing / re-setting on web page connect

PostPosted: Thu Feb 18, 2021 8:11 pm
by zugget
I have the same issue.. When I roll back the board to version 2.6.0 the code works.. Anything higher and no go.. The little guy crashed when pulling a web request.