Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception / Reboot when trying to access TZ Update page on Wemos D1 mini clone #10

Open
fxpires opened this issue May 4, 2024 · 5 comments

Comments

@fxpires
Copy link

fxpires commented May 4, 2024

Hi there! I'm running the example on a Wemos D1 mini clone board. It compiles, uploads and runs ok. But when I try to access the "Setup Clock" button, it throws an exception and resets the Wemos. The versions are the latest available:
WifiManager 2.0.17
WifiManagerTz 1.3.3
Other pages works as expected. Info page even states "Last reset reason" as "Exception"

@tobozo
Copy link
Owner

tobozo commented May 4, 2024

hi, thanks for your feedback 👍

I don't have an esp8266 to test with, but I believe EEPROM.begin(16) should be called at some stage before init, can you confirm that adding it to your setup() function (before starting wifimanager) fixes the crash?

if it doesn't then more info will be required to understand the crash:

  • platform name/version
  • esp8266 sdk version
  • capture of the full serial output (may require to recompile and enable core debug)
  • capture of the full core dump with exception message

@fxpires
Copy link
Author

fxpires commented May 4, 2024

Thanks for the quick response. I tried to insert EEPROM.begin(16); inside the setup() block, but it only changed the default timezone from "Setting up time: NTPServer=pool.ntp.org, TZ-Name=Africa/Abidjan, TZ=GMT0" to "Setting up time: NTPServer=pool.ntp.org, TZ-Name=Africa/Windhoek, TZ=CAT-2". Those are Arduino IDE settings (Brazilian Portuguese, so Placa = Board, Porta = Serial Port):

image

platform is Wemos D1 mini
esp8266 sdk version is 3.1.2

Those are the Serial Monitor outputs, with and without the EEPROM.begin(16) line:

Without EEPROM.begin(16);

Mac Address: C8:C9:A3:33:B7:9Welcome to the tzupdate example
Mac Address: C8:C9:A3:33:B7:9Welcome to the tzupdate example
Mac Address: C8:C9:A3:33:B7:9Welcome to the tzupdate example
Mac Address: C8:C9:A3:33:B7:9Welcome to the tread error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClassD
EEPROMClass::read error, address 3 >m:AutoConnect
*wm:Connect Wifi, ATTEMPT # 1 of 10
*wm:Connecting to SAVED AP: galaxy
*wm:connectTimeout not set, ESP waitForConnectResult...
*wm:AutoConnect: SUCCESS
*wm:STA IP Address: 192.168.2.122
Connected to Access Point, visit http://192.168.2.122 to setup the clock or change WiFi settings
*wm:StartAP with SSID: ESP_33B79D
*wm:AP IP address: 192.168.4.1
*wm:Starting Web Portal
Setting up time: NTPServer=pool.ntp.org, TZ-Name=Africa/Abidjan, TZ=GMT0
*wm:config portal has timed out
tzCstr=GMT0, server=pool.ntp.org:ur 1

⸮����⸮n⸮�r⸮⸮n|⸮ l ⸮ l��b��� b�r��l⸮nb⸮n� l�⸮�r�l⸮l�⸮ ⸮Welcome to the tzupdate example
Mac Address: C8:C9:A3:33:B7:9D
EEPROMClass::read error, address 3 > 0 or 3 < 0
EEPROMClass::read error, address 2 > 0 or 2 < 0
*wm:AutoConnect
*wm:Connect Wifi, ATTEMPT # 1 of 10
*wm:Connecting to SAVED AP: galaxy
*wm:connectTimeout not set, ESP waitForConnectResult...
*wm:AutoConnect: SUCCESS
*wm:STA IP Address: 192.168.2.122
Connected to Access Point, visit http://192.168.2.122 to setup the clock or change WiFi settings
*wm:StartAP with SSID: ESP_33B79D
*wm:AP IP address: 192.168.4.1
*wm:Starting Web Portal
Setting up time: NTPServer=pool.ntp.org, TZ-Name=Africa/Abidjan, TZ=GMT0
WS:ac
tzCstr=GMT0, server=pool.ntp.org:rn 514
:ref 1
WS:av status=4 WCav=514
:ref 2
:ur 2
:ref 2
:ur 2
:c0 1, 514
[HTTP] handle route Custom

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (3):
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4024e403 depc=0x00000000

stack>>>

