Energia is very similar framework to Arduino IDE that support TI MSP430 LaunchPad and also other TI LaunchPad including CC3200. I have been using CCS6 to build my CC3200 projects, but as one of the Arduino user, I tried to establish this Energia IDE to see how it works. Here is the steps.
- Install Windows driver
Download "cc3200_drivers_win.zip" from the following link and execute DPinst.exe for Windows 32bit or DPinst64.exe for Windows 64 bit after unzip the package.http://energia.nu/files/cc3200_drivers_win.zip
Make sure CC3200 board is not connected when install the driver.
You can connect the board after the installation, and the board will be recognized automatically.
- Install Energia
Download the latest package from the following link.http://energia.nu/download/
Unzip the energia-0101EXXXX-windows.zip file to a desired location. - Hardware setup
To make it work with Energia, you need to modify the board setting. However, this is not so complicated and basically just change the jumper setting of CC3200 LaunchPad and use single wire to connect 2 pins which is top pin of JP8 and bottom pin of SOP2 with the USB connector facing up.
You can see the details here. - Launch Energia and run a project
Double clike Energia.exe. You will see the following which is very similar to Arduion IDE except the color.
|
Select "Tool > Boards > LaunchPad w/ CC3200".
Select "Tool > Serial Port > COMxx". In my case, it is COM33.
Select "File > Examples > 1.Basics > Blink".
It will launch new window as below, and click "Verify" to compile.
After it is successfully compiled, click upload button and you would see the red LED (P64) blinking around every 2 seconds.
Hardware:
CC3200 Launchpad
Reference:
How to set up Energia on Windows
Upgrading the CC3200 Firmware
CC3200 Jumper Settings