Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.
Installing CCS over Eclipse
Installing CCS as a plug-in to an existing Eclipse installation may be desirable in some cases. This wiki topic describes the method of doing this.
THIS IS NOT SUPPORTED IN CURRENT VERSIONS OF CCS
CCSv5.5 is compatible with Eclipse 3.8.x. You will need to have a compatible Eclipse installation in order to proceed. Note that CCS ships with Eclipse so often it is easier to just install CCS and then add in additional Eclipse packages on top. However here are the instructions for installing Eclipse and then adding CCS.
- Download and install Eclipse 3.8.x, if you do not already have it you can get it here. The file should be named eclipse-SDK-3.8.2-win32.zip
- Run Eclipse.
- We now need to install CDT. Go to Help -> Install New software. Enter in this update site: http://download.eclipse.org/tools/cdt/releases/juno and hit enter. Under "CDT Main Features" select "C/C++ Development Tools" and under "CDT Optional Features" select "C/C++ Memory View Enhancements". Complete the installation.
- After it restarts make sure to close Eclipse.
- Run the CCS installation and select the option to install into an existing Eclipse installation. Choose to install CCS in the root of your eclipse installation and choose to install the CCS plugins in the /eclipse folder within your Eclipse installation.
- Complete the CCS installation.
- Note that the default Eclipse perspectives will open. Personally I would recommend opening the CCS Edit and CCS Debug perspectives.
1 – Please be sure you have an Eclipse IDE for C/C++ Developers release that matches with the CCS version that you are trying to integrate. The releases are available from the eclipse website here
2 – Download CCSv5. It is very strongly recommended to download the latest released version and to use the full offline installer
CCS can be downloaded here
3 – Run the CCS installer. You should check the tick box to “Install CCS plugins into an existing Eclipse installation”. You will also need to provide the installer with a CCS installation target directory (or leave it at the default) and the location of your eclipse installation/folder. It is not recommended to install into the Program Files directories.
An example is shown in the screen capture below.
RUNNING CCS AS A PLUG-IN
You can launch from the CCS installation directory where a shortcut should have been created, or by launching the eclipse.exe from your eclipse installation.
In order to work with CCS perspectives, required to work with TI parts, compilers, etc, you will need to do a few things manually for this type of installation.
in order to create a project, you will need to go to File->New->Other. A dialogue box will appear. You will need to select Code Composer Studio->CCS Project as shown below.
You can then set up your project as usual. This is the exact same project setup as for any CCS installation.
After doing this, however, you will be asked if you wish to use the CCS Edit perspective. You must say “Yes” in order to continue without issue.
Then, in order to debug the process is again more manual. First select the debug button or debug from the menu.
You will then be given this dialogue box where you will need to select Code Composer Studio Debug Session
At first it will appear as if nothing happened. This is because you will need to manually change perspectives to the debug perspective.
In the top right corner of CCS/Eclipse you should see CCS Edit. To the left of this is a button that will allow you to change to a different perspective. Select CCS Debug. You should now see the normal debug perspective for CCS with the target, and expected options. (Run, step over, step into, etc)