Datasheet

235
ATmega8535(L)
2502K–AVR–10/06
in temp2, SREG
cli
; check that no EEPROM write access is present
Wait_ee:
sbic EECR, EEWE
rjmp Wait_ee
; SPM timed sequence
out SPMCR, spmcrval
spm
; restore SREG (to enable interrupts if originally enabled)
out SREG, temp2
ret
ATmega8535 Boot Loader
Parameters
In Table 93 through Table 95, the parameters used in the description of the self pro-
gramming are given.
Note: 1. The different BOOTSZ Fuse configurations are shown in Figure 113
Note: 1. For details about these two section, see “NRWW – No Read-While-Write Section” on
page 225 and “RWW – Read-While-Write Section” on page 225
Table 93. Boot Size Configuration
(1)
BOOTS
Z1
BOOTS
Z0
Boot
Size Pages
Appli-
cation
Flash
Section
Boot
Loader
Flash
Section
End
Appli-
cation
Section
Boot Reset
Address (Start
Boot Loader
Section)
11
128
words
4
0x000 -
0xF7F
0xF80 -
0xFFF
0xF7F 0xF80
10
256
words
8
0x000 -
0xEFF
0xF00 -
0xFFF
0xEFF 0xF00
01
512
words
16
0x000 -
0xDFF
0xE00 -
0xFFF
0xDFF 0xE00
00
1024
words
32
0x000 -
0xBFF
0xC00 -
0xFFF
0xBFF 0xC00
Table 94. Read-While-Write Limit
(1)
Section Pages Address
Read-While-Write section (RWW) 96 0x000 - 0xBFF
No Read-While-Write section (NRWW) 32 0xC00 - 0xFFF