This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Clarification of Code Composer Install



1) These are just hiccups I faced when installing the code composer (for example in, "Hands on with the Linux SDK"). The instruction to install the optional add-ons  after installing CCS with sudo does not work; however if one installs the CCS without sudo but the drivers with sudo, the add-ons install fine. It seems the reason is that when installing CCS with sudo, the Eclipse project gets created, so that higher access privileges are required. However, when CCS is installed with normal user privileges, the Eclipse project does not have requirement of higher level privileges so the new add ons get installed.

2) Again related to access privileges is the step that tells you to "re-make" existing applications. These applications were originally "made" by user, "1001". Since the person downloading the SDK and installing it on his/her machine is not a member of the, "1001" group, Debug and other files cannot be opened on this existing folder. 

I copied this folder to a new one, "myExistingApplications" and having ownership of this folder I had no problem in "re-making" these applications.

The reason for this post is that I want to confirm that I am not missing an important step; and if my observation is correct, this will save somebody else a few minutes of time.     

  • Moving this to the CCS forum.
  • Hi,

    Plesae apologize for the delay in replying to this thread.

    Answering your first question, you are correct. Installing CCS as sudo and running as a regular user will block the installation of updates.

    In my experience, for a regular user to be able to customize CCS and build projects (but not install/update), a few files must have their permissions changed to rw and directories to rwx.

    Open a terminal and do the following:

    terminal said:

    user@host:~/$ cd ti/CCSExternalReferences
    user@host:~/ti/CCSExternalReferences$ sudo chown -Rf user:user *
    user@host:~/ti/CCSExternalReferences$ cd /opt/ti/ccsv6/eclipse/configurations
    user@host:/opt/ti/ccsv6/eclipse$ sudo chmod -R a+rwX org.eclipse.osgi/
    user@host:/opt/ti/ccsv6/eclipse$ sudo chmod -R a+rwX .settings/

    If you have projects that use TI compilers, it is useful to change the permissions of the "lib" subdirectory of every TI compiler subdirectory.

    terminal said:

    user@host:~/$ cd /opt/ti/ccsv6/tools/compiler
    user@host:/opt/ti/ccsv6/tools/compiler$ sudo find -name lib -type d -exec chmod -R a+rwX {} \;

    Obviously that, if you are interested in allowing users to install updates, TIRex packages and have full control, you can either change the owner of the entire install directory, enable rwx for everybody or simply install as user in a shared location.

    Your second question seems related to the SDK software itself, is that so? If so, the experts in the Sitara would be more knowledgeable about this package.

    Hope this helps,
    Rafael