Writing IRAM

vvb333007
Posts: 3
Joined: Wed Jul 31, 2024 5:53 am

Writing IRAM

Postby vvb333007 » Fri Sep 13, 2024 3:45 am

Hello!

Can I configure MMU in a such way so I can write to a IRAM? What I want is to enable writing to the instruction ram, and then inject some binary code at the beggining of FreeRTOS task creation function to hook onto it.

Is this doable?

ESP_Sprite
Posts: 9764
Joined: Thu Nov 26, 2015 4:08 am

Re: Writing IRAM

Postby ESP_Sprite » Fri Sep 13, 2024 6:38 am

You can; in Menuconfig disable 'Component config → ESP System Settings → Memory protection'.

Who is online

Users browsing this forum: Bing [Bot] and 147 guests