<< 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

what is phylogeny
Odigie Reply
evolutionary history and relationship of an organism or group of organisms
AI-Robot
ok
Deng
what is biology
Hajah Reply
the study of living organisms and their interactions with one another and their environments
AI-Robot
what is biology
Victoria Reply
HOW CAN MAN ORGAN FUNCTION
Alfred Reply
the diagram of the digestive system
Assiatu Reply
allimentary cannel
Ogenrwot
How does twins formed
William Reply
They formed in two ways first when one sperm and one egg are splited by mitosis or two sperm and two eggs join together
Oluwatobi
what is genetics
Josephine Reply
Genetics is the study of heredity
Misack
how does twins formed?
Misack
What is manual
Hassan Reply
discuss biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles
Joseph Reply
what is biology
Yousuf Reply
the study of living organisms and their interactions with one another and their environment.
Wine
discuss the biological phenomenon and provide pieces of evidence to show that it was responsible for the formation of eukaryotic organelles in an essay form
Joseph Reply
what is the blood cells
Shaker Reply
list any five characteristics of the blood cells
Shaker
lack electricity and its more savely than electronic microscope because its naturally by using of light
Abdullahi Reply
advantage of electronic microscope is easily and clearly while disadvantage is dangerous because its electronic. advantage of light microscope is savely and naturally by sun while disadvantage is not easily,means its not sharp and not clear
Abdullahi
cell theory state that every organisms composed of one or more cell,cell is the basic unit of life
Abdullahi
is like gone fail us
DENG
cells is the basic structure and functions of all living things
Ramadan
What is classification
ISCONT Reply
is organisms that are similar into groups called tara
Yamosa
in what situation (s) would be the use of a scanning electron microscope be ideal and why?
Kenna Reply
A scanning electron microscope (SEM) is ideal for situations requiring high-resolution imaging of surfaces. It is commonly used in materials science, biology, and geology to examine the topography and composition of samples at a nanoscale level. SEM is particularly useful for studying fine details,
Hilary
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