element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Personal Blogs
  • Community Hub
  • More
Personal Blogs
Legacy Personal Blogs [TI Connected Launchpad] 2. Installing CCSv6 in Ubuntu 14.04
  • Blog
  • Documents
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: vish
  • Date Created: 11 Jun 2014 12:52 PM Date Created
  • Views 1236 views
  • Likes 0 likes
  • Comments 2 comments
  • RoadTest
  • ccs
  • Ubuntu
  • clp
  • launchpad
Related
Recommended

[TI Connected Launchpad] 2. Installing CCSv6 in Ubuntu 14.04

vish
vish
11 Jun 2014

Hi,

So this is my third post in this series of reviewing TI Connected Launchpad. You can find my first two posts here and here. I hope those posts were useful to you. In the second post, I showed you how to setup Energia for Connected launchpad in Ubuntu 14.04( both 32b & 64b ). In this post, we will be setting up the official TI IDE - Code Composer Studio(CCS) - in Ubuntu 14.04 machine.

For those who are not aware of CCS, quoting from TI's ccs webpage :

Code Composer Studio is an integrated development environment (IDE) that supports TI's Microcontroller and Embedded Processors portfolio. Code Composer Studio comprises a suite of tools used to develop and debug embedded applications. It includes an optimizing C/C++ compiler, source code editor, project build environment, debugger, profiler, and many other features. The intuitive IDE provides a single user interface taking you through each step of the application development flow. Familiar tools and interfaces allow users to get started faster than ever before. Code Composer Studio combines the advantages of the Eclipse software framework with advanced embedded debug capabilities from TI resulting in a compelling feature-rich development environment for embedded developers.

In this post, we will be setting up the latest version( v6 ) of CCS. This post is heavily influenced by this wiki. The wiki instructions are incomplete and I have added the extra steps I did to make the CCS up and running. The setup is just a three step procedure.

               1. Download CCS from ti.com

               2. Install the dependencies in linux system

               3. Install CCS in linux system.

 

1. Download CCS from ti.com

You can find the downloads section at Download CCS - Texas Instruments Wiki. Before downloading, you have to fill out a software request form. Once that request is approved, you will presented with the download link. It may take some time to complete the approval process. But for me, it happened instantly. Additionally, they will send you a email link for download upon the complete of approval proccess.

The file name you downloading will be like "CCS6.x.x.xxxxx_linux.tar.gz".

 

2. Install the dependencies

This is the most confusing step, especially for the 64bit guys. Since only 32bit releases are available, the 64bit machines must install the 32bit application support libraries. I admit that I still don't know the correct list of required dependencies. But even in the CCS wiki, the list is incomplete. What I will do here is to list the steps I did to get CCS working. You can use the following commands to install the dependencies.


sudo apt-get install libc6-i386 libx11-6:i386
sudo apt-get install libc6-i386 libasound2:i386 libjpeg62:i386 libatk1.0-0:i386 libcairo2:i386 libdbus-1-3:i386 libdbus-glib-1-2:i386 libfontconfig1:i386 libfreetype6:i386 libgconf-2-4:i386 libgdk-pixbuf2.0-0:i386 libgtk2.0-0:i386 libice6:i386 lib32ncurses5 liborbit2:i386 libpango-1.0-0:i386 libpangocairo-1.0-0:i386 libpangoft2-1.0-0:i386 libpng12-0:i386 libsm6:i386 lib32stdc++6 libusb-0.1-4:i386 libx11-6:i386 libxext6:i386 libxi6:i386 libxrender1:i386 libxt6:i386 libxtst6:i386 lib32z1 libgnomevfs2-0:i386 libcanberra-gtk-module:i386

 

These are the dependencies listed in CCS wiki. But if you proceed with this alone, you may be able to install and open CCS. Even you can build your software, but once you try to download( or debug ) it to your target, you will get these errors.

CORTEX_M4_0: GEL

Output: Memory Map Initialization Complete

CORTEX_M4_0: Error connecting to the target: Frequency is out of range.

CORTEX_M4_0: Error connecting to the target: Frequency is out of range.

 

These errors means that we don't have the right USB drivers/supporting libs yet( What a cryptic error, huh? ). To eliminate these errors, you have to install the following dependencies too.

 

sudo apt-get install libusb-1.0-0 libusb-1.0-0:i386 libusb-1.0-0-dev libusb-1.0-0-dev:i386
sudo apt-get install libcups2:i386 libgtk-3-0:i386 libncurses5:i386 libudev1:i386 libstdc++6:i386 libgnomeui-0:i386 libusb-1.0-0-dev:i386
sudo apt-get install gtk2-engines-murrine:i386

 

First line will install the required USB libs. Second line will install the additional 32bit application support libraries. Third line will fix the cluttered UI.

 

3. Install CCS


First we have to unpack the downloaded archive to some convenient place. In terminal, go to the folder to where you have downloaded the tar.gz archive.


>> cd <folder_containing_CCS6.x.x.xxxxx_linux.tar.gz>
>> tar xvfz CCS6.x.x.xxxxx_linux.tar.gz
>> chmod +x CCS6.x.x.xxxxx_linux.tar.gz
>> cd CCS6.x.x.xxxxx_linux
>> chmod +x ccs_setup_6.x.x.xxxxx.bin
>> sudo ./ccs_setup_6.x.x.xxxxx.bin

 

This following windows will appear in order. Mostly you can leave the options as default or as shown in these screen shots.

 

image

Fig 1 : This warning is a known problem. You cam proceed with an 'Yes' as it won't create problems.

image

Fig 2 : Here you have to click the accept option.

image

Fig 3 : Here you have to set the path to which CCS should be installed. Leave the path as default.

image

Fig 4 : Here you have to select the components to install. Make sure that the components I selected in the

screenshot is selectedin your window also.If you want additionalcomponents, you can select tham too.

image

Fig 5 : Selecting Emulators. Default will be fine.

image

Fig 6 : If you wish to install the additional components to be downloaded from web, you can select them.

For now we will leave it unselected.

 

You can click finish button and CCS will start installing. It may take a few minutes. Once installation is finished, it will show a concluding window. Click OK and proceed.

In my ubuntu machine, it didn't created any menu item. So we have to use the command line to start CCS. Or alternatively you can use 'alacarte' to make a menu entry, logout, login and you will have CCS listed in your Unity menu.

image

Fig 7 : CCS starting up.

image

Fig 8: Set your workspace. For those who don't know the concept of workspace, default will be fine.

image

Fig 9 : CCS welcome screen.

 

So we are finished. By following these steps, you would be able to install CCSv6 in Ubuntu 14.04. Although not tested, these steps will be equally applicable for debian, Linux Mint and Elementary distros too.

 

Happy coding,

vish

  • Sign in to reply

Top Comments

  • Former Member
    Former Member over 8 years ago +1
    Mr Vish, I bought the board and wanted CCS to talk to it. And here you tell me how to do it! Thank you so much for documenting this - no way I would have been able to figure this out. Thanks for posting…
  • vish
    vish over 8 years ago in reply to Former Member

    Thanks Ado image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Former Member
    Former Member over 8 years ago

    Mr Vish,

     

    I bought the board and wanted CCS to talk to it. And here you tell me how to do it! Thank you so much for documenting this - no way I would have been able to figure this out. Thanks for posting the result of your hard work - and thanks on behalf of everyone else who has benefited from your generosity.

     

    Cheers,

    Ado

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube