M36W432BG ST Microelectronics, M36W432BG Datasheet - Page 59

no-image

M36W432BG

Manufacturer Part Number
M36W432BG
Description
32 Mbit 2Mb x16 / Boot Block Flash Memory and 4 Mbit 256Kb x16 SRAM / Multiple Memory Product
Manufacturer
ST Microelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M36W432BG70ZA6T
Manufacturer:
ST
0
Figure 29. Erase Flowchart and Pseudo Code
Note: If an error is found, the Status Register must be cleared before further Program/Erase operations.
Address & D0h
Read Status
Write Block
b4, b5 = 1
Write 20h
Register
b7 = 1
b3 = 0
b5 = 0
b1 = 0
Start
End
YES
YES
NO
YES
YES
NO
NO
YES
NO
NO
Sequence Error (1)
Erase to Protected
Erase Error (1)
Block Error (1)
V
Command
PPF
Error (1)
Invalid
if ( (status_register.b5==1) )
/* erase error */
erase_command ( blockToErase ) {
if (status_register.b3==1) /*V
if ( (status_register.b4==1) && (status_register.b5==1) )
/* command sequence error */
if (status_register.b1==1) /*program to protect block error */
}
do {
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
writeToFlash (any_address, 0x20) ;
writeToFlash (blockToErase, 0xD0) ;
/* only A12-A20 are significannt */
/* Memory enters read status state after
the Erase Command */
} while (status_register.b7== 0) ;
status_register=readFlash (any_address) ;
/* E
F
or G
F
must be toggled*/
M36W432TG, M36W432BG
PPF
invalid error */
AI07936
59/66

Related parts for M36W432BG