M25PE40
Instructions
6.11
Write to Lock Register (WRLR)
Note:
The Write to Lock Register (WRLR) instruction is decoded only in the M25PE40 in the T9HX
process (see Important note on page 6).
The Write to Lock Register (WRLR) instruction allows bits to be changed in the Lock
Registers. Before it can be accepted, a Write Enable (WREN) instruction must previously
have been executed. After the Write Enable (WREN) instruction has been decoded, the
device sets the Write Enable Latch (WEL).
The Write to Lock Register (WRLR) instruction is entered by driving Chip Select (S) Low,
followed by the instruction code, three address bytes (pointing to any address in the targeted
sector and one data byte on Serial Data input (D). The instruction sequence is shown in
Figure 17. Chip Select (S) must be driven High after the eighth bit of the data byte has been
latched in, otherwise the Write to Lock Register (WRLR) instruction is not executed.
Lock Register bits are volatile, and therefore do not require time to be written. When the
Write to Lock Register (WRLR) instruction has been successfully executed, the Write
Enable Latch (WEL) bit is reset after a delay time less than t
minimum value.
SHSL
Any Write to Lock Register (WRLR) instruction, while an Erase, Program or Write cycle is in
progress, is rejected without having any effects on the cycle that is in progress.
Figure 17. Write to Lock Register (WRLR) instruction sequence
S
0
1
2
3
4
5
6
7
8
9
10
28 29 30 31 32 33 34 35 36 37 38 39
Lock Register
C
D
Instruction
24-bit address
value
23 22 21
MSB
3
2
1
0
7
6
5
4
3
2
0
1
MSB
AI10784b
(1)
Table 10. Lock Register in
Sector
Bit
Value
b7-b2
b1
‘0’
All sectors
Sector Lock Down bit value
Sector Write Lock bit value
b0
1. The table rows in gray are true for products processed in the T7X process only (see Important note on
page 6).
35/62