Difference between revisions of "How to program Xilinx CPLDs using TIAO USB Multi-Protocol Adapter (TUMPA) on Windows or Linux"

From TIAO's Wiki
Jump to: navigation, search

10 PCS, 10cm x 10cm, 2 layers prototype for $38.80 shipped!
(Software Installation)
Line 31: Line 31:
  
 
[[Image:Xc3sprog.tumpa.dir.png]]
 
[[Image:Xc3sprog.tumpa.dir.png]]
 +
 +
== Hardware preparation ==
 +
 +
In our example, we use XC2C64A (RGH Hack Dev Board), it takes +3.3V power.  TUMPA provides both +5V and +3.3V, thus a separate power supply to power up CPLD is not needed.
 +
 +
Connect TUMPA's TDI, TDO, TCK, TMS, +3.3V and GND pins to our XC2C64A dev board's TDI, TDO, TCK, TMS, +3.3V and GND respectively using the supplied female to female flexible cable.
 +
The pinout of the JTAG connector:
 +
[[Image:tumpa.jtag.connector.1.png|none]]
 +
{|
 +
! align="left"|Pin #
 +
! Description
 +
|-
 +
| 5
 +
| TDI
 +
|-
 +
| 7
 +
| TMS
 +
|-
 +
| 9
 +
| TCK
 +
|-
 +
| 13
 +
| TDO
 +
|-
 +
| 4, 6, 8, 10, 12, 14, 16, 18, 20
 +
| GND
 +
|}
  
  

Revision as of 17:21, 10 December 2011








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 TIAO Xilinx XC2C64A CoolRunner-II CPLD Dev Board (Reset Glitch) using TIAO USB Multi-Protocol Adapter (TUMPA). This method applies to all devices supported by xc3sprog.

The process is fairly straightforward.

Required Hardware and Software

Software Installation

  • Download TIAO patched xc3sprog from here, unzip it to a directory. In my example, I unzipped to d:\dev\ directory. After you unzip it, a directory TIAO-xc3sprog will be created. The Windows applications are under win32, Linux applications are in linux32.

Xc3sprog.tumpa.dir.png

Hardware preparation

In our example, we use XC2C64A (RGH Hack Dev Board), it takes +3.3V power. TUMPA provides both +5V and +3.3V, thus a separate power supply to power up CPLD is not needed.

Connect TUMPA's TDI, TDO, TCK, TMS, +3.3V and GND pins to our XC2C64A dev board's TDI, TDO, TCK, TMS, +3.3V and GND respectively using the supplied female to female flexible cable. The pinout of the JTAG connector:

Tumpa.jtag.connector.1.png
Pin # Description
5 TDI
7 TMS
9 TCK
13 TDO
4, 6, 8, 10, 12, 14, 16, 18, 20 GND











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!