M58LT256JSB8ZA6 STMICROELECTRONICS [STMicroelectronics], M58LT256JSB8ZA6 Datasheet - Page 91

no-image

M58LT256JSB8ZA6

Manufacturer Part Number
M58LT256JSB8ZA6
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M58LT256JSB8ZA6
Manufacturer:
ST
0
Part Number:
M58LT256JSB8ZA6E
Manufacturer:
Micron Technology Inc
Quantity:
10 000
Part Number:
M58LT256JSB8ZA6F
Manufacturer:
Micron Technology Inc
Quantity:
10 000
M58LT256JST, M58LT256JSB
Figure 23. Block Erase flowchart and pseudocode
1. If an error is found, the Status Register must be cleared before further Program/Erase operations.
2. Any address within the bank can equally be used.
Address & D0h
SR4, SR5 = 1
Write 20h (2)
Read Status
Write Block
Register (2)
SR7 = 1
SR3 = 0
SR5 = 0
SR1 = 0
Start
End
YES
YES
NO
YES
YES
NO
NO
YES
NO
NO
Sequence Error (1)
Erase to Protected
Erase Error (1)
Block Error (1)
V PP Invalid
Command
Error (1)
if ( (status_register.SR5==1) )
/* erase error */
erase_command ( blockToErase ) {
if (status_register.SR3==1) /*V PP invalid error */
if ( (status_register.SR4==1) && (status_register.SR5==1) )
/* command sequence error */
if (status_register.SR1==1) /*program to protect block error */
}
do {
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
writeToFlash (blockToErase, 0x20) ;
writeToFlash (blockToErase, 0xD0) ;
/* Memory enters read status state after
the Erase Command */
} while (status_register.SR7== 0) ;
status_register=readFlash (blockToErase) ;
/* E or G must be toggled*/
/*see note (2) */
Flowcharts and pseudocodes
/* see note (2) */
91/106
AI10976

Related parts for M58LT256JSB8ZA6