9
DSK6713 Initial Configuration Tutorial. 1. Unzip the file DSK6713Support.zip (originally located in <CCS 5.2.1 Setup Directory>/ADDONS/DSK6713/) to <CCS 5.2.1 Installation Directory>. From now on, we will refer to this location as : <DSK6713Support> 2. Open CCS 5.2.1. Then go to File>New>CCS Project.

DSK6713 Initial Configuration in W7.pdf

Embed Size (px)

DESCRIPTION

Tutorial in which you can upload code using DSK6713 in Windows 7

Citation preview

Page 1: DSK6713 Initial Configuration in W7.pdf

DSK6713 Initial Configuration Tutorial.

1. Unzip the file DSK6713Support.zip (originally located in <CCS 5.2.1 Setup Directory>/ADDONS/DSK6713/) to <CCS 5.2.1 Installation Directory>. From now on, we will refer to this location as : <DSK6713Support>

2. Open CCS 5.2.1. Then go to File>New>CCS Project.

Page 2: DSK6713 Initial Configuration in W7.pdf

3. Set the following:

a. Project name

b. Output type: Executable c. Family: C6000 d. Variant: C671x Floating-point DSP – TMS320C6713

e. Connection: Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator f. Device endianness: little

g. Compiler Version: TI v7.3.4 h. Output format: legacy OFF

i. Linker command file: <DSK6713 Support>\Support\C6713dsk.cmd

j. Runtime support library: <CCS 5.2.1 Installation Directory>\tools\compiler\c6000_7.3.4\lib

\rts6200.lib

k. Empty project with main.c

Page 3: DSK6713 Initial Configuration in W7.pdf

4. Restore de Project Explorer Window. It is on the left side pane of the CCS IDE.

5. Right click at the project icon, go to Properties.

Page 4: DSK6713 Initial Configuration in W7.pdf

6. In Build>C600 Compiler>Predefined Symbols>Pre-define NAME, add CHIP_6713.

7. In Build>C600 Compiler>Include Options>Add dir to #include search path (--include_path, -I), add the following:

• <DSK6713 Support>\c6000\bios\include

• <DSK6713 Support>\c600\dsk6713\include

Page 5: DSK6713 Initial Configuration in W7.pdf

8. In Build>C6000 Linker>File Search Path>Include library or command file as input (--library, -I), add the following:

• <DSK6713 Support>\c6000\bios\lib\csl6713.lib

• <DSK6713 Support>\c6000\dsk6713\lib\dsk6713bsl.lib

9. Delete the TMS320C6713.ccxml by clicking the file and then the DEL key.

Page 6: DSK6713 Initial Configuration in W7.pdf

10. Right-click at the project, select add files and then add the following:

• <DSK6713 Support>\Support\C6713DSK.ccxml

• <DSK6713 Support>\Support\dsk6713.gel

Page 7: DSK6713 Initial Configuration in W7.pdf

11. Select the Copy files option.

12. Add the following code to the main.c

#include <csl.h> // CSL Header

#include <csl_irq.h> // Interruption Header

#include "dsk6713.h" // BSL Header

#include "dsk6713_aic23.h" // Codec Header #include "dsk6713_dip.h" // Switches Header

#include "dsk6713_led.h" // LEDs Header

void main()

{

DSK6713_LED_init(); //Initialize LED from BSL

DSK6713_DIP_init(); //Initialize DIP from BSL

while(1) {

if(DSK6713_DIP_get(0)==0) //if DIP #0 pressed

{

DSK6713_LED_on(0); //turn LED #0 ON

}

else {

DSK6713_LED_off(0); //else turn LED #0 OFF

}

}

}

Page 8: DSK6713 Initial Configuration in W7.pdf

13. Click at the debug button.

14. If something similar to the next output appears at your screen, you have successfully compiled and implemented a debug session for the DSK6713 in Windows 7.

NOTE: This tutorial has been developed using a PC with Windows 7 x64 Pro version.

Page 9: DSK6713 Initial Configuration in W7.pdf

Information Sources:

GUÍA - PRÁCTICA INICIAL (DSP): Creación de un proyecto nuevo con el CCS

Mario David, Julián Quiroga

Procesamiento Digital de Señales

Pontificia Universidad Javeriana, Bogotá, 2010

http://148.204.64.201/paginas%20anexas/PDSA/GUIA_INICIAL.pdf

“Digital Signal Processing and Applications with the TMS320C6713 and TMS320C6416 DSK” 2/E: Using the example programs with Code Composer Studio version 5.2.1

Reay, Donald

http://e2e.ti.com/group/universityprogram/educators/f/776/p/223996/788520.aspx

Digital Signal Processing and Applications with the TMS320C6713 and TMS320C6416 DSK Support Files

Chassaing, Rulph

John Wiley and Sons

2ED

2008