Hands on the Stellaris Launchpad

We just got our hands on a Stellaris Launchpad. We had placed an order when the preorder was originally announced, but the marketing folks at TI reached out an offered to send us one a bit sooner and took them up on it. We’ve embedded a quick unboxing video after the break but read on for some info that didn’t make it into that clip.

The look and feel of the board and its packaging are almost exactly the same as the MSP430 version of the Launchpad. But why not? After all it worked so well the first time. This board hosts an ARM Cortex-M4 processor. The two buttons on the bottom are user buttons, the one on the upper right is a reset button. The top of the board is the programmer, with a micro USB port for connectivity. The kit also includes about a 2′ cable for this connection. Next to that jack is a switch that selects a power source. You’ll also notice a USB port to the left, this because the processor includes USB functionality, with a free library available from TI. Power can come from the programmer/debugger USB port, or from this device USB port. There are dual pin headers to either side on the face of the board, and pin sockets on the back which break out pins of the processor. Just below the reset button is a RGB LED, and a clock crystal has also been populated just above the chip.

When plugged in via the programmer’s USB port the PWR LED lights up as does the RGB LED. The firmware that ships on the device fades through a range of colors and the user buttons scroll through a set of predefined colors. The device enumerates as: “Bus 002 Device 005: ID 1cbe:00fd Luminary Micro Inc.” on our machine. But if you connect it via the device USB jack it enumerates as: “Bus 001 Device 015: ID 04e8:689e Samsung Electronics Co., Ltd GT-S5670 [Galaxy Fit]“. Interesting.

We have no idea if there are programming tools for flashing the board using a Linux box, but we’ll be trying to figure it out. If you have some info please share it in the comments.

