Lab 2 – CCSv5 Projects
MSP430 Workshop - Programming C with CCS 2 - 27
Lab 2 – CCSv5 Projects
The objective of this lab is to learn the basic features of Code Composer Studio. In this exercise
you will create a new project, build the code, and program the on-chip flash on the MSP430
device.
Since none of the Value Line MSP430 devices have more than 16K of flash memory, the free,
16K license of Code Composer Studio can be considered fully functional. If you want to work with
larger MSP430 (or other) devices, you’ll need to purchase a license.
Lab 2 – Creating CCS Projects
Lab 2a – Hello World
Create a new project
Build program, launch debugger, connect
to target, and load your program
printf() to CCSv5 console
Lab 2b – Blink the LED
Explore basic CCS debug functionality
Restart, Breakpoint, Single-step,
Run-to-line
Lab 2c – Restore Demo to Flash
Import CCS project (for original demo)
Load program to device’s flash memory
Verify original demo program works
(Optional) Lab 2d
Create binary TXT file of your program
Use MSP430 Flasher to program original
demo’s binary file to device’s flash
Time: 45 minutes