-
Notifications
You must be signed in to change notification settings - Fork 2
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
Comments
hi, thanks for your feedback 👍 I don't have an esp8266 to test with, but I believe if it doesn't then more info will be required to understand the crash:
|
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): platform is Wemos D1 mini 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 ⸮����⸮n⸮�r⸮⸮n|⸮l⸮l --------------- CUT HERE FOR EXCEPTION DECODER --------------- Exception (3):
ctx: cont --------------- CUT HERE FOR EXCEPTION DECODER --------------- ets Jan 8 2013,rst cause:2, boot mode:(3,7) load 0x4010f000, len 3424, room 16 With EEPROM.begin(16);⸮����⸮n⸮�r⸮⸮n|⸮l⸮l --------------- CUT HERE FOR EXCEPTION DECODER --------------- Exception (3):
ctx: cont --------------- CUT HERE FOR EXCEPTION DECODER --------------- ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 3424, room 16 Is this the info you need? Let me know if its wrong or if something else is needed. |
thanks, although it wasn't the cause of the crash, it looks like the EEPROM.begin was indeed missing the exception occurs after the 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 |
I pushed some changes on a new branch: https://github.com/tobozo/WiFiManagerTz/tree/1.3.4
If this improvement fixes the issue then it will confirm the crash was caused by memory exhaustion. before (56% RAM used)
after (40% RAM used)
|
Hi. Same issue on my side. On ESP32 it works, with ESP8266 (d1_mini) i run into the Exeption: Exception (3): LoadStoreError: Processor internal physical address or data error during load or store
ctx: cont 0x40201ac9 in WiFiManagerNS::configTime() at lib\WiFiManagerTz\src/WiFiManagerTz.h:22 --------------- CUT HERE FOR EXCEPTION DECODER --------------- This will happen if I click on "Clock Setup". Compiled on Platformio Do you need more informations? |
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"
The text was updated successfully, but these errors were encountered: