This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Instruction Fetches from Peripheral Memory Space

Is it possible to use the MPU to configure the Peripheral Memory Space as Execute?

It looks possible via the MPU_RBAR.XN bit.

If this is the case, is it fair to say that TrustZone aware select gates need to monitor HPROT[0] or PPROT[2] and block the transaction if it is an instruction fetch?

Parents
  • Regardless of MPU settings

    the SG instruction must reside in a specific region type called 

    Non Secure Callable   NSC

    jumping to an SG instruction not in an NSC region results in a secure fault 

    only code in the secure side can configure a memory region as NSC using the SAU control registers 

    hence scenario is under control .

Reply
  • Regardless of MPU settings

    the SG instruction must reside in a specific region type called 

    Non Secure Callable   NSC

    jumping to an SG instruction not in an NSC region results in a secure fault 

    only code in the secure side can configure a memory region as NSC using the SAU control registers 

    hence scenario is under control .

Children
No data