<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="../assets/xml/rss.xsl" media="all"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><title>Bozica (Posts about USB)</title><link>http://bozica.co/</link><description></description><atom:link rel="self" type="application/rss+xml" href="http://bozica.co/categories/usb.xml"></atom:link><language>en</language><lastBuildDate>Mon, 26 Jun 2017 13:31:06 GMT</lastBuildDate><generator>Nikola (getnikola.com)</generator><docs>http://blogs.law.harvard.edu/tech/rss</docs><item><title>Installing Digilent USB-JTAG Programming Cable Drivers</title><link>http://bozica.co/posts/installing-digilent-usb-jtag-programming-cable-drivers/</link><dc:creator>Luis Ardila</dc:creator><description>&lt;div&gt;&lt;p&gt;Installing impact and the Digilent configuration cable drivers are not always a
smooth task. The USB-JTAG cable is not supported directly with the driver provided
by Xilinx in the Lab Tools, therefore it is necesarry to install external drivers.&lt;/p&gt;
&lt;p&gt;In the Xilinx forums it is possible to find a great number of questions regarding
the installation of the cable drivers but most of those solutions do not really work.
The following is a proven simple set of instructions that will install correctly the
drivers.&lt;/p&gt;
&lt;p&gt;First you need to download the Lab Tools from the Xilinx website, then:&lt;/p&gt;
&lt;p&gt;Install libraries&lt;/p&gt;
&lt;pre class="code console"&gt;&lt;a name="rest_code_6f380929bbd941a38bdcf596fd1c232c-1"&gt;&lt;/a&gt;&lt;span class="go"&gt;zypper in fxload&lt;/span&gt;
&lt;a name="rest_code_6f380929bbd941a38bdcf596fd1c232c-2"&gt;&lt;/a&gt;&lt;span class="go"&gt;cnf fxload&lt;/span&gt;
&lt;a name="rest_code_6f380929bbd941a38bdcf596fd1c232c-3"&gt;&lt;/a&gt;&lt;span class="go"&gt;zypper in libusb-0_1-4 libusb-1_0-0 libusbmuxd-devel libusbmuxd2&lt;/span&gt;
&lt;/pre&gt;&lt;p&gt;Install impact&lt;/p&gt;
&lt;pre class="code console"&gt;&lt;a name="rest_code_cc543e23a1fe4e9aa7cc0e6764f8c7b4-1"&gt;&lt;/a&gt;&lt;span class="go"&gt;tar -xvf Xilinx_LabTools_14.7_1015_1.tar&lt;/span&gt;
&lt;a name="rest_code_cc543e23a1fe4e9aa7cc0e6764f8c7b4-2"&gt;&lt;/a&gt;&lt;span class="go"&gt;cd Xilinx_LabTools_14.7_1015_1&lt;/span&gt;
&lt;a name="rest_code_cc543e23a1fe4e9aa7cc0e6764f8c7b4-3"&gt;&lt;/a&gt;&lt;span class="go"&gt;sudo ./xsetup&lt;/span&gt;
&lt;/pre&gt;&lt;p&gt;Install official cable drivers&lt;/p&gt;
&lt;pre class="code console"&gt;&lt;a name="rest_code_43d87426f490433096dbadca216764fd-1"&gt;&lt;/a&gt;&lt;span class="go"&gt;cd /opt/Xilinx/14.7/LabTools/common/bin/lin64/digilent&lt;/span&gt;
&lt;a name="rest_code_43d87426f490433096dbadca216764fd-2"&gt;&lt;/a&gt;&lt;span class="go"&gt;sudo ./install_digilent.sh&lt;/span&gt;
&lt;/pre&gt;&lt;p&gt;Install .hex and rules in correct locations&lt;/p&gt;
&lt;pre class="code console"&gt;&lt;a name="rest_code_39a742a4d55d4fd28ef9e0ce8fdbf528-1"&gt;&lt;/a&gt;&lt;span class="go"&gt;cd /opt/Xilinx/14.7/LabTools/common/bin/lin64&lt;/span&gt;
&lt;a name="rest_code_39a742a4d55d4fd28ef9e0ce8fdbf528-2"&gt;&lt;/a&gt;
&lt;a name="rest_code_39a742a4d55d4fd28ef9e0ce8fdbf528-3"&gt;&lt;/a&gt;&lt;span class="go"&gt;sed xusbdfwu.rules -e 's:TEMPNODE:tempnode:g&lt;/span&gt;
&lt;a name="rest_code_39a742a4d55d4fd28ef9e0ce8fdbf528-4"&gt;&lt;/a&gt;&lt;span class="go"&gt;s:SYSFS:ATTR:g&lt;/span&gt;
&lt;a name="rest_code_39a742a4d55d4fd28ef9e0ce8fdbf528-5"&gt;&lt;/a&gt;&lt;span class="go"&gt;s:BUS:SUBSYSTEM:g&lt;/span&gt;
&lt;a name="rest_code_39a742a4d55d4fd28ef9e0ce8fdbf528-6"&gt;&lt;/a&gt;&lt;span class="go"&gt;' &amp;gt; /etc/udev/rules.d/xusbdfwu.rules&lt;/span&gt;
&lt;a name="rest_code_39a742a4d55d4fd28ef9e0ce8fdbf528-7"&gt;&lt;/a&gt;
&lt;a name="rest_code_39a742a4d55d4fd28ef9e0ce8fdbf528-8"&gt;&lt;/a&gt;&lt;span class="go"&gt;cp xusb*.hex /usr/share&lt;/span&gt;
&lt;a name="rest_code_39a742a4d55d4fd28ef9e0ce8fdbf528-9"&gt;&lt;/a&gt;
&lt;a name="rest_code_39a742a4d55d4fd28ef9e0ce8fdbf528-10"&gt;&lt;/a&gt;&lt;span class="go"&gt;udevadm control --reload-rules&lt;/span&gt;
&lt;/pre&gt;&lt;p&gt;Run impact&lt;/p&gt;
&lt;pre class="code console"&gt;&lt;a name="rest_code_934be86fc2744b6ebf5d97e46171abd1-1"&gt;&lt;/a&gt;&lt;span class="go"&gt;source /opt/Xilinx/14.7/LabTools/settings64.sh&lt;/span&gt;
&lt;a name="rest_code_934be86fc2744b6ebf5d97e46171abd1-2"&gt;&lt;/a&gt;&lt;span class="go"&gt;impact &amp;amp;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;</description><category>digilent</category><category>driver</category><category>JTAG</category><category>programming cable</category><category>USB</category><category>xilinx</category><guid>http://bozica.co/posts/installing-digilent-usb-jtag-programming-cable-drivers/</guid><pubDate>Sat, 05 Mar 2016 22:33:47 GMT</pubDate></item></channel></rss>