Introduction To TMS320C6713 DSP Starter Kit DSK)
Introduction To TMS320C6713 DSP Starter Kit DSK)
The SDRAM, Flash and CPLD are all connected to the bus.
Code
Composer communicates with the DSK through an
embedded JTAG emulator with a USB host interface
Programming the
TMS320C6713
11
Code Composer Studio - Example
Make sure DSK is connected to PC via USB
and to power outlet before opening CCS.
Open CCS by double clicking on the CCS
icon
To connect to the DSK, go to: “Debug →
Connect”.
To start a new project,
12
Code Composer Studio - Example
Add C source file to “dsplab.c”:
Add a linker command (.cmd)
◦ linker command file - sets up the memory map
for the CCS linker to make sure the code and
data are loaded to the desired locations.
Add the run-time support library functions
file rts6700.lib to the project
13
Code Composer Studio - Example
Now,
◦ Compile code: “Project → Compile File”,
◦ Build project: “Project → Build”,
◦ Load program to DSK: “File → Load Program”
and choose “.out” file in “Debug” folder,
◦ Run the program on DSP: “Debug → Run”.
14
Debugging features
Settingbreakpoints and watching variables;
viewing memory, registers, and mixed C and
assembly code;