m28w640hc- Numonyx, m28w640hc- Datasheet - Page 59
![no-image](/images/manufacturer_photos/0/4/484/numonyx_sml.jpg)
m28w640hc-
Manufacturer Part Number
m28w640hc-
Description
64 Mbit 4 Mb X 16, Boot Block 3 V Supply Flash Memory
Manufacturer
Numonyx
Datasheet
1.M28W640HC-.pdf
(72 pages)
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
M28W640HCT, M28W640HCB
Appendix C
Figure 15. Program flowchart and pseudocode
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.
after a sequence.
Write 40h or 10h
Write Address
Read Status
Register
& Data
b7 = 1
b3 = 0
b4 = 0
b1 = 0
Start
End
YES
YES
YES
YES
NO
NO
NO
NO
Flowcharts and pseudocodes
Program to Protected
Block Error (1, 2)
V PP Invalid
Error (1, 2)
Error (1, 2)
Program
PP
invalid) and b4 (program error) can be made after each program operation or
program_command (addressToProgram, dataToProgram) {:
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 (any_address, 0x40) ;
/*or writeToFlash (any_address, 0x10) ; */
writeToFlash (addressToProgram, dataToProgram) ;
/*Memory enters read status state after
the Program Command*/
} while (status_register.b7== 0) ;
status_register=readFlash (any_address) ;
/* E or G must be toggled*/
Flowcharts and pseudocodes
AI03538b
59/72