m28w320bb STMicroelectronics, m28w320bb Datasheet - Page 38

no-image

m28w320bb

Manufacturer Part Number
m28w320bb
Description
32 Mbit 2mb X16, Boot Block 3v Supply Flash Memory
Manufacturer
STMicroelectronics
Datasheet
M28W320BT, M28W320BB
Figure 17. Double Word Program Flowchart and Pseudo Code
Note: 1. Status check of b1 (Protected Block), b3 (V
38/43
2. If an error is found, the Status Register must be cleared before further Program/Erase operations.
3. Address 1 and Address 2 must be consecutive addresses differing only for bit A0.
a sequence.
Write Address 1
Write Address 2
Read Status
& Data 1 (3)
& Data 2 (3)
Write 30h
Register
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 PP Invalid
Error (1, 2)
Error (1, 2)
Program
PP
Invalid) and b4 (Program Error) can be made after each program operation or after
double_word_program_command (addressToProgram1, dataToProgram1,
{
if (status_register.b3==1) /*VPP invalid error */
if (status_register.b4==1) /*program error */
if (status_register.b1==1) /*program to protect block error */
}
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
do {
writeToFlash (any_address, 0x30) ;
writeToFlash (addressToProgram1, dataToProgram1) ;
writeToFlash (addressToProgram2, dataToProgram2) ;
the Program command*/
} while (status_register.b7== 0) ;
status_register=readFlash (any_address) ;
/* E or G must be toggled*/
/*Memory enters read status state after
addressToProgram2, dataToProgram2)
/*see note (3) */
/*see note (3) */
AI03539b

Related parts for m28w320bb