Добавил:
Upload Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
UG130_002.doc
Скачиваний:
2
Добавлен:
01.05.2025
Размер:
8 Мб
Скачать
☆

Header j8 Settings

Description

DEFAULT. The FPGA automatically boots from the Platform Flash.

The FPGA attempts to boot from a serial configuration source attached to either expansion connector A2 or B1.

Another device connected to either the A2 or B1 expansion connector provides serial data and clock to load the FPGA.

The FPGA attempts to boot from a parallel configuration source attached to the B1 expansion connector.

ffWH JP1

Description

Another device connected to the B1 expansion connector provides parallel data and clock to load the FPGA.

The FPGA waits for configuration via the four-wire jTAG interface.

Header J8

Jumper JP1

Settings

Setting

Program Push Button/DONE Indicator LED

The Spartan-3 Starter Kit Board includes two FPGA configuration functions, located near the VGA connector and the AC power input connector, as shown in Figure 9-1. The PROG push button, shown as 0 in Figure9-1, drives the FPGA’s PROG_B programming pin. When pressed, the PROG push button forces the FPGA to reconfigure and reload it configuration data.

The DONE LED, shown as 0 in Figure 9-1, connects to the FPGA’s DONE pin and lights up when the FPGA is successfully configured.

UG130_c9_03_042604

Figure 9-1: The PROG Button and the DONE LED

Chapter 10

Platform Flash Configuration Storage

The Spartan-3 Starter Kit board has an XCF02S serial configuration Flash PROM to store FPGA configuration data and potentially additional non-volatile data, including MicroBlaze application code. To configure the FPGA from Platform Flash memory, all three jumpers must be installed on the J8 header, indicated as @ in Figure 1-2.

Platform Flash Jumper Options (JP1)

The Platform Flash has three optional settings controlled by the JP1 jumper, which is located in the upper right-hand corner of the board, adjacent to the Platform Flash configuration PROM. The JP1 jumper is indicated as 0 in Figure 1-2. A detailed schematic is provided in Figure A-4. Table 10-1 summarizes the available options, which are described in more detail below.

Table 10-1: Jumper JP1 Controls the Platform Flash Options

Option

Jumper JP1 Setting

Description

Default

rn iJPI

The FPGA boots from Platform Flash. No additional data storage is available.

Flash Read

