-
-
Notifications
You must be signed in to change notification settings - Fork 471
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
EEPROM read error #198
Comments
This is with it not connected to anything. Is it trying to read EEPROM from the host or on the ESP itself? Debug Serial set Debug Serial set |
I do not have this board so I cannot duplicate the issue https://github.com/esp8266/Arduino/tree/master/libraries/EEPROM/examples Another reason would be another EEPROM library is used instead of ESP8266 one At least the flash sizes are totaly wrong :
|
I will check the eeprom library used. The sample code to check for the reported flash size shows the numbers correctly (all but the IDE expected size). could it be a variable size overrun on the 4gb / 1gb issue? |
Flash size is get by : Available for update is get by :
something is wrong as flashsize is seen as 0 , max size for flashing is 1M so cannot be 4 GB => this part is definitly an overflow also SPIFFS is get by :
and give 1 GB but you have 16 MB max of flash so here is wrong also from SPIFFS function |
Thanks. I am digging deeper. Looks like the totalBytes and usedBytes are not being filled out properly. I'm guessing due to the SPIFF error: SPIFFS_info: rc=-10024, err=-10024 Flash ide size: 16777216 snippet: |
Ok, numbers look ok now with the test program. I didn't call the SPIFFS.begin. With that I now get good numbers so I will see if the ESP3d program wasn't calling SPIFFS.begin for some reason. SPIFFS Opened Flash ide size: 16777216 |
SPIFFS.begin is done here : Lines 143 to 147 in 13ee5e1
So nothing should prevent to launch it . |
I believe I found the same thing, it resets a few times then settles out. |
I disabled the serial debug and Ido not have any reset - I will keep watching I am guessing the long boot and original reset was due to SPIFFS first format |
Root cause seems the long time of formating SPIFFS and currently there is no API to track it - may be in next version of SPIFFS. So I guess @jamesarm97 Issue can be closed ? |
Seems to be working ok now and know to just except a long boot / WDT on a new install. |
I think it is same as esp8266/Arduino#4237 and no fix currently just wait until format is complet |
I think issue can be closed now |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
I am trying to get this working on the Wemos D1 mini Pro version with 16mb of flash data. Where would I look if I enabled debug and the firmware is outputting an EEPROM read error and some other stuff then resets over and over with the same error? Is there something I need to do to get EEPROM working? Flash real size: 16777216 16MB (15MB SPIFFS)
The text was updated successfully, but these errors were encountered: