English
Language : 

ATTINY4_14 Datasheet, PDF (107/170 Pages) ATMEL Corporation – Bytes In-System Programmable Flash
15.3.1 Non-Volatile Memory Lock Bits
The ATtiny4/5/9/10 provide two Lock Bits, as shown in Table 15-1.
Table 15-1. Lock Bit Byte
Lock Bit
Bit No Description
7
6
5
4
3
2
NVLB2
1
Non-Volatile Lock Bit
NVLB1
0
Non-Volatile Lock Bit
Default Value
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
1 (unprogrammed)
The Lock Bits can be left unprogrammed ("1") or can be programmed ("0") to obtain the additional security shown
in Table 15-2. Lock Bits can be erased to "1" with the Chip Erase command, only.
Table 15-2. Lock Bit Protection Modes
Memory Lock Bits (1)
Lock Mode NVLB2 (2)
NVLB1 (2)
1
1
1
2
1
0
3
0
0
Protection Type
No Memory Lock feature Enabled
Further Programming of the Flash memory is disabled in
the external programming mode. The configuration
section bits are locked in the external programming
mode
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
Notes: 1. Program the configuration section bits before programming NVLB1 and NVLB2.
2. "1" means unprogrammed, "0" means programmed
15.3.2 Flash Memory
The embedded Flash memory of ATtiny4/5/9/10 has four separate sections, as shown in Table 15-3 and Table 15-
3.
Table 15-3. Number of Words and Pages in the Flash (ATtiny9/10)
Section
Size (Bytes) Page Size (Words) Pages
Code (program memory)
1024
8
64
Configuration
Signature (1)
Calibration (1)
8
8
1
16
8
2
8
8
1
WADDR
[3:1]
[3:1]
[3:1]
[3:1]
PADDR
[9:4]
–
[4:4]
–
ATtiny4/5/9/10 [DATASHEET] 107
8127F–AVR–02/2013