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.

CCS: Cannot import project without finding the compiler version the project was created with

Other Parts Discussed in Thread: CONTROLSUITE

Tool/software: Code Composer Studio

CCS Team,

I have tried to open an older project from ControlSuite on a fresh install of CCS (still using CCSv6.2) and cannot import the project successfully. CCS prompts me and says that it requires the specific version of the compiler in order to even open/import the project, and directs me to the CCS App Center. I have a few problems/suggestions:

  1. CCS App Center does not allow you to install old versions of the compiler. You cannot even select which compiler to install, it only installs the latest.
    1. Allow the user to browse for and install any version of the compiler that is available publicly instead of forcing only the latest version.

  2. CCS already provides you with the option to change the compiler version in an existing project, why not allow the user to import the project and change the compiler version to an installed version? Instead of failing to even import the project, prompt the user with a few options:
    1. Install that specific version of the compiler and then import the project.
    2. Update the project to any of the available compiler versions already installed on the user's machine.
    3. Do not import, allowing the user to find and install the compiler version manually. Which is not straightforward at all.

Regards,

Mark

  • I was just reminded by a coworker that #1 is already available through CCS. "Install New Software". Though it is still not the most straightforward process. Unless you know the right "Software Site" to look under. The App Center seems like the perfect place to add a "browse available software" type of thing.

    -Mark
  • Mark,

    Mark Labbato said:
    CCS App Center does not allow you to install old versions of the compiler. You cannot even select which compiler to install, it only installs the latest.

    This is unfortunately a limitation with App Center. It only allows for installing the latest version.
    The alternatives (to browse and install any version) are through CCS menu Help->Install New Software, and the Compiler download page.

    Mark Labbato said:
    Instead of failing to even import the project, prompt the user with a few options:
    1. Install that specific version of the compiler and then import the project.
    2. Update the project to any of the available compiler versions already installed on the user's machine.
    3. Do not import, allowing the user to find and install the compiler version manually. Which is not straightforward at all.

    Here is some background and details on when and why an error may be generated during project import:
    http://processors.wiki.ti.com/index.php/Importing_CCS_Projects

    We have previously discussed the option of "auto-migrating" the project to an available compiler version even when the original compiler version's object-model is not known, but found that it could be risky, with the possibility of corrupting the project. The reason is that this migration would have to be a text-substitution migration, since at that point there is no knowledge about the original compiler that the project was created with and its object-model.  And this could be risky when mapping options from old to new version especially if options are removed in the newer compiler.

    For these reasons, we prompt the user to install the compiler first which will allow the import to be successful. After that the compiler version can be changed and at that point CCS can do the options mapping correctly.

  • Mark Labbato said:
    I was just reminded by a coworker that #1 is already available through CCS. "Install New Software". Though it is still not the most straightforward process. Unless you know the right "Software Site" to look under.

    Good point. We already have an enhancement request filed to track how we could improve this. One thought was to add a new menu item under the Help menu specifically for installing compiler tools, which would basically be similar to Install New Software but with the Code Generation Tools Update site auto-populated. 

  • Thank you for the insight.

    It seems like you could point to how to find the older versions through the context menu in the error message that pops up. as of right now it only refers you over to the app center as if it is assuming that you are trying to use a project with the latest version. Maybe just say something along the lines of "to get older versions of software, use the toolbar and navigate to Help -->Install New Software --> Code Generation Tools Updates software site --> TI Compiler Updates and browse for the required version" This is explicit and gets the user through the process quickly and without generating forum activity.

    Thanks,
    Mark
  • Mark,

    I filed an enhancement request (CCSIDE-3025) to update the text in the dialog box to clarify how to get compiler versions via the Help->Install New Software menu, as you suggested.

  • Great! Thanks for the information.