Digital Signal Processing Reference
In-Depth Information
Step 3: Adding Support Files to a Project
The next step in creating a project is to add the appropriate support files to
the file Sine_gen.pjt .
In the CCS window , go to Project and then select Add Files to
Project .
In the window that appears, click on the folder next to where it says
Look In: Browse to folder where you stored the support files created
earlier. You should be able to see the file C6xdskinit.c . Notice that
the Files of type field is C source code.
Click on C6xdskinit.c and then click on Open .
Repeat this process two more times, adding the files vectors_11.asm
and C6xdsk.cmd to the project file Sine_gen.pjt .
For field, select Files of type , select asm Source Files (*.a*) .
Click on vectors_11.asm and then click on Open .
For field, select Files of type , select Linker Command File (*.cmd) .
Click on C6xdsk.cmd and then click on Open . You have now created
your project file c:\ti\myprojects\Sine_ gen.pjt .
The C source code file contains functions for initializing the DSP and
peripherals. The vectors file contains information about what interrupts (if
any) will be used and gives the linker information about resetting the CPU.
This file needs to appear in the first block of program memory. The linker
command file ( C6xdsk.cmd ) tells the linker how the vectors file and the
internal, external, and flash memory are to be organized in memory.
In addition, it specifies what parts of the program are to be stored in
internal memory and what parts are to be stored in the external memory. In
general, the program instructions and local and global variables will be
stored in internal (random access) memory or IRAM.
Step 4: Adding Appropriate Libraries to a Project
In addition to the support files that you have been given, there are precom-
piled files from TI that need to be included with your project. For this project,
you need a run-time support library ( rts6701.lib ), which your support files
will use to run the DSK, and a gel (general extension language) file
( dsk6211_6711.gel ) to initialize the DSK. The gel file was automatically
included when the project file Sine_gen.pjt was created, but the RTS (run-
time support) library must be included in the same manner used to include
the previous files.
Go to Project and then select Add Files to Project .
For Files of type , select Object and Library Files (*.o*,*.l*) .
Search WWH ::




Custom Search