EasyManuals Logo

ARM Cortex-M3 User Manual

ARM Cortex-M3
410 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #200 background imageLoading...
Page #200 background image
Memory Protection Unit
9-6 Copyright © 2005-2008 ARM Limited. All rights reserved. ARM DDI 0337G
Non-Confidential
Unrestricted Access
Table 9-3 describes the bit assignments of the MPU Control Register.
MPU Region Number Register
Use the MPU Region Number Register to select which protection region is accessed.
Then write to the MPU Region Base Address Register or the MPU Attributes and Size
Register to configure the characteristics of the protection region.
The register address, access type, and Reset state are:
Address
0xE000ED98
Access Read/write
Reset state Unpredictable
Figure 9-3 on page 9-7 shows the bit assignments of the MPU Region Number Register.
Table 9-3 MPU Control Register bit assignments
Bits Field Function
[31:2] - Reserved.
[2] PRIVDEFENA This bit enables the default memory map for privileged access, as a background region, when
the MPU is enabled. The background region acts as if it was region number 1 before any
settable regions. Any region that is set up overlays this default map, and overrides it.
If this bit = 0, the default memory map is disabled, and memory not covered by a region faults.
When the MPU is enabled and PRIVDEFENA is enabled, the default memory map is as
described in Chapter 4 Memory Map. This applies to memory type, Execute Never (XN),
cache and shareable rules. However, this only applies to privileged mode (fetch and data
access). User mode code faults unless a region has been set up for its code and data.
When the MPU is disabled, the default map acts on both privileged and user mode code.
XN and SO rules always apply to the System partition whether this enable is set or not.
If the MPU is disabled, this bit is ignored.
Reset clears the PRIVDEFENA bit.
[1] HFNMIENA This bit enables the MPU when in Hard Fault, NMI, and FAULTMASK escalated handlers. If
this bit = 1 and the ENABLE bit = 1, the MPU is enabled when in these handlers. If this bit =
0, the MPU is disabled when in these handlers, regardless of the value of ENABLE. If this bit
=1 and ENABLE = 0, behavior is Unpredictable.
Reset clears the HFNMIENA bit.
[0] ENABLE MPU enable bit:
1 = enable MPU
0 = disable MPU.
Reset clears the ENABLE bit.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ARM Cortex-M3 and is the answer not in the manual?

ARM Cortex-M3 Specifications

General IconGeneral
ArchitectureARMv7-M
Instruction SetThumb-2
Pipeline Stages3-stage
InterruptsNested Vectored Interrupt Controller (NVIC)
Interrupt ControllerNested Vectored Interrupt Controller (NVIC)
Memory Protection UnitOptional
Power ConsumptionVaries by implementation
Max Clock SpeedUp to 100 MHz
DebuggingJTAG and Serial Wire Debug (SWD)
Operating Voltage1.8V to 3.6V
Manufacturing ProcessVaries by implementation
Core Type32-bit

Related product manuals