Page 1 of 1

Compiling an ESP32 memory map: am I correct regarding readable/writeable/executable regions?

Posted: Fri Aug 15, 2025 4:08 pm
by outportasomebinary
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.

Re: Compiling an ESP32 memory map: am I correct regarding readable/writeable/executable regions?

Posted: Fri Aug 15, 2025 6:00 pm
by MicroController
Are you only concerned with flash or actually (also) asked about RAM?

Re: Compiling an ESP32 memory map: am I correct regarding readable/writeable/executable regions?

Posted: Mon Aug 18, 2025 6:43 am
by outportasomebinary
Are you only concerned with flash or actually (also) asked about RAM?
Good question - "a memory map where the code and data is located inside the device" (which is what I am being asked for) is something I interpret as flash memory.