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.

LAUNCHXL-F280049C: Can't import Launchxl demo project in CCS

Part Number: LAUNCHXL-F280049C
Other Parts Discussed in Thread: C2000WARE

Hello,

I installed Code Composer Studio Version: 11.2.0.00007 and when I want to import the launchxl demo project from examples folder, I got and error saying that meta-data cannot be interpreted. Like in the attached picture.

.Import error

Any other project from examples folder can be imported without problem.

What I noticed by looking inside the examples projects, is that launchxl project is missing .ccsproject and .cproject files. The other projects have these files, but launchxl is missing.

I tried to create them manually, by copying content from led project example and I can import launchxl project. But I run into compiling and linking errors where I get stucked.

I have experience in SW developement, but it's first time when I'm using TI microcontrollers and its ecosystem.

Can someone help me how to import that project in CCS?

Thank you!

  • Hi,

    Have you downloaded and installed C2000Ware SDK and installed?  https://www.ti.com/tool/C2000WARE 

    If you have installed then try to run some example from SDK. Try Blink_LED example, it is located at:

    C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f28004x/examples/led

    Please make sure you pick up LAUNCHXK_CPU1_RAM build configuration.

    Also, you can take a look at C2000 Academy. It has instruction how to get started.

    https://dev.ti.com/tirex/explore/node?node=AOpze8ebskysmgASY3VKSA__jEBbtmC__LATEST

    Thanks & Regards,

    Santosh

  • Yes C2000Ware is installed. And all the examples I tried to import worked fine, except for launchxl from [..]\c2000\C2000Ware_4_01_00_00\device_support\f28004x\examples\launchxl

    I need that since I want to do something similar and it would be very handy to start from it.

  • Thanks for the link to C2000 Academy.

  • Yes C2000Ware is installed. And all the examples I tried to import worked fine, except for launchxl from [..]\c2000\C2000Ware_4_01_00_00\device_support\f28004x\examples\launchxl

    You should be able to import the project, then go right click the project, go to 'Build Configuration', Set Active and then select LAUNCHXL_CPU1_RAM build configuration.

    In the Project Explorer Window, expand targetConfiguration and make sure Launchpad .ccxml fiile is active.

  • launchxl project can't be imported in CCS. That's a pity, especially when you want to show some beginners how to start with Launchpad...

    Anyway it does not matter anymore for me, I managed to create another project from zero and use the code from launchxl.

  • Liviu,

    What is the CCS version and which platform? I am able to import C2000Ware example projects without any issue. I have CCS 11.1 installed.

    We have created C2000 online training. Please take a look at this link. In this section it walks through step-by-step instruction how to get started with C2000.

    https://dev.ti.com/tirex/explore/node?node=ASrjG01hPgRfzY1a74A0Yg__jEBbtmC__LATEST

    Please take a look and let us know if it is useful for you or you have any other feedback.

    Thanks & Regards,

    Santosh

  • I just saw, you are using CCS 11.2. I have not tested on CCS 11.2. I will test it today and get back to you. Meanwhile, can you try the example at:

    C:/ti/c2000/C2000Ware_4_01_00_00/driverlib/f28004x/examples/led

  • There are 2 project in the path mentioned by you. Both of them can be imported fine.

    Actually all projects I tried can be imported, except launchxl.

  • Liviu,

    Are you using CCS version 11.2? This CCS version (11.2.x) is not release yet. Are you sure you are using CCS 11.2.x CCS?

    I just tried on CCS 11.1, 0 and it is importing and building without any issue.

    Can you check again your CCS version and also C2000 compiler version?

    The project is looking for cgtVersion="21.6.0.LTS". 

    Thanks & Regards,

    Santosh

  • Liviu,

    I just noticed CCS 11.2.0.00007 was release in April 22. I am downloading and installing right now. I will try this project. Meanwhile, please let me know your compiler version.

    Thanks & Regards,

    Santosh

  • I would assume compiler version is 21.6.0, see the console output. I don't know how else to find the compiler version.

    Building file: "../src/main.c"
    Invoking: C2000 Compiler
    "C:/Devapp/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla2 --float_support=fpu32 --tmu_support=tmu0 --vcu_support=vcu0 -Ooff --include_path="C:/Users/budaciu_d1/CCS_workspace/Launchpad_F280049C_AdcPwmDemo/src" --include_path="C:/Users/budaciu_d1/CCS_workspace/Launchpad_F280049C_AdcPwmDemo/src/MCAL" --include_path="C:/Users/budaciu_d1/CCS_workspace/Launchpad_F280049C_AdcPwmDemo/src/MCAL/third_party" --include_path="C:/Users/budaciu_d1/CCS_workspace/Launchpad_F280049C_AdcPwmDemo/src/HAL" --include_path="C:/Users/budaciu_d1/CCS_workspace/Launchpad_F280049C_AdcPwmDemo/src/SYS" --include_path="C:/Users/budaciu_d1/CCS_workspace/Launchpad_F280049C_AdcPwmDemo/src/APPL" --include_path="C:/Users/budaciu_d1/CCS_workspace/Launchpad_F280049C_AdcPwmDemo" --include_path="C:/Devapp/ti/c2000/C2000Ware_4_01_00_00/device_support/f28004x/common/include" --include_path="C:/Devapp/ti/c2000/C2000Ware_4_01_00_00/device_support/f28004x/headers/include" --include_path="C:/Devapp/ti/ccs1120/ccs/tools/compiler/ti-cgt-c2000_21.6.0.LTS/include" --define=CPU1 --define=_FLASH --diag_suppress=10063 --diag_warning=225 --diag_wrap=off --display_error_number --abi=coffabi --preproc_with_compile --preproc_dependency="src/main.d_raw" --obj_directory="src"  "../src/main.c"
    Finished building: "../src/main.c"

    Yes, CCS version is 11.2.0.00007.

  • Liviu,

    I just installed CCS 11.2.0 version and I am able to import and build it without any issue.

    Thanks & Regards,

    Santosh

  • Liviu,

    Something looks different on your import. When you import, the screen should like this

    Can you send the projectspec file from that folder? 

  • Here is an archive containing the launchxl folder. I don't really know which is the projectspec file.launchxl.zip

  • Hi,

    You have .ccsproject, .cproject, and .project and also .project in CCS folder.

    Please delete those files and then import the project. It should work fine.

    I have deleted the files in the attached zip file.

    3603.launchxl.zip

    Thanks & Regards,

    Santosh

  • Hi,

    Just deleting the files you mentioned did not changed anything, the same error.

    BUT with the folder you gave me, it worked! Then I compared the content between your folder and the one from my installation and the only difference was the presence of *.DS_Store files in your folder. With those files everything is fine, without them I get the error. It's interesting that other examples also don't contain *.DS_Store file, but I can import.

    Anyway, thank you for your help!