-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ESPhttpUpdate Exception 28 and erase WiFi credentials #6555
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
Comments
add code fences to your exception , makes it easier to read, triple tick before and after |
Please clarify which how you are using OTA or provide an example sketch, OTA can be performed from espota.py, http upload, and http fetch For example can you reproduce with |
With the example you sent it works... i'm investigating if is related to httpserver or mqtt connection alive |
I've solved. Is caused from this:
|
Lol told you, you were disconnecting. If persistent is true, disconnect erases config Now why doing it in the callback is causing an exception, no idea, some out of scope memory thing probably |
Core Version: 2.5.2
Development Env: Arduino IDE
Operating System: Windows
Module: Generic ESP8266 Module
Flash Mode: dio
Flash Size: 2MB (no spiffs)
lwip Variant: v2 Lower Memory
Reset Method: nodemcu
Flash Frequency: 80Mhz
CPU Frequency: 80Mhz
Crystal Frequency: 26MHz
Upload Using: SERIAL
Upload Speed: 115200
Firmware works perfectly, when ota is launched, after some seconds i receive exception stack and after reboot the esp8266 'forget' all Wifi credentials.
this is decoded exception
The text was updated successfully, but these errors were encountered: