PMC
Pm25LV512/010
Table 5. Block Write Protect Bits
Status Register Bits
Pm25LV512
Array Addresses
Pm25LV010
Locked-out
Block(s)
Array Addresses
Locked-out
Block(s)
Level
0
BP1
BP0
Locked Out
Locked Out
0
0
1
0
1
0
None
None
Block 4
1(1/4)
2(1/2)
None
None
018000 - 01FFFF
010000 - 01FFFF
Block 3, 4
All Blocks
(1 - 2)
All Blocks
(1 - 4)
3(All)
1
1
000000-00FFFF
000000 - 01FFFF
The WRSR instruction also allows the user to enable or disable the Write Protect (WP#) pin through the use of the
Write Protect Enable (WPEN) bit. Hardware write protection is enabled when the WP# pin is low and the WPEN bit
is "1". Hardware write protection is disabled when either the WP# pin is high or the WPEN bit is "0." When the
device is hardware write protected, writes to the Status Register, including the Block Protect bits and the WPEN
bit, and the locked-out blocks in the memory array are disabled. Write is only allowed to blocks of the memory
which are not locked out. The WRSR instruction is self-timed to automatically erase and program BP0, BP1, and
WPEN bits. In order to write the status register, the device must first be write enabled via the WREN instruction.
Then, the instruction and data for the three bits are entered. During the internal write cycle, all instructions will be
ignored except RDSR instructions. The Pm25LV512/010 will automatically return to write disable state at the
completion of the WRSR cycle.
Note: When the WPEN bit is hardware write protected, it cannot be changed back to "0", as long as the WP# pin
is held low.
Table 6. WPEN Operation
WPEN
WP
X
WEN
ProtectedBlocks
Protected
UnprotectedBlocks
Protected
Status Register
Protected
Writable
0
0
0
1
0
1
0
1
X
Protected
Writable
1
Low
Low
High
High
Protected
Protected
Protected
Protected
Protected
Writable
1
Protected
Writable
X
X
Protected
Protected
Protected
Writable
Programmable Microelectronics Corp.
Issue Date: December, 2003, Rev: 1.3
9