Open potentstudios opened 6 years ago
Hi potentstudios ,
You can try to erase the esp8266.
This fix the problem for me.
http://www.pratikpanda.com/completely-format-erase-esp8266-flash-memory/
Thanks I'll try that!
I have experienced the same issue but haven't found the culprit yet
Maybe this part of the setup routine?
// Check if SPIFFS formatted
if (SPIFFS.exists("/formatted.txt")) {
SPIFFS.format();
File f = SPIFFS.open("/formatted.txt", "w");
f.print("Formatted");
f.close();
}
It should be more like this right?
// Check if SPIFFS formatted
if (!SPIFFS.exists("/formatted.txt")) {
SPIFFS.format();
File f = SPIFFS.open("/formatted.txt", "w");
f.print("Formatted");
f.close();
}
The solution proposed by bombcheck worked for me with beta5g. Currently SPIFFS is wiped every time the system restarts.
Has anyone else tested/confirmed bombcheck's fix?
I've tried several times to change the settings and it seems to be finicky on what it saves. I'm using a setup of 10 MCUs and some have no issues while others won't save. Any thoughts?