3 non-volatile memories, 1 non-volatile memory lock bits – Rainbow Electronics ATtiny10 User Manual
Page 108

108
8127B–AVR–08/09
ATtiny4/5/9/10
15.3
Non-Volatile Memories
The ATtiny4/5/9/10 have the following, embedded NVM:
• Non-Volatile Memory Lock Bits
• Flash memory with four separate sections
15.3.1
Non-Volatile Memory Lock Bits
The ATtiny4/5/9/10 provide two Lock Bits, as shown in
.
The Lock Bits can be left unprogrammed ("1") or can be programmed ("0") to obtain the addi-
tional security shown in
. Lock Bits can be erased to "1" with the Chip Erase
command, only.
Notes:
1. Program the configuration section bits before programming NVLB1 and NVLB2.
2. "1" means unprogrammed, "0" means programmed
Table 15-1.
Lock Bit Byte
Lock Bit
Bit No
Description
Default Value
7
1 (unprogrammed)
6
1 (unprogrammed)
5
1 (unprogrammed)
4
1 (unprogrammed)
3
1 (unprogrammed)
2
1 (unprogrammed)
NVLB2
1
Non-Volatile Lock Bit
1 (unprogrammed)
NVLB1
0
Non-Volatile Lock Bit
1 (unprogrammed)
Table 15-2.
Lock Bit Protection Modes
Protection Type
Lock Mode
NVLB2
1
1
1
No Memory Lock feature Enabled
2
1
0
Further Programming of the Flash memory is disabled in
the external programming mode. The configuration
section bits are locked in the external programming
mode
3
0
0
Further programming and verification of the flash is
disabled in the external programming mode. The
configuration section bits are locked in the external
programming mode