Copyright © Shimmer 2017
Realtime Technologies Ltd Shimmer User Manual
All rights reserved Rev3p
47
5.3. Firmware Development
It is recommended that design, implementation, testing and validation of Shimmer embedded
software (firmware) be done in Code Composer Studio™ from Texas Instruments. Alternatively, any
compiler that supports the MSP430F5437A can be used (e.g. IAR embedded workbench, Rowley
Crossworks, MSP430GCC). Shimmer application code examples for Code Composer Studio™ are
actively maintained at https://github.com/ShimmerResearch/shimmer3.
Current functionality includes:
microSD flash storage.
FAT file system.
Bluetooth configuration, connection management and streaming data transfer.
Time and clock configuration.
Peripheral control and configuration.
Power supply monitoring.
5.3.1. Setting up a build environment
To develop firmware for Shimmer3, you will need the Code Composer Studio™ IDE from Texas
Instruments or another compiler that supports MSP430F5437A (examples listed above).
Furthermore, a Flash Emulation Tool (FET), such as the MSP-FET430UIF (or equivalent) from
Elpotronic or another manufacturer and a Shimmer Developer Board are recommended for
developers but not essential unless debug capability is needed.
5.3.2. Getting and updating the Shimmer source code
All Shimmer source code is hosted in a Github repository. Git is an open source version control
system that facilitates software configuration management. It is used by many software developers
to manage changes within their source code tree and provides the means to store the current
version of a source code element (e.g. a *.c source file) and it records all changes that have occurred
to that source code. For further details on Git, follow the documentation link at http://git-scm.com;
a download link can be found on the same website.
To clone a copy of the Shimmer3 repository to a new directory, use the following command:
git clone https://github.com/ShimmerResearch/shimmer3
To update the repository, navigate to the appropriate folder and run the following two commands:
git fetch origin
git pull origin
In the Shimmer3 repository, you will find the source code for all the sample solutions mentioned in
Section 5.1.
5.3.3. Getting started with Code Composer Studio™
The programming language for the Shimmer3 is C. Texas Instruments provide training material
helping new users to get up-to-speed with Code Composer Studio on their Wiki:
http://processors.wiki.ti.com/index.php/Category:CCS_Training.