English
Language : 

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