This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Secure and non-secure memory

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