Flash base address
Flash base address
In ESP8266, flash base address was 0x40200000. What is the flash base address for ESP32?
Re: Flash base address
In ESP32, flash is mapped into the CPU address space using Flash MMU, which can map arbitrary 64k blocks of Flash into instruction and data address spaces. Please see the technical reference manual for a complete description.
In software, you can use spi_flash_mmap and esp_partition_mmap functions to set up MMU entries.
In software, you can use spi_flash_mmap and esp_partition_mmap functions to set up MMU entries.
Re: Flash base address
mmap is for read-only access ("This mapping works only for read operations, it is not possible to modify contents of flash memory by writing to mapped memory region.").
I'm using part of flash for logging data. It looks like the most correct way is to use partition api.
I'm using part of flash for logging data. It looks like the most correct way is to use partition api.
Who is online
Users browsing this forum: No registered users and 256 guests