<?xml version="1.0" encoding="UTF-8" ?><oembed><version>1.0</version><provider_name>Projects</provider_name><provider_url>https://projects.schneidr.de</provider_url><author_name>Gerald</author_name><author_url>https://projects.schneidr.de/author/admin/</author_url><title>First steps with the LM4F120 LaunchPad</title><html>I now have an interesting idea what I could use the LaunchPad for. I don&#039;t want to tell too much about it yet, but I ordered a GameBoy camera I want to connect to it, so now I need to take a look on how to program it.

&lt;a href=&quot;http://projects.schneidr.de/files/2012/12/P1160188.jpg&quot;&gt;&lt;img class=&quot;aligncenter size-large wp-image-642&quot; title=&quot;P1160188&quot; alt=&quot;&quot; src=&quot;http://projects.schneidr.de/files/2012/12/P1160188-600x450.jpg&quot; width=&quot;584&quot; height=&quot;438&quot; /&gt;&lt;/a&gt;

&lt;!--more--&gt;Why a GameBoy camera? I&#039;ve been looking for a camera I could connect to an Arduino to do some basic shape recognition. While I was looking for existing solutions I gathered from a lot of people that an Arduino is just too slow and doesn&#039;t have enough memory to do anything realistic with it. That&#039;s the main reason why I want to give the LaunchPad a try, the 32bit ARM Cortex CPU with 80MHz should have substantial more computing power than the 16 MHz ATMEGA chip on the Arduino. Additionally I found &lt;a href=&quot;http://www.bot-thoughts.com/2010/04/gameboy-camera-prototyping.html&quot;&gt;this article by Michael Shimniok&lt;/a&gt; where he describes how he attached the GameBoy camera to an Arduino and used it to relay the captured images to a computer.

After connecting it to the PC with the debug USB port it started to run the pre-installed RGB demo, cycling the LED through colors, but it only showed up as unknown devices in the windows device manager. Most downloads on the TI website don&#039;t work, so I looked for alternate means to write code for it and found the &lt;a href=&quot;http://energia.nu/&quot;&gt;Energia IDE&lt;/a&gt;. Energia is a fork of the Arduino IDE ,which I am quite familiar with by now, and the newest release (that coincidentally came out just a couple of days ago) comes with support for the LaunchPad.

After some searching and a little trial and error I found &lt;a href=&quot;http://www.ti.com/tool/stellaris_icdi_drivers&quot;&gt;working drivers for the LaunchPad&lt;/a&gt; on the TI website. After installing the drivers (rightclick on the unknown devices, update drivers) the device shows up as a virtual COM port but it is still not usable in the Energia IDE. Everytime I try to upload a compiled sketch I get the following error message:
&lt;pre&gt;Binary sketch size: 1.916 bytes (of a 262.144 byte maximum)
Failed!
No ICDI device with USB VID:PID 1cbe:00fd found!&lt;/pre&gt;
I double checked, the VID/PID of the LaunchPad device matches. No idea what&#039;s the problem here. The Energia forum was of no help, so I decided to look further. Luckily, today I was able to download StellarisWare and the Code Composer Studio from the TI website. Good news: I can program the LaunchPad with it, I was able to follow &lt;a href=&quot;http://processors.wiki.ti.com/index.php/Stellaris_LM4F120_LaunchPad_Blink_the_RGB&quot;&gt;TIs Project0 instructions&lt;/a&gt; without problems. Bad news: Code Composer Studio needs a commercial licence. I expected this, that&#039;s why I was searching for an alternative in the first place. For now I can use it with a the Bundle/Dev Kit license, a &quot;free licence for use with EVMs and development boards with onboard emulation as well as XDS100 class emulators&quot;. That should suffice for now, maybe I can switch to Energia later when it actually works.

&lt;a href=&quot;http://projects.schneidr.de/files/2012/12/P1160197.jpg&quot;&gt;&lt;img class=&quot;aligncenter size-large wp-image-655&quot; alt=&quot;P1160197&quot; src=&quot;http://projects.schneidr.de/files/2012/12/P1160197-600x450.jpg&quot; width=&quot;584&quot; height=&quot;438&quot; /&gt;&lt;/a&gt;In the meantime the GameBoy camera arrived, I drilled it open and removed the CCD module from it&#039;s head. Now it&#039;s time to connect it to the LaunchPad and get started!

&nbsp;</html><type>rich</type><thumbnail_url>https://projects.schneidr.de/files/2012/12/P1160191-150x150.jpg</thumbnail_url><thumbnail_width>150</thumbnail_width><thumbnail_height>150</thumbnail_height></oembed>