/eclipse directory, if it exists.
NOTE: it is possible to install CCS as a superuser using sudo (gksu is not recommended), which automatically adds all the required driver udev rules at the end of the process. However this requires extra steps for regular operation of CCS as a regular user. Check the application note [Configuring CCS for multiuser](./application_notes/appnote-configuring_ccs_for_multiuser.html) for details.
- When installed as superuser using sudo, CCS must be run at the same privilege level to install updates.
## Ubuntu 19.10 STS ##
- Tested on 19.10
- Please note that CCS is not officially tested on this version.
- update system: sudo apt update
- install dependent libraries: sudo apt install libc6:i386 libusb-0.1-4 libgconf-2-4 libgtk2.0-0 libncurses5 libpython2.7 libtinfo5 build-essential
- install CCS
- if CCS was installed as user then run the driver install script
- go to <CCS_INSTALL_DIR>/ccs/install_scripts
- sudo ./install_drivers.sh
## Ubuntu 18.04 LTS ##
- Tested on 18.04 bionic (with canonical partners repository enabled)
- update system: sudo apt update
- install dependent libraries: sudo apt install libc6:i386 libusb-0.1-4 libgconf-2-4 build-essential
- install CCS
- if CCS was installed as user then run the driver install script
- go to <CCS_INSTALL_DIR>/ccs/install_scripts
- sudo ./install_drivers.sh
## Ubuntu 16.04 LTS ##
- Tested on 16.04.1
- Be sure that all updates are applied to the system. Issues were found when the original plain 16.04 version was used
- The Desktop shortcuts are not shown immediately after install. A logoff/logon is required.
- update system: sudo apt update
- install dependent libraries: sudo apt install libc6:i386
- install CCS
- if CCS was installed as user then run the driver install script
- go to <CCS_INSTALL_DIR>/ccs/install_scripts
- sudo ./install_drivers.sh
## Linux Mint 18 ##
- Tested on Linux 18 Xfce
- update system: sudo apt update
- install CCS
- if CCS was installed as user then run the driver install script
- go to <CCS_INSTALL_DIR>/ccs/install_scripts
- sudo ./install_drivers.sh
## Debian GNU/Linux 9 (stretch) 64-bit ##
- If you get a message about glibc try the following
- From a terminal window, enter: $ software-properties-gtk
- Select the Developer Options tab. Check the Proposed updates (stretch-proposed-updates)
- Close the dialog.
- Once again, from a terminal window: $ sudo apt install libc6-i386
- Should work correctly now
- now install CCS
- go back and uncheck the Proposed updates (stretch-proposed-updates) option in the Developer Options Tab.
# Proxy server considerations #
Certain functions of Code Composer Studio require access to the Internet. In general, this works well for connections that do not require a proxy server, but in certain cases its use is mandatory by the corporate IT department.
Linux poses a challenge to configure proxy servers due to the nature of its various components and where they inherit its settings. For example, it is not uncommon to have a web browser fully connected to the internet while the aptitude or yum utilities (used to install system features or dependencies) is unable to do so.
In this case, it is important to observe a few aspects during CCS setup and runtime.
- The proxy server configuration can be set during the installation options. This is critical for a successful install if using the On-demand installer (web installer), as each component must be downloaded individually.
- The system update utility (apt, yum, etc.) has its own configuration files to set up a proxy, typically text files under the subdirectory /etc. To properly configure these utilities, please refer to your distro instructions.
- The system wide proxy setting is usually accessible via the GUI of choice (Gnome, KDE, etc.) and is normally present under the Network settings. This setting is inherited by the Eclipse features of Code Composer Studio, namely the ability to access its update sites to update the various components of an install (compilers, emupack, etc.)
- The shell environment variable http_proxy (and its counterparts https_proxy and ftp_proxy not used by CCS) are inherited by the browser built into Code Composer Studio to access its online content and download the various SDK packages. In general this environment variable is set at the system wide shell init script (/etc/bash.bashrc, for example) but this can also be set by each user on its local shell ~/.bashrc.
- The scope where this configuration will reach is highly dependent on the install and definitely some experimentation is necessary.
- In this case, experimentation can be done by setting the environment variable exclusively during the invocation of Code Composer Studio from a command line. For example, from a bash shell the proxy environment variable can be set prior to running CCS as:
user@host:~/ti/ccs930/ccs/eclipse$ **http_proxy=<myproxy.mycompany.com>:<port80> bash -c './ccstudio &'**
# Setting the correct permissions #
CCS versions 9.2.0 and 9.3.0 have a bug that, when installed as a superuser and run as a regular user, any attempts to configure a target on a project or create a new target configuration file using specific device families (C2000, Hercules, etc.) fail with the following errors:
Creating a target configuration file:
Trouble parsing include or instance xml file /opt/ti/ccs930/ccs/ccs_base/common/targetdb/../Modules/
C2000/C2000_FPU32_Registers.xml (No such file or directory)
Configuring the connection on a new project:
Error parsing file:
Fatal Error at (0, 0): An exception occurred! Type:RuntimeException,
Message:The primary document entity could not be opened.
Id=/opt/ti/ccs930/ccs/ccs_base/common/targetdb/../Modules/C2000/C2000_FPU32_Registers.xml
while parsing file:
/opt/ti/ccs930/ccs/ccs_base/common/targetdb/../Modules/C2000/C2000_FPU32_Registers.xml
This is due to the fact that permissions of several support files inside the installation tree are improperly set.
To correct that, open a terminal and issue the following commands:
user@host:~$ **cd /opt/ti/ccs930/ccs**
user@host:/opt/ti/ccs930/ccs$ **sudo chmod -R go+rX * **