M36W432BG ST Microelectronics, M36W432BG Datasheet - Page 60

no-image

M36W432BG

Manufacturer Part Number
M36W432BG
Description
32 Mbit 2Mb x16 / Boot Block Flash Memory and 4 Mbit 256Kb x16 SRAM / Multiple Memory Product
Manufacturer
ST Microelectronics
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
M36W432BG70ZA6T
Manufacturer:
ST
0
M36W432TG, M36W432BG
Figure 30. Erase Suspend & Resume Flowchart and Pseudo Code
60/66
Block Protect/Unprotect/Lock
Program/Protection Program
Erase Continues
Read data from
another block
Read Status
Write D0h
Write B0h
Write FFh
Write 70h
Register
b7 = 1
b6 = 1
Start
or
or
YES
YES
NO
NO
Erase Complete
Read Data
Write FFh
erase_suspend_command ( ) {
if (status_register.b6==0) /*erase completed */
else
}
do {
writeToFlash (any_address, 0xB0) ;
writeToFlash (any_address, 0x70) ;
/* read status register to check if
erase has already completed */
} while (status_register.b7== 0) ;
{ writeToFlash (any_address, 0xFF) ;
{ writeToFlash (any_address, 0xFF) ;
}
}
status_register=readFlash (any_address) ;
/* E
read_data ( ) ;
/*read data from another block*/
/*The device returns to Read Array
(as if program/erase suspend was not issued).*/
read_program_data ( );
/*read or program data from another address*/
writeToFlash (any_address, 0xD0) ;
/*write 0xD0 to resume erase*/
F
or G
F
must be toggled*/
AI07937

Related parts for M36W432BG