
MAB
MDB
Control Registers
MPU
Main
Memory
Array/
Controller
Violation
Memory Protection Unit (MPU) Introduction
6.1
Memory Protection Unit (MPU) Introduction
The MPU protects against accidental writes to designated read-only memory segments or execution of
code from a constant memory segment memory. Clearing the MPUENA bit disables the MPU, making the
complete memory accessible for read, write, and execute operations. After a BOR, the complete memory
is accessible without restrictions for read, write, and execute operations.
MPU features include:
•
Main memory can be configured up to three segments of variable size
•
Access rights for each segment can be set independently
•
Information memory can have its access rights set independently
•
All MPU registers are protected from access by password
NOTE:
After BOR, no segmentation exists, and the main memory and information memory are
accessible by read, write, and execute operations.
An overview of the MPU is shown in
Figure 6-1. Memory Protection Unit Overview
252
Memory Protection Unit (MPU)
SLAU272C – May 2011 – Revised November 2013
Copyright © 2011–2013, Texas Instruments Incorporated