238
ATmega8535(L)
2502K–AVR–10/06
Notes:
1. Program the Fuse bits before programming the Lock bits.
2. “1” means unprogrammed, “0” means programmed.
Fuse Bits
The ATmega8535 has two Fuse bytes. Table 98 and Table 99 describe briefly the func-
tionality of all the fuses and how they are mapped into the fuse bytes. Note that the
fuses are read as logical zero, “0”, if they are programmed.
Notes:
1. The SPIEN Fuse is not accessible in Serial Programming mode.
2. The CKOPT Fuse functionality depends on the setting of the CKSEL bits. See “Clock
Sources” on page 25. for details.
3. The default value of BOOTSZ1..0 results in maximum Boot Size. See Table 93 on
1
1
1
No restrictions for SPM or LPM accessing the Boot Loader
section.
2
1
0
SPM is not allowed to write to the Boot Loader section.
3
0
0
SPM is not allowed to write to the Boot Loader section,
and LPM executing from the Application section is not
allowed to read from the Boot Loader section. If interrupt
vectors are placed in the Application section, interrupts
are disabled while executing from the Boot Loader section.
4
0
1
LPM executing from the Application section is not allowed
to read from the Boot Loader section. If interrupt vectors
are placed in the Application section, interrupts are
disabled while executing from the Boot Loader section.
Table 97.
Lock Bit Protection Modes
(2)
(Continued)
Memory Lock Bits
Protection Type
Table 98.
Fuse High Byte
Fuse High Byte
Bit No
Description
Default Value
S8535C
7
Select AT90S8535 compatibility
mode
1 (unprogrammed)
WDTON
6
WDT always on
1 (unprogrammed, WDT
enabled by WDTCR)
SPIEN
5
Enable Serial Program and Data
Downloading
0 (programmed, SPI prog.
enabled)
CKOPT
4
Oscillator options
1 (unprogrammed)
EESAVE
3
EEPROM memory is preserved
through the Chip Erase
1 (unprogrammed,
EEPROM not preserved)
BOOTSZ1
2
Select Boot Size (see Table 93 for
details)
0 (programmed)
BOOTSZ0
1
Select Boot Size (see Table 93 for
details)
0 (programmed)
BOOTRST
0
Select Reset Vector
1 (unprogrammed)
Summary of Contents for ATmega8535
Page 314: ...314 ATmega8535 L 2502K AVR 10 06 ...
Page 320: ...vi ATmega8535 L 2502K AVR 10 06 ...