{"version":"1.0","provider_name":"Projects","provider_url":"https:\/\/projects.schneidr.de","author_name":"Gerald","author_url":"https:\/\/projects.schneidr.de\/author\/admin\/","title":"First steps with the LM4F120 LaunchPad","html":"I now have an interesting idea what I could use the LaunchPad for. I don'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.\r\n\r\n<a href=\"http:\/\/projects.schneidr.de\/files\/2012\/12\/P1160188.jpg\"><img class=\"aligncenter size-large wp-image-642\" title=\"P1160188\" alt=\"\" src=\"http:\/\/projects.schneidr.de\/files\/2012\/12\/P1160188-600x450.jpg\" width=\"584\" height=\"438\" \/><\/a>\r\n\r\n<!--more-->Why a GameBoy camera? I'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't have enough memory to do anything realistic with it. That'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.\u00a0Additionally\u00a0I found <a href=\"http:\/\/www.bot-thoughts.com\/2010\/04\/gameboy-camera-prototyping.html\">this article by Michael Shimniok<\/a>\u00a0where he describes how he attached the GameBoy camera to an Arduino and used it to relay the captured images to a computer.\r\n\r\nAfter 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't work, so I looked for alternate means to write code for it and found the <a href=\"http:\/\/energia.nu\/\">Energia IDE<\/a>. Energia is a fork of the Arduino IDE ,which I am quite familiar with by now, and the newest release (that\u00a0coincidentally\u00a0came out just a couple of days ago)\u00a0comes with support for the LaunchPad.\r\n\r\nAfter some searching and a little trial and error I found <a href=\"http:\/\/www.ti.com\/tool\/stellaris_icdi_drivers\">working drivers for the LaunchPad<\/a> 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:\r\n<pre>Binary sketch size: 1.916 bytes (of a 262.144 byte maximum)\r\nFailed!\r\nNo ICDI device with USB VID:PID 1cbe:00fd found!<\/pre>\r\nI double checked, the VID\/PID of the LaunchPad device matches. No idea what's the problem here.\u00a0The 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 <a href=\"http:\/\/processors.wiki.ti.com\/index.php\/Stellaris_LM4F120_LaunchPad_Blink_the_RGB\">TIs Project0 instructions<\/a> without problems. Bad news: Code Composer Studio needs a commercial licence. I expected this, that's why I was searching for an alternative in the first place. For now I can use it with a the\u00a0Bundle\/Dev Kit license, a \"free licence for use with EVMs and development boards with onboard emulation as well as XDS100 class emulators\". That should suffice for now, maybe I can switch to Energia later when it actually works.\r\n\r\n<a href=\"http:\/\/projects.schneidr.de\/files\/2012\/12\/P1160197.jpg\"><img class=\"aligncenter size-large wp-image-655\" alt=\"P1160197\" src=\"http:\/\/projects.schneidr.de\/files\/2012\/12\/P1160197-600x450.jpg\" width=\"584\" height=\"438\" \/><\/a>In the meantime the GameBoy camera arrived, I drilled it open and removed the CCD module from it's head. Now it's time to connect it to the LaunchPad and get started!\r\n\r\n&nbsp;","type":"rich","thumbnail_url":"https:\/\/projects.schneidr.de\/files\/2012\/12\/P1160191-150x150.jpg","thumbnail_width":150,"thumbnail_height":150}