m58wr032ft STMicroelectronics, m58wr032ft Datasheet - Page 70

no-image

m58wr032ft

Manufacturer Part Number
m58wr032ft
Description
32 Mbit 2mb X 16, Multiple Bank, Burst 1.8v Supply Flash Memory
Manufacturer
STMicroelectronics
Datasheet
M58WR032FT, M58WR032FB
Figure 23. Double Word Program Flowchart and Pseudo code
Note: 1. Status check of SR1 (Protected Block), SR3 (V
70/86
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.
4. Any address within the bank can equally be used.
after a sequence.
Write Address 1
Write Address 2
& Data 1 (3, 4)
Read Status
& Data 2 (3)
Register (4)
Write 35h
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
Invalid) and SR4 (Program Error) can be made after each program operation or
double_word_program_command (addressToProgram1, dataToProgram1,
{
if (status_register.SR3==1) /*V PP invalid error */
if (status_register.SR4==1) /*program error */
if (status_register.SR1==1) /*program to protect block error */
}
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
do {
writeToFlash (addressToProgram1, 0x35);
writeToFlash (addressToProgram1, dataToProgram1) ;
writeToFlash (addressToProgram2, dataToProgram2) ;
the Program command*/
} while (status_register.SR7== 0) ;
status_register=readFlash (addressToProgram) ;
/* E or G must be toggled*/
/*Memory enters read status state after
/*see note (4)*/
addressToProgram2, dataToProgram2)
"see note (4)"
/*see note (3) */
/*see note (3) */
AI06171b

Related parts for m58wr032ft