Actions

EmSys

Difference between revisions of "Install Code Composer Studio v6 Ubuntu"

From EdWiki

(Created page with "== Ubuntu 16.04 == There are two types of installers: ► '''Web installers''' will allow you to perform an install using an installer controlled download process that will...")
 
m (Installation Instructions)
 
(42 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Ubuntu 16.04 ==
+
__NOTOC__
 +
== Install Code Composer Studio - Ubuntu ==
 +
== Prerequisites ==
 +
Resolve Dependencies, before proceeding to [[ EmSys:Install Code Composer Studio v6 Ubuntu#Installation Instructions | Installation Instructions]].
  
There are two types of installers:
+
[[image:ccs62_libc6_i386.png|right|thumbnail|libc6:i386]]
 +
== Ubuntu 20.04 LTS ==
 +
* '''update system'''
 +
host@user$  sudo apt update
 +
'''install dependent libraries:'''
 +
host@user$ sudo apt install libc6:i386 libusb-0.1-4 libgconf-2-4 libncurses5 libpython2.7 libtinfo5
 +
=== Ubuntu 18.04 LTS ===
 +
* '''update system''':
 +
host@user$ sudo apt-get update
 +
* '''Install dependent libraries''':
 +
host@user$ ssudo apt install libc6:i386 libusb-0.1-4 libgconf-2-4 build-essential
  
► '''Web installers''' will allow you to perform an install using an installer controlled download process that will only download needed software components. An internet connection is mandatory at install time. Obtain  it from your instructor or Download it from [{{SERVER}}/emsys/tivac/CCS6.2.0.00050_web_linux-x64.tar.gz here]
+
=== Ubuntu 16.04 LTS ===
 +
Starting with this version of new CCSv6.2.0, the application is natively 64-bit and only requires one 32-bit library installed.  
  
'''Off-line installers''' are a large archive (about 730MB). When you run it you can select the components to be installed. No internet connection is required at install time. The executable can be used for installing multiple local systems. Obtain the it from your instructor or Download it from [{{SERVER}}/emsys/tivac/CCS6.2.0.00050_linux-x64.tar.gz here]
+
From a terminal prompt, issue the following command to install it:
 +
 
 +
host@user$ sudo apt-get update
 +
host@user$ sudo apt-get install libc6:i386
 +
 
 +
This is due to the fact Linux 64-bit versions of the TI compilers were not yet ready.
 +
 
 +
<!--
 +
=== Ubuntu 15.04 64bit ===
 +
host@user$ sudo apt-get update
 +
host@user$ 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 libgcrypt11: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
 +
 
 +
=== Ubuntu 14.04 64bit ===
 +
host@user$ sudo apt-get update
 +
host@user$ 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 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
 +
 
 +
=== Ubuntu 13.10 64bit ===
 +
'''NO LONGER SUPPORTED''' The libraries necessary for CCS to operate are no longer available for Ubuntu 13. It is recommended that you update your distribution to one of the LTS releases.
 +
 
 +
host@user$ sudo apt-get update
 +
host@user$ 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 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
 +
 
 +
=== Ubuntu 13.10 32bit ===
 +
host@user$ sudo apt-get update
 +
host@user$ sudo apt-get install libgnomeui-0 libusb-1.0-0-dev
 +
 
 +
=== Ubuntu 12.04 64bit ===
 +
 
 +
host@user$ sudo apt-get update
 +
host@user$ sudo apt-get install ia32-libs libgnomeui-0:i386 libusb-1.0-0-dev:i386
 +
 
 +
'''Note:''' if you are getting errors on the terminal that show undefined symbol: menu_proxy_module_load, this is caused by the absence of the appmenu-gtk component (reference [http://www.absolutelytech.com/2011/04/26/solved-undefined-symbol-menu_proxy_module_load-error-in-gnome-applications/ here]). Installing this component will also make the CCS menus to be displayed at the top screen toolbar instead of the top of the window (following the convention of the new Unity environment). You can install the appmenu-gtk component as:
 +
 
 +
host@user$ sudo apt-get install appmenu-gtk:i386
 +
 
 +
=== Ubuntu 12.04 32bit ===
 +
 
 +
host@user$ sudo apt-get update
 +
host@user$ sudo apt-get install libgnomeui-0 libusb-1.0-0-dev
 +
-->
 +
 
 +
== Installation Instructions ==
 +
 
 +
Obtain the CCS Installer CD from your instructor or Download it from [{{SERVER}}/emsys/tivac/CCS10.2.0.00009_linux-x64.tar.gz here]
  
 
► Simply save the file and untar.  
 
► Simply save the file and untar.  
  
  host@user:~/Downloads$tar xvf CCS6.2.0.00050_web_linux-x64.tar.gz
+
► Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for “terminal” from software launcher
 +
 
 +
► Navigate to CCS10.2.0.00009_linux-x64 folder
 +
 
 +
► Run ''ccs_setup_10.2.0.00009.run'' as a normal user.
 +
 
 +
  host@user:~/Downloads/CCS10.2.0.00009_linux-x64$ ./ccs_setup_10.2.0.00009.run
 +
 
 +
This will start the CCS install wizard.
 +
 
 +
#Accept the Software License Agreement and click Next.
 +
#Unless you have a specific reason to install CCS in another location, accept the default installation folder and click Next. If you have another version of CCS and you want to keep it, we recommend that you install this version into a different folder.
 +
#In the next dialog, select the processors that your CCS installation will support. Place a checkmark under "'''TM4C12x ARM Cortex M4F core based MCUs'''" → click Next
 +
#Please Note the Unsupported boards, click Next
 +
#In the Select Debug Probes, leave everything as default and click Next
 +
If everything looks good, click '''Finish''' to start your install!
 +
 
 +
<gallery>
 +
File:ccs6_setup_01.png|1. License Agreement
 +
File:ccs_setup_ubuntu_02.png|2. Choose Installation Location
 +
File:ccs_setup_ubuntu_03.png|3. Processor Support
 +
File:ccs_setup_ubuntu_04.png|4. Unsupported boards
 +
File:ccs_setup_ubuntu_05.png|5. Select Debug Probes
 +
</gallery>
 +
'''Note:''' If you have an issue with the web installer not being able to connect to the internet then please try the off-line installer.
 +
 
 +
Please have patience as It takes some time to do all the work.
 +
When the installation is complete, check the “Create Desktop shortcut” checkbox and then click '''Finish''' button.
 +
<gallery>
 +
File:ccs6_setup_06.png
 +
File:ccs6_setup_07.png
 +
</gallery>
  
If you download the [{{SERVER}}/emsys/tivac/CCS6.2.0.00050_web_linux-x64.tar.gz '''Web Installer''']
+
=== Install Drivers ===
 +
Once CCS installation has completed, navigate to directory <Install-Folder>/ccs1020/ccs/install_scripts.
  
  host@user:~/Downloads$tar xvf CCS6.2.0.00050_linux-x64.tar.gz
+
  host@user:~$ cd ~/ti/ccs1020/ccs/install_scripts/
  
If you download the [{{SERVER}}/emsys/tivac/CCS6.2.0.00050_linux-x64.tar.gz '''Off-line installer'''].
+
As root, execute script "install_drivers.sh".
  
► Launch the ccs_setup_linux64_6.2.0.00050.bin file in the folder created when you unzipped the download. This will start the CCS6  install wizard.
+
host@user:~/ti/ccs1020/ccs/install_scripts$ sudo ./install_drivers.sh
  
host@user:~/Downloads/CCS6.2.0.00050_linux-x64$./ccs_setup_linux64_6.2.0.00050.bin
+
<!--
 +
[[File:prev.gif|left|link=EmSys:Using GCC with Tiva TM4C123G LaunchPad in CCSv6]][[File:next.gif|right|link=EmSys:Install TivaWare for C Series Ubuntu]]
 +
[[File:home.gif|center|link=EmSys:Using GCC with Tiva TM4C123G LaunchPad in CCSv6]]
 +
-->

Latest revision as of 06:10, 17 February 2021

Install Code Composer Studio - Ubuntu

Prerequisites

Resolve Dependencies, before proceeding to Installation Instructions.

libc6:i386

Ubuntu 20.04 LTS

  • update system
host@user$  sudo apt update

install dependent libraries:

host@user$ sudo apt install libc6:i386 libusb-0.1-4 libgconf-2-4 libncurses5 libpython2.7 libtinfo5

Ubuntu 18.04 LTS

  • update system:
host@user$ sudo apt-get update
  • Install dependent libraries:
host@user$ ssudo apt install libc6:i386 libusb-0.1-4 libgconf-2-4 build-essential

Ubuntu 16.04 LTS

Starting with this version of new CCSv6.2.0, the application is natively 64-bit and only requires one 32-bit library installed.

From a terminal prompt, issue the following command to install it:

host@user$ sudo apt-get update
host@user$ sudo apt-get install libc6:i386

This is due to the fact Linux 64-bit versions of the TI compilers were not yet ready.


Installation Instructions

► Obtain the CCS Installer CD from your instructor or Download it from here

► Simply save the file and untar.

► Open terminal either via Ctrl+Alt+T keyboard shortcut or by searching for “terminal” from software launcher

► Navigate to CCS10.2.0.00009_linux-x64 folder

► Run ccs_setup_10.2.0.00009.run as a normal user.

host@user:~/Downloads/CCS10.2.0.00009_linux-x64$ ./ccs_setup_10.2.0.00009.run

This will start the CCS install wizard.

  1. Accept the Software License Agreement and click Next.
  2. Unless you have a specific reason to install CCS in another location, accept the default installation folder and click Next. If you have another version of CCS and you want to keep it, we recommend that you install this version into a different folder.
  3. In the next dialog, select the processors that your CCS installation will support. Place a checkmark under "TM4C12x ARM Cortex M4F core based MCUs" → click Next
  4. Please Note the Unsupported boards, click Next
  5. In the Select Debug Probes, leave everything as default and click Next

If everything looks good, click Finish to start your install!

Note: If you have an issue with the web installer not being able to connect to the internet then please try the off-line installer.

Please have patience as It takes some time to do all the work. When the installation is complete, check the “Create Desktop shortcut” checkbox and then click Finish button.

Install Drivers

Once CCS installation has completed, navigate to directory <Install-Folder>/ccs1020/ccs/install_scripts.

host@user:~$ cd ~/ti/ccs1020/ccs/install_scripts/

As root, execute script "install_drivers.sh".

host@user:~/ti/ccs1020/ccs/install_scripts$ sudo ./install_drivers.sh