72
11100B–ATARM–31-Jul-12
SAM4S Series [Preliminary]
11.4.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.
shows the order of the excep-
tion vectors in the vector table. The least-significant bit of each vector must be 1, indicating that
the exception handler is Thumb code.
Figure 11-5. Vector Table
On system reset, the vector table is fixed at address 0x00000000. Privileged software can write to
the SCB_VTOR register to relocate the vector table start address to a different memory location,
in the range 0x00000080 to 0x3FFFFF80, see
“Vector Table Offset Register”
.
11.4.3.5
Exception Priorities
shows, all exceptions have an associated priority, with:
• a lower priority value indicating a higher priority
• configurable priorities for all exceptions except Reset, Hard fault and NMI.
If the 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
, and
“Interrupt Priority Registers”
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
Summary of Contents for SAM4S Series
Page 44: ...44 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 412: ...412 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 1105: ...1105 11100B ATARM 31 Jul 12 SAM4S Series Preliminary ...
Page 1143: ...1143 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 4 64 lead LQFP Package Drawing ...
Page 1145: ...1145 11100B ATARM 31 Jul 12 SAM4S Series Preliminary Figure 43 5 64 lead QFN Package Drawing ...