Cortex-M3 Processor (Reference Material)
UG0331 User Guide Revision 15.0
39
3.5.3.4
Vector Table
The vector table contains the reset value of the stack pointer, and the start addresses, also called
exception vectors, for all exception handlers.
page 21 shows the order of the exception vectors
in the vector table. The least-significant bit of each vector must be 1, indicating that the exception handler
is Thumb code.
On system reset, the vector table is fixed at address 0x00000000. Privileged software can write to the
VTOR to relocate the vector table start address to a different memory location, in the range 0x00000080 to
0x3FFFFF80, see
3.5.3.5
Exception Priorities
page 39 shows, all exceptions have an associated priority, with:
•
a lower priority value indicating a higher priority
•
configurable priorities for all exceptions except Reset, HardFault, and NMI.
If software does not configure any priorities, then all exceptions with a configurable priority have a priority
of 0. For information about configuring exception priorities see
System Handler Priority Registers,
Note:
Configurable priority values are in the range 0-255. This means that the Reset, HardFault, and NMI
exceptions, with fixed negative priority values, always have higher priority than any other exception.
For example, assigning a higher priority value to IRQ[0] and a lower priority value to IRQ[1] means that
IRQ[1] has higher priority than IRQ[0]. If both IRQ[1] and IRQ[0] are asserted, IRQ[1] is processed before
IRQ[0].
Figure 16 •
Vector Table
Initial SP value
Reset
Hard fault
NMI
Memory management fault
Usage fault
Bus fault
0x0000
0x0004
0x0008
0x000C
0x0010
0x0014
0x0018
Reserved
SVCall
PendSV
Reserved for Debug
Systick
IRQ0
Reserved
0x002C
0x0038
0x003C
0x0040
Offset
Exception number
2
3
4
5
6
11
12
14
15
16
18
13
7
10
1
Vector
.
.
.
8
9
IRQ1
IRQ2
0x0044
IRQ239
17
0x0048
0x004C
255
.
.
.
.
.
.
0x03FC
IRQ number
-14
-13
-12
-11
-10
-5
-2
-1
0
2
1
239
Содержание SmartFusion2 MSS
Страница 1: ...UG0331 User Guide SmartFusion2 Microcontroller Subsystem ...
Страница 166: ...Cortex M3 Processor Reference Material UG0331 User Guide Revision 15 0 132 ...
Страница 200: ...Embedded NVM eNVM Controllers UG0331 User Guide Revision 15 0 166 Figure 87 System Builder Window ...
Страница 407: ...Universal Serial Bus OTG Controller UG0331 User Guide Revision 15 0 373 ...
Страница 806: ...Fabric Interface Controller UG0331 User Guide Revision 15 0 772 Figure 345 FIC Master AHB Lite Subsystem ...