SLUUDG7 December 2025 MSPM33C321A
The GSC and MPU can be used together to define regions of memory as priviledge or unpriviledge similar to how the GSC and SAU define regions of memory as secure or non-secure. This allows the programmer to add another layer of protection on regions of memory by using priviledge access. Due to the priviledge state also changing with exceptions occuring make sure priviledge access is expected when an interrupt occurs.
Use Table 2-2 to determine which fault will occur first when using the GSC and MPU to attribute regions of memory as priviledge or unpriviledge.
| Processor State | MPU Privilege Attribution | GSC Privilege Attribution | Resulting Interrupt | Access violation |
|---|---|---|---|---|
| Privilege | Privilege | Privilege | None | None |
| Unprivilege | Privilege | Privilege | MemMange fault | Yes blocked by CPU |
| Privilege | Privilege | Unprivilege | None | None |
| Unprivilege | Privilege | Unprivilege | MemMange fault | Yes blocked by CPU |
| Privilege | Unprivilege | Privilege | None | None |
| Unprivilege | Unprivilege | Privilege | Priviledge NMI | Yes blocked by GSC |
| Privilege | Unprivilege | Unprivilege | None | None |
| Unprivilege | Unprivilege | Unprivilege | None | None |