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 v6 - TM4C129XNCZAD - Tivaware - missing compiler - blinky example won't build

Other Parts Discussed in Thread: TM4C129XNCZAD

I have now spent 2 full days trying to use CCS to get a light to blink. I have moved back and forth between CCS v5 and CCS v6 (build #6.0.1.00040) multiple times. The problems have been endless. Currently I have CCS v6 installed. I am using the TM4C129XNCZAD Launchpad board with Tivaware. I am attempting to use the tivaware "Blinky" example code provided by CCS v6. The example imports into the project manager just fine (step 1 of 4). The project will not build successfully. When I attempt to build it, I get the following error,

==========================================================================================

**** 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..

==========================================================================================

So as the instructions suggest, I attempt to access the CCS App Center by clicking the App Center button on the getting started page, which of coarse does absolutely nothing. So, I attempted to follow the alternate route suggested by attempting to "migrate the project to one of the available compiler versions by adjusting project properties". First of all, I don't believe that I should even have compiler version 5.0.4 as an option, as this is version 6. However, as you can see from the following screen shot, it is the default option selected and no other options exist.

Ironically, this is the same compiler version that my CCS v5 was attempting to use. It seems as though the "TI v5.0.4" file is still hidding somewhere on my computer even though I have already uninstalled CCS v5. Also, what is interesting is that under the Windows --> Preferences options (shown below) the suggested path for where the version 6 compiler should be found is "c:/ti/ccsv6/tools/compiler". This is interesting because there is no folder under "c:/ti/ccsv6" called tools. So it seems as though because the CCS v6 download is missing this compiler file, CCS is searching my computer for any and all compiler files and pulling up "TI v5.0.4", which should no longer be on my computer.

If this is true, where do I find the necessary version 6 compiler for CCS v6? If this is not true, can someone please help me to get my $200 launchpad board to blink a light.

Thank you! and forgive me for my frustrated tone.

Marshall

  • Hi Marshall,

    I can understand your difficulty. I'll loop in who's an expert with Tiva Devices.

    Regards,

    Gautam

  • Marshall Folkman said:
    can someone please help me to get my $200 launchpad board to blink a light.

    Sure, I will help you. I also have a Tiva Connected Launchpad. I don't think it is worth as high as $200. 

    I am using CCS V 6 and when you import and build blinky example program you will get this warning below.

    Marshall Folkman said:
    **** 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..

    The solution is to "migrate the project to one of the available compiler version by adjusting project properties".

    Right click blinky and go to Properties. Then go to General tab. See, below. Select compiler version TI v5.1.5, then press "OK". blinky should now be able to build without errors.

    - kel

  • Marshall Folkman said:
    Also, what is interesting is that under the Windows --> Preferences options (shown below) the suggested path for where the version 6 compiler should be found is "c:/ti/ccsv6/tools/compiler". This is interesting because there is no folder under "c:/ti/ccsv6" called tools. So it seems as though because the CCS v6 download is missing this compiler file, CCS is searching my computer for any and all compiler files and pulling up "TI v5.0.4", which should no longer be on my computer.

    Looking at your screenshot of Windows Preferences->Code Composer Studio->Build->Compilers, it looks like CCS is not "discovering" any of the compiler tools. I am not sure why this is but it looks like something did not go right during the installation. Did you by any chance, install CCS 6.0.1 into the same folder where you previously had CCSv5 installed? If so, I am sorry to cause more inconvenience, but the best option now would be to install CCSv6 in a completely separate folder.

    I would suggest leaving your current installation as-is and re-install CCS 6.0.1 into a completely different folder (such as c:\ccs601 or c:\ti2 instead of the default c:\ti). Once the installation is complete, check that the folder \ccsv6\tools\compiler exists within your installation folder and also contains a sub-folder for the ARM compiler tools. Also the ARM Compiler tools should be "discovered" in CCS under Windows Preferences->Code Composer Studio->Build->Compilers. If all of this works as expected, you should be able to import and build TivaWare examples without issues.

  • Thank you very much everybody!! I have never been more excited about a blinking light. AartiG's post really helped. To help others I have taken the following screen shots of my installation process. I purposefully did not select every option because doing this caused me other problems. The one thing I did differently is that I selected the "TI ARM Compiler" option under "32-bit ARM MCU's", as shown in the first screen shot below.

    Thanks again!

    Marshall