-
Notifications
You must be signed in to change notification settings - Fork 671
Getting Started
Need help? The Energia discussion forum is hosted on 43oh.com.
To use Energia you will need to have the LaunchPad drivers installed.
If TI's Code Composer Studio 5.x with MSP430 suport is already installed on your computer then the drivers are already installed. Skip to the next step.
- Download the LaunchPad drivers for Windows: LaunchPad CDC drivers zip file for Windows 32 and 64 bit
- Unzip and double click DPinst.exe for Windows 32bit or DPinst64.exe for Windows 64 bit.
- Follow the installer instructions.
- Download the LaunchPad drivers for Mac OS X: LaunchPad CDC drivers zip file for Mac OS X
- Unzip and double click MSP430LPCDC 1.0.3b.pkg
- Follow the instructions.
The LaunchPad drivers are already installed on most Linux distribution and no further steps are required. If the LaunchPad is not recognized then libusb might not be installed on your system.
The most recent release of Energia can be downloaded from the download page.
Double click and extract the energia-0101EXXXX-windows.zip file to a desired location.
Double click the energia-0101EXXXX-macosx.dmg file and drag the Energia application onto the Application folder.
Download and install Java for OS X from Apple.
On OS X 10.8, as Energia 0101E0009 isn't signed, proceed as follow:
- First time you use Energia, press `ctrl` and click on Energia, choose `Open` on the menu.
- A window states Energia isn't signed and asks for confirmation to launch it: confirm and Energia starts.
- This procedure isn't required after.
The "damaged application" message is a cryptic reminder that Energia isn't signed and thus not truth-worthy according to Mountain Lion.
Proceed as follow:
- Launch Systems Preferences on the Apple menu
- Select Security and Privacy
- Click on the padlock, type your password and confirm
- Select Authorise the apps downloaded from everywhere and confirm
- Go back to the folder containing Energia
- Ctrl-click on Energia and select Open
- If a message asks you to confirm, confirm
- Once Energia is running, go back the the Systems Preferences and select the previous setting for Authorise the apps, either Mac App Store or Mac App Store and Identified developers.
- Next time you double-click on Energia, the application will be launched normally.
Double click Energia.exe (Windows users) / Energia.app (Mac OS X users). Energia will start and an empty Sketch window will appear.
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 Mac OS X make sure to select the /dev/cu.uart-XXXX and NOT the /dev/tty.uart-XXX
For more on configuring your Launchpad for serial communication, see Serial-Communication
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.
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 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.