CCSv5 Getting Started Guide

From Texas Instruments Wiki
Jump to: navigation, search

Introduction

Welcome to Code Composer Studio v5! Code Composer Studio v5 is a major new release of Code Composer Studio (CCS) that is based on the Eclipse open source software framework. The Eclipse software framework is used for many different applications but it was originally developed as a open framework for creating development tools. We have chosen to base CCS on Eclipse as it offers an excellent software framework for building software development environments and is becoming a standard framework used by many embedded software vendors. CCSv5 combines the advantages of the Eclipse software framework with advanced embedded debug capabilities from Texas Instruments resulting in a compelling feature rich development environment for embedded developers.

NoteNote: This guide is designed for the latest release of CCSv5. For legacy releases please check CCSv5 Getting Started Guide legacy

CCS Overview

If you are new to Code Composer Studio, the link below provides an excellent overview of the IDE and its main features

GSG:CCSv5 Overview

Obtaining CCS

Code Composer Studio v5 can be downloaded directly to your PC.

GSG:CCSv5 Download

Installing CCS

The installation process is the same for both delivery methods (DVD or download).

GSG:CCSv5 installation

Running CCS for the first time

When executed for the first time, Code Composer Studio v5 requires a few additional steps to operate properly:

  • Select a workspace, where all the projects will be placed
  • An active license

Follow the link below to learn about these last steps:

GSG:CCSv5 Running for the first time

Working with CCS

Project Development

All work on Code Composer Studio is based on projects - a collection of source, include and configuration files.

If you are new to Code Composer Studio or simply want to create a project from scratch please check the topic below:

GSG:Creating projects v5

Project Debugging

The next step after creating a project is to run the program in the debugger. The topic below shows how to configure the debugger and make the best use of the available features to inspect the program execution.

GSG:Debugging projects v5

Advanced Topics

Common Target Configurations

This section describes the configurations for several target boards.

GSG:Common target configurations v5

Advanced target configurations

The sections below describe several procedures used in complex target configurations.

GSG:Adding GEL files to a target configuration v5
GSG:Connecting to slave cores in SoC devices v5
http://processors.wiki.ti.com/index.php/Target_Configuration_-_Custom_Configurations

Linux development

One additional feature in CCSv5 is the ability to create projects and debug code for embedded Linux environments.

The topics below shows how to create projects for Linux that use the open source compiler suite (GCC), as well as perform debugging in this environment.

How to create GCC projects in CCSv5
Linux Debug in CCSv5
U-boot Debug in CCSv5

Updating Code Composer Studio

This section shows the different ways to update and add new features to CCSv5.

Updating CCSv5

Resources and References

  • Main Code Composer Studio v5 wiki page:
http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v5
  • Frequently asked questions:
http://processors.wiki.ti.com/index.php/FAQ_-_CCSv5
  • Eclipse Concepts:
http://processors.wiki.ti.com/index.php/Eclipse_Concepts

Example projects, libraries and source code

1. Stellarisware libraries and example code:

http://focus.ti.com/docs/toolsw/folders/print/sw-lm3s.html

2. MSP430 source code:

http://focus.ti.com/mcu/docs/mcuprodcodeexamples.tsp?sectionId=96&tabId=1468

3. TMS320C2000 libraries and example code:

http://focus.ti.com/mcu/docs/mcuprodcodeexamples.tsp?sectionId=96&tabId=1470

4. TMS320C5500 Libraries:

Chip Support Library (CSL): http://focus.ti.com/docs/toolsw/folders/print/sprc133.html
DSP Library (DSPLIB): http://focus.ti.com/docs/toolsw/folders/print/sprc100.html
Image Library (IMGLIB): http://focus.ti.com/docs/toolsw/folders/print/sprc101.html

5. TMS320C6000 Libraries:

http://focus.ti.com/dsp/docs/dspfindtoolswresults.tsp?sectionId=3&tabId=1620&familyId=44&toolTypeId=24&go=Go