NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
C6713DSK in CCSv5
Important Note:
This wiki is in maintenance mode and the information on this wiki may not be current. For questions regarding this device architecture, post questions on C6000 DSP E2E forum
This page is intended to be a short guide for users willing to use old (10 years! The board was released when CCSv2 was the current version) TMS320C6713 DSK with Code Composer Studio version 5.
The board will work with CCSv5 but some changes are necessary.
If you are an university lecturer. You should consider much more modern tool: OMAP-L138/C6748 DSP Experimenter Kit for Universities
New: Check this guide posted on e2e by Donald12831: http://e2e.ti.com/group/universityprogram/educators/f/776/t/223996.aspx
Contents
Prerequisites[edit]
- Download board support files from Spectrum Digital Website Includes Board Supprt Library, gel file and example tests. (Direct link)
- Unpack all files to C:\
- Download CSL form TI website
- Install it at C:\C6xCSL directory
- Set all of jumpers on SW3 and SW1 to OFF
- Connect USB then connect power
- Run 6713SDKDiag.exe from C:\DSK6713\drivers to check emulator connection
Creating new project[edit]
1. Click File → New → CCS Project
2. Type project name and select remaining settings as follows:
3. Add CSL headers to the project Project Properties → CCS Build → C6000 compiler → Include options Click Add and select path "C:\C6xCSL\include"
5. Add CSL to project: Project Properties → CCS Build → C6000 linker → File search path → Include library file or ... Click Add and select path "C:\C6xCSL\lib_3x\csl6713.lib"
6. Add "CHIP_6713" to Predefined names. Project Properties → CCS Build → C6000 compiler → Predefined Symbols
Using Texas Instruments Simulator[edit]
If you want to use simulator please do the following changes: Double click on Project → TMS320C6713.ccxml
- Select Texas Instruments Simulator from drop down list
- Select C6713 Device Cycle Accurate Simulator, Little Endian from the check list
- Save
Debugging on the board[edit]
If you want to use simulator please do the following changes: Double click on Project → TMS320C6713.ccxml
- Select Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator from drop down list
- Select DSK6713 from the check list
- Save
Note: Your project will not work in simulator if you will use board support library. Parts beyond processor like CPLD, switches, leds, etc. cannot be simulated.
Using Board Support Library[edit]
If you want to use DSK6713 board functions, you need to add board support library (Warning: Simulator will not work with BSL):
1. Add BSL headers to the project Project Properties → CCS Build → C6000 compiler → Include options Click Add and select path "C:\DSK6713\c6000\dsk6713\include"
2. Add BSL to project: Project Properties → CCS Build → C6000 linker → File search path → Include library file or ... Click Add and select path "C:\DSK6713\c6000\dsk6713\lib\dsk6713bsl.lib"
Minimal project[edit]
Following project is a minimal one for audio experimentation. This code provices a simple audio loopback.
http://processors.wiki.ti.com/index.php/File:C6713_audio_minimal.zip
Notes: Please change CSL and BSL directories according to your installation path.
Importing sample projects[edit]
POST[edit]
- Project location:
C:\DSK6713\examples\dsk6713\bsl\post
- Project desccription:
* The Power On Self Test (POST) is a small program that uses the 6713 DSK * Board Support Library to perform basic tests on the DSP and board * peripherals.
1. Create new DSK6713 project (remove main.c if present) with CSL and BSL, set debugging target settings.
2. Copy following files from C:\DSK6713\examples\dsk6713\bsl\post
boot.asm
post.c
build-post.tcf
(rename topost.tcf
)
3. Remove following lines from DSK6713.cmd
as those definitions are generated by post.tcf
IRAM o = 0x00000000 l = 0x00030000 /* 192kB - Internal RAM */ EMIFCE0 o = 0x80000000 l = 0x10000000 /* SDRAM in 6713 DSK */
4. Add .boot_load > BOOT
under SECTIONS \\ {
The project should compile successfully now.