<< Chapter < Page | Chapter >> Page > |
This module describes how to create a Code Composer Studio (CCS) project that executes a simple DSP/BIOS based program. The target will be the TI simulator and the processor used is the TMS320C67xx.
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 .
Since the example uses the TMS320C67xx processor the project type selected is C6000 . The project configurations are Debug and Release . Select the Next button.
If there are any project dependencies they are selected on the next screen. 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. The library can be selected automatically. 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.
After the projects settings have been set, select Finish and the project will show up in the C/C++ Projects view.
The easiest way to set up DSP/BIOS in a CCS project is to use the DSP/BIOS configuration tool. This generates a file with a .tcf extension that is included in the project. This file will generate code that gets included in the project for setting up DSP/BIOS. It also generates a header file that can be included in other C/C++ files. For the file name dspbiosproject.tcf the header file name will be dspbiosprojectcfg.h .
To create a DSP/BIOS configuration file, select File->New->DSP/BIOS v5.xx Configuration File (you may need to select File->New->Other first, then select DSP/BIOS v5.xx Configuration File ). This will bring up a dialog where the name of the file is entered.
There are default configuration files for different devices. For this example the C67xx simulator is used. The configuration will have 16Mbytes of SDRAM in the memory section. Select Next and a dialog for the DSP/BIOS features will come up.
Select Finish and a new file is created with the default configuration and is added to the project and the configuration tool is opened.
In the configuration tool is where the DSP/BIOS objects are set up. In this example there are only two objects that will be set up. The first is a trace log that is common to many DSP/BIOS projects. The second is a task object that will be used to print to the log.
Notification Switch
Would you like to follow the 'Ti dsp/bios lab' conversation and receive update notifications?