I [iJP1

The FPGA boots from Platform Flash, which is permanently enabled. The FPGA can read additional data from Platform Flash.

Disable

liaia Hi JP1

Jumper removed. Platform Flash is disabled. Other configuration data source provides FPGA boot data.

“Default” Option

For most applications, this is the default jumper setting. As shown in Figure10-1, the Platform Flash is enabled only during configuration when the FPGA’s DONE pin is Low. When the DONE pin goes High at the end of configuration, the Platform Flash is disabled and placed in low-power mode

.

Figure 10-1: Default Platform Flash Option

Option

“Flash Read

”The Spartan-3 Starter Kit Board includes a 2Mbit Platform Flash configuration PROM. The XC3S200 FPGA on the board only requires slightly less than 1Mbit for configuration data. The remainder of the Platform Flash is available to store other non-volatile data, such as revision codes, serial numbers, coefficients, an Ethernet MAC ID, or code for an embedded processor, such as MicroBlaze, within the FPGA.

To allow the FPGA to read from Platform Flash after configuration, the JP1 jumper must be properly positioned, as shown in Figure 10-2. When the jumper is in this position, the Platform Flash is always enabled. After FPGA configuration completes, the FPGA application drives the INIT_B pin High, FPGA pin N9. Consequently, the Platform Flash data pointer is not reset and points to the additional data following the FPGA configuration data. To read any subsequent data, the FPGA application generates additional clock pulses on the RCLK signal from FPGA pin A14. After configuration, the FPGA’s CCLK output is three-stated with a pull-up resistor to VCCAUX (2.5V). The Platform Flash presents serial data on the FPGA’s DIN pin, pin M11.

UG130_c10_02_042504

Figure 10-2: Read Additional Data from Platform Flash by Setting the JP1 Jumper

The resistor between the CCLK output and FPGA pin A14 prevents any accidental conflicts between the two signals

.Additional FPGA logic is required to read the Platform Flash data, as described in the following application note.

• XAPP694: Reading User Data from Configuration PROMs http:/ /www.xilinx.com/bvdocs/ appnotes/xapp694.pdf

“Disable” Option

If the JP1 jumper is removed, then the Platform Flash is disabled, potentially allowing configuration via an expansion board connected to one of the expansion connectors

.Chapter 11

JTAG Programming/Debugging Ports

The Spartan-3 Starter Kit board includes a JTAG programming and debugging chain. Both the Spartan-3 FPGA and the Platform Flash devices are part of the JTAG chain, as shown in Figure 11-1. Additionally, there are two JTAG headers for driving the JTAG signals from various supported JTAG download and debugging cables. A Digilent JTAG3 low-cost parallel to JTAG cable is included as part of the kit and connects to the J7 header.

Figure 11-1: Spartan-3 Starter Kit Board JTAG Chain

JTAG Header (J7)

This J7 JTAG header consists of 0.1-inch stake pins and is indicated as 0 in Figure 1-2, located toward the top edge of the board, directly below the two expansion connectors. The Digilent low-cost parallel port to JTAG cable fits directly over the J7 header stake pins, as shown in Figure11-2. When properly fitted, the cable is perpendicular to the board. Make sure that the signals at the end of the JTAG cable align with the labels listed on the board. The other end of the Digilent cable connects to the PC’s parallel port. The Digilent cable is directly compatible with the Xilinx iMPACT software. The schematic for the Digilent cable appears in Figure A-9.

Figure 11-2: Digilent JTAG Cable Provided with Kit Connects to the J7 Header

The J7 header also supports the Xilinx Parallel Cable 3 (PC3) download/ debugging cable when using the flying leaders. Again, make sure that the signals at the end of the jTAG cable align with the labels listed on the board.

Figure A-4 provides a detailed schematic of the J7 header and the jTAG programming chain.

Parallel Cable IV/MultiPro Desktop Tool JTAG Header (J5)

The J5 header, shown as @ in Figure 1-2, supports the Xilinx download/debugging cables listed below:

  • MultiPro Desktop Tool

http:/ /www.xilinx.com/bvdocs/ publications/ds114.pdf

  • Parallel Cable IV (PC IV)

http:/ /toolbox.xilinx.com/ docsan/ xilinx4/data/ docs/pac/cables6.html

Use the 14-pin ribbon cable supplied with both cables to connect to the J5 header. DO NOT use the flying leads that are also provided with some cables. Although the MultiPro Desktop Tool and the Parallel Cable IV support multiple FPGA configuration modes, the Spartan-3 Starter Kit board only supports the jTAG configuration method. The header is designed for a keyed socket. However, the Spartan-3 Starter Kit uses only stake pins. The outline of the keyed connector appears around the J5 header, as shown in Figure 11-3. When properly inserted, the keyed header matches the outline on the board and the ribbon cable crosses over the top edge of the board. The red-colored lead indicates pin 1 on the cable and should be on the left side.

Figure 11-3: Use 14-Pin Ribbon Cable to Connect Parallel Cable IV or the MultiPro

Desktop Tool to the J5 Header

Chapter 12

Power Distribution

AC Wall Adapter

The Spartan-3 Starter Kit includes an international-ready AC wall adapter that produces a +5V DC output. Connect the AC wall adapter to the barrel connector along the left edge of the board, indicated as 0 in Figure 1-2. There is no power switch to the board. To disconnect power, remove the AC adapter from the wall or disconnect the barrel connector.

The POWER indicator LED, shown as 0 in Figure 1-2, lights up when power is properly applied to the board. If the jumpers in the JB header and JP1 header are properly configured and there is a valid design in the Platform Flash memory, then the DONE indicator LED, shown as 0 in Figure 1-2, also lights up.

The AC wall adapter is directly compatible for North America, Japan, and Taiwan locales. Other locations might require a socket adapter to convert from the North American standard to the local power socket standard. The AC wall adapter operates from 100V to 240V AC input, at 50 or 60 Hz.

Соседние файлы в предмете [НЕСОРТИРОВАННОЕ]