English
Language : 

N25Q128A11B1241F Datasheet, PDF (49/185 Pages) Micron Technology – 128-Mbit, 1.8 V, multiple I/O, 4-Kbyte subsector erase on boot sectors, XiP enabled, serial flash memory with 108 MHz SPI bus interface
N25Q128 - 1.8 V
Protection modes
The Lock Registers can be read and written using the Read Lock Register (RDLR) and
Write to Lock Register (WRLR) instructions.
In each Lock Register two bits control the protection of each sector: the Write Lock bit and
the Lock Down bit.
„ Write Lock bit: The Write Lock bit determines whether the contents of the sector can be
modified (using the Write, Program, or Erase instructions). When the Write Lock bit is
set to '1', the sector is write protected - any operations that attempt to change the data
in the sector will fail. When the Write Lock bit is reset to '0', the sector is not write
protected by the Lock Register, and may be modified.
„ Lock Down bit: The Lock Down bit provides a mechanism for protecting software data
from simple hacking and malicious attack. When the Lock Down bit is set to '1', further
modification to the Write Lock and Lock Down bits cannot be performed. A powerup is
required before changes to these bits can be made. When the Lock Down bit is reset to
'0', the Write Lock and Lock Down bits can be changed.
The definition of the Lock Register bits is given in Table 9: Lock Register out.
SPM2
The second software protected mode (SPM2) uses the Block Protect bits (BP3, BP2, BP1,
BP0) and the Top/Bottom bit (TB bit) to allow part of the memory to be configured as read-
only. See Section 16: Ordering information.
Table 9. Software protection truth table (Sectors 0 to 255, 64 Kbyte)
Sector Lock Register
Lock Down bit Write Lock bit
Protection Status
0
0
Sector unprotected from Program/Erase/Write operations, protection status
reversible.
0
1
Sector protected from Program/Erase/Write operations, protection status
reversible.
Sector unprotected from Program/Erase/Write operations.
1
0
Sector protection status cannot be changed except by a power-up.
Sector protected from Program/Erase/Write operations.
1
1
Sector protection status cannot be changed except by a power-up.
As a second level of protection, the Write Protect signal (applied on the W/VPP pin) can
freeze the Status Register in a read-only mode. In this mode, the Block Protect bits (BP3,
BP2, BP1, BP0) and the Status Register Write Disable bit (SRWD) are protected.
49/185