Digital Signal Processing Reference
In-Depth Information
4. To add the library support files to the project. Repeat the previous step,
but select files of type: Object and Library Files. Look in
c:\c6713\c6000\cgtools\lib and select the run-time support library
file rts6700.lib (which supports the C67x architecture) to add to the
project. Continue this process to add the BSL file dsk6713bsl.lib located
in c : \c6713\c6000\dsk6713\lib , and the chip support library (CSL) file
csl6713.lib located in c : \c6713\c6000\bios\lib .
5. Verify from the Files window that the project ( .pjt ) file, the linker command
( .cmd ) file, the three library ( .lib ) files, the two C source ( .c ) files, and the
assembly ( .asm ) file have been added to the project. The GEL file
dsk6713.gel is added automatically when you create the project. It initial-
izes the C6713 DSK invoking the BSL to use the phase-locked loop (PLL) to
set the central processing unit (CPU) clock to 225 MHz (otherwise, the C6713
runs at 50 MHz by default).
6. Note that there are no “include” files yet. Select Project
Scan All File
Dependencies. This adds/includes the header files c6713dskinit.h , along
with several board and chip support header files included with CCS.
Æ
The Files window in CCS should look as in Figure 1.3 b . Any of the files (except
the library files) from CCS's Files window can be displayed by clicking on it. You
should not add header or include files to the project. They are added to the project
automatically when you select: Scan All File Dependencies. (They are also added
when you build the project.)
It is also possible to add files to a project simply by “dragging” the file (from a
different window) and dropping it into the CCS Project window.
Code Generation and Options
Various options are associated with the code generation tools: C compiler and linker
to build a project.
Compiler Option
Select Project
Build Options. Figure 1.4 a shows the CCS window Build Options
for the compiler. Select the following for the compiler option with Basic (for
Category): (1) c671x{-mv6710} (for Target Version), (2) Full Symbolic Debug (for
Generate Debug Info), (3) Speed most critical (for Opt Speed vs. Size), and (4)
None (for Opt Level and Program Level Opt). Select the Preprocessor Category
and type for Define Symbols{d}: CHIP_6713, and from the Feedback Category,
select for Interlisting: OPT/C and ASM{-s}. The resulting compiler option is
Æ
-g -s
The -g option is used to enable symbolic debugging information, useful during the
debugging process, and is used in conjunction with the option -s to interlist the C
Search WWH ::




Custom Search