datasheetbank_Logo
数据手册搜索引擎和 Datasheet免费下载 PDF

M58WR064F-ZBF 查看數據表(PDF) - STMicroelectronics

零件编号
产品描述 (功能)
生产厂家
M58WR064F-ZBF Datasheet PDF : 87 Pages
First Prev 71 72 73 74 75 76 77 78 79 80 Next Last
M58WR064FT, M58WR064FB
Figure 26. Block Erase Flowchart and Pseudo Code
Start
Write 20h (2)
Write Block
Address & D0h
Read Status
Register (2)
erase_command ( blockToErase ) {
writeToFlash (blockToErase, 0x20) ;
/*see note (2) */
writeToFlash (blockToErase, 0xD0) ;
/* only A12-A21 are significant */
/* Memory enters read status state after
the Erase Command */
do {
status_register=readFlash (blockToErase) ;
/* see note (2) */
/* E or G must be toggled*/
NO
SR7 = 1
YES
NO
SR3 = 0
YES
YES
SR4, SR5 = 1
NO
NO
SR5 = 0
YES
NO
SR1 = 0
YES
End
VPP Invalid
Error (1)
Command
Sequence Error (1)
Erase Error (1)
Erase to Protected
Block Error (1)
} while (status_register.SR7== 0) ;
if (status_register.SR3==1) /*VPP invalid error */
error_handler ( ) ;
if ( (status_register.SR4==1) && (status_register.SR5==1) )
/* command sequence error */
error_handler ( ) ;
if ( (status_register.SR5==1) )
/* erase error */
error_handler ( ) ;
if (status_register.SR1==1) /*program to protect block error */
error_handler ( ) ;
}
Note: 1. If an error is found, the Status Register must be cleared before further Program/Erase operations.
2. Any address within the bank can be used also.
AI10526
74/87

Share Link: 

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