Datasheet

Table Of Contents
102
ATmega640/V-1280/V-1281/V-2560/V-2561/V [DATASHEET]
2549Q–AVR–02/2014
Notes: 1. When the BOOTRST Fuse is programmed, the device will jump to the Boot Loader address at reset, see “Memory
Programming” on page 325.
2. When the IVSEL bit in MCUCR is set, Interrupt Vectors will be moved to the start of the Boot Flash Section. The
address of each Interrupt Vector will then be the address in this table added to the start address of the Boot Flash
Section.
3. Only available in
ATmega640/1280/2560.
14.2 Reset and Interrupt Vector placement
Table 14-2 on page 103 shows Reset and Interrupt Vectors placement for the various combinations of BOOTRST
and IVSEL settings. If the program never enables an interrupt source, the Interrupt Vectors are not used, and reg-
ular program code can be placed at these locations. This is also the case if the Reset Vector is in the Application
section while the Interrupt Vectors are in the Boot section or vice versa.
31 $003C EE READY EEPROM Ready
32 $003E TIMER3 CAPT Timer/Counter3 Capture Event
33 $0040 TIMER3 COMPA Timer/Counter3 Compare Match A
34 $0042 TIMER3 COMPB Timer/Counter3 Compare Match B
35 $0044 TIMER3 COMPC Timer/Counter3 Compare Match C
36 $0046 TIMER3 OVF Timer/Counter3 Overflow
37 $0048 USART1 RX USART1 Rx Complete
38 $004A USART1 UDRE USART1 Data Register Empty
39 $004C USART1 TX USART1 Tx Complete
40 $004E TWI 2-wire Serial Interface
41 $0050 SPM READY Store Program Memory Ready
42 $0052
(3)
TIMER4 CAPT Timer/Counter4 Capture Event
43 $0054 TIMER4 COMPA Timer/Counter4 Compare Match A
44 $0056 TIMER4 COMPB Timer/Counter4 Compare Match B
45 $0058 TIMER4 COMPC Timer/Counter4 Compare Match C
46 $005A TIMER4 OVF Timer/Counter4 Overflow
47 $005C
(3)
TIMER5 CAPT Timer/Counter5 Capture Event
48 $005E TIMER5 COMPA Timer/Counter5 Compare Match A
49 $0060 TIMER5 COMPB Timer/Counter5 Compare Match B
50 $0062 TIMER5 COMPC Timer/Counter5 Compare Match C
51 $0064 TIMER5 OVF Timer/Counter5 Overflow
52 $0066
(3)
USART2 RX USART2 Rx Complete
53 $0068
(3)
USART2 UDRE USART2 Data Register Empty
54 $006A
(3)
USART2 TX USART2 Tx Complete
55 $006C
(3)
USART3 RX USART3 Rx Complete
56 $006E
(3)
USART3 UDRE USART3 Data Register Empty
57 $0070
(3)
USART3 TX USART3 Tx Complete
Table 14-1. Reset and Interrupt Vectors (Continued)
Vector No. Program Address
(2)
Source Interrupt Definition