-->
Page 1 of 4

What's the difference between SPIFFS and EEPROM?

PostPosted: Fri Apr 17, 2020 6:37 pm
by sblantipodi
As title.
Can you explain me the difference between those two memory?

I have a D1 Mini from Lolin with 4MB of memory, is those 4MB referred to SPIFFS?
If not, to what?

Re: What's the difference between SPIFFS and EEPROM?

PostPosted: Fri Apr 17, 2020 10:53 pm
by davydnorris
EEPROM is the chip technology that you use to implement SPIFFS.

I think SPIFFS stands for SPI Flash File System or something close. It's a driver that lets you treat your EEPROM like a file system and read and write files as if it were a disk.

Re: What's the difference between SPIFFS and EEPROM?

PostPosted: Sat Apr 18, 2020 1:42 am
by JurajA
davydnorris wrote:EEPROM is the chip technology that you use to implement SPIFFS.

I think SPIFFS stands for SPI Flash File System or something close. It's a driver that lets you treat your EEPROM like a file system and read and write files as if it were a disk.
wrong

the esp8266 has external flash memory. it runs the application from it. some part of the flash can be used for a file system SPIFFS handled by the FS library and the flash is used for EEPROM emulation too. esp8266 doesn't have an EEPROM type of memory, but for Arduino compatibility there is an EEPROM emulation library.

Re: What's the difference between SPIFFS and EEPROM?

PostPosted: Sat Apr 18, 2020 5:07 am
by sblantipodi
JurajA wrote:
davydnorris wrote:EEPROM is the chip technology that you use to implement SPIFFS.

I think SPIFFS stands for SPI Flash File System or something close. It's a driver that lets you treat your EEPROM like a file system and read and write files as if it were a disk.
wrong

the esp8266 has external flash memory. it runs the application from it. some part of the flash can be used for a file system SPIFFS handled by the FS library and the flash is used for EEPROM emulation too. esp8266 doesn't have an EEPROM type of memory, but for Arduino compatibility there is an EEPROM emulation library.


This means that spiffs and eeprom are phisically the same memory on the esp 8266?

Thanks