Hello,
My question is regarding Memory Protection Controller. I want to have one area in memory that is secure and second that is non-secure. Saying secure I mean for example that such area can be read only by Supervisor. Non-secure could be read by Supervisor and User. In my opinion it is easy to invoke MPC_setPrivMode(US_SV) function that gives me ability to switch from User Mode to Supervisor Mode, and now I can read from secure memory, even if I was not originally authorized to do it. But maybe I am thinking in the wrong way? How do you see architecture of such system with secure and non-secure memory?
Best regards,
Grzegorz