To me, the MMU is the coolest feature after the Wifi radio (especially since Wifi is an easy link to obtaining unprivileged code, which should be isolated).
Is there some reference code for using PIDs with the MMU (or MPU)?
What's the current state of drivers for the MMU?
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: What's the current state of drivers for the MMU?
No, sorry, the PID system is more-or-less untested at the moment.
-
- Posts: 3
- Joined: Fri Oct 12, 2018 3:06 pm
Re: What's the current state of drivers for the MMU?
Hi,
What is the status of MMU/MPU/PID work for ESP32 ?
What is the status of MMU/MPU/PID work for ESP32 ?
-
- Posts: 3
- Joined: Fri Oct 12, 2018 3:06 pm
Re: What's the current state of drivers for the MMU?
Hi,
What is the actual status of PID works?
What is the actual status of PID works?
-
- Posts: 9764
- Joined: Thu Nov 26, 2015 4:08 am
Re: What's the current state of drivers for the MMU?
Still the same. Hardware is there (and documented in the TRM) but no ESP-IDF support (apart from memory mapping flash using the MMU, and upcoming support for bankswitching of 8MB PSRAM chips).
-
- Posts: 3
- Joined: Fri Oct 12, 2018 3:06 pm
Re: What's the current state of drivers for the MMU?
Thank you for answer.
Do you have a plan to do this job finally ?
Do you have a plan to do this job finally ?
Re: What's the current state of drivers for the MMU?
Unfortunately no, there's no plan to provide support for this hardware feature at the moment.rafal.majda wrote:Thank you for answer.
Do you have a plan to do this job finally ?
I think there is often some confusion about the meaning of "MMU" in ESP32. Even including these PID features, the MMU in ESP32 is a much simpler memory management unit than what is found on larger processors with virtual memory / protected memory spaces / etc.
Can you explain why you're interested in the MMU support? What are you aiming to develop?
Re: What's the current state of drivers for the MMU?
Well, my use case is for dynamic loading of modules (obtained via the network from a trusted server). But the content of the modules is user-generated, so I would like to sandbox/prevent memory reads -- and hopefully peripheral access -- while executing those modules (via PIDs).
Who is online
Users browsing this forum: No registered users and 118 guests