
23
SPMU372A – September 2015 – Revised October 2016
Copyright © 2015–2016, Texas Instruments Incorporated
Software Development
Chapter 3
SPMU372A – September 2015 – Revised October 2016
Software Development
This chapter provides general information on software development as well as instructions for flash
memory programming.
3.1
Secure IoT Demo
3.1.1 Software Description
The out-of-box “Secure IoT” application demonstrates the use of Transport Layer Security/Secure Sockets
Layer (TLS/SSL) protocol to connect an IoT product to a cloud server securely. This application runs on
TI-RTOS and uses WolfSSL library for TLS/SSL support. The WolfSSL library uses the hardware
encryption accelerators, available on the Crypto Connected LaunchPad board, which enables the
development of connected applications with data encryption (for secure communication) at relatively
higher performance. This application connects to Exosite’s cloud server using HTTPS protocol.
The “Secure IoT” application records information about the Crypto Connected LaunchPad and user activity
on this board, which is securely reported to Exosite cloud server. A command-line interface is provided to
interact with the application. With the command-line interface one can control the eval board like changing
the state of the LED or play a game of tic-tac-toe either locally or with a remote user.
For more details about example usage, see the “Readme.txt” file available with the “Secure IoT”
application.
3.1.2 Source Code Download and Build Instructions
The source code and binary files for the “Secure IoT” application are provided as part of an installer at
http://www.ti.com/lit/zip/spmc022
.
Instructions for downloading and installing TI-RTOS and WolfSSL along with detailed instructions on
building WolfSSL libraries for TI-RTOS are provided at
http://processors.wiki.ti.com/index.php/Using_wolfSSL_with_TI-RTOS
. This application works with TI-
RTOS v2.14.00.10 or later and WolfSSL v3.6.6 or later.
After building the WolfSSL libraries for TI-RTOS with support for TM4C hardware ciphers, follow the
instructions under “Build Details - Application” in the “Readme.txt” file available with the “Secure IoT”
application’s installation.
3.2
TivaWare for C Series Software
3.2.1 Software Description
The TivaWare software provides drivers for all of the peripheral devices supplied in the design. The TM4C
Series Peripheral Driver Library is used to operate the on-chip peripherals as part of TivaWare.
TivaWare includes a set of example applications that use the TivaWare Peripheral Driver Library. These
applications demonstrate the capabilities of the TM4C129ENCPDT microcontroller, as well as provide a
starting point for the development of the final application for use on the Crypto Connected LaunchPad
evaluation board. Example applications provided for the TM4C Series TM4C1294 Connected LaunchPad
and examples paired with selected BoosterPacks will work with the Crypto Connected LaunchPad.