M50FLW040AK1 STMicroelectronics, M50FLW040AK1 Datasheet - Page 44

no-image

M50FLW040AK1

Manufacturer Part Number
M50FLW040AK1
Description
4 Mbit (5 x 64KByte Blocks + 3 x 16 x 4KByte Sectors) 3V Supply Firmware Hub / Low Pin Count Flash Memory
Manufacturer
STMicroelectronics
Datasheet
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

Related parts for M50FLW040AK1