Exception Types; Table 5-1 Exception Types - ARM Cortex-M3 Technical Reference Manual

R2p0
Hide thumbs Also See for Cortex-M3:
Table of Contents

Advertisement

Exceptions
5.2

Exception types

Exception type
-
Reset
Non-maskable Interrupt
Hard Fault
Memory Management
Bus Fault
Usage Fault
5-4
Various types of exceptions exist in the processor. A fault is an exception that results
from an error condition because of instruction execution. Faults can be reported
synchronously or asynchronously to the instruction that caused them. In general, faults
are reported synchronously. The Imprecise Bus Fault is an asynchronous fault
supported in the ARMv7-M profile. A synchronous fault is always reported with the
instruction that caused the fault. An asynchronous fault does not guarantee how it is
reported with respect to the instruction that caused the fault.
For more information on exceptions, see the ARMv7-M Architecture Reference Manual.
Table 5-1 shows the exception type, position, and priority. Position refers to the word
offset from the start of the vector table. The lower numbers shown in the Priority column
of the table are higher priority. How the types are activated, synchronously or
asynchronously, is also shown. The exact meaning and use of priorities is explained in
Exception priority on page 5-6.
Position
Priority
0
-
1
–3 (highest)
2
–2
3
–1
4
Configurable
5
Configurable
6
Configurable
Copyright © 2005-2008 ARM Limited. All rights reserved.
Description
Stack top is loaded from first entry of vector table on reset.
Invoked on power up and warm reset. On first instruction,
drops to lowest priority (Thread mode). This is
asynchronous.
Cannot be stopped or pre-empted by any exception but
reset. This is asynchronous.
All classes of Fault, when the fault cannot activate because
of priority or the Configurable Fault handler has been
disabled. This is synchronous.
a
Memory Protection Unit (MPU) mismatch, including
access violation and no match. This is synchronous. This is
used even if the MPU is disabled or not present, to support
the Executable Never (XN) regions of the default memory
map.
a
Pre-fetch fault, memory access fault, and other
address/memory related. This is synchronous when precise
and asynchronous when imprecise.
a
Usage fault, such as Undefined instruction executed or
illegal state transition attempt. This is synchronous.
Non-Confidential

Table 5-1 Exception types

ARM DDI 0337G
Unrestricted Access

Advertisement

Table of Contents
loading

Table of Contents