English
Language : 

M58LW032D Datasheet, PDF (46/51 Pages) STMicroelectronics – 32 Mbit 4Mb x8, 2Mb x16, Uniform Block 3V Supply Flash Memory
M58LW032D
Figure 22. Protection Register Program Flowchart and Pseudo Code
Start
Write C0h
Write
PR Address, PR Data
Read Status Register
SR7 = 1
NO
YES
YES
SR3, SR4 = 1,1
VPEN Invalid Error
NO
YES
SR1, SR4 = 0,1
NO
Protection Register
Program Error
YES
SR1, SR4 = 1,1
NO
Protection Register
Program Error
Write FFh
PR Program
Sucessful
Note: PR = Protection Register
Protection Register Program Command
– write C0h
– write Protection Register Address,
Protection Register Data
do:
– read status register
while SR7 = 1
If SR3 = 1, SR4 = 1 VPEN Invalid Error
If SR1 = 0, SR4 = 1 Protection Register
Program Error
If SR1 = 1, SR4 = 1 Program Error due to
Protection Register Protection
Read Memory Array Command:
– write FFh
AI06159b
46/51