49 thoughts on “Hands on the Stellaris Launchpad

  1. I’ll definitely post everything from programming to debugging (and possibly C startup code, etc) here once it arrives. I ordered 2 at the very hour you made the original post about it so I hope it’s here soon.

  2. I wasn’t able to read the back of the package, but did it say that it unlocks the full CCS IDE? Not some code size limited version? That would be awesome!

    I have ordered two (as most of us, I reckon ;-)) and am looking forward to the boards!

    Regards, Eelco

  3. Hi, I ordered one too, but I am not expecting it very soon. Are the JTAG pins available for connecting the microcontroller? This would enable Linux programming/debugging.

    1. While it’s true that the older “Stellaris Evaluation Kits” used on-board FTDI programmers, I wouldn’t be surprised if they cooked up their own for this one. In fact, the chip used in the debug portion of the circuit appears to be another Stellaris ARM! While this may mean it doesn’t work out of the box with open source tools, it might be possible to re-flash the debugger MCU with a flavour of open debugger firmware. Perhaps Versaloon?

      Disclaimer: I don’t have one of these boards (yet) so I might be wrong.

    2. Nope.

      TI did send the icdi specs and docs to the openOCD developers. Apparently it isn’t as straightforward to add support for icdi.

      tl:dr should get support, but maybe not too soon…

      1. I’m more replying to the guy above, but my plan to use this dev board as a general programmer is to desolder the TMS chip and solder wires from the pads to an external header somewhere. That should work, in theory at least.

        You can’t use the dev board anymore, but for 15 bucks, who cares. Get another one.

    1. Yes, this is the same information I found. I can confirm that the ICDI support currently in OpenOCD only works with devices using an FTDI interface. The Stellaris Launchpad doesn’t, it has another Cortex-M4 chip which is serving as the programmer (this way TI didn’t have to buy a chip from another manufacturer to make these boards).

      Spen mentions that implementation is not as straight forward as he had hoped.

  4. There’s 2 identical M4s on there – the USB interface is the same chip.
    There’s a /lot/ of information on the TI website, I haven’t had a chance to dig through it all.
    There’s talk of source for flash programmers, the protocol information of bootloaders…
    If there’s any way to use both M4s for $4.99 (albeit hard to get to the pins on the second one) then the deal just gets sweeter

    1. nice one ! Looks like the programmer chip implements the DFU interface. Could someone try running dfu-util if it can indeed be programmed ?

  5. So, where are we going to form a community around programming these boards? A Wiki, message board, IRC channel, etc. would be nice to have, I think.

  6. My two just got delivered! :-)

    Here is a link to a much better photo.

    Take care! One of my Stellas had the pins bent on the headers…three of them were shorted out. So look before you plug it in.

      1. Where abouts are you both based? Given they were doing free shipping, I’m wondering if they’re canning non-US sales. (Mine is set to ship 11/9/12 so I hope I don’t have to wait that long only to find they’ve binned it.)

      2. naa thats not it, TI is notorious for being asshats/incompetent/too automated
        Last time I ordered Launchpad I decided to add some free crap to my order, after all they were already shipping it.

        They canceled my launchpad and instead decided to overnight airmail me free pcb’s shipped in individual boxes (FIVE individual boxes total). Im guessing it cost them about 50-70 Euro just to ship me 5 free pcbs. Still no $5 launchpad.

    1. I got a cancellation notice (something to do with verification)… *after it shipped*. And it showed up on my door yesterday. Odd.

  7. Dear HaD,
    I know that time and time again you like to demonstrate your collective lack of knowledge in the electronics realm but this is a new low. Please lift your game. You’re supposed to be a “bunch of hackers” and this is the best you can do with a early delivery? Unboxing and reading out the crap off the box? :/

    *intended as constructive criticism whether you read it that way or not. xx

  8. Now all we need is a decent library abstraction — like mbed only open source and cross platform — that makes it easy to dive into Launchpad, STM32F4-Discovery, Mbed, LPCXpresso, etc…

    I found uEZ but it’d need porting. Who might want to help me?

    Contact me via http://www.bot-thoughts.com

  9. I’d love to see a decent cross platform library at the level of mbed, but open source and supporting Launchpad, mbed, LPCXpresso, STM32F4, etc. Yeah yeah I know about Maple, Wiring etc. I mean more like mbed. Maybe I can port µEZ. Anyone want to help?

  10. Just got mine on the 3rd, ordered on the day it was first posted on here, haven’t gotten around to installing the software yet but just trying the demo and looking at it I’m quite impressed. Looks like it’s got lots of potential.

  11. I got the stellaris launchpad ek-lm4f120xl programmed under Slackware using the method mentioned in

    http://forum.stellarisiti.com/blog/6/entry-18-ccs-v52-linux-and-stellaris-laun

    chpad/

    Here is a brief description of what I did:

    1. Download and install lite edition arm-2012.03-56-arm-none-eabi-i686-pc-linux-gnu.tar.bz2 from http://www.mentor.com/embedded-software/sourcery-tools/sourcery-codebench/editions/lite-edition/arm-gnu-linux
    export PATH=/opt/arm-2012.03/bin:$PATH

    2. Downloded and extracted Stellarisware.
    mkdir Stellarisware
    cd Stellarisware
    unzip SW-EK-LM4F120XL-9453.exe
    make

    It builds dfuwrap and sflash under linux. sflash program
    may allow programming the flash through UART. I haven’t tried it with the required hardware.

    3. Create

    /opt/ti/ccsv5/ccs_base/common/targetdb/connections/Stellaris_ICDI_Connection.xml

    and save the following lines in it

    4. If you don’t have libftd2xx1, Download
    libftd2xx1.1.12.tar.gz
    from http://www.ftdichip.com/Drivers/D2XX.htm
    tar xfz libftd2xx1.1.12.tar.gz
    cd release/build/i386
    cp libftdi* /usr/lib
    cd /usr/lib
    ln -s /usr/lib/libftd2xx.so.1.1.12 libftd2xx.so

    5. Run, as root, from an xterm or so:

    /opt/ti/ccsv5/eclipse/ccstudio
    If connection to target fails, look for messages on the xterm from where
    ccstudio is started.

    6. To compile and load the project0 to launchpad flash,
    Import project0 from Stellarisware/boards/ek-lm4f120xl
    Connect the debug usb port to the host computer, using the usb cable provided.
    Build the project and
    Run->Debug
    Run->Free Run

      1. <?xml version="1.0"?>
        <connection id="Stellaris In-Circuit Debug Interface" class=”31040″>
        <connectionType Type="LM_ICDI"/>
        <property Type="hiddenfield" Value="No" id="dataFileRequired"/>
        </connection>

    1. An update to step 6:

      To run ccstudio as normal user and still access the board, added the following line to /etc/udev/rules.d/99_local.rules

      SYSFS{idVendor}==”1cbe”, SYSFS{idProduct}==”00fd”, MODE=”666″, GROUP=”users”

      1. In case of trouble:

        Make sure the Device connection is “Stellaris in-Circuit Debugger Interface” as in

        project->properties->General->Device->Connection->Stellaris in-Circuit Debug Interface

        Make sure Stellaris_ICDI_Connection.xml has the right syntax, against original post referred.

        If problems persist, it may help to move/remove ~/.eclipse and restart ccstudio and project.

  12. they have raised the price to $12.99.
    Morning i saw it was $4.99. Evening i saw it was $12.99. After reading few posts above i got a strong belief that my order will also be cancelled.
    Any way if i get it. i will let you know.

  13. @v2george
    Thanks for putting up the Ubuntu instructions.

    I’m now debugging in my Ubuntu VM :-)

    Has anybody got it working with the MSP430 Capsense booster pack?

    Stellarisware comes with an example app for the booster pack. Its headers state if you add extra 30 Ohm resistors to boosterpack it should work. But doesn’t.

    I had to remove the UART code just to get it to run, but the code does not detect the Capacitive touch pads :-(

    May take a little while to debug, has anybody else got it going.?

    G

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s