mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1092] Code is wrecking my ESP8266s? #932
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#932
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ZebNZ on GitHub (Jul 8, 2020).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1092
Hi all,
I am running the Auto Connect code with some custom parameters.
For testing I include the " wifiManager.resetSettings();" line, but after about 20 times of powering on and setting up my credentials the ESP8266 will just reboot and reboot with error:
I then plug in another ESP8266 and the code works fine for about another 20 cycles, before doing the same thing!
I have tried clearing the EEPROM but no success in restoring my ESP8266s!
Any ideas on what's going wrong? I can provide all code if that's helpful? (it is just the Auto Connect code with some custom parameters and works great for around 20 cycles......)
@ZebNZ commented on GitHub (Jul 8, 2020):
The other interesting thing is that if I upload some new code (new parameters) it uploads to the board fine, but in the Serial Output it says
{"mqtt_server":"","mqtt_port":"8080","blynk_token"}This is the output of some older code with my new code it should display:
{"datanow_username":"user23","datanow_password":"12345678"}Would this indicate that the code is not uploading correctly? Or there is a problem with the EEPROM? If I upload the code to a brand new ESP8266 it displays what it should so code seems to be written correctly!
@tablatronix commented on GitHub (Jul 8, 2020):
erase flash
@ZebNZ commented on GitHub (Jul 8, 2020):
Hi @tablatronix
I have flashed this code and then flashed my original code again and still no success!
https://github.com/kentaylor/EraseEsp8266Flash
Any other ideas?
@ZebNZ commented on GitHub (Jul 8, 2020):
I have tried running a small but of code with a Serial.println and it works fine, I then upload my WiFiManager code and I get the same error (OP).
I have tried clearing the EEPROM again and the flashing my original code but still no success!
@ZebNZ commented on GitHub (Jul 9, 2020):
Fixed!
Go to your Arduino IDE then Tools > Flash > Erase Flash and tick the checkbox that says "All Flash Contents" and flash the code.

Once the code has finished flashing you can set this option back to "Only Sketch".
Thanks,
Zeb