ESP32 "Flash EEPROM"

For general Flowcode discussion that does not belong in the other sections.
Post Reply
dvcam99
Posts: 101
http://meble-kuchenne.info.pl
Joined: Fri Dec 04, 2020 11:03 am
Has thanked: 6 times
Been thanked: 13 times

Flowcode v9 ESP32 "Flash EEPROM"

Post 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
Happy FC9, FC-8 and FC-6 professional user ;)

stefan.erni
Valued Contributor
Posts: 1114
Joined: Wed Dec 02, 2020 10:53 am
Has thanked: 212 times
Been thanked: 230 times

Re: ESP32 "Flash EEPROM"

Post 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

mnfisher
Valued Contributor
Posts: 1703
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 146 times
Been thanked: 794 times

Re: ESP32 "Flash EEPROM"

Post 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

dvcam99
Posts: 101
Joined: Fri Dec 04, 2020 11:03 am
Has thanked: 6 times
Been thanked: 13 times

Re: ESP32 "Flash EEPROM"

Post by dvcam99 »

Many thanks Martin,

I will check your suggestion.

BR

Dirk
Happy FC9, FC-8 and FC-6 professional user ;)

chipfryer27
Valued Contributor
Posts: 1767
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 391 times
Been thanked: 600 times

Re: ESP32 "Flash EEPROM"

Post 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

dvcam99
Posts: 101
Joined: Fri Dec 04, 2020 11:03 am
Has thanked: 6 times
Been thanked: 13 times

Re: ESP32 "Flash EEPROM"

Post 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
Attachments
Screenshot 2025-11-07 150114.png
Screenshot 2025-11-07 150114.png (4.62 KiB) Viewed 86 times
Happy FC9, FC-8 and FC-6 professional user ;)

Post Reply