5

I would like to store some data in esp8266. There are two ways SPIFFS and EEPROM. I can not decide which one to use as both of them saves data. I also read that both SPIFFS and EEPROM are part of Flash drive. So does that mean hardware for both of them is same?

6

SPIFFS (Serial Peripheral Interface Flash File System) is a method for creating a file system in NOR-type flash memory.

EEPROM (Electrically Erasable Programmable Read-Only Memory) is a type of non-volatile memory, floating-gate transistors.

You can use either.

5
  • Thanks @matsk But it says that in esp8266 both SPIFFS and EEPROM are part of Flash drive. So does that mean hardware for both of them is same? Jul 12 '18 at 7:51
  • If you refer to something, please include an URL.
    – MatsK
    Jul 12 '18 at 7:53
  • This is the link. Jul 12 '18 at 7:55
  • This link also says that EEPROM is emulated using Flash drive Jul 12 '18 at 8:01
  • Your question was about the differences SPIFFS and EEPROM, and now you are commenting about how the code handles the different technologies. In short, EEPROM and FLASH are keeping the data during the loss of power = non-volatile memory.
    – MatsK
    Jul 12 '18 at 15:36

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.