
Develop an Application With the MSP-EXP430G2 LaunchPad
www.ti.com
4
Develop an Application With the MSP-EXP430G2 LaunchPad
4.1
Developing an Application
The integrated development environments (IDEs) shown in
Section 2
offer support for the whole
MSP430G2xx Value Line. The MSP-EXP430G2 LaunchPad needs only a connection to the USB of the
Host PC—there is no external hardware required. The power supply and the Spy-Bi-Wire JTAG signals
TEST and RST must be connected with jumper J3 to allow the onboard emulation connection to the
device. Now the preferred device can be plugged into the DIP target socket of the LaunchPad (see
Figure 2
). Both PDIP14 and PDIP20 devices of the MSP430G2xx Value Line and the MSP430F20xx
family can be inserted into the DIP socket aligned to pin 1. A complete list of supported devices can be
found in
Section 4.7
.
Figure 2. Insert Device Into Target Socket
The following example for Code Composer Studio shows how to download and debug the demo
application described in
Section 3.2
.
4.2
Program and Debug the Temperature Measurement Demo Application
The source code of the demo application can be found in the
Software Examples
zip folder. Download the
project folder and unpack it to a location of your choice. For this demo, Code Composer Studio v4 or
newer must be installed.
The demo application can be loaded to the CCS workspace by clicking File
→
Import. Select the location of
the extracted project files and import Existing projects into Workspace. Now the MSP-EXP430G2-
Launchpad project appears inside the CCS workspace. The project must be marked as the active project
to start programming and debugging the device.
Connect the LaunchPad with an inserted MSP430G2553 device to the host PC and click the Debug button
on the CCS Toolbar. The MSP-EXP430G2 LaunchPad is initialized and the download of the compiled
demo application starts. The CCS view switches to a debugging interface once the download is completed
and the application is ready to start.
Figure 3
shows Code Composer Studio v4 with the MSP-EXP430G2
LaunchPad demo application in debug view.
8
MSP-EXP430G2 LaunchPad Evaluation Kit
SLAU318F – July 2010 – Revised January 2015
Submit Documentation Feedback
Copyright © 2010–2015, Texas Instruments Incorporated