CCS 6.
1 Installation
guide
Digital Signal Processing Lab (2023-24)
From the CCS6.1 Setup\CCS_6.1.0.104 folder,
select ccs_setup_6.1.0.00104.exe
Before running this file, please ensure that you have
disabled your anti-virus. If the anti-virus is still running,
you may get the following warning. It can be skipped
but may lead to improper installation. Hence, it is
advised to disable the anti-virus.
Once all the security and anti-virus options have been
disabled, windows firewall will seek permission to
allow CCS installation.
Click on Allow access.
Accept the terms and conditions for CCS license and
click on Next.
Select the file directory where you want to install CCS and
click on Next;
The default directory is c:\ti and it works fine (make sure that
c:\ has enough space)
Select the device family and the compiler.
Click on Single Core DSPs :
> C55x Device Support
> TI C55x Compiler
Click Next
Select the probes required to interface device with PC
Click on Select All check box
Click on Next
Click on Select All and Next.
The setup will complete after a while.
You can place a shortcut on your desktop.
Once the installation is complete, copy USBSTK5515_v1
from the Installation_Update folder
Go to C:\ti\ccsv6\ccs_base\emulation\boards
and Paste the folder in this location.
Select copy and replace option.
Your installation is now complete
Getting started with Code
Composer Studio 6.10
Digital Signal Processing Lab (2023-2024)
Launch CCS 6.10
Select workspace directory
You can enter a directory (folder location) of your own choice
Go to: File > New > CCS Project
A new dialog box will open
up.
Select the configuration
shown in the image.
Target: C551x
(Device family)
TMS320C5515
Connection:
Texas Instruments XDS100v2
USB debug Probe
Then click on Verify…
Once you click on verify, following dialog box will appear.
Scroll down to find the “The JTAG DR Integrity scan-test has
succeeded” message and click on finish.
Once the verification is
complete,
Enter the following details:
Project name: <Any name of
your choice>
Compiler version: TI v4.4.1
From Project templates and
examples, select Empty
Project (with main.c)
Then click on Finish.
Once you click on finish, you will
be able to see your project under
the Project explorer tab.
Once you double click on your
project, it will display
<project_name> [Active - Debug]
as shown in the image on right
side along with all its contents.
Double click on ‘main.c’ and
write your code.
Save the file.
Right click on your
project and select
New > Source File to
create an LED blinking
function.
Once you click on Source
File, following dialog box
will pop up.
Enter a <file_name> in
‘Source file:’ field.
Use .c as file extension.
Click on finish.
Double click on your new source
file named “led_blink_test.c”.
Write the code in file.
Save it.
Once you save the file, click on Build project button (hammer).
Build Project Debug Project
If the code is error free, you will get a “Build Finished ” prompt in the console
Then click on Debug project button (green bug).
Once you debug the project, you will see the following screen
Terminate
Resume Replay
To transfer code to device, click on Resume button.
If the code runs successfully, you will observe that the LED is blinking and
your console will display the following messages:
Sometimes, you may see that CCS is unable to find / read the device library files.
Hence, when you build the project, the console will show you errors.
In such a case, your compilation will terminate
In order to manually locate library files
for CCS, right click on your project and
select Show Build Settings…
In build settings, you will find that Runtime support library: is set to
<automatic>. Click on Browse…
Once you click on browse, a dialog box will pop up. In that dialog box, go to location:
C: > ti > ccsv6 > ccs_base > emulation > boards > usbstk5515_v1 > lib
And select the file “usbstk5515bsl.lib”
Once you have selected the appropriate runtime support library, click on
Build > C5500 Compiler > Include Options
Once you click on Include Options, the following dialog box will appear. Click on
+ in Add dir to #include search path
1. After clicking on add, use the
same directory location
mentioned earlier to manually
locate ‘usbstk5515_v1’ folder
and click ok.
2. Click ok in Add directory
path dialog box.
1. Click ‘ok’.
2. Build your project again to further rectify errors.
3. Once build is error-free, click on debug and click on resume to run code on device.
If you see any of the following errors, it means that CCS is not connected to
the target device.
1. Make sure that you have connected device to power supply.
2. Make sure that JTAG connection is intact.
Sometimes, the project might get insufficient memory to run the code. In
that case, this type of error will appear in console.
To rectify this, double click on C5515.cmd file listed under your project name in
Project explorer.
C5515.cmd contains
memory configuration
of C5515 device.
As the device is
running out of
memory, we need to
make the following
changes:
Line 20: DARAM1: o =
0x002000 l = 0x006000
Comment out Line 21
& Line 22 using two //