Memory Protection Unit (MPU)
16-8
Freescale Semiconductor
PXR40 Microcontroller Reference Manual, Rev. 1
16.2.2.4
MPU Region Descriptor n (MPU_RGDn)
Each 128-bit (16 byte) region descriptor specifies a given memory space and the access attributes
associated with that space. The descriptor definition is fundamental to the operation of the MPU.
The region descriptors are organized sequentially in the MPU’s programming model and each of the four
32-bit words are detailed in the subsequent sections.
Offset: MP 0x00014 (MPU_EDR0)
MP 0x001C (MPU_EDR1)
MP 0x0024 (MPU_EDR2)
MP 0x002C (MPU_EDR3)
Access: User read only
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
EACD
EPID
EMN
EATTR
E
R
W
W
Reset –
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
–
Figure 16-4. MPU Error Detail Register, MPU Port n (MPU_EDRn)
Table 16-5. MPU_EDR Bit Field Descriptions
Field
Description
0–15
EACD
Error Access Control Detail. This 16-bit read-only field implements one bit per region descriptor and is an indication
of the region descriptor hit logically-ANDed with the access error indication. The MPU performs a
reference-by-reference evaluation to determine the presence/absence of an access error. When an error is
detected, the hit-qualified access control vector is captured in this field.
If the MPU_EDRn register contains a captured error and the EACD field is all zeroes, this signals an access that did
not hit in any region descriptor. All non-zero EACD values signal references that hit in a region descriptor(s), but
failed due to a protection error as defined by the specific set bits.
16–23
EPID
Error Process Identification. This 8-bit read-only field records the process identifier of the faulting reference. The
process identifier is typically driven by processor cores only; for other bus masters, this field is cleared.
24–27
EMN
Error Master Number. This 4-bit read-only field records the logical master number of the faulting reference. This field
is used to determine the bus master that generated the access error.
28–30
EATTR
Error Attributes. This 3-bit read-only field records attribute information about the faulting reference. The supported
encodings are defined as:
000 User mode, instruction access
001 User mode, data access
010 Supervisor mode, instruction access
011 Supervisor mode, data access
All other encodings are reserved. For non-core bus masters, the access attribute information is typically wired to
supervisor, data (0b011).
31
ERW
Error Read/Write. This 1-bit read-only field signals the access type (read, write) of the faulting reference.
0 Read
1 Write
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...