M50FLW040B ST Microelectronics, M50FLW040B Datasheet - Page 44
![no-image](/images/no-image-200.jpg)
M50FLW040B
Manufacturer Part Number
M50FLW040B
Description
4 Mbit 3V Supply Firmware Hub / Low Pin Count Flash Memory
Manufacturer
ST Microelectronics
Datasheet
1.M50FLW040B.pdf
(52 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
M50FLW040BK5G
Manufacturer:
Micron Technology Inc
Quantity:
10 000
Company:
Part Number:
M50FLW040BN5
Manufacturer:
ST
Quantity:
20
www.DataSheet4U.com
M50FLW040A, M50FLW040B
APPENDIX B. FLOWCHARTS AND PSEUDO CODES
Figure 22. Program Flowchart and Pseudo Code
Note: 1. A Status check of SR1 (Protected Block), SR3 (V
44/52
2. If an error is found, the Status Register must be cleared before further Program/Erase Controller operations.
FWH/LPC
by following the correct command sequence.
Interface
Only
Write 40h or 10h
Write Address
Read Status
and Data
Register
SR7 = 1
SR3 = 0
SR4 = 0
SR1 = 0
Start
End
YES
YES
YES
YES
NO
NO
NO
NO
Suspend
Program to Protected
NO
Block Error (1, 2)
V PP Invalid
Error (1, 2)
Error (1, 2)
Program
PP
YES
invalid) and SR4 (Program Error) can be made after each Program operation
Suspend
Loop
Program command:
– Write 40h or 10h
– Write Address and Data
do:
– Read Status Register
– If SR7=0 and a Program/Erase Suspend
If SR3 = 1,
– Enter the "V PP invalid" error handler
If SR4 = 1,
– Enter the "Program error" error handler
If SR1 = 1,
– Enter the "Program to protected
(memory enters read status state after
the Program command)
– SR7 is set to 1
– Enter suspend program loop
block" error handler
command has been executed
AI08425B