atmega32c1 ATMEL Corporation, atmega32c1 Datasheet - Page 56

no-image

atmega32c1

Manufacturer Part Number
atmega32c1
Description
Atmega32m1 Automotive 8-bit Avr Microcontroller With 32k/64k Bytes In-system Programmable Flash
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
atmega32c1-15AZ
Manufacturer:
ATMEL
Quantity:
170
Part Number:
atmega32c1-15AZ
Manufacturer:
Atmel
Quantity:
10 000
56
ATmega32/64/M1/C1
Table 8-1.
Notes:
Table 8-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 8-2.
Note:
The most typical and general program setup for the Reset and Interrupt Vector Addresses in
ATmega32/64/M1/C1 is:
Vector
BOOTRST
No.
29
30
31
Address Labels Code
0x000
0x002
0x004
0x006
0x008
0x00A
0x00C
0x00E
0x010
0x012
0x014
0x016
0x018
0x01A
0x01C
0x01E
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
page
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.
shows reset and Interrupt Vectors placement for the various combinations of
means unprogrammed while “0” means programmed.
Program
Address
0x003C
0x003A
0x0038
Reset and Interrupt Vectors
Reset and Interrupt Vectors Placement in ATmega32/64/M1/C1
272.
IVSEL
“Boot Loader Support – Read-While-Write Self-Programming ATmega32/64M1” on
0
1
0
1
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
jmp
Source
WDT
EE READY
SPM READY
Reset Address
0x000
0x000
Boot Reset Address
Boot Reset Address
RESET
ANA_COMP_0
ANA_COMP_1
ANA_COMP_2
ANA_COMP_3
PSC_FAULT
PSC_EC
EXT_INT0
EXT_INT1
EXT_INT2
EXT_INT3
TIM1_CAPT
TIM1_COMPA
TIM1_COMPB
TIM1_OVF
TIM0_COMPA
Table 23-4 on page
Interrupt Definition
Watchdog Time-Out Interrupt
EEPROM Ready
Store Program Memory Ready
Comments
; Reset Handler
; Analog Comparator 0 Handler
; Analog Comparator 1 Handler
; Analog Comparator 2 Handler
; Analog Comparator 3 Handler
; PSC Fault Handler
; PSC End of Cycle Handler
; IRQ0 Handler
; IRQ1 Handler
; IRQ2 Handler
; IRQ3 Handler
; Timer1 Capture Handler
; Timer1 Compare A Handler
; Timer1 Compare B Handler
; Timer1 Overflow Handler
; Timer0 Compare A Handler
Interrupt Vectors Start Address
0x001
Boot Reset Address + 0x002
0x001
Boot Reset Address + 0x002
277. For the BOOTRST Fuse “1”
(1)
7647A–AVR–02/08

Related parts for atmega32c1