0% found this document useful (0 votes)
1K views

CCS4 Tutorial

This document provides an overview of Code Composer Studio 4.0, an integrated development environment for developing and debugging embedded applications on Texas Instruments processors. It describes the key components included in CCS like compilers, editors, debuggers and simulators. It also outlines the steps to create a new CCS project for a TMS320C55x DSP, set build settings, create and build code, debug and run applications, and analyze profiling results. The tutorial is intended for a course on embedded software development for TI's C55x DSPs using CCS.

Uploaded by

Rupesh Parab
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1K views

CCS4 Tutorial

This document provides an overview of Code Composer Studio 4.0, an integrated development environment for developing and debugging embedded applications on Texas Instruments processors. It describes the key components included in CCS like compilers, editors, debuggers and simulators. It also outlines the steps to create a new CCS project for a TMS320C55x DSP, set build settings, create and build code, debug and run applications, and analyze profiling results. The tutorial is intended for a course on embedded software development for TI's C55x DSPs using CCS.

Uploaded by

Rupesh Parab
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 22

CODE COMPOSER

STUDIO 4.0
TUTORIAL

ECE 6277 (FALL 2010)


GEORGIA INSTITUTE
OF TECHNOLOGY
INTRODUCTION

 Code Composer Studio (CCS) is the integrated development


environment for TI's DSPs, microcontrollers and
application processors.
 Includes a suite of tools used to develop and debug
embedded applications.
 Includes compilers for each of TI's device families, source
code editor, project build environment, debugger, profiler,
simulators and many other features.
 This course will cover embedded software development for
TI’s TMS320C55x DSP’s
Code Composer Studio

 CCS includes a C compiler, an assembler, a linker, an


archiver, a hex conversion utility, a cross-reference
utility, and an absolute lister.
 C55x C compiler: Generates assembly source code
from the C source files.
 Assembler: Translates assembly source files, either
handcoded by DSP programmers or generated by the C
compiler, into machine language object files.
Code Composer Studio

 Assembly tools: Use the common object file format


(COFF) to facilitate modular programming.
 Archiver: Allows users to collect a group of files into a
single archived file.
 Linker: Combines object files and libraries into a single
executable COFF object module.
 Hex conversion utility: Converts a COFF object file into
a format that can be downloaded to an EPROM
programmer or a flash memory program utility.
DSK 5510 Board
Creating a New project
Creating a New project

Type the Project Name here


Creating a New project

 Select Project Type to be C5500


 Enable both Debug and Release Configurations
Creating a New Project

Output Type -> Executable


Device Variant -> TMS320C55x-> TMS320C5501
Linker Command File -> link.cmd
Runtime Support Library -> rts55x.lib
Creating a New Source File

Give a name to the file. Include the extension to the filename (.c, .asm)
Build Settings

 Right click on the Project Name and go to Build Properties


 Tool Settings -> C5500 Compiler -> Runtime Model Options -> select Memory
Model
Building the project
Creating a Target Configuration File

Choose C55xx Rev 3.0 CPU Cycle Accurate Simulator and save
Debugging
Running the Code
Viewing Registers, Memory, Variables
Viewing Registers, Memory, Variables
Profile Setup

 View -> Other


Profile Setup

 Select Activate at the bottom


 Check all the activities
 Run the code
 View the Profile
Viewing Profile

Tools-> Profile-> View Function Profile Results


Viewing Profile
Links

 http://processors.wiki.ti.com/index.php/CCSv4_Get
ting_Started_Guide

Go Jackets!!!!!!!

You might also like