Specifications
vii
This is a draft version printed from file: tutorialtoc.fm on 2/26/0
Contents
1 Code Composer Studio Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-1
This chapter provides an overview of the Code Composer Studio software development process,
the components of Code Composer Studio, and the files and variables used by Code Composer
Studio.
1.1 Code Composer Studio Development . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-2
1.2 Code Generation Tools . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-4
1.3 Code Composer Studio Integrated Development Environment . . . . . . . . . . . . . . . . . . .1-6
1.3.1 Program Code Editing Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-6
1.3.2 Application Building Features. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-7
1.3.3 Application Debugging Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-7
1.4 DSP/BIOS Plug-ins. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-8
1.4.1 DSP/BIOS Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-8
1.4.2 DSP/BIOS API Modules. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-10
1.5 Hardware Emulation and Real-Time Data Exchange. . . . . . . . . . . . . . . . . . . . . . . . . .1-12
1.6 Third-Party Plug-ins . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-14
1.7 Code Composer Studio Files and Variables. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-15
1.7.1 Installation Folders . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-15
1.7.2 File Extensions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-16
1.7.3 Environment Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-17
1.7.4 Increasing DOS Environment Space . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1-17
2 Developing a Simple Program . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-1
This chapter introduces Code Composer Studio and shows the basic process used to create,
build, debug, and test programs.
2.1 Creating a New Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-2
2.2 Adding Files to a Project. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-3
2.3 Reviewing the Code . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-4
2.4 Building and Running the Program. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-5
2.5 Changing Program Options and Fixing Syntax Errors . . . . . . . . . . . . . . . . . . . . . . . . . .2-7
2.6 Using Breakpoints and the Watch Window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-9
2.7 Using the Watch Window with Structures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-11
2.8 Profiling Code Execution Time . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-12
2.9 Things to Try. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-14
2.10 Learning More . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .2-14