-->
Page 1 of 2

Esp8266 external EEPROM

PostPosted: Sat Dec 26, 2015 2:09 pm
by niteshpatil004
How to transfer data or read data from esp8266 external EEPROM using arduino IDE?

Re: Esp8266 external EEPROM

PostPosted: Sat Dec 26, 2015 4:06 pm
by martinayotte
Do you means external I2C EEPROM ?
There are several libs out there. There is one already in ESP8266 github :
https://github.com/esp8266/Arduino/tree ... ies/EEPROM
Here are 2 other examples where I used one or the other depending of the projects.
http://playground.arduino.cc/Code/I2CEEPROM
https://github.com/JChristensen/extEEPROM

Re: Esp8266 external EEPROM

PostPosted: Tue Dec 29, 2015 10:36 am
by whogarden
Hello,
There is something I don't understand
When you flash an ESP8266-12E (alone) with the sketch : eeprom_clear.ino, where does the sketch write the data?
Is the Program at 00000?
What is the address were are written the data 512 KB?
Thank you.

Re: Esp8266 external EEPROM

PostPosted: Tue Dec 29, 2015 11:14 am
by martinayotte
The emulated EEPROM is located at the end of SPIFFS area, just before the Wifi Config.
http://esp8266.github.io/Arduino/versio ... ystem.html