Qdatasheet_Logo
Integrated circuits, Transistor, Semiconductors Search and Datasheet PDF Download Site

ATA6612C View Datasheet(PDF) - Atmel Corporation

Part Name
Description
MFG CO.
'ATA6612C' PDF : 312 Pages View PDF
When the BOOTRST Fuse is unprogrammed, the boot section size set to 2Kbytes and the IVSEL bit in the MCUCR register
is set before any interrupts are enabled, the most typical and general program setup for the reset and interrupt vector
addresses in Atmel® ATA6612C is:
Address
Labels Code
Comments
0x000
RESET: ldi
r16,high(RAMEND); Main program start
0x001
out SPH,r16
; Set Stack Pointer to top of RAM
0x002
ldi r16,low(RAMEND)
0x003
out SPL,r16
0x004
sei
; Enable interrupts
0x005
<instr> xxx
;
.org 0xC01
0xC01
rjmp EXT_INT0
; IRQ0 Handler
0xC02
rjmp EXT_INT1
; IRQ1 Handler
...
... ...
;
0xC19
rjmp SPM_RDY
; Store Program Memory Ready Handler
When the BOOTRST fuse is programmed and the boot section size set to 2Kbytes, the most typical and general program
setup for the reset and Interrupt vector Aadresses in Atmel ATA6612C is:
Address
Labels Code
Comments
.org 0x001
0x001
rjmp EXT_INT0
; IRQ0 Handler
0x002
rjmp EXT_INT1
; IRQ1 Handler
...
... ...
;
0x019
rjmp SPM_RDY
; Store Program Memory Ready Handler
;
.org 0xC00
0xC00
RESET: ldi
r16,high(RAMEND); Main program start
0xC01
out
SPH,r16; Set Stack Pointer to top of RAM
0xC02
ldi
r16,low(RAMEND)
0xC03
out
SPL,r16
0xC04
sei
; Enable interrupts
0xC05
<instr> xxx
When the BOOTRST fuse is programmed, the boot section size set to 2Kbytes and the IVSEL bit in the MCUCR register is
set before any interrupts are enabled, the most typical and general program setup for the reset and interrupt vector
addresses in Atmel ATA6612C is:
Address
;
.org 0xC00
0xC00
0xC01
0xC02
...
0xC19
;
0xC1A
0xC1B
0xC1C
0xC1D
0xC1E
0xC1F
Labels Code
Comments
rjmp
rjmp
rjmp
... ...
rjmp
RESET; Reset handler
EXT_INT0; IRQ0 Handler
EXT_INT1; IRQ1 Handler
;
SPM_RDY; Store Program Memory Ready Handler
RESET: ldi r16,high(RAMEND); Main program start
out SPH,r16
; Set Stack Pointer to top of RAM
ldi r16,low(RAMEND)
out SPL,r16
sei
; Enable interrupts
<instr> xxx
72 ATA6612C/ATA6613C [DATASHEET]
9111L–AUTO–11/14
Share Link: GO URL

All Rights Reserved © qdatasheet.com  [ Privacy Policy ] [ Contact Us ]