<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://elinux.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://elinux.org/index.php?title=Communicate_with_hardware_using_USB_cable_for_Ubuntu&amp;feed=atom&amp;action=history</id>
		<title>Communicate with hardware using USB cable for Ubuntu - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://elinux.org/index.php?title=Communicate_with_hardware_using_USB_cable_for_Ubuntu&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Communicate_with_hardware_using_USB_cable_for_Ubuntu&amp;action=history"/>
		<updated>2013-05-21T18:06:15Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.21alpha</generator>

	<entry>
		<id>http://elinux.org/index.php?title=Communicate_with_hardware_using_USB_cable_for_Ubuntu&amp;diff=220442&amp;oldid=prev</id>
		<title>Deffe at 17:23, 15 February 2013</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Communicate_with_hardware_using_USB_cable_for_Ubuntu&amp;diff=220442&amp;oldid=prev"/>
				<updated>2013-02-15T17:23:50Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr style='vertical-align: top;'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 17:23, 15 February 2013&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 68:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:GTKtermSelectPort.png]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[File:GTKtermSelectPort.png]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Set the speed, bits and party and start working/playing.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Set the speed, bits and party and start working/playing.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;[[category:zynq]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key elinux:diff:version:1.11a:oldid:220436:newid:220442 --&gt;
&lt;/table&gt;</summary>
		<author><name>Deffe</name></author>	</entry>

	<entry>
		<id>http://elinux.org/index.php?title=Communicate_with_hardware_using_USB_cable_for_Ubuntu&amp;diff=220436&amp;oldid=prev</id>
		<title>Deffe: Created page with &quot; === Communicate with Xilinx development boards via USB. ===  &lt;p&gt;Xilinx boards are equipped with Silabs devices as terminal communication, RS232, medium. To be able to talk to...&quot;</title>
		<link rel="alternate" type="text/html" href="http://elinux.org/index.php?title=Communicate_with_hardware_using_USB_cable_for_Ubuntu&amp;diff=220436&amp;oldid=prev"/>
				<updated>2013-02-15T17:23:06Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot; === Communicate with Xilinx development boards via USB. ===  &amp;lt;p&amp;gt;Xilinx boards are equipped with Silabs devices as terminal communication, RS232, medium. To be able to talk to...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
=== Communicate with Xilinx development boards via USB. ===&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Xilinx boards are equipped with Silabs devices as terminal communication, RS232, medium. To be able to talk to an application, such as a PicoBlaze 8-bit processor application, your Linux machine must have the appropriate Silabs drivers.&lt;br /&gt;
Ubuntu 12.04LTS and later is default equipped with the Silabs drivers! No installation of drivers is necessary.&lt;br /&gt;
The only thing necessary is to check whether the Ubuntu machine can communicate over USB with the attached Xilinx development board.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
To do this:&lt;br /&gt;
* Connect the PC via an USB cable to the USB UART port of the Xilinx development board.&lt;br /&gt;
* Turn the board on.&lt;br /&gt;
&lt;br /&gt;
Open a terminal on you Ubuntu machine by pressing:&lt;br /&gt;
 [CTRL] + [ALT] + T&lt;br /&gt;
To find if the Silabs driver on the PC understood that a hardware device is connected, type:&lt;br /&gt;
 lsusb&lt;br /&gt;
The output text of this command in the terminal is something like this:&lt;br /&gt;
&lt;br /&gt;
 Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
 Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub&lt;br /&gt;
 Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;br /&gt;
 Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;br /&gt;
 Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;br /&gt;
 Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;br /&gt;
 Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;br /&gt;
 Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub&lt;br /&gt;
 Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth)&lt;br /&gt;
 Bus 005 Device 003: ID 0a5c:5801 Broadcom Corp. BCM5880 Secure Applications Processor with fingerprint swipe sensor&lt;br /&gt;
 Bus 003 Device 003: ID 413c:8157 Dell Computer Corp. Integrated Keyboard&lt;br /&gt;
 Bus 003 Device 004: ID 413c:8158 Dell Computer Corp. Integrated Touchpad / Trackstick&lt;br /&gt;
 Bus 003 Device 006: ID 413c:8156 Dell Computer Corp. Wireless 370 Bluetooth Mini-card&lt;br /&gt;
 Bus 006 Device 002: ID 10c4:ea60 Cygnal Integrated Products, Inc. CP210x Composite Device&lt;br /&gt;
&lt;br /&gt;
The last line, can be on your system another line, shows that the Silabs device on the Xilinx &lt;br /&gt;
development board has been detected and that the drivers on the PC are running.&lt;br /&gt;
&lt;br /&gt;
To find out what RS232 (UART) port is used by the USB driver, type:&lt;br /&gt;
&lt;br /&gt;
 dmesg | grep -ie cp210*&lt;br /&gt;
    &lt;br /&gt;
The terminal return text looks like:&lt;br /&gt;
&lt;br /&gt;
 [ 1590.761301] USB Serial support registered for cp210x&lt;br /&gt;
 [ 1590.761340] cp210x 7-2:1.0: cp210x converter detected&lt;br /&gt;
 [ 1591.020413] usb 7-2: cp210x converter now attached to ttyUSB2&lt;br /&gt;
 [ 1591.020460] usbcore: registered new interface driver cp210x&lt;br /&gt;
 [ 1591.020465] cp210x: v0.09:Silicon Labs CP210x RS232 serial adaptor driver&lt;br /&gt;
&lt;br /&gt;
&amp;lt;p&amp;gt;Again, on your machine the numbers might be different. The important line for us is that telling where the driver connects to a TTY port, in this case it is line three &amp;quot;cp210x converter now attached to ttyUSB2&amp;quot;.&amp;lt;/p&amp;gt;&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
=== GTKterm ===&lt;br /&gt;
&amp;lt;p&amp;gt;Setup the communication with a terminal window so that commands can be exchanged with the application running in the FPGA on the development board.&amp;lt;/p&amp;gt;&lt;br /&gt;
&lt;br /&gt;
I'm using here GTKterm as an example but any other debug terminal program can be used.&lt;br /&gt;
If GTKterm is not installed on you machine and you want to use it:&lt;br /&gt;
* Open via the DASH (Unity) the Ubuntu Software Center.&lt;br /&gt;
* Type in the search window (top right) GTKterm&lt;br /&gt;
* While typing the screen will look as the figure below:&lt;br /&gt;
[[File:InstallGtkterm.png]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
* Install the '''Serial Port Terminal'''.&lt;br /&gt;
* Now GTKterm is installed and available for use.Start it from the open terminal window as root.&lt;br /&gt;
 sudo gtkterm&lt;br /&gt;
&amp;lt;br/&amp;gt;&lt;br /&gt;
* Provide your sudo password and the serial terminal GUI will appear. Click 'Configuration' and select 'Port', as shown in the figure below.&lt;br /&gt;
[[File:GTKterm_Port_Select.png]]&lt;br /&gt;
&amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;&lt;br /&gt;
* In the pop-up window browse to the USB TTY port as shown in the figure below.&lt;br /&gt;
[[File:GTKtermSelectPort.png]]&lt;br /&gt;
* Set the speed, bits and party and start working/playing.&lt;/div&gt;</summary>
		<author><name>Deffe</name></author>	</entry>

	</feed>