Professional Documents
Culture Documents
Figure 2: Projects sine8_intr and sweep8000 should appear in the Project Explorer
window.
If the projects do not appear, select Project->Import Existing CCS Eclipse Project, Browse to
C:\C6713, Select All and click Finish.
Click on the name of one of the projects in the Project Explorer window, and then on the
Debug toolbar button and the project should compile link and load successfully.
There are probably other, more elegant, ways of avoiding the warning messages.
Click on Resume in the Debug window and the program should run.
You will need to prefix these pathnames according to where you have copied folder DSK6713,
rather than simply by C:\ as shown in Figure 7.
Modify the C6000 Linker->File Search Path so that the linker is aware of the locations of the
following libraries
ccsv5\tools\compiler\c6000_7.3.4\lib\rts6200.lib
DSK6713\c6000\bios\lib\csl6713.lib
DSK6713\c6000\dsk6713\lib\dsk6713bsl.lib
which are located in folder C6713\Support. If you have not placed folder C6713\Support at
C:\C6713\Support then you will need to delete the links to these files from the project and
then add correct links to the files in folder C6713\Support again using Project->Add Files
Figure 10: In the Project Explorer window, you may need to delete the links to files
c6713dskinit.c, C6713dskinit.h, Vectors_intr.asm, C6713dsk.cmd, and
C6713DSK.ccxml and then use Project->Add Files in order to link to these files in wherever
you have located folder C6713\Support.
c) How to create new projects within the workspace folder provided, for
further program examples taken from the CDROM supplied with the
book.
The following steps will transfer project firprn from the CDROM to the C:\C6713 CCSv5
workspace. It is assumed here that CCSv5, the BSL and the workspace, including the folder
Support have been installed exactly as described in scenario a).
Select Project->New CCS Project and then set the project parameters as shown in Figure 11.
Figure 11: Parameters for new project firprn. Note that workspace C:\C6713 is used.
Using Windows Explorer, copy the following files from folder C6713\firprn on the
CDROM to the newly created project folder C:\C6713\firprn.
firprn.c
Noise_gen.h
bs2700f.cof
These should appear automatically in the Project Explorer window, as shown in Figure 12.
Figure 12: Project Explorer window after files firprn.c, noise_gen.h, and
bs2700f.cof have been copied to folder C:\C6713\firprn.
Right click on the project name firprn in the Project Explorer window, select Project->Add
Files and add links to the following files in folder C:\C6713\Support
c6713dskinit.c,
C6713dskinit.h,
Vectors_intr.asm,
C6713dsk.cmd, and
C6713DSK.ccxml.
Figure 13: Adding links to support files C6713dsk.cmd and C6713DSK.ccxml to project
firprn.
Right click on the project name firprn in the Project Explorer window, select Show Build
Settings... and set up the C6000 Compiler and C6000 Linker as described previously in
section b). You should now be able successfully to build, load, and run program example
firprn.