Chapter 4 Memory Protection Unit (S12XMPUV1)
MC9S12XE-Family Reference Manual , Rev. 1.19
228
Freescale Semiconductor
access is allowed or represents an access violation. If an access violation caused by the S12X CPU is
detected, the MPU module raises an access violation interrupt. If the MPU module detects an access
violation caused by a bus master other than the S12X CPU, it flags an access error condition to the
respective master. In addition to the restrictions defined for memory ranges in the MPU descriptors,
accesses to memory not covered by any MPU descriptor (even read accesses!) are considered access
violations.
shows a block diagram of the MPU module.
Figure 4-1. Block Diagram
4.1.3
Features
•
Protects memory from undesired accesses coming from up to 3 bus masters
1
•
Eight memory protection descriptors
— each descriptor can cover the full global memory map (8 MBytes)
— each descriptor has a granularity of 8 Bytes
1. Master 3 can be implemented or left out depending the chip configuration. Please refer to the Device Reference Manual for
information about the availability and function of Master 3.
Bus Interf
ace
Data Access
Op-code Fetch
Status
Registers
CPU
MMC
MPU
Protection Descr
iptors
Bus Interf
ace
Data Access
“Master3”
Bus Interf
ace
Data Access
Op-code Fetch
XGATE
Access Validation
Bus Interf
ace
Bus Interf
ace
Bus Interf
ace
MPU Monitoring
Access Validation
MPU Monitoring
Access Validation
MPU Monitoring
Protection Descr
iptors
Compar
ators
Compar
ators
Compar
ators
Access Violation
Interrupt
Because
of
an
order
from
the
United
States
International
Trade
Commission,
BGA-packaged
product
lines
and
part
numbers
indicated
here
currently
are
not
available
from
Freescale
for
import
or
sale
in
the
United
States
prior
to
September
2010:
S12XE
products
in
208
MAPBGA
packages