Figure 28. Blocks Unprotect Flowchart and Pseudo Code
M58LW032A
Start
Write 60h
Write D0h
Read Status Register
(toggle G or E )
b7 = 1
NO
YES
b3 = 1
YES
NO
VPP Invalid
Error
YES
b4, b5 = 1,1
NO
Invalid Command
Sequence Error
b5 = 1
NO
YES
Blocks Unprotect
Error
Blocks Unprotect
Sucessful
Write FFh
End
Block Unprotect Command
– write 60h, Block Adress
– write D0h, Block Adress
do:
– read status register ( toggle G or E,
do not use the Read Status Register command)
while b7 = 1
If b3 = 1, VPP Invalid Error
If b4 = 1, b5 = 1 Invalid Command
Sequence Error
If b5 = 1, Blocks Unprotect Error
Read Memory Array Command:
– write FFh
AI06158b
55/61