100% found this document useful (1 vote)
153 views2 pages

Procedure To Work On Code Composer Studio

This document outlines procedures for executing non-real time and real-time programs on Code Composer Studio using a DSK6713 board. For non-real time programs, it describes how to test the USB port, create a new project, add source files and linker files, compile, build, load and run the program. For real-time programs, it provides steps to connect the DSP processor to PC, create a project, add source and library files, compile, build, load and run the program, and observe output on the DSK6713 kit.

Uploaded by

thrinathrajanala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
100% found this document useful (1 vote)
153 views2 pages

Procedure To Work On Code Composer Studio

This document outlines procedures for executing non-real time and real-time programs on Code Composer Studio using a DSK6713 board. For non-real time programs, it describes how to test the USB port, create a new project, add source files and linker files, compile, build, load and run the program. For real-time programs, it provides steps to connect the DSP processor to PC, create a project, add source and library files, compile, build, load and run the program, and observe output on the DSK6713 kit.

Uploaded by

thrinathrajanala
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

PROCEDURE TO WORK ON CODE COMPOSER STUDIO

PROCEDURE FOR EXECUTING NON REAL TIME PROGRAMS


(EX: LINEAR & CIRCULAR CONVOLUTION, FFT, PSD)
 Test the USB port by running DSK Port test from the start menu

Use StartProgramsTexas InstrumentsCode Composer StudioCode Composer Studio


CDSK6713 ToolsDSK6713 Diagnostic Utilities
 SelectStartSelect DSK6713 Diagnostic Utility Icon from Desktop
 Select Start Option
 Utility Program will test the board
 After testing Diagnostic Status you will get PASS

To create the New Project


Project New (File Name. pjt , Eg: Vectors.pjt)
To Create a Source file
File New Type the code (Save & give file name, Eg: sum.c).
To Add Source files to Project
Project Add files to Project c/ccs studio3.1/my projects/your project name/ sum.c(select the
file type as c/c++ source files)
To Add rts.lib file & hello.cmd:
Project Add files to Project rts6700.lib
(Path:c/ccs studio3.1/c6000 /cg tools /lib/ rts6700.lib)
Note: Select Object & Library in(*.o,*.l) in Type of files
Project Add files to Project hello.cmd
CMD file – Which is common for all non real time programs.
(Path: c/ccs studio3.1\tutorial\dsk 6713 \hello1\hello.cmd)
Note: Select Linker Command file(*.cmd) in Type of files
Compile:
To Compile: Project Compile project
To Build: Project build project,
To Rebuild: Project rebuild,
Which will create the final .out executable file.(Eg. Vectors.out).

Procedure to Load and Run program:


Load the program to DSK: File Load program Vectors. out
To Execute project: Debug Run.
1. Execution should halt at break point.
2. Now press F10. See the changes happening in the watch window.
3. Similarly go to view & select CPU registers to view the changes happening in CPU registers.

b)PROCEDURE FOR EXECUTING REAL TIME PROGRAMS


(EX:IIR FILTERS,FIR FILTERS DESIGNING)
CONNECTING DSP PROCESSOR TO PC
Connect the dsp processor to the pc using usb cable connector.
Check the DSK6713 diagnostics (IF you get the “pass”then click on ok).
Click on ccs studio3.1 desktop icon. Then the window will be opened.
Go to debug click on connect (then target device will be connected to pc)

TO CREATE PROJECT
Project new given project name and select the family’TMS320C67XX’Then click ok
File new source file write deown the ‘c’program and save it with.’c’ exetention in current project
file
File new dsp/bios.config file select dsk67xx click on dsk6713 and save it in current project.
Project add files to project add source file
Project add files to project add library file by following the given path
c/ccs studio3.1/cgtools/c6000/dsk6713/DSK6713.bs/file.
Project add files to the project. Add the configuration file.
Now files are generated and included in generated files. in that open the 3rd file, and copy the
header file and paste it in source file. Copy the include files named as “dsk6713.h” and
“dsk6713_aic23.h” paste it in current project folder.
Now compile project.(project compile)
Project build.
Project rebuild all.
File load program projectname.pjt debug “project name .out” file click on open debug click on
run
Now apply the input sine wave to line in of dsk6713 kit.
Observe the output at line out of dsk6713 by using CRO.

You might also like