Open PhDSM opened 8 months ago
Will test, have you tried a full erase?
What esp version??
No issue here
*wm:[2] v2.0.17 D:4
*wm:[2] [SYS] getCoreVersion(): 3.1.2
*wm:[2] [SYS] system_get_sdk_version(): 2.2.2-dev(38a443e)
*wm:[2] [SYS] system_get_boot_version(): 31
*wm:[2] [SYS] getFreeHeap(): 47520
Here is info about the ESP I used I have several of then and the problem occurs on all of them
esp8266
Chip ID c88a97 Flash chip ID 1450117 Flash size 4194304 bytes Real flash size 4194304 bytes Core version 2_6_3 Boot version 31 CPU frequency 80MHz Memory - Free heap 42448 bytes available Memory - Sketch size Used / Total bytes 344032 / 962528
same question
I hit the Exception (3) as well on some older NodeMCU1.0 boards but not on the ESP01 and D1 mini.
It seems to be raised due to no established connection on a first glance. Albeit the NodeMCU projects are some legacy projects, nursed along with little remaining memory.
ESP01 and D1 mini use lesser memory and have less web dependent functionality.
I got the same issue, by using me-no-dev's esp exception decoder I got below result
Exception 3: LoadStoreError: Processor internal physical address or data error during load or store
PC: 0x4000bf64
EXCVADDR: 0x4026b2e5
Decoding stack results
0x402138b3: String::String(char const*) at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\WString.cpp line 34
0x402091e8: WiFiManager::getMenuOut() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266/WString.h line 191
0x40213e1a: String::concat(__FlashStringHelper const*) at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\WString.cpp line 395
0x40213c44: String::String(__FlashStringHelper const*) at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\WString.cpp line 46
0x4020b770: esp8266webserver::FunctionRequestHandler ::handle(esp8266webserver::ESP8266WebServerTemplate &, HTTPMethod, String) at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WebServer\src/detail/RequestHandlersImpl.h line 42
0x402108c8: WiFiManager::handleRoot() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266/WString.h line 124
0x401009c3: free(void*) at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\umm_malloc\umm_malloc.cpp line 398
0x40208ce8: std::_Function_base::_Base_manager >::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) at c:\users\aj\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2/functional line 1931
0x402136b5: String::invalidate() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\WString.cpp line 140
0x40213fa4: String::equals(String const&) const at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\WString.cpp line 502
0x4020b770: esp8266webserver::FunctionRequestHandler ::handle(esp8266webserver::ESP8266WebServerTemplate &, HTTPMethod, String) at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WebServer\src/detail/RequestHandlersImpl.h line 42
0x4021e6f7: std::_Function_handler (WiFiManager*)> >::_M_invoke(std::_Any_data const&) at c:\users\aj\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2/functional line 2073
0x401000e1: std::function ::operator()() const at c:\users\aj\appdata\local\arduino15\packages\esp8266\tools\xtensa-lx106-elf-gcc\2.5.0-4-b40a506\xtensa-lx106-elf\include\c++\4.8.2/functional line 2465
0x4020b7a8: esp8266webserver::FunctionRequestHandler ::handle(esp8266webserver::ESP8266WebServerTemplate &, HTTPMethod, String) at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WebServer\src/detail/RequestHandlersImpl.h line 49
0x40210b42: esp8266webserver::ESP8266WebServerTemplate ::_handleRequest() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WebServer\src/ESP8266WebServer-impl.h line 681
0x40100290: millis() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\core_esp8266_wiring.cpp line 188
0x40210c53: esp8266webserver::ESP8266WebServerTemplate ::handleClient() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WebServer\src/ESP8266WebServer-impl.h line 340
0x402077ec: WiFiUDP::parsePacket() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\WiFiUdp.cpp line 199
0x4021e03c: DNSServer::processNextRequest() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\DNSServer\src\DNSServer.cpp line 166
0x40210e79: WiFiManager::processConfigPortal() at C:\Users\AJ\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp line 875
0x40100198: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\core_esp8266_main.cpp line 177
0x40211291: WiFiManager::startConfigPortal(char const*, char const*) at C:\Users\AJ\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp line 807
0x40213a74: String::operator=(String const&) at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\WString.cpp line 262
0x402136b5: String::invalidate() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\WString.cpp line 140
0x402136d4: String::~String() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\WString.cpp line 125
0x402136b5: String::invalidate() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\WString.cpp line 140
0x40204200: ESP8266WiFiSTAClass::hostname(char const*) at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\libraries\ESP8266WiFi\src\ESP8266WiFiSTA.cpp line 587
0x40211463: WiFiManager::autoConnect(char const*, char const*) at C:\Users\AJ\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp line 388
0x4020a76c: WiFiManager::addParameter(WiFiManagerParameter*) at C:\Users\AJ\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp line 184
0x402136b5: String::invalidate() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\WString.cpp line 140
0x4020154f: setup_wifi_blocking() at D:\f3\superf3/superf3.ino line 414
0x40212710: HardwareSerial::begin(unsigned long, SerialConfig, SerialMode, unsigned char, bool) at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\HardwareSerial.cpp line 51
0x40201669: setup() at D:\f3\superf3/superf3.ino line 114
0x40214ab4: loop_wrapper() at C:\Users\AJ\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.4\cores\esp8266\core_esp8266_main.cpp line 194
Board : D1 Mini (says ESP8266MOD) Error : same as OP - error Exception (3) occurs when calling AP webpage
with board manager url http://arduino.esp8266.com/stable/package_esp8266com_index.json
and esp 8266 board version 3.1.2
solves issue for me
leaving with another library's issue.
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32:
Hardware: ESP8266 D1 Mini Board
Core Version: 2.4.0, staging
Description
error Exception (3) occurs when calling AP webpage, even with code example basic.ino on version 2.0.17. However it works ok with version 2.0.16-rc 2
Settings in IDE
Module: Generic ESP8266 Module
Additional libraries:
Sketch
see basic.ino in your examples folder