R
Platform Flash XL High-Density Configuration and Storage Device
X-Ref Target - Figure 38
Start
blank_check_command (blockToCheck) {
writeToFlash (blockToCheck, 0xBC);
Write Block
Address & BCh
writeToFlash (blockToCheck, 0xCB);
/* Memory enters read status state after
the Blank Check Command */
Write Block
Address & CBh
do {
Read
status_register = readFlash (blockToCheck);
/* see note (1) */
Status Register(1)
/* E or G must be toggled */
} while (status_register.SR7==0);
NO
SR7 = 1
YES
if (status_register.SR4==1) && (status_register.SR5==1)
/* command sequence error */
YES
Command Sequence
Error(2)
SR4 = 1
SR5 = 1
error_handler () ;
if (status_register.SR5==1)
/* Blank Check error */
error_handler () ;
NO
Blank Check Error(2)
SR5 = 0
End
}
DS617_32_101608
Notes:
1. Any address within the bank can equally be used.
2. If an error is found, the Status Register must be cleared before further Program/Erase operations.
3. To read the memory in Asynchronous mode, the CR15 Configuration Register bit must be written to 1.
Figure 38: Blank Check Flowchart and Pseudocode
DS617 (v3.0.1) January 07, 2010
www.xilinx.com
Product Specification
70