|
M50FLW080A Datasheet, PDF (62/64 Pages) STMicroelectronics – 8 Mbit (13 x 64KByte Blocks + 3 x 16 x 4KByte Sectors), 3V Supply Firmware Hub / Low Pin Count Flash Memory | |||
|
◁ |
Flowcharts and pseudo codes
M50FLW080A, M50FLW080B
Figure 27. Erase Suspend and Resume flowchart and pseudo code
Start
Write B0h
Write 70h
Read Status
Register
NO
SR7 = 1
YES
NO
SR6 = 1
YES
Read data from
another block/sector
or
Program
Erase Complete
Write D0h
Erase Continues
Write FFh
Read Data
Program/Erase Suspend command:
â write B0h
â write 70h
do:
â read Status Register
while SR7 = 0
If SR6 = 0, Erase completed
Program/Erase Resume command:
â write D0h to resume erase
â if the Erase operation completed
then this is not necessary.
The device returns to Read as
normal (as if the Program/Erase
suspend was not issued).
AI08429B
62/64
|
▷ |