Skip to content

Latest commit

 

History

History
131 lines (78 loc) · 4.12 KB

getting_started.md

File metadata and controls

131 lines (78 loc) · 4.12 KB

Getting Started With the RV901T Board

The RV901T is a controller board for LED displays, but it's also suitable for use as an FPGA development board since it has the following:

  • Spartan-6 FPGA (XC6LX16),
  • Serial flash,
  • 64 MBytes of SDRAM,
  • Two Gb Ethernet PHYs,
  • 25 MHz oscillator,
  • Numerous 5V I/O ports,
  • A single pushbutton,
  • A single LED.

You can find out more about the RV901T at https://github.com/q3k/chubby75 where a group of people are reverse-engineering the board.

This document will provide the information you need to set up the board for doing FPGA development.

Getting Access to the FPGA JTAG pins

During development, bitstreams are often downloaded into the FPGA through its JTAG port. However, the RV901T does not appear to have a physical JTAG port for attaching a downloading cable, so you'll have to physically modify the board.

The FPGA JTAG pins are brought out to test points on the PCB:

FPGA JTAG test points (front)

These test points are also available on the back of the PCB. Unfortunately, they're covered with soldermask. Using a fine knife-point, you can scrape off the mask and expose the test points as shown below:

FPGA JTAG test points (back)

Then, glue a 6x1 header to the board:

6x1 connector

and connect the exposed test points to the header pins:

Header JTAG connections

Also, scrape off a bit of solder mask to expose the PCB ground plane and solder that to a header pin through a short piece of wire:

Header ground connection

In addition, your downloading cable may require a reference voltage for the JTAG pins. You can expose a small bit of the 3.3V power plane and connect that to a header pin like so:

Voltage reference connection

Once that's done, it's a good idea to label the header pins:

Header labels

Applying Power

The board can get power through the screw terminals:

Powering through the screw terminals

or from a PC power supply through the Molex 8981 connector:

Powering through the Molex connector

Once power is applied, a red LED will come on. The nearby pushbutton S1 will make a green LED turn on and off as the button is pressed and released.

Green LED

Testing the JTAG Connection

Attach the downloading cable to the 6x1 header (in my case, I'm using a XILINX Platform Cable):

Cable connection to the JTAG header

Then apply power to the RV901T board. The STATUS LED on the Platform Cable should turn green.

Platform Cable status is green

Next, open XILINX ISE (that's the last version of the free XILINX tools that supports the Spartan-6 FPGAs) and start the iMPACT tool:

XILINX ISE and iMPACT

In the iMPACT window, double-click the Boundary Scan flow:

Then, right-click in the Boundary Scan tab and select Initialize Chain:

If all goes well, iMPACT should detect the Spartan-6 LX16 FPGA attached to the JTAG header:

LED Blink Test

You are now ready to load a custom design in your RV910T.

Let's start load a ready-made bitstream, included in this project, that simply blinks the green LED once per second.

  • Click on the xc6slx16 FPGA icon in iMPACT. It will turn green if it wasn't already.
  • Right click on the FPGA icon and select "Assign New Configuration File"
  • Now select `./blink/ise/top.bit'
  • When asked "Do you want to attach an SPI or BPI PROM to this device?", answer "No"
  • Click again on the xc6slx16 FPGA to turn it green.
  • Select "Operations->Program" (or click the corresponding toolbar icon)
  • When asked about "Device Programming Properties", just click "Ok"

If all went well, the bitstream will load into the device and your green LED will be blinking! Congratulations!

Next Steps

Create your own designs!

You can find the pin assignments of the FPGA here.