M58LT256JSB8ZA6 STMICROELECTRONICS [STMicroelectronics], M58LT256JSB8ZA6 Datasheet - Page 94
M58LT256JSB8ZA6
Manufacturer Part Number
M58LT256JSB8ZA6
Description
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
1.M58LT256JSB8ZA6.pdf
(106 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
M58LT256JSB8ZA6E
Manufacturer:
Micron Technology Inc
Quantity:
10 000
Company:
Part Number:
M58LT256JSB8ZA6F
Manufacturer:
Micron Technology Inc
Quantity:
10 000
Flowcharts and pseudocodes
Figure 26. Protection Register Program flowchart and pseudocode
1. Status check of SR1 (Protected Block), SR3 (V
2. If an error is found, the Status Register must be cleared before further Program/Erase Controller operations.
3. Any address within the bank can equally be used.
94/106
operation or after a sequence.
Write C0h (3)
Write Address
Read Status
Register (3)
SR7 = 1
SR3 = 0
SR4 = 0
SR1 = 0
& Data
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
protection_register_program_command (addressToProgram, dataToProgram) {:
PP
Invalid) and SR4 (Program Error) can be made after each program
if (status_register.SR3==1) /*VPP invalid error */
if (status_register.SR4==1) /*program error */
if (status_register.SR1==1) /*program to protect block error */
}
do {
error_handler ( ) ;
error_handler ( ) ;
error_handler ( ) ;
writeToFlash (addressToProgram, 0xC0) ;
writeToFlash (addressToProgram, dataToProgram) ;
/*Memory enters read status state after
the Program Command*/
} while (status_register.SR7== 0) ;
status_register=readFlash (addressToProgram) ;
/* E or G must be toggled*/
/*see note (3) */
M58LT256JST, M58LT256JSB
/* see note (3) */
AI06177b