We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hello, experts:
My platform has a Cortex-A9 MPCore cpu, It supports trustzone tech.
I want to change NSACR.TL bit, but It need in secure state.
I want to change non-secure state to secure state by entering monitor mode using smc.
But It is not easy to understand how to use smc by reading ARM reference manual.
So, is there any sample code? or would you give some suggestions about this problem?
Best wishes,
You need to have a monitor running and then this monitor needs to have a special "call" to allow you to do what you want.If you are running bare metal, you likely start in secure mode.