<< Chapter < Page Chapter >> Page >

Project setup

Make an empty dsp/bios project

To create a CCS project select File->New->CCS Project .

This will bring up a window where you can enter the name of the project. The location selected is the default location for project files. Press Next .

CCS Project name and location

Since the example uses the TMS320C67xx processor the project type selected is C6000 . The project configurations are Debug and Release . Select the Next button.

Type of CCS project

Select the Next button.

On the Project Settings Screen , select the items that pertain to the type of project to be created. Since the project will be executed select Output Type: Executable . The processor type is TMS320C67xx so the Device Variant is Generic C67xx Device . This project will use Little Endian . The code generation tools are the latest version (in this case TI v7.0.3). The runtime support library is selected to match the device variant and the endianness selected. Automatic will pick the correct library. Press Next .

Since the project will be based on DSP/BIOS an empty DSP/BIOS example project. This will set up project parameters for DSP/BIOS.

Copy files from zip file to project directory. When they are copied to the project directory the files may be added to the project automatically but you could add them manually.There should be 5 files added to the project.

Set up the csl

Some options in the project need to be changed in order to use the CSL. To get the the project properties select Project->Properties . Add the include files directory to the search path by selecting Include Options under C6000 Compiler and then clicking the green plus sign and typeing in the directory name. In the example the include directory is C:\Program Files\Texas Instruments\C6xCSL\include .

Project properties: Include search path

The CSL needs to know what chip is being used so the chip name needs to be defined. Click on Predefined Symbols under C6600 Compiler. Click the green plus sign and add the name CHIP_6713.

Project properties: Pre-defined name

Finally, include the chip support library file csl6713.lib which is in the directory C:\Program Files\Texas Instruments\C6xCSL\lib_3x .

Stack and heap sizes

To get the the project properties select Project->Properties. Change the stack and heap sizes to 0x400 by selecting Basic Options under C6000 Linker .

Heap and stack size

Target configuration

In order to load the code onto the DSK board a target configuration must be created. To make a target configuration for the C6713 DSK board select File->New->Target Configuation File and then select the connection and board as shown in the following figure. When done, click Save .

Target Configuration Setup

Debug/test the project

To start a debug session either select Target->Debug Active Project or press the debug icon in the menu bar.

Debug icon

When the debug session starts the code files are compiled and linked into an executable file and the file is loaded onto the target. The initialization code is executed and the program is halted at the beginning of the main function.

Debug session

Press the run button and the data should be input from the selected input port and output to the LINE OUT port. Connect an appropriate input sourse to the input port and connect the LINE OUT to speakers or an oscilloscope. Run the program and verify the I/O.

Questions & Answers

how to create a software using Android phone
Wiseman Reply
how
basra
what is the difference between C and C++.
Yan Reply
what is software
Sami Reply
software is a instructions like programs
Shambhu
what is the difference between C and C++.
Yan
yes, how?
Hayder
what is software engineering
Ahmad
software engineering is a the branch of computer science deals with the design,development, testing and maintenance of software applications.
Hayder
who is best bw software engineering and cyber security
Ahmad
Both software engineering and cybersecurity offer exciting career prospects, but your choice ultimately depends on your interests and skills. If you enjoy problem-solving, programming, and designing software syste
Hayder
what's software processes
Ntege Reply
I haven't started reading yet. by device (hardware) or for improving design Lol? Here. Requirement, Design, Implementation, Verification, Maintenance.
Vernon
I can give you a more valid answer by 5:00 By the way gm.
Vernon
it is all about designing,developing, testing, implementing and maintaining of software systems.
Ehenew
hello assalamualaikum
Sami
My name M Sami I m 2nd year student
Sami
what is the specific IDE for flutter programs?
Mwami Reply
jegudgdtgd my Name my Name is M and I have been talking about iey my papa john's university of washington post I tagged I will be in
Mwaqas Reply
yes
usman
how disign photo
atul Reply
hlo
Navya
hi
Michael
yes
Subhan
Show the necessary steps with description in resource monitoring process (CPU,memory,disk and network)
samuel Reply
What is software engineering
Tafadzwa Reply
Software engineering is a branch of computer science directed to writing programs to develop Softwares that can drive or enable the functionality of some hardwares like phone , automobile and others
kelvin
if any requirement engineer is gathering requirements from client and after getting he/she Analyze them this process is called
Alqa Reply
The following text is encoded in base 64. Ik5ldmVyIHRydXN0IGEgY29tcHV0ZXIgeW91IGNhbid0IHRocm93IG91dCBhIHdpbmRvdyIgLSBTdGV2ZSBXb3puaWFr Decode it, and paste the decoded text here
Julian Reply
what to do you mean
Vincent
hello
ALI
how are you ?
ALI
What is the command to list the contents of a directory in Unix and Unix-like operating systems
George Reply
how can i make my own software free of cost
Faizan Reply
like how
usman
hi
Hayder
The name of the author of our software engineering book is Ian Sommerville.
Doha Reply
what is software
Sampson Reply
the set of intruction given to the computer to perform a task
Noor
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Ti dsp/bios lab. OpenStax CNX. Sep 03, 2013 Download for free at http://cnx.org/content/col11265/1.8
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Ti dsp/bios lab' conversation and receive update notifications?

Ask