Introduction
97
SPRUH82C – April 2013 – Revised September 2016
Copyright © 2013–2016, Texas Instruments Incorporated
Memory Protection Unit (MPU)
5.1.4 MPU Default Configuration
Two MPUs are supported on the device, one for the 128KB on-chip RAM and one for the DDR2/mDDR
SDRAM.
shows the memory regions protected by each MPU.
shows the configuration
of each MPU.
Table 5-1. MPU Memory Regions
Unit
Memory Protection
Memory Region
Start Address
End Address
MPU1
128KB On-chip RAM
8000 0000h
8001 FFFFh
MPU2
DDR2/mDDR SDRAM
C000 0000h
DFFF FFFFh
Table 5-2. MPU Default Configuration
Setting
MPU1
MPU2
Default permission
Assume allowed
Assume allowed
Number of allowed IDs supported
12
12
Number of fixed ranges supported
1
0
Number of programmable ranges supported
6
12
Compare width
1 KB granularity
64 KB granularity
5.2
Architecture
5.2.1 Privilege Levels
The privilege level of a memory access determines what level of permissions the originator of the memory
access might have. Two privilege levels are supported: supervisor and user.
Supervisor level is generally granted access to peripheral registers and the memory protection
configuration. User level is generally confined to the memory spaces that the OS specifically designates
for its use.
ARM CPU instruction and data accesses have a privilege level associated with them. See the ARM926EJ-
S Technical Reference Manual (TRM), downloadable from
http://infocenter.arm.com/help/index.jsp
for
more details on privilege levels of the ARM CPU.
Although master peripherals like the HPI do not execute code, they still have a privilege level associated
with them. Unlike the ARM CPU, the privilege level of this peripheral is fixed.
shows the privilege ID of the CPU and every mastering peripheral.
also shows the
privilege level (supervisor vs. user) and access type (instruction read vs. data/DMA read or write) of each
master on the device. In some cases, a particular setting depends on software being executed at the time
of the access or the configuration of the master peripheral.