DatasheetQ Logo
Electronic component search and free download site. Transistors,MosFET ,Diode,Integrated circuits

M58CR064CZB データシートの表示(PDF) - STMicroelectronics

部品番号
コンポーネント説明
メーカー
M58CR064CZB Datasheet PDF : 70 Pages
First Prev 61 62 63 64 65 66 67 68 69 70
M58CR064C, M58CR064D, M58CR064P, M58CR064Q
Figure 25. Erase Suspend & Resume Flowchart and Pseudo Code
Start
Write B0h
Write 70h
Read Status
Register
NO
SR7 = 1
YES
NO
SR6 = 1
YES
Write FFh
Erase Complete
Read data from
another block
or
Program/Protection Program
or
Block Protect/Unprotect/Lock
Write D0h
Write FFh
Erase Continues
Read Data
erase_suspend_command ( ) {
writeToFlash (bank_address, 0xB0) ;
writeToFlash (bank_address, 0x70) ;
/* read status register to check if
erase has already completed */
do {
status_register=readFlash (bank_address) ;
/* E or G must be toggled*/
} while (status_register.SR7== 0) ;
if (status_register.SR6==0) /*erase completed */
{ writeToFlash (bank_address, 0xFF) ;
read_data ( ) ;
/*read data from another block*/
/*The device returns to Read Array
(as if program/erase suspend was not issued).*/
}
else
{ writeToFlash (bank_address, 0xFF) ;
read_program_data ( );
/*read or program data from another address*/
writeToFlash (bank_address, 0xD0) ;
/*write 0xD0 to resume erase*/
}
}
AI06175
63/70

Share Link: 

datasheetq.com  [ Privacy Policy ]Request Datasheet ] [ Contact Us ]