Open ehammock opened 1 year ago
what do you mean overloads?
Hi, many thanks for coming back to me. When I look at the serial monitor it continually scrolls with hex data. It doesn't do that with and Esp01 only the wroom-02.
what example are you using ?
Hi, the builtin BASIC example in arduino under library wifimanager.
Ill check but thats odd sounds like its crashing or a boot loop?
Yes, it seems to be on boot.
I'll take another look this evening. My gut feel is that it is related to the flash size which on the wroom-02 I think is smaller than the standard esp8266. I would like to get it working though, as WiFi manager perfectly suits my need, also the wroom-02 'WiFi battery' is a perfect physical solution for my need.
Thanks.
On Thu, 24 Nov 2022, 01:47 Shawn A, @.***> wrote:
Ill check but thats odd sounds like its crashing or a boot loop?
— Reply to this email directly, view it on GitHub https://github.com/tzapu/WiFiManager/issues/1523#issuecomment-1325844972, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASSJBFX2TZL6EFMLZ3IA2LTWJ3CK5ANCNFSM6AAAAAASHSAN7Y . You are receiving this because you authored the thread.Message ID: @.***>
What is a wroom 02?
oh yeah these are pretty old, I think i have one
Many thanks.
I'm happy to contribute to your project (buy a coffee, patrion, fiverr etc) if we can get this working.
Thanks, Edward.
On Thu, 24 Nov 2022, 16:18 Shawn A, @.***> wrote:
oh yeah these are pretty old, I think i have one
— Reply to this email directly, view it on GitHub https://github.com/tzapu/WiFiManager/issues/1523#issuecomment-1326648536, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASSJBFSDI4T2TLNBW52W2NTWJ6ILXANCNFSM6AAAAAASHSAN7Y . You are receiving this because you authored the thread.Message ID: @.***>
Can you maybe add a delay on boot so you can see if there is a crashdump or something
Basic Infos Hardware: ESP8285 ((Lolin)D1 Mini Lite)
WiFimanager Branch/Release: Master
Esp8266/Esp32: ESP8285 / D1 Mini Lite
Hardware: ESP-12e, esp01, esp25
Core Version: 3.0.2 system_get_sdk_version(): 2.2.2-dev(38a443e) system_get_boot_version(): 31 getFreeHeap(): 47344
Problem description Settings in IDE
Additional libraries: WiFi manager only, OnDemandConfigPortai example.. Sketch Bundled wifimanager example.
Serial out before crash:
wm:[0] [ERROR] hostname: set failed!
wm:[2] Connecting as wifi client...
wm:[2] setSTAConfig static ip not set, skipping
wm:[1] No wifi saved, skipping
wm:[2] Connection result: WL_NO_SSID_AVAIL
wm:[1] AutoConnect: FAILED
wm:[2] Starting Config Portal
wm:[2] AccessPoint set password is VALID
del if0
usl
mode : null
wm:[2] Disabling STA
wm:[2] Enabling AP
wm:[1] StartAP with SSID: WM_AutoConnectAP
mode : softAP(c6:4f:33:d2:f5:b6)
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
bcn 0
del if1
usl
add if1
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
bcn 100
wm:[1] AP IP address: 192.168.4.1
wm:[2] [CB] _apcallback calling
[CALLBACK] configModeCallback fired
wm:[1] Starting Web Portal
wm:[2] [CB] _webservercallback calling
wm:[2] HTTP server started
wm:[2] WiFi Scan ASYNC started
mode : sta(c4:4f:33:d2:f5:b6) + softAP(c6:4f:33:d2:f5:b6)
add if0
wm:[2] Config Portal Running, blocking, waiting for clients...
wm:[2] Portal Timeout In 120 seconds
scandone
wm:[2] WiFi Scan ASYNC completed in 2196 ms
wm:[2] WiFi Scan ASYNC found: 12
add 1
aid 1
station: 76:f0:5b:71:e7:58 join, AID = 1
station: 76:f0:5b:71:e7:58 leave, AID = 1
rm 1
wm:[2] Portal Timeout In 90 seconds
add 1
aid 1
station: 76:f0:5b:71:e7:58 join, AID = 1
wm:[2] <- Request redirected to captive portal
wm:[2] <- Request redirected to captive portal
wm:[2] <- HTTP Root
wm:[2] WiFi Scan ASYNC started
scandone
wm:[2] WiFi Scan ASYNC completed in 2190 ms
wm:[2] WiFi Scan ASYNC found: 13
wm:[2] <- HTTP Root
wm:[2] Scan is cached 7572 ms ago
wm:[2] Portal Timeout In 118 seconds
wm:[2] <- HTTP Root
wm:[2] Scan is cached 14844 ms ago
wm:[2] <- HTTP Wifi
wm:[2] Scan is cached 18168 ms ago
wm:[1] 13 networks found
wm:[2] DUP AP: MainFrameGARTEN
wm:[2] DUP AP: MainFrameGARTEN
wm:[2] DUP AP: MainFrameGARTEN
wm:[2] DUP AP: MainFrame
wm:[2] DUP AP: MainFrame
wm:[2] DUP AP: MainFrame
wm:[2] DUP AP: LenasGastNetz
wm:[2] DUP AP: LenasGastNetz
wm:[2] DUP AP: LenasGastNetz
wm:[2] AP: -37 MainFrameGARTEN
wm:[2] AP: -38 MainFrame
wm:[2] AP: -38 LenasGastNetz
wm:[2] AP: -89 M22
wm:[2] <- HTTP WiFi save
wm:[2] processing save
wm:[2] Connecting as wifi client...
wm:[2] setSTAConfig static ip not set, skipping
wm:[1] Connecting to NEW AP: MainFrame
Exeption Decoder: 0x401006cc: pvPortZalloc(size_t, char const, int) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\umm_malloc/umm_heap_select.h line 85 0x40100dd0: umm_malloc_core(umm_heap_context_t, size_t) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\umm_malloc/umm_local.c line 48 0x40100496: __wrap_spi_flash_read(uint32_t, uint32_t, size_t) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\core_esp8266_phy.cpp line 309 0x4020b243: ESP8266WiFiSTAClass::begin(char const, char const, int, unsigned char const, bool) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiSTA.cpp line 186 0x4020b193: ESP8266WiFiSTAClass::begin(char const, char const, int, unsigned char const, bool) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\libraries\ESP8266WiFi\src\ESP8266WiFiSTA.cpp line 154 0x40216ae8: optimistic_yield(uint32_t) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\core_esp8266_main.cpp line 153 0x40100ff0: umm_malloc(size_t) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\umm_malloc\umm_malloc.cpp line 821 0x40101035: umm_poison_calloc(size_t, size_t) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\umm_malloc/umm_poison.c line 185 0x40100430: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\core_esp8266_main.cpp line 181 0x40202e4d: WiFiManager::WiFi_Mode(WiFiMode, bool) at C:\Users\andys\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp line 3574 0x40204bdc: WiFiManager::wifiConnectNew(String, String, bool) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/WString.h line 277 0x40215964: String::operator=(String const&) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/WString.h line 277 0x40204fc2: WiFiManager::connectWifi(String, String, bool) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/WString.h line 79 0x402157e7: String::reserve(unsigned int) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\WString.cpp line 153 0x40215858: String::copy(char const, unsigned int) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\WString.cpp line 225 0x40215964: String::operator=(String const&) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/WString.h line 277 0x4020a002: WiFiManager::processConfigPortal() at C:\Users\andys\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp line 889 0x40100430: ets_post(uint8, ETSSignal, ETSParam) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\core_esp8266_main.cpp line 181 0x4020a3c5: WiFiManager::startConfigPortal(char const, char const) at C:\Users\andys\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp line 806 0x40215858: String::copy(char const, unsigned int) at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\WString.cpp line 225 0x4020a5e2: WiFiManager::autoConnect(char const, char const*) at C:\Users\andys\Documents\Arduino\libraries\WiFiManager\WiFiManager.cpp line 387 0x40201372: wifiInfo() at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266/WString.h line 79 0x4020171a: setup() at C:\Users\andys\AppData\Local\Temp\arduino_modified_sketch_278754/OnDemandConfigPortal.ino line 290 0x40216b24: loop_wrapper() at C:\Users\andys\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\3.0.2\cores\esp8266\core_esp8266_main.cpp line 198
If I use a D1 Mini (ESP8266 inside) everything works fine. I hope this helps a little..
PLEASE TRY Latest Master BRANCH before submitting bugs, in case they were already fixed.
Issues without basic info will be ignored or closed!
Please fill the info fields, it helps to get you faster support ;)
if you have a stack dump decode it: https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/stack_dump.rst
for better debug messages: https://github.com/esp8266/Arduino/blob/master/doc/Troubleshooting/debugging.rst
----------------------------- Remove above -----------------------------
Basic Infos
Hardware
WiFimanager Branch/Release: Master
Esp8266/Esp32: ESP8266 WROOM-02
Hardware: ESP-12e, esp01, esp25
Core Version: 2.4.0, staging
Description
Problem description
Settings in IDE
Module: "WiFi Battery" marked wemos but unlikely
Additional libraries: WiFi manager only, basic example.
Sketch
Bundled wifimanager basic example.
Debug Messages