ctx: cont
sp: 3ffffc90 end: 3fffffd0 offset: 0150
3ffffde0: 4024e403 0000001a 3fff3098 4020f628
3ffffdf0: 3fff4ad4 00000001 3fff2f0c 4020206b
3ffffe00: 00000000 00000000 3ffe951c 00000430
3ffffe10: 000032ad ffffffff 40211920 ffffffff
3ffffe20: 000032ad 00000430 3fff5ae4 4020bedf
3ffffe30: 0000012c 00000020 3fff5e8c 40100dc2
3ffffe40: 00000000 0000000f 3ffffe88 00000000
3ffffe50: 3fff4b08 0000000f 3fff4ad4 40207b30
3ffffe60: 00000000 0023002f 00000000 00000030
3ffffe70: 0032fed0 3ffffec0 00000004 00000000
3ffffe80: 0023002f 00000000 00000000 000f000f
3ffffe90: 00000000 3ffffef0 00000008 3fff3268
3ffffea0: 3fff4b2c 3fff43f8 00000000 40210d84
3ffffeb0: 00000002 00000000 00000000 3fff3268
3ffffec0: 3fffdad0 00000001 3fff43a4 40201425
3ffffed0: 00000000 3fff4b2c 3fff4ad4 40207c80
3ffffee0: 3fffff00 00000000 00000000 0023002f
3ffffef0: 00000000 00000002 3fff2f48 00004bc6
3fffff00: 00000000 00000002 00000000 00000001
3fffff10: 00000000 3fff2d6c 3fff5ae4 3fff3268
3fffff20: 3fffdad0 3fff4b08 3fff4ad4 40209e3e
3fffff30: 40214298 00000000 00001388 4020ca4e
3fffff40: 00000000 00000000 3fff5ae4 00000000
3fffff50: 00000000 3fff3098 3fff2c6c 3fff3268
3fffff60: 3fffdad0 3fff2d6c 3fff2c6c 4020a0a8
3fffff70: 3ffe9838 3ffe983c 3ffe9844 3fff431c
3fffff80: 00000000 3fff4338 feefeffe feefeffe
3fffff90: 3fff4338 feefeffe feefeffe 3fff3268
3fffffa0: 3fffdad0 3fff2d6c 3fff2c6c 4020a23e
3fffffb0: 00000000 00000000 3fff323c 40211b58
3fffffc0: feefeffe feefeffe 3fffdab0 401010ed
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

ets Jan 8 2013,rst cause:2, boot mode:(3,7)

load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v00060a80
~ld
⸮����⸮n⸮�r⸮⸮n|⸮ l ⸮ l��b��� b�r��l⸮nb⸮n� l�⸮�r�l⸮l�⸮ ⸮Welcome to the tzupdate example

With EEPROM.begin(16);

⸮����⸮n⸮�r⸮⸮n|⸮ l ⸮ l��b��� b�r��l⸮nB⸮n� l�⸮�r�l⸮l�⸮ ⸮Welcome to the tzupdate example
Mac Address: C8:C9:A3:33:B7:9D
*wm:AutoConnect
*wm:Connect Wifi, ATTEMPT # 1 of 10
*wm:Connecting to SAVED AP: galaxy
*wm:connectTimeout not set, ESP waitForConnectResult...
*wm:AutoConnect: SUCCESS
*wm:STA IP Address: 192.168.2.122
Connected to Access Point, visit http://192.168.2.122 to setup the clock or change WiFi settings
*wm:StartAP with SSID: ESP_33B79D
*wm:AP IP address: 192.168.4.1
*wm:Starting Web Portal
Setting up time: NTPServer=pool.ntp.org, TZ-Name=Africa/Windhoek, TZ=CAT-2
WS:ac
tzCstr=CAT-2, server=pool.ntp.org:ref 1
:rn 398
WS:av status=4 WCav=0
:ref 2
:ur 2
:ref 2
:ur 2
:c0 1, 398
[HTTP] handle route Custom

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (3):
epc1=0x4000bf64 epc2=0x00000000 epc3=0x00000000 excvaddr=0x4024e48f depc=0x00000000

stack>>>

