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.

LED BoosterPack - missing compiler definition in CCS code

Other Parts Discussed in Thread: CONTROLSUITE, BOOSTXL-C2KLED

Working with the C2000 LaunchPad and LED BoosterPack Eval Kit, I tried to load the LED_Boost_PC program into CCS and got the message: "LED_Boost_PC compiler definition not available. Contact support." This same message comes up when trying to load the capacitive touch app code. Therefore, I can't load the flash on the LaunchPad and run the program. How do I update CCS to include this compiler definition.

Also, the LED control GUI loads fine on my PC and comes up, but it can't find the board (COM port is set. It finds that fine.). It is looking for a .a00 file extension.

So in general, the C2000 LaunchPad and LED BoosterPack is dead in the water. Help.

John Wolf : johnwolf.lobo@gmail.com

  • John,

    Which version of CCS are you using? How did you import the projects into CCS- via the Resource Explorer or using the menu Project->Import Existing CCS Eclipse Project? Did you follow the steps in the C2000 LED Booster Pack Users Guide?

    Please tell us the exact version of CCS, how you imported the project and at what point you see this message, so we can try to help further.

  • I have CCS ver 5.2.1.00018. I used the TI Resource Explorer as directed by the booster pack guide. I also verified the switch positions: booster pack, S1 off, LaunchPad Boot switch, all up (1,2,,3) and S4 on.

    Here's the sequence in the Resource Explorer window: ControlSUITE, English, Development Tools, C2000 LaunchPad, BOOSTXL-C2KLED, Led BoostPack GUI Demo, CCS Project. This opens a window to the right where I clicked: "Import the example project into CCS." At this point I got the message: "LED_Boost_PC compiler definition not available." 

    Also, in trying to use the GUI, I did the following: clicked "PC GUI Application." The right window displayed a link to launch the GUI. The GUI app opened with no problem.  I clicked "Set Up Connection." The two boards were mated and plugged in. The LEDs on the booster flashing brightly and the LaunchPad 4 blue LEDs running in sequence. Everything looked normal. The connect window came up. I clicked "Find Comport" and COM9 came up, which is the port the LaunchPad was connected to. The small window highlighted with COM9. On the right side of this window was "Boot on Connect" with a box selected to find a file with a .a00 suffix. I could not find such a file anywhere in the ti folder or StellarisWare folders on the C-drive.

    I clicked on "Connect" after closing the above mentioned window and the app attempted to connect, but posted it could not find the board to contact support.

    That's it. I hope that helps. 

  • John,

    I have the full CCS 5.2.1 installed and do not have any problems importing/building the LED Boosterpack demo projects. Did you get to 5.2.1 through a CCS update or is this a full install? Can you check which versions of the compiler tools you have installed? In CCS, go to menu Window->Preferences, expand Code Composer Studio->Build->Compilers, and see which versions of C2000 compiler tools show up under Discovered Tools. If v6.1.0 is not listed there, please install this version.

    You can do this by going to Help->Install New Software, select the site to work with: Code Generation Tools Updates. Find and select the C2800 Compiler Tools v6.1.0 and install it. Restart CCS and verify that this version now appears under "Discovered Tools". Then open a new workspace, and try importing the demo project again.

    For the second question regarding the PC GUI Application, please post this question to the C2000 device forum as this application has been developed/released by that team and they should be able to assist further with it.

  • AartiG,

    Okay, I followed your instructions. Here's where we are: My CCS was 4.0 and was updated to v5. I went to the compiler window and only ARM compiler paths were there. I found the C2800 Compiler Tools v6.1.1 and installed it, but it doesn't show on the Properties -> compilers window. I couldn't fine a v6.1.0. I tried everything to get it there. I add paths that seemed reasonable - no dice. I restarted CCS each time and even rebooted my computer, but v6.1.1 just won't show on the compiler window. When I try to reinstall it, a dialog says it's already installed, but the BOOSTXL-C2KLED  PC or Touch program still won't come up in CCS. I get the same message as before.

    The GUI knows the board is there and says load flash app and come back.

    The question now is: Now that I know compiler C2800 v6.1.1 is on my computer, how do I get it to show in the Preference ->Compliers list with the ARM compilers? Until I get that far, nothing is going to work.

    Thanks,

  • John Wolf said:
    I went to the compiler window and only ARM compiler paths were there.

    This seems to suggest that you installed support for only the ARM devices when installing CCS and not for C28x devices. Could this be the case? If so, you would be missing other support, besides the compiler tools, that would be required to run code on C28x devices.

    My suggestion would be to reinstall CCS 5.2.1 and make sure that you select the C28x device family in addition to other processors you may need. You can perform this install in a directory different than your current installation until you can confirm a working environment. You can download and install CCS 5.2.1 from here: http://processors.wiki.ti.com/index.php/Download_CCS

    If you go through a reinstall wtih C28x family selected (which is what I would recommend to be safe), the following is not necessary, but just for reference, to answer your question about how to get CCS to detect other compiler versions, please see this wiki page: http://processors.wiki.ti.com/index.php/Compiler_Installation_and_Selection

  • Well, a reinstall was my next step. I do remember you select system families when installing. I have several of the TI kits, but this is the first using the C2000 family. I was assuming the CCS could bring in another family more easily, and probably does, but I can't find the path.

    I'll reinstall and get back with you.

    Thanks again,

    JW

  • The CCS re-install did the trick. It gave me a chance to add the C2000 to the MSP430 ( I also have a M4 board). Once up and running again the controlSUITE code loaded and the GUI app found the board and connected. Then I was blinded by the light! Unbelievably bright LEDs.