English
Language : 

DS617 Datasheet, PDF (74/88 Pages) Xilinx, Inc – MultiBoot Bitstream, Design Revision Storage
R
X-Ref Target - Figure 42
Start
Write B0h
Write 70h
Platform Flash XL High-Density Configuration and Storage Device
erase_suspend_command ( ) {
writeToFlash (bank_address, 0xB0) ;
writeToFlash (bank_address, 0x70) ;
/* read status register to check if
erase has already completed */
Read Status
Register
do {
status_register=readFlash (bank_address) ;
/* E or G must be toggled*/
NO
SR7 = 1
} while (status_register.SR7== 0) ;
YES
NO
SR6 = 1
Erase Complete
if (status_register.SR6==0) /*erase completed */
{ writeToFlash (bank_address, 0xFF) ;
YES
Write FFh
read_data ( ) ;
/*read data from another block*/
/*The device returns to Read Array
(as if program/erase suspend was not issued).*/
Read data from another block,
Program,
Set Configuration Register or
Block Protect/Unprotect/Lock
Write D0h
Write FFh
Erase Continues
Read Data
}
else
{ writeToFlash (bank_address, 0xFF) ;
read_program_data ( );
/*read or program data from another address*/
writeToFlash (bank_address, 0xD0) ;
/*write 0xD0 to resume erase*/
}
}
Notes:
1. The Read Status Register command (Write 70h) can be issued just before or just after the Erase Resume command.
2. To read the memory in Asynchronous mode, the CR15 Configuration Register bit must be written to 1.
Figure 42: Erase Suspend & Resume Flowchart and Pseudocode
DS617_36_101608
DS617 (v3.0.1) January 07, 2010
www.xilinx.com
Product Specification
74