20.3.1 Non-Volatile Memory Lock Bits

The device provides two Lock Bits.

Table 20-1. Lock Bit Byte
Lock Bit ByteBit No.DescriptionDefault Value
71 (unprogrammed)
61 (unprogrammed)
51 (unprogrammed)
41 (unprogrammed)
31 (unprogrammed)
21 (unprogrammed)
NVLB21Non-Volatile Lock Bit1 (unprogrammed)
NVLB10Non-Volatile Lock Bit1 (unprogrammed)

The Lock Bits can be left unprogrammed ("1") or can be programmed ("0") to obtain the additional security. Lock Bits can be erased to "1" with the Chip Erase command, only.

Table 20-2. Lock Bit Protection Modes
Memory Lock Bits(1)Protection Type
LB ModeNVLB2(2)NVLB1(2)
111No memory lock features enabled.
210Further Programming of the Flash memory is disabled in the external programming mode. The configuration section bits are locked in the external programming mode
300Further programming and verification of the flash is disabled in the external programming mode. The configuration section bits are locked in the external programming mode
Note:
  1. Program the configuration section bits before programming NVLB1 and NVLB2.
  2. "1" means unprogrammed, "0" means programmed