Setup Energia on Linux

Need help? The Energia discussion forum is hosted on 43oh.com.

Windows Users & Mac OS X Users

For all Boards

All Boards need a udev rule to be able to program as a regular user (not root). To install these udev rules, follow the steps below:

  1. Download the udev rules: TI udev rules
  2. Open a terminal and execute the following command: sudo mv /71-ti-permissions.rules /etc/udev/rules.d/
  3. If your Linux distribution supports the service command you can active the new rules with sudo service udev restart. If your Linux distribution does not support this command or if you are not able to upload to the LaunchPad with Energia, then restart your computer to activate the rules.
  4. If your board is pulled in, unplug it and plug it back in. Not needed if you rebooted your computer.

+ MSP-EXP432P401R LaunchPad

No drivers are needed for Linux. To be able to run Energia as a regular user and access the Serial port and programmer you will need the udev rules installed as explained above.

+ CC3200 LaunchPad

Follow the instructions on this page http://energia.nu/cc3200guide/ for important jumper settings and firmware upgrade instructions.

If you run a recent version of Linux then the FTDI kernel driver that is needed for the CC3200 LaunchPad is already installed. The only thing you need to do is to tell Linux to use that driver when you plug in your CC3200 LaunchPad using a udev rules as explained above.

+ MSP-EXP430G2, MSP-EXP430F5529, MSP-EXP430FR4133, MSP-EXP430FR5739, MSP-EXP430FR5969, and MSP-EXP430FR6989 LaunchPad

Important Note about the MSP-EXP430FR5969 LaunchPad
Only version 2.0 and above are supported.

No drivers are needed for Linux. To be able to run Energia as a regular user and access the Serial port and programmer you will need the udev rules installed as explained above.

+ EK-TM4C123GXL, EK-TM4C1294XL and EK-LM4F120XL LaunchPad

No drivers are needed for these LaunchPad. To be able to run Energia as a regular user and access the Serial port and programmer you will need the udev rules installed as explained above.

Download Energia

The most recent release of Energia can be downloaded from the download page.

Installing Energia

  • Open a terminal and cd to your how directory:

     cd ~
  • unpack the energia using tar.

    tar -xzf <directory you downloaded Energia>/energia-0101E00XYZ-linux64.tgz

Starting Energia

In a terminal cd to the directory where you have unpacked Energia. e.g. /home/username/energia-0101E00XYZ-linux64/ and run:

./energia &

Selecting the Serial Port

Select Serial Port from the Tools menu to view the available serial ports. On windows, they will be listed as COMXXX port and usually a higher number is the LaunchPad com port. On Mac OS X they will be listed as /dev/cu.uart-XXXX. On Linux they will be listed as /dev/ttyACMxyz.

For more on configuring your Launchpad for serial communication, see Serial-Communication

Selecting the Board

To select the board or rather the msp430 in your LaunchPad, select Board from the Tools menu and choose the board that matched the msp430 in the LaunchPad.

Uploading Your First Blinky Sketch

To load the Blinky example into the editor, select Blink from the Blink from the File->Examples->1.Basics menu.

To compile and upload the Sketch to the LaunchPad click the Upload button.

If all is well then the green LED on your LaunchPad is happily blinking. Congratulations, you have uploaded your first Sketch. Energia includes many more examples to get you started with your electronic project. Need help? The Energia discussion forum is hosted on 43oh.com.

Getting Started Home