m58wr032et STMicroelectronics, m58wr032et Datasheet - Page 66

no-image

m58wr032et

Manufacturer Part Number
m58wr032et
Description
32 Mbit 2mb X 16, Multiple Bank, Burst 1.8v Supply Flash Memory
Manufacturer
STMicroelectronics
Datasheet
M58WR032ET, M58WR032EB
Figure 23. Quadruple Word Program Flowchart and Pseudo Code
Note: 1. Status check of SR1 (Protected Block), SR3 (V
66/81
2. If an error is found, the Status Register must be cleared before further Program/Erase operations.
3. Address 1 to Address 4 must be consecutive addresses differing only for bits A0 and A1.
4. Any address within the bank can equally be used.
Write Address 1
Write Address 2
Write Address 3
Write Address 4
after a sequence.
& Data 1 (3, 4)
Read Status
& Data 2 (3)
& Data 3 (3)
& Data 4 (3)
Register (4)
Write 56h
SR7 = 1
SR3 = 0
SR4 = 0
SR1 = 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
quadruple_word_program_command (addressToProgram1, dataToProgram1,
{
Invalid) and SR4 (Program Error) can be made after each program operation or
if (status_register.SR3==1) /*V PP invalid error */
if (status_register.SR4==1) /*program error */
if (status_register.SR==1) /*program to protect block error */
}
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
do {
} while (status_register.SR7== 0) ;
writeToFlash (addressToProgram1, 0x56);
writeToFlash (addressToProgram1, dataToProgram1) ;
writeToFlash (addressToProgram2, dataToProgram2) ;
writeToFlash (addressToProgram3, dataToProgram3) ;
writeToFlash (addressToProgram4, dataToProgram4) ;
the Program command*/
status_register=readFlash (addressToProgram) ;
/* E or G must be toggled*/
/*Memory enters read status state after
addressToProgram2, dataToProgram2,
addressToProgram3, dataToProgram3,
addressToProgram4, dataToProgram4)
/*see note (4) */
/"see note (4) "/
/*see note (3) */
/*see note (3) */
/*see note (3) */
/*see note (3) */
AI06977b

Related parts for m58wr032et