{"id":15276,"date":"2016-07-14T10:00:39","date_gmt":"2016-07-14T17:00:39","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=15276"},"modified":"2016-07-15T15:05:09","modified_gmt":"2016-07-15T22:05:09","slug":"rage-against-the-microcontroller","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/rage-against-the-microcontroller\/","title":{"rendered":"Rage Against the Machines"},"content":{"rendered":"<p>The <a href=\"https:\/\/digilent.com\/shop\/labview-physical-computing-kit-for-beaglebone-black\/\">BeagleBone Black<\/a>, much like the\u00a0canines with whom it shares part of its name with, can often feel rather needy. Getting the WiFi\u00a0set up and the board itself connected to <a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">LabVIEW <\/a>alone\u00a0took three days. Three days consisting\u00a0of what felt like a scheduled routine of &#8216;fix something, break something else&#8217;.<img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-15341 aligncenter\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/blog_bbb-600x190.png\" alt=\"blog_bbb\" width=\"600\" height=\"190\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/blog_bbb-600x190.png 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/blog_bbb-768x244.png 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/blog_bbb-800x254.png 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/blog_bbb.png 952w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/p>\n<p>The steps to installing the <a href=\"https:\/\/digilent.com\/shop\/labview-physical-computing-kit-for-beaglebone-black\/\">BeagleBone <\/a>are all on<a href=\"http:\/\/beagleboard.org\/getting-started\"> its\u00a0website,<\/a>\u00a0which I followed step-by-step and didn&#8217;t run into any problems.<\/p>\n<p>To use the <a href=\"https:\/\/digilent.com\/shop\/labview-physical-computing-kit-for-beaglebone-black\/\">BeagleBone Black<\/a> with <a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">LabVIEW<\/a>, you have to configure it and connect to it through <a href=\"https:\/\/www.labviewmakerhub.com\/doku.php?id=libraries:linx:start\">LINX <\/a>Target Configuration on <a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">LabVIEW<\/a>. Follow <a href=\"https:\/\/www.labviewmakerhub.com\/doku.php?id=learn:tutorials:libraries:linx:3-0:beaglebone-black-setup\">this video<\/a> for step-by-step instructions on how to do this. If you&#8217;re just connected to the computer through USB then you&#8217;ll only see one IP address once you login. If you have LAN hooked up to it through a router, you&#8217;ll see two IP addresses.<\/p>\n<p>This was the last success I got to enjoy for a while.<\/p>\n<p>I downloaded <a href=\"http:\/\/www.putty.org\/\">PuTTY <\/a>to access the SSH. This is the easiest way to check what the <a href=\"https:\/\/digilent.com\/shop\/labview-physical-computing-kit-for-beaglebone-black\/\">BeagleBone Black<\/a> is seeing. Turns out not only was my WiFi<a href=\"https:\/\/digilent.com\/shop\/wi-pi-usb-wifi-module\/\">\u00a0dongle<\/a> wasn&#8217;t working, my USB port on the <a href=\"https:\/\/digilent.com\/shop\/labview-physical-computing-kit-for-beaglebone-black\/\">BeagleBone <\/a>wasn&#8217;t recognizing the <a href=\"https:\/\/digilent.com\/shop\/wi-pi-usb-wifi-module\/\">Wi-Pi<\/a>.<\/p>\n<p>So naturally, my first instinct was to re-flash the <a href=\"https:\/\/digilent.com\/shop\/labview-physical-computing-kit-for-beaglebone-black\/\">BeagleBone Black<\/a>. After a good 45 minutes of waiting for that to finish, the <a href=\"https:\/\/digilent.com\/shop\/wi-pi-usb-wifi-module\/\">Wi-Pi<\/a> still wasn&#8217;t turning on.<\/p>\n<p>Then I decided to load Debian 8.4 (the most recent version) onto the SD card and boot the <a href=\"https:\/\/digilent.com\/shop\/labview-physical-computing-kit-for-beaglebone-black\/\">BeagleBone <\/a>off that.<\/p>\n<p>Well, my\u00a0WiFi\u00a0<a href=\"https:\/\/digilent.com\/shop\/wi-pi-usb-wifi-module\/\">dongle<\/a> didn&#8217;t turn on, and my <a href=\"https:\/\/digilent.com\/shop\/labview-physical-computing-kit-for-beaglebone-black\/\">BeagleBone <\/a>stopped connecting to <a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">LabVIEW <\/a>through the LINX Target Configuration.<\/p>\n<p>I decided to load Debian 8.3 onto the SD card and boot from that. This was after hours of troubleshooting (Googling, to be specific). It ended up still, unrecognizable by <a href=\"https:\/\/digilent.com\/shop\/labview-home-bundle\/\">LabVIEW<\/a>, and this time my <a href=\"http:\/\/www.putty.org\/\">PuTTY <\/a>would give me a blank screen.<img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-15343 aligncenter\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/ssh-problems-aliens-thumb.jpg\" alt=\"ssh-problems-aliens-thumb\" width=\"304\" height=\"266\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/ssh-problems-aliens-thumb.jpg 304w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/ssh-problems-aliens-thumb-110x96.jpg 110w\" sizes=\"auto, (max-width: 304px) 100vw, 304px\" \/><\/p>\n<p>I&#8217;d unplug it, thinking it would just settled down from it&#8217;s tantrum and miraculously start working as soon as I plugged it back in. My trouble-shooting strategy involves\u00a0<em>a lot<\/em> of wishful thinking. It has so far been extraordinarily ineffective, but I know that if I just believe hard enough that one day that strategy will pull through for me.<\/p>\n<p>At this point, I was ready to stop trying to set up the <a href=\"https:\/\/digilent.com\/shop\/labview-physical-computing-kit-for-beaglebone-black\/\">BeagleBone <\/a>and the Wi-Pi and instead just set them on fire. I ended up doing exactly that a few days later but that&#8217;s a story for another time.<\/p>\n<p>I had re-flashed it four or five times and nothing I tried seemed to work. It only served to make everything that was once working fail. \u00a0I reloaded 8.3 back on in hopes a clean wipe and re-started it hoping it would sift through the broken stuff. I ended up being able to communicate with the LINX Target Configuration and my <a href=\"http:\/\/www.putty.org\/\">PuTTY <\/a>let me log in to the <a href=\"https:\/\/digilent.com\/shop\/labview-physical-computing-kit-for-beaglebone-black\/\">BeagleBone Black&#8217;s<\/a> SSH.<\/p>\n<p>My <a href=\"https:\/\/digilent.com\/shop\/wi-pi-usb-wifi-module\/\">Wi-Pi<\/a> wasn&#8217;t working still but I was off to a better-ish start. After hours of troubleshooting, I\u00a0finally got my\u00a0<a href=\"https:\/\/digilent.com\/shop\/wi-pi-usb-wifi-module\/\">Wi-Pi<\/a>\u00a0to light up.<\/p>\n<figure id=\"attachment_15342\" aria-describedby=\"caption-attachment-15342\" style=\"width: 379px\" class=\"wp-caption aligncenter\"><img loading=\"lazy\" decoding=\"async\" class=\"wp-image-15342\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/Cast-Away-DI-600x337.jpg\" alt=\"Cast-Away-DI\" width=\"379\" height=\"213\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/Cast-Away-DI-600x337.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/Cast-Away-DI-768x432.jpg 768w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/Cast-Away-DI-1024x576.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/Cast-Away-DI-800x450.jpg 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/Cast-Away-DI.jpg 1330w\" sizes=\"auto, (max-width: 379px) 100vw, 379px\" \/><figcaption id=\"caption-attachment-15342\" class=\"wp-caption-text\">Visual representation of my feelings at that moment.<\/figcaption><\/figure>\n<p>After running through some more code and trying not to breathe too hard on my <a href=\"https:\/\/digilent.com\/shop\/wi-pi-usb-wifi-module\/\">Wi-Pi<\/a>\u00a0for fear of angering it again,\u00a0I got the WiFi\u00a0up and running. It even connects automatically after a reboot!<\/p>\n<p>Hallelujah! After only a few shed tears and quick photos taken to document the moment, I starting working on the next step of my project. Stay tuned for next week to see if the next step was less frustrating, and perhaps even get a sneak peek at the super secret project itself!<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-15276 jlk' data-task='like' data-post_id='15276' data-nonce='6d5ef3a62d' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-15276 lc'>0<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-15276 jlk' data-task='unlike' data-post_id='15276' data-nonce='6d5ef3a62d' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-15276 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-15276 status align-left'>Be the 1st to vote.<\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>Ella details her struggle with obstinate technology.<\/p>\n","protected":false},"author":41,"featured_media":15449,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1561],"tags":[],"ppma_author":[4492],"class_list":["post-15276","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-applications"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2016\/07\/20160714_113446.jpg","jetpack_sharing_enabled":true,"authors":[{"term_id":4492,"user_id":41,"is_guest":0,"slug":"erickerson","display_name":"Ella Rickerson","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/6fe955cc73725d3ad87e297d094c41be82c3845c2a4488842c1a74a78ca36b60?s=96&d=mm&r=g","1":"","2":"","3":"","4":"","5":"","6":"","7":"","8":"","9":"","10":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/15276","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/41"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=15276"}],"version-history":[{"count":0,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/15276\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/15449"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=15276"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=15276"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=15276"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=15276"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}