
. . . . .
W O R K I N G W I T H T H E C P U
MMU faults and CPU aborts
www.digiembedded.com
119
When you use subpage permissions and the page entry has to be invalidated, you
must invalidate all four subpages separately.
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
M M U f a u l t s a n d C P U a b o r t s
The MMU generates an abort on these types of faults:
Alignment faults (data accesses only)
Translation faults
Domain faults
Permission faults
In addition, an external abort can be raised by the external system. This can happen
only for access types that have the core synchronized to the external system:
Page walks
Noncached reads
Nonbuffered writes
Noncached read-lock-write sequence
(SWP)
Alignment fault
checking
Alignment fault checking is enabled by the A bit in the R1: Control register.
Alignment fault checking is not affected by whether the MMU is enabled.
Translation, domain, and permission faults are generated only when the MMU is
enabled.
The access control mechanisms of the MMU detect the conditions that produce
these faults. If a fault is detected as a result of a memory access, the MMU aborts
the access and signals the fault condition to the CPU core. The MMU retains status
and address information about faults generated by the data accesses in the Data
Fault Status register and Fault Address register (see “Fault Address and Fault Status
registers” on page 119).
The MMU also retains status about faults generated by instruction fetches in the
Instruction Fault Status register.
An access violation for a given memory access inhibits any corresponding external
access to the AHB interface, with an abort returned to the CPU core.
Fault Address and
Fault Status
registers
On a data abort, the MMU places an encoded four-bit value — the fault status —
along with the four-bit encoded domain number in the Data Fault Status register.
Similarly, on a prefetch abort, the MMU places an encoded four-bit value along with
the four-bit encoded domain number in the Instruction Fault Status register. In
addition, the MVA associated with the data abort is latched into the Fault Address
Summary of Contents for NS9215
Page 1: ...NS9215 Hardware Reference 90000847_C Release date 10 April 2008...
Page 3: ......
Page 4: ......
Page 26: ...26 Hardware Reference NS9215...
Page 44: ...P I N O U T 26 5 System clock 44 Hardware Reference NS9215 System clock drawing...
Page 52: ...P I N O U T 26 5 Power and ground 52 Hardware Reference NS9215...
Page 80: ...I O C O N T ROL M O D U L E Memory Bus Configuration register 80 Hardware Reference NS9215...
Page 136: ...WOR KI N G W I TH T H E C P U Noncachable instruction fetches 136 Hardware Reference NS9215...
Page 202: ...S Y S T E M C O N T RO L M OD U L E RTC Module Control register 202 Hardware Reference NS9215...
Page 354: ...E X T E R N A L D M A DMA Peripheral Chip Select register 354 Hardware Reference NS9215...
Page 472: ...R E A L TI M E C L O C K M O D U L E General Status register 472 Hardware Reference NS9215...
Page 512: ...TI M I NG Clock timing 512 Hardware Reference NS9215...
Page 515: ...PA CKA GING Processor Dimensions www digiembedded com 515...
Page 516: ...PA CKA GING Processor Dimensions 516 Hardware Reference NS9215...