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.

Can not use TivaWare with CCS 6.0

Other Parts Discussed in Thread: EK-TM4C1294XL

Can not use TivaWare with CCS 6.0 (This is for the examples)

Can anyone advice how to do this? Build stops, and asks for 5.0 compiler

Thanks

**** Build Finished ****
Buildfile generation error occurred..
This project was created using a version of compiler that is not currently installed: 5.0.4 [ARM]. Please go to CCS App Center to install the compiler of this version, or migrate the project to one of the available compiler versions by adjusting project properties.
Build stopped..

  • Hello Viking

    CCSv6 has a different ARM Compiler (I believe it is 5.1.5). Please update the tool chain version for your project.

    Regards

    Amit

  • Amit Ashara said:
    CCSv6 has a different ARM Compiler (I believe it is 5.1.5). Please update the tool chain version for your project.

    If there is a later compiler installed, then CCS v6 generates a warning of the following form which reports the later compiler version that is being used. E.g.

    This project was created using a version of compiler that is not currently installed: 5.0.4 [ARM]. Another version of the compiler will be used during build: 5.1.7. Please go to <a href="liveaction:OpenAppCenter">CCS App Center</a> to install the compiler of the required version, or migrate the project to one of the available compiler versions by adjusting project properties.

    The error reported by Viking doesn't contain the compiler version which will be used, and the compile fails, which makes me think the problem is that there is no TI ARM compiler installed (or selected by CCS v6).

    Viking said:
    Can anyone advice how to do this? Build stops, and asks for 5.0 compiler

    If you haven't already seem them, there are some links on the Wiki about compiler installation and selection in CCS:

    http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection

    http://processors.wiki.ti.com/index.php/Compiler_Updates

    http://processors.wiki.ti.com/index.php/Compiler_Releases

  • This project was created using a version of compiler that is not currently installed: 5.0.4 [ARM]. Please go to CCS App Center to install the compiler of this version, or migrate the project to one of the available compiler versions by adjusting project properties.
    Build stopped..

    You have the answer right there, you have perhaps imported the project from an older version of compiler. So as Mr. Amit suggested, do update your toolchain. Also if possible use the latest Tivaware and check the path variables to the Tivaware installation directory.

    Looks like the importfrom old compiler worked project has the problem.

  • This is not for "my" project. This is the TivaWare examples that is found under "Apps" and "Example projects" in the CCSv6 IDE.

    I do not want to update the tool chain version, and spend time discover and fix bugs related to the change. Does Ti have a plan to make TivaWare with examples compatible with CCSv6? 

    I think it should be compatible with CCSv6 *before* it is added to the "App Center" in the CCSv6 

  • , Please do not respond to this if you have no knowledge of the issue. 

  • Viking said:
    Please do not respond to this if you have no knowledge of the issue.

    Does the following help?

    http://processors.wiki.ti.com/index.php/Compiler_Updates#Installing_Older_Versions

  • Thanks for responding.

    I downloaded the newest versions of CCSv6 today, and installed TivaWare from the AppCenter in CCSv6 today as well. No old versions of anything. I can import my existing code with no issue.

    I have no problem developing and compiling. I only have a problem with the TivaWare installation, so Everything *except* TivaWare works fine.

    From the documentation you pointed to, I read " if compiler version x.x.x was installed with CCS, you will not be able to install an older version", So I assume it is only possible to add *newer* versions of the compiler, not older, so I can not solve the issue this way.

    It looks like I have to abandon the entire CCSv6 and reinstall CCSv5, and use that, and update the compiler within that environment.

    Seems like a poor solution to a TI defect. 

    Please advise.

  • Viking said:
    From the documentation you pointed to, I read " if compiler version x.x.x was installed with CCS, you will not be able to install an older version", So I assume it is only possible to add *newer* versions of the compiler, not older, so I can not solve the issue this way.

    Sorry, but link I gave wasn't very clear. You can install an older version. The steps to take vary according to which compiler version(s) you already have installed.

    E.g. if only ARM version 5.1.x is installed (which is the default with a fresh CCS v6 installation) then to install v5.0.4 the steps are:

    1) Open CCS Help -> Install New Software

    2) Select "Code Generation Tools Updates" in the "Work With" box.

    3) Untick "Show only the latest versions of available software"

    4) You can then select to install ARM Compiler Tools 5.0.4 (which is what TivaWare was built with):

  • Hi Viking,

         I do not have Tivaware taken under"Apps and Example Projects". But, I have Tivaware 2.1 examples for my Tiva Connected Launchpad and I am able to import and build Tivaware example programs without errors.

        There are cases you need to set compiler version at CCS properties to 5.1.5 when importing old example programs to CCS5.5 and CCS6.0. An extra startup file is generated in which you just need to delete that startup file, for the CCS project to build without errors.

        Attach this Tivaware Example project here that your are trying to import to CCS6.0. So, we can duplicate the problem at our PC.

    - kel

  • Chester Gillon said:
    E.g. if only ARM version 5.1.x is installed (which is the default with a fresh CCS v6 installation) then to install v5.0.4 the steps are

    If say version 5.0.10 is installed, and you need to install 5.0.4 (which has the same Eclipse "feature ID") then additional steps are required - see CCS 6.0.0.00190 "Install New Software" prevents installation of older compiler version

  • , Thanks for reply

    The project is "TivaWare_C_Series-2.1.02573 | examples | boards | ek-tm4c1294xl | qs_iot"  for Tiva connect launchpad

    (But the TivaWare app added from within CCSv6 installs over 1000 of libraries and examples, so this issue is a lot bigger than the one identified here)

    qs_iot.zip attached to this post. This is directly from the TivaWare folder to be imported into CCSv6

    qs_iot.zip
  • Hi Viking,

         Duplication Procedure:

    1. Deleted my qs_iot example program at my Tivaware installation for Tiva Connected Launchpad.
    2. Copied your qs_iot example program at my Tivaware installation for Tiva Connected Launchpad.
    3. Build and got three warnings below
      1. variable "tcphdr" was set but never used
      2. variable "tcphdr" was set but never used
      3. This project was created using a version of compiler that is not currently installed: 5.0.4 [ARM]. Another version of the compiler will be used during build: 5.1.5. Please go to CCS App Center to install the compiler of the required version, or migrate the project to one of the available compiler versions by adjusting project.

                               Note: As mentioned you can migrate the project to one of the available compiler versions by adjusting project.

          Solution Procedure:

    1. Go to CCSV6 Project Properties and adjust compiler version to TI v5.1.5. See, below.

             

            After build I only get two warnings of "variable "tcphdr" was set but never used".

    - kel

  • Thanks,

    Is this possible to do on a bulk scale, as there are over 1000 libraries and projects. (of which only 100 or so are needed by us)

    Maybe TI can do this and test that it all still works.

    That would be great.

  • Viking said:
    Is this possible to do on a bulk scale, as there are over 1000 libraries and projects. (of which only 100 or so are needed by us)

    I don't know if that can be done. Better ask that at the CCS forum to get more expert advice.

    - kel

  •  , please check and tell if TI plans to fix this.

    Thanks

  • Hello Viking,

    I believe CCS forum would be the most appropriate place to get this question answered. You can open a new forum thread in CCS and I believe they can help you out better with wiki's.

    Regards

    Amit