Go Down

Topic: ESP WROOM 32 SPI Flash Memory (Read 1 time) previous topic - next topic

ViW

Hi everyone,


I use Adafruit ESP32 Feather Huzzah32, I want to use flash memory (4MB) but I can not find an example to store values ​​in this memory.

Can someone help me ?


Vincent


gbafamily

If you want to read/write lots data use SPIFFS (SPI Flash File System). One option is to configure 1MB for code and 3MB for SPIFFS.

https://github.com/espressif/arduino-esp32/blob/master/libraries/SPIFFS/examples/SPIFFS_Test/SPIFFS_Test.ino

ViW

Thanks for your answer DrDooom and gbafamily.

DrDooom, I try this solution but I can not save much data just 4kbytes.

Gbafamily, this solution works when the card is linked to the PC but in the case of an embedded system it is not functional.

Finally, I find solution to write in flash memory. I use ESP.flashWrite and ESP.flashRead.


Vincent

Go Up