M28W320ECB70N6E STMICROELECTRONICS [STMicroelectronics], M28W320ECB70N6E Datasheet - Page 48

no-image

M28W320ECB70N6E

Manufacturer Part Number
M28W320ECB70N6E
Description
32 Mbit (2Mb x16, Boot Block) 3V Supply Flash Memory
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
M28W320ECT, M28W320ECB
Figure 23. Locking Operations Flowchart and Pseudo Code
48/53
01h, D0h or 2Fh
Read Block
Lock States
confirmed?
Write FFh
Write 60h
Write 90h
Locking
change
Write
Start
End
YES
NO
locking_operation_command (address, lock_operation) {
}
writeToFlash (any_address, 0xFF) ; /*Reset to Read Array mode*/
writeToFlash (any_address, 0x60) ; /*configuration setup*/
if (lock_operation==LOCK) /*to protect the block*/
else if (lock_operation==UNLOCK) /*to unprotect the block*/
else if (lock_operation==LOCK-DOWN) /*to lock the block*/
if (readFlash (address) ! = locking_state_expected)
writeToFlash (address, 0x01) ;
writeToFlash (address, 0xD0) ;
writeToFlash (address, 0x2F) ;
writeToFlash (any_address, 0x90) ;
/*Check the locking state (see Read Block Signature table )*/
error_handler () ;
AI04364

Related parts for M28W320ECB70N6E