English
Language : 

S912XET256J2MAL Datasheet, PDF (227/1324 Pages) Freescale Semiconductor, Inc – MC9S12XEP100 Reference Manual Covers MC9S12XE Family
Chapter 4
Memory Protection Unit (S12XMPUV1)
Table 4-1. Revision History
Revision
Number
Revision Date
V01.04 14 Sep 2005
V01.05
V01.06
14 Mar 2006
09 Oct 2006
Sections
Affected
4.3.1.1/4-231
4.4.1/4-237
4.3.1.1/4-231
4.4/4-237
Description of Changes
- Added note to only use the CPU to clear the AE flag.
- Added disclaimer to avoid changing descriptors while they are in use
because of other bus-masters doing accesses.
- Clarified that interrupt generation is independent of AEF bit state.
- Corrected preliminary statement about execution of violating accesses.
- Made Revision History entries public.
4.1 Introduction
The MPU module provides basic functionality required to protect memory mapped resources from
undesired accesses. Multiple address range comparators compare memory accesses against eight memory
protection descriptors located in the MPU module to determine if each access is valid or not. The
comparison is sensitive to which bus master generates the access and the type of the access.
The MPU module can be used to isolate memory ranges accessible by different bus masters. It can be also
be used by an operating system or software kernel to isolate the regions of memory “legally” available to
specific software tasks, with the kernel re-configuring the task specific memory protection descriptors in
supervisor state during task-switching.
4.1.1 Preface
The following terms and abbreviations are used in the document.
Table 4-2. Terminology
Term
MCU
MPU
CPU
XGATE
supervisor state
user state
Meaning
Micro-Controller Unit
Memory Protection Unit
S12X Central Processing Unit (see S12XCPU Reference Manual)
XGATE Co-processor (see XGATE chapter)
refers to the supervisor state of the S12XCPU (see S12XCPU Reference Manual)
refers to the user state of the S12XCPU (see S12XCPU Reference Manual)
4.1.2 Overview
The MPU module monitors the bus activity of each bus master. The data describing each access is fed into
multiple address range comparators. The output of the comparators is used to determine if a particular
MC9S12XE-Family Reference Manual Rev. 1.25
Freescale Semiconductor
227