Additional information

Using SPI-Flash for configuration

How to store configuration data in SPI-Flash

To allow configuration of the FPGA via onboard SPI-Flash on power-up first an appropriate configuration file has to be stored in the SPI-Flash. There are several ways to accomplish this.

Loading SPI-Flash via USB

The easiest way to get data into SPI-Flash surely is to use CESYS software UDK-Lab. With the help of this easy to use tiny tool binary FPGA configuration bitstreams (*.bin) can be downloaded to onboard SPI-Flash via USB.

SPI-Flash Indirect Programming Using FPGA JTAG Chain

Since XILINXTM ISE-WebPACK version 10.1 it is possible to configure SPI-Flashes attached to the FPGA via JTAG interface. Before starting to download a design to SPI- Flash with iMPACT programming software it is necessary to prepare the required *.mcs SPI PROM file. With xapp951 XILINXTM provides an application note how to accomplish that using iMPACT or PROMGen software tools. Select 16M SPI PROM Density when asked. Thereafter connect JTAG adapter and power-up USBS6, either by connecting USB cable or via external 5V power supply. With XILINXTM parallel cable IV the led lights green if FPGA is powered on. Now start XILINXTM iMPACT, select Boundary Scan mode and follow the manual provided by XILINXTM in xapp951. Select M25P16 SPI-Flash PROM Type when asked.

SPI-Flash

 

 

 

M25P16

Signal Name

FPGA IO

FPGA Direction

Comment

D

MOSI

T13

Output

Master SPI Serial Data Output.

Q

MISO

R13

Input

Master SPI Serial Data Input.

S

CSO_B

V3

Output

Master SPI Chip Select Output.

C

CCLK

R15

Output

Configuration Clock.

W

WP#

--

 

Externally pulled HIGH via 4,7kOhm resistor.

HOLD

HOLD#

--

 

Externally pulled HIGH via 4,7kOhm resistor.

 

 

 

 

 

SPI-Flash Direct Programming using iMPACT

Out of the box Direct SPI Programming via XILINXTM download cable and iMPACT

USBS6 / C1030-5510

 

http://www.cesys.com/

User Doc V0.3

-60-

preliminary

Page 60
Image 60
Company X Accessories C1030-5510 manual Using SPI-Flash for configuration, How to store configuration data in SPI-Flash