ProgramLaunchpad¶
There is a program called Energia, which is very similar to the Arduino IDE. It comes with some useful examples to get you started.
If you prefer a more C-based hardware approach or want more functionality from the chip, use Code Composer. A tutorial on MSP430 with Code Composer and information about the MSP430 microcontroller can be found at the ProgramMSP430 page.
On Windows¶
USB Driver¶
Download and unzip the file from http://www.ti.com/tool/stellaris_icdi_drivers. Then open Device Manager from the Control Panel. After plugging in the Launchpad, you should see "In-Circuit Debug Interface" (maybe several of them) under "Other Devices".
- Right click, select "Properties"
- Click "Update Driver..."
- Click "Browse my computer for this driver software"
- Navigate to where you unzipped the folder above and choose "Next"
- It should say "Windows has finished installing the driver software for this device: Stellaris ICDI [something something]"
- Repeat for all "In-Circuit Debug Interface" entries shown
- Success!
Energia¶
On http://energia.nu/download/, download and unzip energia-0101E0010-windows.zip.
On Linux¶
USB Driver¶
You shouldn't need to install any extra driver. In order to access the device as non-root, however, you'll need to create the file /etc/udev/rules.d/55-ti-usb.rules
with the contents
SUBSYSTEM=="usb", ATTR{idVendor}=="1cbe", ATTR{idProduct}=="00fd", MODE="660", GROUP="dialout"
Add yourself to the group dialout with gpasswd -a $USER dialout
, then log out and log back in. Next time you plug in the Launchpad, you should be able to program it without using sudo.
Energia¶
On http://energia.nu/download/, download energia-0101E0010-linux64.tgz (or energia-0101E0010-linux.tgz if you don't have a 64-bit computer or OS). Untar it somewhere with tar xzf energia-0101E0010-linux64.tgz
and run ./energia-0101E0010/energia
.