AT90CAN128-16AE ATMEL Corporation, AT90CAN128-16AE Datasheet - Page 60

no-image

AT90CAN128-16AE

Manufacturer Part Number
AT90CAN128-16AE
Description
8-bit Avr Microcontroller With 128K Bytes of Isp Flash And CAN Controller.flash (Kbytes) 128 Vcc (V) 2.7-5.5 EEPROM (Kbytes) 4 SRAM (bytes) 4K CAN (mess. Obj.) 15
Manufacturer
ATMEL Corporation
Datasheet
Moving Interrupts
Between Application and
Boot Space
MCU Control Register –
MCUCR
60
AT90CAN128
When the BOOTRST Fuse is programmed and the Boot section size set to 8K bytes, the
most typical and general program setup for the Reset and Interrupt Vector Addresses is:
When the BOOTRST Fuse is programmed, the Boot section size set to 8K bytes and the
IVSEL bit in the MCUCR Register is set before any interrupts are enabled, the most typ-
ical and general program setup for the Reset and Interrupt Vector Addresses is:
The General Interrupt Control Register controls the placement of the Interrupt Vector
table.
Bit
Read/Write
Initial Value
...
0xF00C
;Address Labels Code
.org 0x0002
0x0002
0x0004
...
0x002C
;
.org 0xF000
0xF000
0xF001
0xF002
0xF003
0xF004
0xF005
;Address Labels Code
;
.org 0xF000
0xF000
0xF002
0xF004
...
0xF044
;
0xF046
0xF047
0xF048
0xF049
0xF04A
0xF04B
RESET: ldi
RESET: ldi
JTD
R/W
7
0
...
jmp
jmp
jmp
...
jmp
out
ldi
out
sei
<instr>
jmp
jmp
jmp
...
jmp
out
ldi
out
sei
<instr>
R
6
0
...
SPM_RDY
EXT_INT0
PCINT0
...
SPM_RDY
r16,high(RAMEND) ; Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
RESET
EXT_INT0
PCINT0
...
SPM_RDY
r16,high(RAMEND) ; Main program start
SPH,r16
r16,low(RAMEND)
SPL,r16
xxx
xxx
R
5
0
PUD
R/W
4
0
;
; Store Program Memory Ready Handler
Comments
; IRQ0 Handler
; PCINT0 Handler
;
; Store Program Memory Ready Handler
; Set Stack Pointer to top of RAM
; Enable interrupts
Comments
; Reset handler
; IRQ0 Handler
; PCINT0 Handler
;
; Store Program Memory Ready Handler
; Set Stack Pointer to top of RAM
; Enable interrupts
3
R
0
R
2
0
IVSEL
R/W
1
0
IVCE
R/W
4250C–CAN–03/04
0
0
MCUCR

Related parts for AT90CAN128-16AE