From 9a0e4afb9a2caf229aeeacf5e77d1cf224e0aaa7 Mon Sep 17 00:00:00 2001
From: "Brian S. Dean" <bsd@bsdhome.com>
Date: Wed, 22 Dec 2004 01:30:30 +0000
Subject: [PATCH] Add support for "Xilinx JTAG cable".

Contributed by: Tymm <tymm@booyaka.com>


git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@437 81a1dc3b-b13d-400b-aceb-764788c761c2
---
 avrdude.conf.in | 20 ++++++++++++++++++++
 1 file changed, 20 insertions(+)

diff --git a/avrdude.conf.in b/avrdude.conf.in
index 13843b99..09f069a3 100644
--- a/avrdude.conf.in
+++ b/avrdude.conf.in
@@ -337,6 +337,26 @@ programmer
   miso  = 10;
 ;
 
+
+# From the contributor of the "xil" jtag cable:
+# The "vcc" definition isn't really vcc (the cable gets its power from
+# the programming circuit) but is necessary to switch one of the
+# buffer lines (trying to add it to the "buff" lines doesn't work).
+# With this, TMS connects to RESET, TDI to MOSI, TDO to MISO and TCK
+# to SCK (plus vcc/gnd of course)
+programmer
+  id    = "xil";
+  desc  = "Xilinx JTAG cable";
+  type  = par;
+  mosi  = 2;
+  sck   = 3;
+  reset = 4;
+  buff  = 5;
+  miso  = 13;
+  vcc   = 6;
+;
+
+
 #
 # PART DEFINITIONS
 #