-->
Page 7 of 8

Re: EEPROM put and get methods

PostPosted: Fri Mar 17, 2017 9:26 am
by landsteph
Hi,

Where did you see the limitation of 512 bytes ?
is there more space available ?

-LS

Re: EEPROM put and get methods

PostPosted: Sat Mar 18, 2017 8:15 am
by martinayotte
The maximum that EEPROM could use is define as one sector :
From tools/sdk/include/spi_flash.h
Code: Select all#define SPI_FLASH_SEC_SIZE      4096

Re: EEPROM put and get methods

PostPosted: Mon Mar 20, 2017 5:55 am
by landsteph
In fact, I found another solution : use SPIFFS file system.
I though it was possible to use this space like an EEPROM.
If it's the case, please let me know. SPIFFS is 3Mb vs 4096 b...
I would like to store lot of data.

LS

Re: EEPROM put and get methods

PostPosted: Sun Feb 26, 2023 1:50 pm
by frankygoop
Hello, I have tried several codes with all possible options with EEPROM " put" and " get" and work fine with Address 0, but wont work with any different address.
I am on board ESP8266 3.1.1,
I tried several older board version down to 2.5.0 and IDE version 1.8.16. nothing works.
Any advise is welcome.
Thank you

Updated*****
I found that in order to write into another address, the EEPROM.begin(XXX) need to include the total amount of necessary memory covering all possible addresses starting from 0 that you expect to write. I mean you can not do two separate EEPROM.begin. Is that the normal behavior?