{"id":35,"date":"2016-03-12T23:33:54","date_gmt":"2016-03-12T23:33:54","guid":{"rendered":"http:\/\/www.celph.org\/?p=35"},"modified":"2016-05-25T17:52:57","modified_gmt":"2016-05-25T17:52:57","slug":"but-they-look-the-same","status":"publish","type":"post","link":"https:\/\/www.celph.org\/index.php\/2016\/03\/12\/but-they-look-the-same\/","title":{"rendered":"But They Look The Same"},"content":{"rendered":"<p>I spent a lot of time just getting my ARTY to love my computer. The cable driver was not automatically installed, but I eventually found a <a href=\"http:\/\/www.xilinx.com\/support\/answers\/59128.html\" target=\"_blank\">procedure<\/a> that did the job. These were the magic lines I typed in my administrator DOS box:<\/p>\n<pre>cd &lt;Vivado install path&gt;\\data\\xicom\\cable_drivers\\nt64\r\ninstall_drivers_wrapper.bat &lt;Vivado install \r\n        path&gt;\\data\\xicom\\cable_drivers\\nt64 \r\n        &lt;Vivado install path&gt;\\install.log &lt;Vivado install path&gt;\\<\/pre>\n<p>The process appeared to work and all the right output was produced by the batch file. Unfortunately, the Vivado Hardware Manager was pretty certain that none of it had worked. The ARTY lit up, that much is true, but as it would turn out, I had a bad cable.\u00a0 Not all cables are created equal. Rule of thumb:\u00a0 If it comes with the phone, it will work.\u00a0 If it comes with the charger, just toss it out. I know, they all look the same.<\/p>\n<p>&nbsp;<\/p>\n<div id=\"attachment_36\" style=\"width: 178px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" aria-describedby=\"caption-attachment-36\" class=\"size-medium wp-image-36\" src=\"http:\/\/www.celph.org\/wp-content\/uploads\/2016\/03\/GeneralIOdemo-168x300.jpg\" alt=\"ARTY General I\/O Demo\" width=\"168\" height=\"300\" srcset=\"https:\/\/www.celph.org\/wp-content\/uploads\/2016\/03\/GeneralIOdemo-168x300.jpg 168w, https:\/\/www.celph.org\/wp-content\/uploads\/2016\/03\/GeneralIOdemo-768x1369.jpg 768w, https:\/\/www.celph.org\/wp-content\/uploads\/2016\/03\/GeneralIOdemo-575x1024.jpg 575w, https:\/\/www.celph.org\/wp-content\/uploads\/2016\/03\/GeneralIOdemo.jpg 1204w\" sizes=\"auto, (max-width: 168px) 100vw, 168px\" \/><p id=\"caption-attachment-36\" class=\"wp-caption-text\">ARTY General I\/O Demo<\/p><\/div>\n<p>Once I had a communicating board, I navigated to the <a href=\"https:\/\/reference.digilentinc.com\/arty\" target=\"_blank\">Digilent Arty reference page<\/a> and selected the tutorial from the options on the right-hand side of the screen. That led me to a list of reference projects, and I chose the <a href=\"https:\/\/reference.digilentinc.com\/arty:gpio\" target=\"_blank\">Arty General I\/O Demo<\/a>.\u00a0 I downloaded a <em>zip<\/em> file, and expanded the contents under my Vivado projects directory.\u00a0 Following directions in the demo, I put the path name of the project&#8217;s <em>tcl<\/em> file into the Vivado <em>tcl<\/em> console.\u00a0 The last time I used <em>tcl<\/em> was in the early 1990&#8217;s when I needed to collect weather information from servers using <em>expect<\/em>. (We didn&#8217;t always need this bloated thing called the World Wide Web just to get simple information.)\u00a0 So not remembering any of the language, when my path failed, I just did what any programmer would do, I added extra backslashes.\u00a0 The demo has some other suggestions involving a pop-up that I didn&#8217;t see on my screen. Some of the instructions are written assuming<em> git,<\/em> but if you use the <em>zip<\/em> file, it&#8217;s still completely straightforward.<\/p>\n<p>The <em>tcl<\/em> file ran and eventually the bitstream was created. There was an awkward moment when I couldn&#8217;t find the <em>.bin<\/em> bitstream file. Vivado had just written the file, and logged the name moments before, but when I should have simply been able to click and download my\u00a0 bitstream to the ARTY, Vivado had no idea what the file was called or where it was. Hopefully, all that can be configured, I&#8217;m just not there yet. The good news is that I found the file, and the file found the board, and now when I flip switches on the ARTY, lights light up. It&#8217;s pretty exciting in an anticlimactic sort of way. I feel like I should have been at this point 2 months ago!<\/p>\n<p>The second half of the project uses a COM port and a terminal to talk to the ARTY. The ARTY will talk back once I push the magic buttons. Sadly, my computer devices list show no COM ports. Putty is perfectly happy to accept the configuration, but it just beeps at me when I actually try to connect. The Internet says I need a Prolific driver, and I installed that driver. I this were Linux, I&#8217;d just make a device.\u00a0 But this is Windows and nothing ever works the way it is supposed to, and there is never any decent documentation.<\/p>\n<p>&nbsp;<br \/>\n<span class=\"hit-count\">Views: 5929<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I spent a lot of time just getting my ARTY to love my computer. The cable driver was not automatically installed, but I eventually found a procedure that did the job. These were the magic lines I typed in my administrator DOS box: cd &lt;Vivado install path&gt;\\data\\xicom\\cable_drivers\\nt64 install_drivers_wrapper.bat &lt;Vivado install path&gt;\\data\\xicom\\cable_drivers\\nt64 &lt;Vivado install path&gt;\\install.log &lt;Vivado [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-35","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.celph.org\/index.php\/wp-json\/wp\/v2\/posts\/35","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.celph.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.celph.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.celph.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.celph.org\/index.php\/wp-json\/wp\/v2\/comments?post=35"}],"version-history":[{"count":5,"href":"https:\/\/www.celph.org\/index.php\/wp-json\/wp\/v2\/posts\/35\/revisions"}],"predecessor-version":[{"id":47,"href":"https:\/\/www.celph.org\/index.php\/wp-json\/wp\/v2\/posts\/35\/revisions\/47"}],"wp:attachment":[{"href":"https:\/\/www.celph.org\/index.php\/wp-json\/wp\/v2\/media?parent=35"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.celph.org\/index.php\/wp-json\/wp\/v2\/categories?post=35"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.celph.org\/index.php\/wp-json\/wp\/v2\/tags?post=35"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}