This guide explains how to build applications for Texas Instruments CC3200 LaunchPad (further, CC3200) based on the Kaa C SDK.
Before building the C SDK for the CC3200 platform on Linux, you need to perform the following installation.
Install the GNU toolchain for ARM:
Install and configure OpenOCD, which is needed for running and debugging applications.
Add a rule file.
Write the following code into the added rule file and then save the file.
Reload the rules.
To use Openocd as a regular user, add yourself to the dialout group.
Log out and log in to finish the process.
NOTE: The board should be enumerated as
ttyUSB1 for UART.
Before building the C SDK for the CC3200 platform on Windows, you need to perform the following installation.
Devel/subversion (Note: if using TortoiseSVN/Windows7, skip this file)
To enable debugging for your CC3200 applications, you will also need to build OpenOCD as described in the official CC3200-Getting_Started_Guide (item 3.3.3)
For more information, please refer to the official CC3200-Getting_Started_Guide.
Building C SDK for Linux
Before creating applications based on the C SDK, you should obtain the C SDK and build a static library from it. To do so, generate the C SDK in Admin UI, then extract the archive,
cd to it and execute the following for Linux:
For more details on building the C SDK for Linux, please refer to this page.
Building C SDK for Windows
Open the cygwin terminal and execute the following:
To quickly start with the Kaa IoT platform, you can download one of the Kaa demo applications from the Kaa Sandbox and run it on the CC3200 board. We recommend that you start with the ConfigurationDemo.
Connect CC3200 LaunchPad to your PC through a micro-USB connector and execute the following in your terminal:
To launch the application, execute the following:
NOTE: If you want to see the debug output in the terminal, make sure to get connected to
Jumpers on the CC3200 board should be connected as shown below.
To run an application, remove SOP2 and J8 jumpers, and then connect J2 and J3 jumpers.
For more information, see the official UniFlash Quick Start Guide.