284
2467S–AVR–07/09
ATmega128
Wait_ee:
sbic
EECR, EEWE
rjmp
Wait_ee
; SPM timed sequence
sts
SPMCSR, spmcsrval
spm
; restore SREG (to enable interrupts if originally enabled)
out
SREG, temp2
ret
ATmega128 Boot
Loader Parameters
through
, the parameters used in the description of the self programming
are given.
Note:
The different BOOTSZ fuse configurations are shown in
Note:
1. For details about these two section, see
“No Read-While-Write Section – NRWW” on page
“Read-While-Write Section – RWW” on page 274
Table 112.
Boot Size Configuration
BOOTSZ1
BOOTSZ0
Boot
Size
Pages
Application
Flash
Section
Boot
Loader
Flash
Section
End
Application
section
Boot
Reset
Address
(start Boot
Loader
Section)
1
1
512
words
4
$0000 -
$FDFF
$FE00 -
$FFFF
$FDFF
$FE00
1
0
1024
words
8
$0000 -
$FBFF
$FC00 -
$FFFF
$FBFF
$FC00
0
1
2048
words
16
$0000 -
$F7FF
$F800 -
$FFFF
$F7FF
$F800
0
0
4096
words
32
$0000 -
$EFFF
$F000 -
$FFFF
$EFFF
$F000
Table 113.
Read-While-Write Limit
Section
Pages
Address
Read-While-Write section (RWW)
480
$0000 - $EFFF
No Read-While-Write section (NRWW)
32
$F000 - $FFFF