You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using IotWebConf library for configuring Wi-Fi and MQTT connection for a device based on ESP8266.
Unfortunatelly, I have to write myself some parameters on EEPROM but when y commit the write, it fails. For example:
The problem is that when I call EEPROM.commit() it returns false, so I read on serial terminal "ERROR! EEPROM commit failed"
I saw another Issue (#60) and I tried his solution, but I'm still unable to commit the changes.
Any thoughs about this?
Thank you.
The text was updated successfully, but these errors were encountered:
There was a fix, that fixed EEPROM was not closed after startup: b89ac9f
Maybe that introduced new problem. E.g. it might happened, that EEPROM.end() was called, that disabled any further eeprom writes?
First, I obtain the real size of the EEPROM memory with uint32_t realSize = ESP.getFlashChipRealSize()
And then I initialize the EEPROM with: EEPROM.begin(realSize)
Also I tried calling EEPROM.end() at the beginning of the void setup but I am not even able to commit any writting
Hello.
I am using IotWebConf library for configuring Wi-Fi and MQTT connection for a device based on ESP8266.
Unfortunatelly, I have to write myself some parameters on EEPROM but when y commit the write, it fails. For example:
MemWiFi and so on are previously defined like:
The problem is that when I call EEPROM.commit() it returns false, so I read on serial terminal "ERROR! EEPROM commit failed"
I saw another Issue (#60) and I tried his solution, but I'm still unable to commit the changes.
Any thoughs about this?
Thank you.
The text was updated successfully, but these errors were encountered: