beautypg.com

Downloading the design to spi flash, Downloading the spi flash using xspi, Download and install the xspi programming utility – Digilent 410-087P-KIT User Manual

Page 96: Attach a jtag parallel programming cable

background image

96

www.xilinx.com

Spartan-3E Starter Kit Board User Guide

UG230 (v1.0) March 9, 2006

Chapter 12: SPI Serial Flash

R

Downloading the Design to SPI Flash

There multiple methods to program the SPI Flash, as listed below.

Use the XSPI programming software provided with XAPP445. Download the SPI
Flash via the parallel port using a JTAG parallel programming cable (not provided
with the kit).

Use the PicoBlaze based SPI Flash programmer reference designs. Use a terminal
emulator, such as Hyperlink, to download SPI Flash programming data via the PC’s
serial port to the FPGA. The embedded PicoBlaze processor then programs the
attached SPI serial Flash. See

“Related Resources,” page 102

.

Via the FPGA’s JTAG chain, use a JTAG tool to program the SPI Flash connected to the
FPGA. See the link to the Universal Scan SPI Flash programming tutorial in

“Related

Resources,” page 102

.

Additional programming support will be provided in the ISE 8.2i software.

Downloading the SPI Flash using XSPI

The following steps describe how to download the SPI Flash PROM using the XSPI
programming utility.

Download and Install the XSPI Programming Utility

Download application note XAPP445 and the associated XSPI programming software (see

“Related Resources,” page 102

). Unzip the XSPI software onto the PC.

Attach a JTAG Parallel Programming Cable

The XSPI programming utility uses a JTAG parallel programming cable, such as:

Xilinx Parallel Cable IV

with flying leads

Digilent JTAG3 programming cable

These cables are not provided with the Spartan-3E Starter Kit board but can be purchased
separately, either from the Xilinx Online Store or from Digilent, Inc. (see

“Related

Resources,” page 102

).

First, turn off the power on the Spartan-3E Starter Kit board.

If the USB cable is attached to the board, disconnect it. Simultaneously connecting both the
USB cable and the parallel cable to the PC confuses the iMPACT software.

Connect one end of the JTAG parallel programming cable to the parallel printer port of the
PC.

Connect the JTAG end of the cable to Header J12, as shown in

Figure 12-15a

. The physical

location of Header J12 is more clearly shown in

Figure 12-3, page 90

. The J12 header

connects directly to the SPI Flash pins; it is not connected to the JTAG chain.

The JTAG3 cable directly mounts to Header J12. The labels on the JTAG3 cable face toward
the J11 jumpers. If using flying leads, they must be connected as shown in

Figure 12-15b

and

Table 12-2

. Note the color coding for the leads. The gray INIT lead is left unconnected.