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

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
AT90CAN128 Boot Loader
Parameters
4250C–CAN–03/04
In Table 118 through Table 120, the parameters used in the description of the Self-Pro-
gramming are given.
Table 118. Boot Size Configuration
Note:
Table 119. Read-While-Write Limit
Note:
Section
Read-While-Write section (RWW)
No Read-While-Write section (NRWW)
1
1
0
0
Do_spm:
Wait_spm:
Wait_ee:
1
0
1
0
ldi
call Do_spm
rjmp Return
; check for previous SPM complete
in
sbrc temp1, SPMEN
rjmp Wait_spm
; input: spmcsrval determines SPM action
; disable interrupts if enabled, store status
in
cli
; check that no EEPROM write access is present
sbic EECR, EEWE
rjmp Wait_ee
; SPM timed sequence
out
spm
; restore SREG (to enable interrupts if originally enabled)
out
ret
1. The different BOOTSZ Fuse configurations are shown in Figure 151
1. For details about these two section, see “NRWW – No Read-While-Write Section” on
512
words
1024
words
2048
words
4096
words
Boot
Size
page 310 and “RWW – Read-While-Write Section” on page 310.
spmcsrval, (1<<RWWSRE) | (1<<SPMEN)
temp1, SPMCSR
temp2, SREG
SPMCSR, spmcsrval
SREG, temp2
Pages
16
32
4
8
Appli-cation
Flash Section
0x0000 -
0xFDFF
0x0000 -
0xFBFF
0x0000 -
0xF7FF
0x0000 -
0xEFFF
(1)
(1)
Boot
Loader
Flash
Section
0xFE00 -
0xFFFF
0xFC00 -
0xFFFF
0xF800 -
0xFFFF
0xF000 -
0xFFFF
Pages
480
32
End
Appliication
Section
0xFDFF
0xFBFF
0xF7FF
0xEFFF
AT90CAN128
Address
0x0000 - 0xEFFF
0xF000 - 0xFFFF
Boot Reset
Address
(Start Boot
Loader
Section)
0xFE00
0xFC00
0xF800
0xF000
321

Related parts for AT90CAN128-16AE