Page 1 of 1

ESP32 "Flash EEPROM"

Posted: Wed Nov 05, 2025 10:55 am
by dvcam99
Hello FC community,

I`m looking for a way in order to store and receive byte values into ESP32 flash.

Unfortunately the Flash EE Prom Component is not working. I`ll get a compiler error.

Any suggestions is apreachiated and welcome.

BR

Dirk

Re: ESP32 "Flash EEPROM"

Posted: Wed Nov 05, 2025 1:23 pm
by stefan.erni
Hi Dirk

I don't know if this will help you.
I have several ESP32s, each with a fixed calibrated sensor.
For each ESP32, there are values from the calibration machine that are stored in the Flowcode program.
I read the MAC address from the ESP32 and then assign the appropriate values.

read mac adress for matching data:
viewtopic.php?t=3407

Re: ESP32 "Flash EEPROM"

Posted: Wed Nov 05, 2025 4:11 pm
by mnfisher
The esp32 doesn't really have any EEPROM - you can use flash memory as persistent store, or the RTC has some memory that is non-volatile too.. There is a post about SPIFFS and also using RTC memory - though will take a bit of searching..

https://www.flowcode.co.uk/forums/viewt ... lit=spiffs
https://www.flowcode.co.uk/forums/viewt ... rtc+memory

Note that both these posts are quite old - and with the rapidly changing esp32 environment might take a little work to get going...

Martin

Re: ESP32 "Flash EEPROM"

Posted: Thu Nov 06, 2025 1:51 pm
by dvcam99
Many thanks Martin,

I will check your suggestion.

BR

Dirk

Re: ESP32 "Flash EEPROM"

Posted: Thu Nov 06, 2025 3:43 pm
by chipfryer27
Hi

Using an ESP "lolin-lite" I have used the EEPROM 2D component to good effect. As Martin states above it isn't really EEPROM but not so much you'd notice :) It saves data and can be read back upon reboot etc. It would probably work for other variants and no harm in trying.

Regards

Re: ESP32 "Flash EEPROM"

Posted: Fri Nov 07, 2025 2:06 pm
by dvcam99
Hello guys,

I can confirm that the Code Abstraction Layer EE-Prom will work an do the job.

Image

Thanks for pointing me in the right direction.

BR

Dirk