
245
42073A-MCU Wireless-02/13
ATmega2564/1284/644RFR2
0x007C
jmp
TRX24_XAH_AMI
;Transceiver Addr. Match Handler
0x007E
jmp
TRX24_TX_END
;Transceiver Transmit End Handler
0x0080
jmp
TRX24_AWAKE
;Transceiver Wake Up Handler
0x0082
jmp
SCNT_CMP1
;Symbol Counter Compare Match 1
0x0084
jmp
SCNT_CMP2
;Symbol Counter Compare Match 2
0x0086
jmp
SCNT_CMP3
;Symbol Counter Compare Match 3
0x0088
jmp
SCNT_OVFL
;Symbol Counter Overflow Handler
0x008A
jmp
SCNT_BACKOFF
;Symbol Backoff Slot Counter H.
0x008C
jmp
AES_READY
;Encryption/Decryption Ready H.
0x008E
jmp
BAT_LOW
;Batterie Monitor Alert Handler
0x0090
jmp
TRX24_TX_START
;Transceiver Transmit Start Hand.
0x0092
jmp
TRX24_AMI0
;Transceiver Address Match 0 H.
0x0094
jmp
TRX24_AMI1
;Transceiver Address Match 1 H.
0x0096
jmp
TRX24_AMI2
;Transceiver Address Match 2 H.
0x0098
jmp
TRX24_AMI3
;Transceiver Address Match 3 H.
;
0x009A
RESET:
ldi
r16, high(RAMEND)
;Main program start
0x009B
out
SPH,r16
;Set Stack Pointer to top of RAM
0x009C
ldi
r16, low(RAMEND)
0x009D
out
SPL,r16
0x009E
sei
;Enable interrupts
0x009F
<instr>
xxx
...
When the BOOTRST Fuse is unprogrammed, the Boot section size set to 8KBytes 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 is:
Address Labels
Code
Comments________________________
0x0000
RESET:
ldi r16,high(RAMEND)
;Main program start
0x0001
out SPH,r16
;Set Stack Pointer to top of RAM
0x0002
ldi r16,low(RAMEND)
0x0003
out SPL,r16
0x0004
sei
;Enable interrupts
0x0005
<instr> xxx
.org 0xF002
0xF002
jmp EXT_INT0
;IRQ0 Handler
0xF004
jmp EXT_INT1
;IRQ1 Handler
... ... ... ;
0xF098
jmp TRX24_AMI3
;Transceiver Address Match 3 H.
When the BOOTRST Fuse is programmed and the Boot section size set to 8KBytes,
the most typical and general program setup for the Reset and Interrupt Vector
Addresses is:
Address Labels
Code
Comments________________________
.org 0x0002
0x0002
jmp EXT_INT0
;IRQ0 Handler
0x0004
jmp EXT_INT1
;IRQ1 Handler
... ... ... ;
.org 0xF000
0xF000
RESET:
ldi r16,high(RAMEND)
;Main program start
0xF001
out SPH,r16
;Set Stack Pointer to top of RAM
0xF002
ldi r16,low(RAMEND)
0xF003
out SPL,r16
0xF004
sei
;Enable interrupts
0xF005
<instr> xxx