Program Xilinx XC2C64A Or Similar Xilinx CPLD Using TIAO Universal JTAG Cable

From TIAO's Wiki
Jump to: navigation, search

10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!








Buy various JTAG cables for your Satellite Receiver, Cable Modem, Wireless Router, Standard Wiggler from http://www.easymg.com and http://www.diygadget.com


Overview

In this tutorial, I am going to show you how to program Xilinx X2C264A CPLD (or other CPLD) with TIAO Universal Buffered Parallel JTAG Adapter.

Required Hardware and Software

universal.jtag.600_2.jpg

xc2c64a-600.jpg

Install Xilinx Lab Tool

Download Xilinx ISE Design Suite and unzip to a temp directory, then run xsetup.exe:

Xilinx.install.labtools.1.png

Click Next:

Xilinx.install.labtools.2.png

Check agree to T&C, then click Next.

Select Lab Tools: Standalone Installation, and click Next:

Xilinx.install.labtools.3.png

Select install directory and click Next:

Xilinx.install.labtools.4.png

Now install is complete:

Xilinx.install.labtools.5.png

Get the JTAG Board Ready

Please follow Config TIAO Universal JTAG Cable As A Buffered Xilinx Parallel Platform Cable III to make the required connections.

Once all connections are made, double check them, make sure no errors, then plug the adapter to USB port then Parallel port of your PC.

Launch iMPACT

Go to Start -> All Programs -> Xilinx ISE Design Suite <version number> -> Lab Tools -> iMPACT to launch iMPACT:

Xilinx.run.labtools.1.png

On "Automatically create and save project" dialog, click on Yes:

Xilinx.run.labtools.2.png

On the "Welcome to iMPACT" dialog, select "Automatically connect to a cable and identify Boundary-Scan chain" and click OK:

Xilinx.run.labtools.3.png

Now, the CPLD should be detected:

Xilinx.run.labtools.4.png

Move mouse cursor on top of the CPLD device, right mouse click, we can erase or read the CPLD. If we want to program CPLD, we first need to assign a configuration file to the CPLD. Select "Assign New Configuration File ... " from the context menu:

Xilinx.run.labtools.5.png

In my example, I want to program trinity.jed to my XC2C64A, so I select trinity.jed and click Open:

Xilinx.run.labtools.6.png

The config file is assigned to XC2C64A:

Xilinx.run.labtools.7.png

Move mouse cursor on top of XC2C64A, right mouse click and select "Program":

Xilinx.run.labtools.8.png

Leave everything default on "Programming Properties" dialog, and click OK:

Xilinx.run.labtools.9.png

It's programming:

Xilinx.run.labtools.10.png

Programmed:

Xilinx.run.labtools.11.png

Troubleshooting

If the cable cannot be detected by iMPACT, make sure connections are correct, and manually select cable type as Parallel Cable III:

Select "Cable Setup...":

Xilinx.run.labtools.12.png

Select Parallel Cable III:

Xilinx.run.labtools.13.png

Then, right mouse click on Boundary Scan view and select "Initialize Chain" command:

Xilinx.run.labtools.14.png

Your CPLD should be detected.









Buy various JTAG cables for your Satellite Receiver, Cable Modem, Wireless Router, Standard Wiggler from http://www.easymg.com and http://www.diygadget.com



10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!