Top Banner
How to Start Up CCStudio 3 DSP LAB T.A.: DSP LAB T.A.: 2007.3.7
23
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

How to Start Up CCStudio 3

DSP LAB T.A.:DSP LAB T.A.:2007.3.7

Page 2: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Outline

Settings of CCS.

Project Creation.

Compiling and Debugging.

Simple Example.

Page 3: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Outline

Settings of CCS.

Project Creation.

Compiling and Debugging.

Simple Example.

Page 4: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Device Setup

Double-click “Setup CCStudio3” on desktop, and you will see the above dialog.

Page 5: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Choose Your Device

If you want to use the simulator, select

C6416 Device Cycle Accurate Simulator, Little Endian

or C6711 Device Cycle Accurate Simulator, Little Endian.

If you want to use the DSK board, select

C6416 V1.1 DSK,

C6711 DSK Port 278 EPP Mode,

or others.

Page 6: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Click “import”

Page 7: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Click “Save and Quit”

Page 8: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Click “Yes”

CCS3 will then be started up.

Page 9: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Outline

Settings of CCS.

Project Creation.

Compiling and Debugging.

Simple Example.

Page 10: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

New Project

Page 11: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Add files to project

Page 12: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

3 files needed to be added

Source file (.c or .asm) ;.cmd ; .lib

Page 13: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Where are them?

Source file : Write your own source code.

Find the cmd file in any appropriate example:

C:\CCStudio\c6000\cgtools\lib\lnk.cmd

Find the library in the following path:C:\CCStudio\c6000\cgtools\lib\rts6400.lib (6416)

orC:\CCStudio\c6000\cgtools\lib\rts6700.lib (6711)

Page 14: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Outline

Settings of CCS.

Project Creation.

Compiling and Debugging.

Simple Example.

Page 15: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Set up the built options

Set up the compiler and linker options

(Ref: Help Contents Code Generation Tool CCS Build Options)

Page 16: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Set up the built options

Set up the compiler options: -g -s -fr

(Ref: Help Contents Code Generation Tool CCS Build Options Compiler Options)

Page 17: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Set up the built options

Set up the linker options: -c -o

(Ref: Help Contents Code Generation Tool CCS Build Options Linker Options)

Page 18: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Rebuild Projects

Compile and link all files

Page 19: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Load Program

Page 20: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Debug / Run (F5)

Page 21: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Outline

Environmental Setting.

Project Creation.

Compiling and Debugging.

Simple Example.

Page 22: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Simple example

You can find a simple example by selecting: “CCS Help Tutorial CCStudio IDE Developing a simple program.”

Page 23: How to Start Up CCStudio 3 DSP LAB T.A.: 2007.3.7.

Reference

[1] Digital Signal Processing and Applications with the C6713 and C6416 DSK, by Rulph Chassaing, John Wiley & Sons Inc., 2004

[2] Code Composer Studio v3.0 Getting Started Guide (spru509e.pdf)