ctx: cont
sp: 3ffffc90 end: 3fffffd0 offset: 0150
3ffffde0: 4024e48f 0000001a 3fff30d8 4020f6b4
3ffffdf0: 3fff48e4 00000001 3fff2f4c 40202077
3ffffe00: 00000000 00000000 3ffe951c 00000430
3ffffe10: 000023ca ffffffff 402119ac ffffffff
3ffffe20: 000023ca 00000430 3fff5b4c 4020beeb
3ffffe30: 0000012c 00000020 3fff5e84 40100dc2
3ffffe40: 00000000 00000019 3ffffe88 00000000
3ffffe50: 3fff4918 00000019 3fff48e4 40207b3c
3ffffe60: 00000000 0019001f 00000000 0001d4c0
3ffffe70: 0032fed0 3ffffec0 00000004 00000000
3ffffe80: 0019001f 00000000 00000000 0019001f
3ffffe90: 00000000 3ffffef0 00000008 3fff32a8
3ffffea0: 3fff493c 3fff4208 00000000 40210e10
3ffffeb0: 00000002 00000000 00000000 3fff32a8
3ffffec0: 3fffdad0 00000001 3fff41b4 40201425
3ffffed0: 00000000 3fff493c 3fff48e4 40207c8c
3ffffee0: 3fffff00 00000000 00000000 0019001f
3ffffef0: 00000000 00000002 3fff2f88 00004bc6
3fffff00: 00000000 00000002 00000000 00000001
3fffff10: 00000000 3fff2dac 3fff5b4c 3fff32a8
3fffff20: 3fffdad0 3fff4918 3fff48e4 40209e4a
3fffff30: 40214324 00000000 00001388 4020ca5a
3fffff40: 00000000 00000000 3fff5b4c 00000000
3fffff50: 00000000 3fff30d8 3fff2cac 3fff32a8
3fffff60: 3fffdad0 3fff2dac 3fff2cac 4020a0b4
3fffff70: 3ffe9838 3ffe983c 3ffe9844 3fff412c
3fffff80: 00000000 3fff4148 feefeffe feefeffe
3fffff90: 3fff4148 feefeffe feefeffe 3fff32a8
3fffffa0: 3fffdad0 3fff2dac 3fff2cac 4020a24a
3fffffb0: 00000000 00000000 3fff327c 40211be4
3fffffc0: feefeffe feefeffe 3fffdab0 401010ed
<<<stack<<<

--------------- CUT HERE FOR EXCEPTION DECODER ---------------

ets Jan 8 2013,rst cause:2, boot mode:(3,6)

load 0x4010f000, len 3424, room 16
tail 0
chksum 0x2e
load 0x3fff20b8, len 40, room 8
tail 0
chksum 0x2b
csum 0x2b
v00060b80
~ld
⸮����⸮n⸮�r⸮⸮n|⸮ l ⸮ l��b��� b�r��l⸮nB⸮n� l�⸮�r�l⸮l�⸮ ⸮Welcome to the tzupdate example
Mac Address: C8:C9:A3:33:B7:9D
*wm:AutoConnect
*wm:Connect Wifi, ATTEMPT # 1 of 10
*wm:Connecting to SAVED AP: galaxy
*wm:connectTimeout not set, ESP waitForConnectResult...
*wm:AutoConnect: SUCCESS
*wm:STA IP Address: 192.168.2.122
Connected to Access Point, visit http://192.168.2.122 to setup the clock or change WiFi settings
*wm:StartAP with SSID: ESP_33B79D
*wm:AP IP address: 192.168.4.1
*wm:Starting Web Portal
Setting up time: NTPServer=pool.ntp.org, TZ-Name=Africa/Windhoek, TZ=CAT-2

Is this the info you need? Let me know if its wrong or if something else is needed.

@tobozo
Copy link
Owner

tobozo commented May 5, 2024

thanks, although it wasn't the cause of the crash, it looks like the EEPROM.begin was indeed missing

the exception occurs after the handleRoute() function emits a message so I'll investigate from there, but the exception needs to be decoded; there's an arduino plugin for that: https://github.com/me-no-dev/EspExceptionDecoder

meanwhile I'll try to apply some esp8266 basic optimizations just in case the issue is caused by memory fragmentation i.e. moving TZ and HTML strings to progmem to free some RAM

@tobozo
Copy link
Owner

tobozo commented May 5, 2024

I pushed some changes on a new branch: https://github.com/tobozo/WiFiManagerTz/tree/1.3.4

  • EEPROM is now auto started on ESP8266, so you can remove it from your setup.
  • The default timezone (when no preferences are saved) is UTC0 instead of Africa/Abidjan.
  • Timezone names, log messages and other strings have been moved to PROGMEM.

⚠️ Moving strings to PROGMEM saved about 16% of space in var/constants RAM!

If this improvement fixes the issue then it will confirm the crash was caused by memory exhaustion.

before (56% RAM used)

