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?
Flash memory
-
- Posts: 9835
- Joined: Thu Nov 26, 2015 4:08 am
Re: Flash memory
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
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
Who is online
Users browsing this forum: Baidu [Spider] and 102 guests