AT90PWM2B-16SE ATMEL [ATMEL Corporation], AT90PWM2B-16SE Datasheet - Page 57

no-image

AT90PWM2B-16SE

Manufacturer Part Number
AT90PWM2B-16SE
Description
8-bit Microcontroller with 8K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
4317J–AVR–08/10
Table 10-1.
Notes:
Table 10-2
BOOTRST and IVSEL settings. If the program never enables an interrupt source, the Interrupt
Vectors are not used, and regular 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.
Table 10-2.
Note:
The most typical and general program setup for the Reset and Interrupt Vector Addresses in
AT90PWM2/2B/3/3B is:
Vector
BOOTRST
No.
29
30
31
32
Address Labels Code
0x000
0x001
0x002
0x003
0x004
0x005
0x006
0x007
0x008
0x009
0x00A
0x00B
0x00C
0x00D
0x00F
1
1
0
0
1. When the BOOTRST Fuse is programmed, the device will jump to the Boot Loader address at
2. When the IVSEL bit in MCUCR is set, Interrupt Vectors will be moved to the start of the Boot
1. The Boot Reset Address is shown in
reset, see
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.
means unprogrammed while “0” means programmed.
shows reset and Interrupt Vectors placement for the various combinations of
Program
Address
0x001C
0x001D
0x001E
0x001F
Reset and Interrupt Vectors
Reset and Interrupt Vectors Placement in AT90PWM2/2B/3/3B
IVSEL
“Boot Loader Support – Read-While-Write Self-Programming” on page
0
1
0
1
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
rjmp
Source
INT3
SPM READY
Reset Address
0x000
0x000
Boot Reset Address
Boot Reset Address
RESET
PSC2_CAPT
PSC2_EC
PSC1_CAPT
PSC1_EC
PSC0_CAPT
PSC0_EC
ANA_COMP_0
ANA_COMP_1
ANA_COMP_2
EXT_INT0
TIM1_CAPT
TIM1_COMPA
TIM1_COMPB
TIM1_OVF
External Interrupt Request 3
Store Program Memory Ready
Interrupt Definition
Table 24-6 on page
Comments
; Reset Handler
; PSC2 Capture event Handler
; PSC2 End Cycle Handler
; PSC1 Capture event Handler
; PSC1 End Cycle Handler
; PSC0 Capture event Handler
; PSC0 End Cycle Handler
; Analog Comparator 0 Handler
; Analog Comparator 1 Handler
; Analog Comparator 2 Handler
; IRQ0 Handler
; Timer1 Capture Handler
; Timer1 Compare A Handler
; Timer1 Compare B Handler
; Timer1 Overflow Handler
Interrupt Vectors Start Address
0x001
Boot Reset Address + 0x001
0x001
Boot Reset Address + 0x001
AT90PWM2/3/2B/3B
277. For the BOOTRST Fuse “1”
(1)
264.
57

Related parts for AT90PWM2B-16SE