. Variables and constants in RAM (global, static), used 45484 / 80192 bytes (56%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ DATA     5312     initialized variables
╠══ RODATA   13276    constants       
╚══ BSS      26896    zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 60711 / 65536 bytes (92%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ ICACHE   32768    reserved space for flash instruction cache
╚══ IRAM     27943    code in IRAM    
. Code in flash (default, ICACHE_FLASH_ATTR), used 341756 / 1048576 bytes (32%)
║   SEGMENT  BYTES    DESCRIPTION
╚══ IROM     341756   code in flash  

after (40% RAM used)


. Variables and constants in RAM (global, static), used 32488 / 80192 bytes (40%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ DATA     1612     initialized variables
╠══ RODATA   3972     constants       
╚══ BSS      26904    zeroed variables
. Instruction RAM (IRAM_ATTR, ICACHE_RAM_ATTR), used 60711 / 65536 bytes (92%)
║   SEGMENT  BYTES    DESCRIPTION
╠══ ICACHE   32768    reserved space for flash instruction cache
╚══ IRAM     27943    code in IRAM    
. Code in flash (default, ICACHE_FLASH_ATTR), used 358792 / 1048576 bytes (34%)
║   SEGMENT  BYTES    DESCRIPTION
╚══ IROM     358792   code in flash   

@Eisbaeeer
Copy link

Eisbaeeer commented Jan 6, 2025

Hi. Same issue on my side. On ESP32 it works, with ESP8266 (d1_mini) i run into the Exeption:
`
--------------- CUT HERE FOR EXCEPTION DECODER ---------------

Exception (3):
epc1=0x4000bdcb epc2=0x00000000 epc3=0x00000000 excvaddr=0x4028cf68 depc=0x00000000

LoadStoreError: Processor internal physical address or data error during load or store
excvaddr=0x4028cf68 in system_get_sdk_version at ??:?

stack>>>

ctx: cont
sp: 3ffffd10 end: 3fffffc0 offset: 0150
3ffffe60: 3fff1f44 3fffff04 3fff1428 40201ac9
3ffffe70: 3fff3f60 3fffff04 3fff1428 4020bb25
3ffffe80: feefeffe feefeffe feefeffe feefeffe
3ffffe90: feefeffe feefeffe feefeffe feefeffe
3ffffea0: feefeffe feefeffe feefeffe feefeffe
3ffffeb0: feefeffe feefeffe feefeffe feefeffe
3ffffec0: feefeffe feefeffe feefeffe feefeffe
3ffffed0: feefeffe feefeffe feefeffe feefeffe
3ffffee0: feefeffe feefeffe feefeffe 4023693c
3ffffef0: b201a8c0 feefeffe feefeffe 402344fc
3fffff00: 4020137c 3ffe8a0c 3ffe8a14 3ffe8a1c
3fffff10: 3ffe8a24 3ffe8a2c 3ffe8a30 3ffe8a38
3fffff20: 3fffff04 00000007 feefeffe feefeffe
3fffff30: 00000000 feefeffe 00000000 0011001f
3fffff40: 00000000 3fff3f44 3fff3f60 3fff3f60
3fffff50: feefeffe feefeffe feefeffe feefeffe
3fffff60: feefeffe feefeffe feefeffe feefeffe
3fffff70: feefeffe 3fffff04 00000007 feefeffe
3fffff80: 3fffff20 feefeffe feefeffe feefeffe
3fffff90: feefeffe feefeffe feefeffe 3fff161c
3fffffa0: 3fffdad0 00000000 3fffdab0 40227f07
3fffffb0: feefeffe feefeffe feefeffe 40100541
<<<stack<<<

0x40201ac9 in WiFiManagerNS::configTime() at lib\WiFiManagerTz\src/WiFiManagerTz.h:22
0x4020bb25 in setup at src/main.cpp:839
0x4023693c in DhcpServer::isRunning() const at ??:?
0x402344fc in std::_Function_handler<void (), setup::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Function_handler<void (), setup::{lambda()#1}> const&, std::_Manager_operation) at c:\users\lars.platformio\packages\toolchain-xtensa\xtensa-lx106-elf\include\c++\10.3.0\bits/std_function.h:271
0x4020137c in std::_Function_handler<void (), setup::{lambda()#1}>::_M_invoke(std::_Any_data const&) at src/main.cpp:821
(inlined by) __invoke_impl<void, setup()::<lambda()>&> at c:\users\lars.platformio\packages\toolchain-xtensa\xtensa-lx106-elf\include\c++\10.3.0\bits/invoke.h:60
(inlined by) __invoke_r<void, setup()::<lambda()>&> at c:\users\lars.platformio\packages\toolchain-xtensa\xtensa-lx106-elf\include\c++\10.3.0\bits/invoke.h:110
(inlined by) _M_invoke at c:\users\lars.platformio\packages\toolchain-xtensa\xtensa-lx106-elf\include\c++\10.3.0\bits/std_function.h:291
0x40227f07 in loop_wrapper() at C:\Users\lars.platformio\packages\framework-arduinoespressif8266\cores\esp8266/core_esp8266_main.cpp:255
0x40100541 in cont_wrapper at C:\Users\lars.platformio\packages\framework-arduinoespressif8266\cores\esp8266/cont.S:81

--------------- CUT HERE FOR EXCEPTION DECODER ---------------
`

This will happen if I click on "Clock Setup".

Compiled on Platformio
Espressif 8266 v. 4.2.1
Used you latest 1.3.4

Do you need more informations?
Greets Lars

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants