ESP32 - Memory
Posted: Thu Jul 14, 2022 7:17 am
Good Morning,
I am a beginner in the ESP32 subject and I need to use it for my work.
I have just read the Memory part of the reference manual and I have some questions :
1) When compiling and flashing a program, where is it located exactly ? In which internal memory part ?
2) Why internal SRAM parts can be accessed by instruction bus ? Can we put instructions in these parts ?
3) Same question concerning the RTC Memory.
4) If we want to use external FLASH to put our program and that the CPU can access to it automatically using SPI, cache mecanisms and MMU, what do we have to configure exactly and how ? After that, is the instructions access totally automatic and do we have to do SPI Reads to access to the code ?
5) ROM 0 32KB can be remapped in order to access to SRAM1 => What is the point ?
Thank you for your help.
Best regards
I am a beginner in the ESP32 subject and I need to use it for my work.
I have just read the Memory part of the reference manual and I have some questions :
1) When compiling and flashing a program, where is it located exactly ? In which internal memory part ?
2) Why internal SRAM parts can be accessed by instruction bus ? Can we put instructions in these parts ?
3) Same question concerning the RTC Memory.
4) If we want to use external FLASH to put our program and that the CPU can access to it automatically using SPI, cache mecanisms and MMU, what do we have to configure exactly and how ? After that, is the instructions access totally automatic and do we have to do SPI Reads to access to the code ?
5) ROM 0 32KB can be remapped in order to access to SRAM1 => What is the point ?
Thank you for your help.
Best regards