NOTICE: The Processors Wiki will End-of-Life in December of 2020. 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

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[edit]

  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[edit]

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[edit]

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[edit]

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[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 PropertiesCCS BuildC6000 linkerFile search pathInclude 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 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.

E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article C6713DSK in CCSv5 here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article C6713DSK in CCSv5 here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article C6713DSK in CCSv5 here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article C6713DSK in CCSv5 here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article C6713DSK in CCSv5 here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article C6713DSK in CCSv5 here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article C6713DSK in CCSv5 here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article C6713DSK in CCSv5 here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article C6713DSK in CCSv5 here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity