Executing code on stack. Writing to IRAM. Possible?
Posted: Fri Apr 04, 2025 8:21 am
Hello,
I am trying to find bits of information on MMU & memory usage on ESP32. In particular: how we can (can we?) execute code, which is located on stack? Or code must be located in IRAM?
Is it possible to disable write-protection for the IRAM so I can modify some code, invalidate icache and jump to that code?
Thanks!
I am trying to find bits of information on MMU & memory usage on ESP32. In particular: how we can (can we?) execute code, which is located on stack? Or code must be located in IRAM?
Is it possible to disable write-protection for the IRAM so I can modify some code, invalidate icache and jump to that code?
Thanks!