Compiling an ESP32 memory map: am I correct regarding readable/writeable/executable regions?
Posted: Fri Aug 15, 2025 4:08 pm
Hello, I have been asked to compile a memory map for an ESP32 project. I understand how the flash memory is laid out for my project. However, there is another aspect I have been asked to include in this memory map: "if each memory region is readable, writeable and/or executable".
My question is regarding what to say for each region about the read/write/execute access. Because isn't everything in the flash memory r/w access? I can use esptool to write anything to the flash at any address, if I am not mistaken. Then whether to put "x" (executable) access simply depends on common sense - if it's code that is stored, sure, we execute stuff from that memory address.
My question is regarding what to say for each region about the read/write/execute access. Because isn't everything in the flash memory r/w access? I can use esptool to write anything to the flash at any address, if I am not mistaken. Then whether to put "x" (executable) access simply depends on common sense - if it's code that is stored, sure, we execute stuff from that memory address.