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 6.1.3.00034 Example_2806xLaunchPad errors

Other Parts Discussed in Thread: LAUNCHXL-F28069M, CONTROLSUITE

I imported LaunchXL-F28069M project from ControlSuite into Code Composer Studio.  The project immediately had three warnings:


Build variable 'XDAIS_CG_ROOT' cannot be resolved. Example_2806xLaunchPad properties Problems

Build variable 'XDAIS_CG_ROOT' cannot be resolved

Invalid project path: Include path not found (\packages\ti\xdais). Example_2806xLaunchPad pathentry Path Entry Problem


This project was created using a version of compiler that is not currently installed: 6.1.0 [C2000]. Another version of the compiler will be used during build: 15.12.1.LTS. Go to 'Help > Check for Updates' page to check for updates and visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compilers. Go to 'Help > Install New Software...' to install older compilers. Alternatively, migrate the project to one of the available compiler versions by adjusting project properties. Example_2806xLaunchPad properties Problems

When I build I get the following errors and warnings:

Errors:

F28069.cmd /Example_2806xLaunchPad line 141 C/C++ Problem

errors encountered during linking; "Example_2806xLaunchPad.out" not Example_2806xLaunchPad C/C++ Problem

gmake: *** [Example_2806xLaunchPad.out] Error 1 Example_2806xLaunchPad C/C++ Problem

gmake: Target 'all' not remade because of errors. Example_2806xLaunchPad C/C++ Problem

Warnings:


Build variable 'XDAIS_CG_ROOT' cannot be resolved. Example_2806xLaunchPad properties Problems


creating ".esysmem" section with default size of 0x400; use the -heap Example_2806xLaunchPad C/C++ Problem


creating output section ".cio" without a SECTIONS specification Example_2806xLaunchPad C/C++ Problem


entry-point symbol other than "_c_int00" specified: "code_start" Example_2806xLaunchPad C/C++ Problem


Invalid project path: Include path not found (\packages\ti\xdais). Example_2806xLaunchPad pathentry Path Entry Problem


This project was created using a version of compiler that is not currently installed: 6.1.0 [C2000]. Another version of the compiler will be used during build: 15.12.1.LTS. Go to 'Help > Check for Updates' page to check for updates and visit <a href="liveaction:OpenAppCenter">CCS App Center</a> to get the latest compilers. Go to 'Help > Install New Software...' to install older compilers. Alternatively, migrate the project to one of the available compiler versions by adjusting project properties. Example_2806xLaunchPad properties Problems


variable "fid" was set Example_F2806xLaunchPadDemo.c /Example_2806xLaunchPad line 248 C/C++ Problem

How do I resolve these?

  • Hi,

    Two out of the three initial warnings (XDAIS-related) seem to be legacy switches on this particular project. The xDAIS product was discontinued a long time ago and was rarely used by C2000 developers.

    The compiler warning you see initially is the root cause for the build issues you are seeing - differences between the original compiler 6.1.0 and the one supplied with CCSv6.1.3 are significant. I suggest installing the corresponding older compiler by following the guidelines at section 3 of the page below.

    processors.wiki.ti.com/.../Updating_CCSv6

    I tested here with a slightly newer compiler version 6.2.0 and only got warnings regarding non-specified output sections (the .esysmem and .cio shown in your post), which are issues inherent to the example project itself.

    The last warning (the _c_int00) can be considered normal as the example project contains some code that precedes the C runtime environment initialization.

    I moved your post to the C2000 device forum as they supply the controlSUITE software package and can help you further with details about the issues with the example project.

    Hope this helps,
    Rafael