[GH-ISSUE #173] disconnect problem #138

Closed
opened 2026-02-28 01:23:38 +03:00 by kerem · 0 comments
Owner

Originally created by @unme11 on GitHub (May 19, 2016).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/173

Hi,
I have wrote some code for my esp8266-12 and it worked fine. But i had to change my windows. After windows installation I downloaded and completed arduino setup and I complied and upload my previous sketch but it doesnt work. I got this error from serial debugging when WiFi.disconnect() going to run in setupAP function.
Exception (3):
epc1=0x40100255 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4001306e depc=0x00000000

ctx: cont
sp: 3fff0150 end: 3fff0570 offset: 01a0

stack>>>
3fff02f0: 3ffef460 00000000 00000000 4010020c
3fff0300: 00000484 402336a0 0000007e 4010068c
3fff0310: 40105832 3fff1274 0000007e 40106f84
3fff0320: 4021dbbe 0000007e 402336a0 4021dbdb
3fff0330: 3fff05bc 4021dc41 3fff1274 0000007f
3fff0340: 0000007d 3fff03f0 3fff1274 0000007d
3fff0350: ffffff01 55aa55aa 0000002b 0000001c
3fff0360: 0000001c 00000062 00000060 0000007f
3fff0370: 4021e030 3fff1274 3fff1274 000000ff
3fff0380: 00000001 3fff0410 4021e18b 00000008
3fff0390: 3fff1274 000000ff 3fff03f0 00000000
3fff03a0: 3fff1334 3fff0451 00000001 4021e218
3fff03b0: 3fff03f0 3fff1274 3ffef32c 00000063
3fff03c0: 3fff0410 3fff75ac 3fff1274 3ffef32c
3fff03d0: 4021e254 3ffef32c 00000000 3ffef484
3fff03e0: 402035e0 0000000a 3ffef484 40205729
3fff03f0: 3fff0400 feefeffe feefeffe feefeffe
3fff0400: 3ffef460 00000191 3fff042e 40205865
3fff0410: 00000000 3fff04bc 3fff04bc 3ffef460
3fff0420: 00000010 3fff04b0 00000000 3010053d
3fff0430: 00000000 00000001 3ffe8751 40206514
3fff0440: 4021d8ae 00000001 3ffef388 3ffef32c
3fff0450: 402033bf 0000001d 3ffef484 40205729
3fff0460: 3ffe8750 3ffef388 3ffef32c 40202c66
3fff0470: 3ffe8410 00000063 3ffef484 40205754
3fff0480: 3ffef32c 3ffef484 3ffef484 402057a0
3fff0490: 00000063 3ffef484 00000000 00000063
3fff04a0: 00000063 3ffef388 3ffef32c 40203043
3fff04b0: 3ffe8b90 00000000 00000000 3fff125c
3fff04c0: 0000000f 00000007 3fff1244 0000000f
3fff04d0: 00000003 3fff11ec 0000004f 00000040
3fff04e0: 3fff11b4 0000002f 00000020 3ffe8b90
3fff04f0: 00000000 3ffe8b90 00ffffff 3ffe8b90
3fff0500: 0101a8c0 3ffe8b90 0001a8c0 3ffe8b90
3fff0510: 00ffffff 3ffe8b90 0101a8c0 3ffe8b90
3fff0520: 0001a8c0 feefeffe feefeffe feefeffe
3fff0530: 00000060 feefeffe feefeffe feefeffe
3fff0540: feefeffe feefeffe feefeffe 3ffef540
3fff0550: 3fffdad0 00000000 3ffef539 40206194
3fff0560: feefeffe feefeffe 3ffef550 40100718
<<<stack<<<

and its exeption decoder

Decoding 28 results
0x40100255: umm_free at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266\umm_malloc/umm_malloc.c line 1298
0x4010020c: umm_free at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266\umm_malloc/umm_malloc.c line 1285
0x402336a0: sleep_reset_analog_rtcreg_8266 at ?? line ?
0x4010068c: free at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266\umm_malloc/umm_malloc.c line 1731
0x40105832: spi_flash_read at ?? line ?
0x40106f84: vPortFree at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/heap.c line 18
0x4021dbbe: wifi_param_save_protect_with_check at ?? line ?
0x402336a0: sleep_reset_analog_rtcreg_8266 at ?? line ?
0x4021dbdb: wifi_param_save_protect_with_check at ?? line ?
0x4021dc41: system_param_save_with_protect at ?? line ?
0x4021e030: wifi_station_ap_number_set at ?? line ?
0x4021e18b: wifi_station_ap_number_set at ?? line ?
0x4021e218: wifi_station_ap_number_set at ?? line ?
0x4021e254: wifi_station_set_config at ?? line ?
0x402035e0: ESP8266WiFiSTAClass::disconnect(bool) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.cpp line 432
0x40205729: Print::write(char const
) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76
0x40205865: Print::printNumber(unsigned long, unsigned char) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76
0x40206514: Print::write(unsigned char const
, unsigned int) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76
0x4021d8ae: wifi_get_opmode at ?? line ?
0x402033bf: ESP8266WiFiGenericClass::mode(WiFiMode) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.cpp line 80
0x40205729: Print::write(char const_) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76
0x40202c66: setupAP() at E:\arduino\sketch_may19a/sketch_may19a.ino line 198
0x40205754: Print::println() at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76
0x402057a0: Print::println(char const_) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76
0x40203043: setup at E:\arduino\sketch_may19a/sketch_may19a.ino line 125
0x40206194: loop_wrapper at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/core_esp8266_main.cpp line 43
0x40100718: cont_norm at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/cont.S line 109

a.txt

Originally created by @unme11 on GitHub (May 19, 2016). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/173 Hi, I have wrote some code for my esp8266-12 and it worked fine. But i had to change my windows. After windows installation I downloaded and completed arduino setup and I complied and upload my previous sketch but it doesnt work. I got this error from serial debugging when WiFi.disconnect() going to run in setupAP function. Exception (3): epc1=0x40100255 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4001306e depc=0x00000000 ctx: cont sp: 3fff0150 end: 3fff0570 offset: 01a0 > > > stack>>> > > > 3fff02f0: 3ffef460 00000000 00000000 4010020c > > > 3fff0300: 00000484 402336a0 0000007e 4010068c > > > 3fff0310: 40105832 3fff1274 0000007e 40106f84 > > > 3fff0320: 4021dbbe 0000007e 402336a0 4021dbdb > > > 3fff0330: 3fff05bc 4021dc41 3fff1274 0000007f > > > 3fff0340: 0000007d 3fff03f0 3fff1274 0000007d > > > 3fff0350: ffffff01 55aa55aa 0000002b 0000001c > > > 3fff0360: 0000001c 00000062 00000060 0000007f > > > 3fff0370: 4021e030 3fff1274 3fff1274 000000ff > > > 3fff0380: 00000001 3fff0410 4021e18b 00000008 > > > 3fff0390: 3fff1274 000000ff 3fff03f0 00000000 > > > 3fff03a0: 3fff1334 3fff0451 00000001 4021e218 > > > 3fff03b0: 3fff03f0 3fff1274 3ffef32c 00000063 > > > 3fff03c0: 3fff0410 3fff75ac 3fff1274 3ffef32c > > > 3fff03d0: 4021e254 3ffef32c 00000000 3ffef484 > > > 3fff03e0: 402035e0 0000000a 3ffef484 40205729 > > > 3fff03f0: 3fff0400 feefeffe feefeffe feefeffe > > > 3fff0400: 3ffef460 00000191 3fff042e 40205865 > > > 3fff0410: 00000000 3fff04bc 3fff04bc 3ffef460 > > > 3fff0420: 00000010 3fff04b0 00000000 3010053d > > > 3fff0430: 00000000 00000001 3ffe8751 40206514 > > > 3fff0440: 4021d8ae 00000001 3ffef388 3ffef32c > > > 3fff0450: 402033bf 0000001d 3ffef484 40205729 > > > 3fff0460: 3ffe8750 3ffef388 3ffef32c 40202c66 > > > 3fff0470: 3ffe8410 00000063 3ffef484 40205754 > > > 3fff0480: 3ffef32c 3ffef484 3ffef484 402057a0 > > > 3fff0490: 00000063 3ffef484 00000000 00000063 > > > 3fff04a0: 00000063 3ffef388 3ffef32c 40203043 > > > 3fff04b0: 3ffe8b90 00000000 00000000 3fff125c > > > 3fff04c0: 0000000f 00000007 3fff1244 0000000f > > > 3fff04d0: 00000003 3fff11ec 0000004f 00000040 > > > 3fff04e0: 3fff11b4 0000002f 00000020 3ffe8b90 > > > 3fff04f0: 00000000 3ffe8b90 00ffffff 3ffe8b90 > > > 3fff0500: 0101a8c0 3ffe8b90 0001a8c0 3ffe8b90 > > > 3fff0510: 00ffffff 3ffe8b90 0101a8c0 3ffe8b90 > > > 3fff0520: 0001a8c0 feefeffe feefeffe feefeffe > > > 3fff0530: 00000060 feefeffe feefeffe feefeffe > > > 3fff0540: feefeffe feefeffe feefeffe 3ffef540 > > > 3fff0550: 3fffdad0 00000000 3ffef539 40206194 > > > 3fff0560: feefeffe feefeffe 3ffef550 40100718 > > > <<<stack<<< and its exeption decoder Decoding 28 results 0x40100255: _umm_free at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266\umm_malloc/umm_malloc.c line 1298 0x4010020c: _umm_free at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266\umm_malloc/umm_malloc.c line 1285 0x402336a0: sleep_reset_analog_rtcreg_8266 at ?? line ? 0x4010068c: free at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266\umm_malloc/umm_malloc.c line 1731 0x40105832: spi_flash_read at ?? line ? 0x40106f84: vPortFree at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/heap.c line 18 0x4021dbbe: wifi_param_save_protect_with_check at ?? line ? 0x402336a0: sleep_reset_analog_rtcreg_8266 at ?? line ? 0x4021dbdb: wifi_param_save_protect_with_check at ?? line ? 0x4021dc41: system_param_save_with_protect at ?? line ? 0x4021e030: wifi_station_ap_number_set at ?? line ? 0x4021e18b: wifi_station_ap_number_set at ?? line ? 0x4021e218: wifi_station_ap_number_set at ?? line ? 0x4021e254: wifi_station_set_config at ?? line ? 0x402035e0: ESP8266WiFiSTAClass::disconnect(bool) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src/ESP8266WiFiSTA.cpp line 432 0x40205729: Print::write(char const_) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76 0x40205865: Print::printNumber(unsigned long, unsigned char) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76 0x40206514: Print::write(unsigned char const_, unsigned int) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76 0x4021d8ae: wifi_get_opmode at ?? line ? 0x402033bf: ESP8266WiFiGenericClass::mode(WiFiMode) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\libraries\ESP8266WiFi\src/ESP8266WiFiGeneric.cpp line 80 0x40205729: Print::write(char const_) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76 0x40202c66: setupAP() at E:\arduino\sketch_may19a/sketch_may19a.ino line 198 0x40205754: Print::println() at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76 0x402057a0: Print::println(char const_) at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/Print.cpp line 76 0x40203043: setup at E:\arduino\sketch_may19a/sketch_may19a.ino line 125 0x40206194: loop_wrapper at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/core_esp8266_main.cpp line 43 0x40100718: cont_norm at C:\Users\amin\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.2.0\cores\esp8266/cont.S line 109 [a.txt](https://github.com/tzapu/WiFiManager/files/272541/a.txt)
kerem closed this issue 2026-02-28 01:23:38 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#138
No description provided.