Datasheet
226
ATtiny828 [DATASHEET]
8371A–AVR–08/12
Table 87. Lock Bit Protection Modes (Application Section)
Notes: 1. “1” means unprogrammed, “0” means programmed.
Table 88. Lock Bit Protection Modes (Boot Loader Section)
Notes: 1. “1” means unprogrammed, “0” means programmed.
Boot lock bits can be set by software or in serial or parallel programming mode, but they can be cleared by a Chip Erase
command, only. See “Programming Boot Loader Lock Bits by SPM” on page 218.
22.2 Fuse Bits
Fuse bits are described in Table 89, Table 90, and Table 91. Note that programmed fuses read as zero.
Table 89. Extended Fuse Byte
Lock Bits
(1)
Mode of ProtectionBLB02 BLB01
1 1 No restrictions for SPM or LPM accessing the application section
1 0 SPM is not allowed to write to the application section
0 1
LPM executing from the boot loader section is not allowed to read from the application
section. If interrupt vectors are placed in the boot loader section, interrupts are disabled
while executing from the application section
0 0
SPM is not allowed to write to the application section, and LPM executing from the boot
loader section is not allowed to read from the application section. If interrupt vectors are
placed in the boot loader section, interrupts are disabled while executing from the application
section
Lock Bits
(1)
Mode of ProtectionBLB12 BLB11
1 1 No restrictions for SPM or LPM accessing the boot loader section
1 0 SPM is not allowed to write to the boot loader section
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
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
Bit # Bit Name Use See Default Value
7 BODPD1
Sets BOD mode of operation when device is
in sleep modes other than idle
Page 42
1 (unprogrammed)
6 BODPD0 1 (unprogrammed)
5 BODACT1
Sets BOD mode of operation when device is
active or idle
Page 43
1 (unprogrammed)
4 BODACT0 1 (unprogrammed)