Specifications

Adding DSP/BIOS Files to a Project
3-4
Although these files have extensions of .s62 and .h62, they can also be
used with the TMS320C6701. DSP/BIOS does not need to use the
floating-point instructions supported by the TMS320C6701, therefore
only one version of the software is required to support both DSPs. If you
are using the TMS320C6701 with DSP/BIOS, open the Global Settings
property page in the configuration and change the DSP Type property.
This controls the libraries with which the program is linked.
3.2 Adding DSP/BIOS Files to a Project
Recall that the configuration file you made in the previous section actually
resulted in the creation of four new files: myhello.cdb, myhellocfg.cmd,
myhellocfg.s62, and myhellocfg.h62. In this section, you add these files to
your project and remove the files which they replace.
1) Choose Project
Add Files to Project. Select Configuration File (*.cdb) in
the Files of type box. Select the myhello.cdb file and click Open. Notice
that the Project View now contains myhello.cdb in a folder called
DSP/BIOS Config. In addition, the myhellocfg.s62 file is now listed as a
source file. Remember that Code Composer Studio automatically adds
include files (in this case, the myhellocfg.h62 file) to the project when it
scans for dependencies during a project build.
2) The output filename must match the .cdb filename (myhello.out and
myhello.cdb). Choose Project
Options and go to the Linker tab. In the
Output Filename field, verify that myhello.out is the filename and click
OK.
3) Choose Project
Add Files to Project again. Select Linker Command File
(*.cmd) in the Files of type box. Select the myhellocfg.cmd file and click
Open. This causes Code Composer Studio to display the following
warning:
4) Click Yes. This replaces the previous command file (HELLO.CMD) with
the new one that was generated when you saved the configuration.