
55/61
M58LW032C
Figure 28. Blocks Unprotect Flowchart and Pseudo Code
Write D0h
AI06158b
YES
NO
SR7 = 1
Start
Write 60h
Write FFh
Read Status Register
Blocks Unprotect
Sucessful
SR3 = 1
SR4, SR5 = 1,1
SR5 = 1
VPEN Invalid Error
Invalid Command
Sequence Error
Blocks Unprotect
Error
YES
YES
YES
NO
NO
NO
Blocks Unprotect Command
– write 60h, Block Adress
– write D0h, Block Adress
do:
– read status register
while SR7 = 1
If SR3 = 1, VPEN Invalid Error
Read Memory Array Command:
– write FFh
If SR4 = 1, SR5 = 1 Invalid Command
Sequence Error
If SR5 = 1, Blocks Unprotect Error