Академический Документы
Профессиональный Документы
Культура Документы
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>
3. Set the following: a. b. c. d. e. f. g. h. i. j. Project name Output type: Executable Family: C6000 Variant: C671x Floating-point DSP TMS320C6713 Connection: Spectrum Digital DSK-EVM-eZdsp onboard USB Emulator Device endianness: little Compiler Version: TI v7.3.4 Output format: legacy OFF Linker command file: <DSK6713 Support>\Support\C6713dsk.cmd Runtime support library: <CCS 5.2.1 Installation Directory>\tools\compiler\c6000_7.3.4\lib \rts6200.lib k. Empty project with main.c
4. Restore de Project Explorer Window. It is on the left side pane of the CCS IDE.
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
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.
10. Right-click at the project, select add files and then add the following: <DSK6713 Support>\Support\C6713DSK.ccxml <DSK6713 Support>\Support\dsk6713.gel
<csl.h> // CSL Header <csl_irq.h> // Interruption Header "dsk6713.h" // BSL Header "dsk6713_aic23.h" // Codec Header "dsk6713_dip.h" // Switches Header "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 } } }
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.
Information Sources:
GUA - PRCTICA INICIAL (DSP): Creacin de un proyecto nuevo con el CCS Mario David, Julin Quiroga Procesamiento Digital de Seales 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