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!!!!!!!