m28w320ect STMicroelectronics, m28w320ect Datasheet - Page 49
m28w320ect
Manufacturer Part Number
m28w320ect
Description
32 Mbit 2mb X16, Boot Block 3v Supply Flash Memory
Manufacturer
STMicroelectronics
Datasheet
1.M28W320ECT.pdf
(53 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
m28w320ect70ZB6
Manufacturer:
SEC
Quantity:
19
Company:
Part Number:
m28w320ect70ZB6T
Manufacturer:
STM
Quantity:
5 981
Figure 24. Protection Register 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 Address
Read Status
Write C0h
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 PP Invalid
Error (1, 2)
Error (1, 2)
Program
PP
protection_register_program_command (addressToProgram, dataToProgram) {:
Invalid) and b4 (Program Error) can be made after each program operation or after
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 */
}
do {
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
writeToFlash (addressToProgram, dataToProgram) ;
/*Memory enters read status state after
the Program Command*/
} while (status_register.b7== 0) ;
writeToFlash (any_address, 0xC0) ;
status_register=readFlash (any_address) ;
/* E or G must be toggled*/
M28W320ECT, M28W320ECB
AI04381
49/53