Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.

C6713DSK in CCSv5

From Texas Instruments Wiki
Jump to: navigation, search

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

Prerequisites

  1. Download board support files from Spectrum Digital Website Includes Board Supprt Library, gel file and example tests. (Direct link)
  2. Unpack all files to C:\
  3. Download CSL form TI website
  4. Install it at C:\C6xCSL directory
  5. Set all of jumpers on SW3 and SW1 to OFF
  6. Connect USB then connect power
  7. Run 6713SDKDiag.exe from C:\DSK6713\drivers to check emulator connection

Creating new project

1. Click FileNewCCS Project

2. Type project name and select remaining settings as follows:

DSK6713 1.PNG

3. Add CSL headers to the project Project PropertiesCCS BuildC6000 compilerInclude options Click Add and select path "C:\C6xCSL\include"

5. Add CSL to project: Project PropertiesCCS BuildC6000 linkerFile search pathInclude library file or ... Click Add and select path "C:\C6xCSL\lib_3x\csl6713.lib"

6. Add "CHIP_6713" to Predefined names. Project PropertiesCCS BuildC6000 compilerPredefined Symbols

Using Texas Instruments Simulator

If you want to use simulator please do the following changes: Double click on ProjectTMS320C6713.ccxml

  • Select Texas Instruments Simulator from drop down list
  • Select C6713 Device Cycle Accurate Simulator, Little Endian from the check list
  • Save

DSK6713 2.PNG

Debugging on the board

If you want to use simulator please do the following changes: Double click on ProjectTMS320C6713.ccxml

  • Select Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator from drop down list
  • Select DSK6713 from the check list
  • Save

C6713DSK 3.PNG

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

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 PropertiesCCS BuildC6000 linkerFile search pathInclude library file or ... Click Add and select path "C:\DSK6713\c6000\dsk6713\lib\dsk6713bsl.lib"

Minimal project

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

POST

  • 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 to post.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.