How to connect to my LaunchPad TM4C123G

embedded, microcontroller, texas-instruments

Solution

As a satisfactory solution for the time being I started using Energia. I still had to search for the appropriate settings in order to run anything on my LaunchPad TM4C123G. So I decided to spare people some time, and decided to post a step by step walkthrough here.

First, plug in the USB to MicroUSB cable to the top slot of the LaunchPad, as so. And make sure the switch (at the top left) is switched to the "DEBUG" position.

Next download the Energia IDE, there's a nice bundle for the Mac on their site. Once you're done with the setup, open it and search the toolbar for the "Board" section. Once there, select the appropriate setting. In my case it was the one with the checkmark in the screenshot.

Finally, to make sure everything is OK, try and run the provided empty program on your board with the "Upload" button.

If the connection was established and your source compiled and delivered, the status area should look similar to this one.

Problem

I have spent some time trying to connect to my LaunchPad `TM4C123G` using the mspdebug toolchain on my macbook (10.10), but no luck. While trying to run `$ mspdebug rf2500` I get ``` usbutil: unable to find a device matching 0451:f432 ``` I did some googling and it seems to me the `mspdebug` toolkit might not be suitable for my version of the LaunchPad. Could this be? After checking my `$ system_profiler SPUSBDataType` I got the following: ``` Product ID: 0x00fd Vendor ID: 0x1cbe (Texas Instruments - Stellaris) Version: 1.00 Serial Number: 0E205EE1 Speed: Up to 12 Mb/sec Manufacturer: Texas Instruments Location ID: 0x14100000 / 14 Current Available (mA): 500 Current Required (mA): 250 ``` This indicates to me that at least the OS is able to recognise the device, right? If so, what other toolchain could I use to connect to the device.

Original source