Kaa releases
Skip to end of metadata
Go to start of metadata

This guide explains how to build applications for Texas Instruments CC3200 LaunchPad (further, CC3200) based on the Kaa C SDK.

Installing necessary components for Linux (Ubuntu)

Before building the C SDK for the CC3200 platform on Linux, you need to perform the following installation.

  1. Install the GNU toolchain for ARM: gcc-arm-none-eabi

  2. Install and configure OpenOCD, which is needed for running and debugging applications.

    1. Install OpenOCD.

    2. Add a rule file.

    3. Write the following code into the added rule file and then save the file.

    4. Reload the rules.

    5. To use Openocd as a regular user, add yourself to the dialout group.

    6. Log out and log in to finish the process.

      NOTE: The board should be enumerated as /dev/ttyUSB{0,1}. Use ttyUSB1 for UART.

  3. Install CC3200SDK.

    1. Install Wine.

    2. Download CC3200 SDK.

    3. Unpack CC3200 SDK.

    4. Change the configuration file for the debug interface.

      In /opt/kaa/cc3200-sdk/tools/gcc_scripts/cc3200.cfg replace the following few lines


    5. Edit GDB configuration.

Installing necessary components for Windows

Before building the C SDK for the CC3200 platform on Windows, you need to perform the following installation.

  1. Install cygwin with the additional following packages:
    • Archive/unzip

    • Archive/zip

    • Devel/autoconf

    • Devel/automake

    • Devel/libtool

    • Devel/subversion (Note: if using TortoiseSVN/Windows7, skip this file)

    • Devel/make

    • Devel/gcc-core

    • Devel/gcc-g++

    • Devel/mingw-gcc-core

    • Devel/mingw-gcc-g++

    • Devel/mingw-runtime

  2. Install the GNU toolchain for ARM gcc-arm-none-eabi to the opt\kaa directory under the cygwin root directory (default: c:\cygwin)

  3. Install CC3200SDK to the opt\kaa(if this folder doesn't exist create it) folder under the cygwin root directory.

  4. Install cmake and add it bin folder to the system environment.

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.

Creating applications based on C SDK

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 /dev/ttyUSB{0,1}.

Flashing (Windows only)

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.

Copyright © 2014-2015, CyberVision, Inc.

  • No labels