CCS Setup

⚠️ Writing of this tutorial is unfinished and deprecated. ⚠️

This page adds some guide lines for correctly installing and configuring Code Composer Studio (CCS) Integrated Development Environment (IDE).

On Windows

Todo

On Linux

This was tested on Ubuntu 16.04.2 x64. Information was gathered from several places (espacially TI Wiki: CCSv5, CCSv6, CCSv7).

Install Dependencies

sudo apt-get update
sudo apt-get install libc6:i386 libx11-6:i386 libasound2:i386 libatk1.0-0:i386 libcairo2:i386 libcups2:i386 libdbus-glib-1-2:i386 libgconf-2-4:i386 libgcrypt20:i386 libgdk-pixbuf2.0-0:i386 libgtk-3-0:i386 libice6:i386 libncurses5:i386 libsm6:i386 liborbit2:i386 libudev1:i386 libusb-0.1-4:i386 libstdc++6:i386 libxt6:i386 libxtst6:i386 libgnomeui-0:i386 libusb-1.0-0-dev:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 unzip

Install non packaged (old stable) dependencies

The version of libgcrypt on the latest versions of Ubuntu is too recent for CCS (available version is 20, required is 11). We host the deb packages with a compatible version of libgcrypt here (originally from webupd8). Download the libgcrypt11 deb packages and install them:

curl -o libgcrypt11_amd64.deb <url_x86_64>
curl -o libgcrypt11_i386.deb <url_i386>
sudo dpkg -i libgcrypt11*

Make sur InstallJammer will not fail

If you are logging with PAM or as non local user, there is bug in the CCS installer preventing it to detect user id. To prevent this bug, the solution is to install “nscd” (Name Service Cache Daemon):

sudo apt-get install nscd

You may need to relog.

Download and install CCS

Download CCS v5.2.1 from TI website. Once the tar.gz file is downloaded, extract and run the installer:

tar xf CCS5.2.1.00018_linux.tar.gz
./CCS5.2.1.00018_linux/ccs_setup_5.2.1.00018.bin

Install with complete feature set.

When the installer completes, install the drivers as root (change path if you changed default settings in the installer):

sudo ~/ti/ccsv5/install\_scripts/install\_drivers.sh

Then you should be able to run CCS :

~/ti/ccsv5/eclipse/ccstudio

5) SYS/BIOS and Linux Multicore Software Development Kits

TODO

Before going further, make sure to shutdown CCS.

mcsdk

http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_Getting_Started_Guide

http://www.ti.com/tool/bioslinuxmcsdk

Before beginning this tutorial, make sure that both CCS and the BIOS MCSDK are installed on your computer, as explained in the following tutorial.

Back to the tutorial