M36W432BG ST Microelectronics, M36W432BG Datasheet - Page 55

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
APPENDIX C. FLASH FLOWCHARTS AND PSEUDO CODES
Figure 25. Flash Program Flowchart and Pseudo Code
Note: 1. Status check of b1 (Protected Block), b3 (V
2. If an error is found, the Status Register must be cleared before further Program/Erase Controller operations.
a sequence.
Write 40h or 10h
Write Address
Read Status
Register
& Data
b7 = 1
b3 = 0
b4 = 0
b1 = 0
Start
End
YES
YES
YES
YES
NO
NO
NO
NO
Program to Protected
Block Error (1, 2)
V
Error (1, 2)
Error (1, 2)
PPF
Program
Invalid
PPF
Invalid) and b4 (Program Error) can be made after each program operation or after
program_command (addressToProgram, dataToProgram) {:
if (status_register.b3==1) /*V
if (status_register.b4==1) /*program error */
if (status_register.b1==1) /*program to protect block error */
}
do {
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
writeToFlash (any_address, 0x40) ;
/*or writeToFlash (any_address, 0x10) ; */
writeToFlash (addressToProgram, dataToProgram) ;
/*Memory enters read status state after
the Program Command*/
} while (status_register.b7== 0) ;
status_register=readFlash (any_address) ;
/* E
F
or G
F
must be toggled*/
M36W432TG, M36W432BG
PPF
invalid error */
AI07932
55/66

Related parts for M36W432BG