Page 1 of 1

Flash memory

Posted: Wed Jun 21, 2017 3:15 pm
by pablogurjao
I am trying work with the flash memory of esp32 using the spi_flash, but I don't understand which address I need to put for start write, I think that the esp32 has 3MB reserved to store data, but I am not sure which address starts this space.

Which part the flash memory I can write data with spi_flash, the data that I want store is about 1MB.

Anyone here has any experience with this subject?

Re: Flash memory

Posted: Thu Jun 22, 2017 2:07 am
by ESP_Sprite
We have a partition system for this: essentially, you can define your own partitions in flash, and read/write/mmap them as separate flash regions. It's a nice and elegant solution for the problem you're having.
See http://esp-idf.readthedocs.io/en/latest ... ables.html for more information as well as the esp_partition_* function calls here: http://esp-idf.readthedocs.io/en/latest ... flash.html

Re: Flash memory

Posted: Thu Jul 20, 2017 6:52 pm
by pablogurjao
Thanks, it Works here!