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 5.1 Build Issue (C6472).

Other Parts Discussed in Thread: SYSBIOS

I have a CCS 4.2 project that I have imported into 5.1 and I get the following error:

"C:/TexasInstruments/xdctools_3_22_04_46/xs"
--xdcpath="C:/TexasInstruments/pdk_c64x_1_00_00_06/packages;
C:/TexasInstruments/edma3_lld_02_10_03_04/packages;
C:/TexasInstruments/ipc_1_23_05_40/packages;
C:/TexasInstruments/mcsdk_1_00_00_08/packages;
C:/TexasInstruments/ndk_2_20_06_35/packages;
C:/TexasInstruments/bios_6_32_05_54/packages;
C:/TexasInstruments/uia_1_00_03_25/packages;
C:/TexasInstruments/xdais_7_21_01_07/packages;
C:/TexasInstruments/xdais_7_21_01_07/examples;"
xdc.tools.configuro -o configPkg -t ti.targets.C64P -p ti.platforms.evm6472 -r release -c "C:/TexasInstruments/ccsv5/tools/compiler/c6000" "../DRTS_500_CORE_0.cfg"
configuring DRTS_500_CORE_0.x64P from package/cfg/DRTS_500_CORE_0_p64P.cfg ...
js: "C:/TexasInstruments/xdctools_3_22_04_46/packages/xdc/cfg/Main.xs", line 156:

Error: incompatible use of package 'ti.platforms.evm6472' [in C:/TexasInstruments/xdctools_3_22_04_46/packages/ti/platforms/evm6472/]:
version of the loaded package 'ti.platforms.evm6472' is [],
while 'ti.sysbios' [in C:/TexasInstruments/bios_6_32_05_54/packages/ti/sysbios/] was built with 'ti.platforms.evm6472' [1, 0, 0, 1315004616735]
Adding the following line to your program configuration script:
    environment['xdc.cfg.check.fatal'] = 'false';
converts this incompatibility error into a warning. Please, check the documentation for the package xdc.cfg for more information.
xdctools_3_22_04_46\gmake.exe: *** [package/cfg/DRTS_500_CORE_0_p64P.xdl] Error 1
xdctools_3_22_04_46\gmake.exe: *** [package/cfg/DRTS_500_CORE_0_p64P.xdl] Deleting file `package/cfg/DRTS_500_CORE_0_p64P.h'
xdctools_3_22_04_46\gmake.exe: *** [package/cfg/DRTS_500_CORE_0_p64P.xdl] Deleting file `package/cfg/DRTS_500_CORE_0_p64P.c'
js: "C:/TexasInstruments/xdctools_3_22_04_46/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [configPkg/compiler.opt] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

If I add the suggested line to the cfg file, the error is resolved and the projects build fully and runs. But I would like to know what

the error is about and how I can resolve it properly. This project has been built with CCS 3.3 and 4.2 successfully and this is the first time I have encountered this

particular issue.

  • Stein,
    the error message basically says that the package 'ti.sysbios' was originally developed to be compatible with certain versions of the package 'ti.platforms.evm6472', but the version of 'ti.platform.evm6472' found in the configuration is not a compatible version. However, the package 'ti.platforms.evm6472' does not really have multiple versions, and the version string in the error message is empty [ ], for one of the versions. This usually means there is some other problem causing the mismatch. Have you had to make any changes in that platform that required that you rebuild the platform?

    Can you post the content of the Java file that you can find in the evm6472 platform package, in the subdirectory 'package'? You can find the whole path to the package in the error message. Also, if you define the environment variable XDC_TRACE_ENABLE in Project->Properties->CCS Build->Environment and set it to 'all', you'll get a long console output, which you can attach to your post. That might help me to figure out what went wrong.

  • Hi Stein Pedersen,

    The warning you are seeing is coming from a compatibility check of software tools versions.  In short, I think that you can safely ignore this warning as I think it is showing up due to some bug.  It could *possibly* mean that your XDCtools installation has been corrupted, however since you say that you are able to build and run your project, you're probably OK ignoring it for now.

    Now here are the details...

    That warning message occurs when software versions that are not compatible with one another are used in the build of an application.  It's checking this based on a version "key" (aka a "compatibility key") - you can see one of these keys printed out in the message:

    ti.platforms.evm6472' [1, 0, 0, 1315004616735]

    However, there looks to be a bug in the key that's printed out in the line above it, as there is no version number in between the brackets:

    'ti.platforms.evm6472' is [],

    So at build time, the version key [1, 0, 0, 1315004616735] and [] are being compared, but since the latter is blank, it detects a mismatch.

    I checked that the versions of these two packages are indeed the same - the version of SYS/BIOS you are using - bios_6_32_05_54 - was built against the same version of XDCtools that you are using in your build - xdctools_3_22_04_46 (and hence the same version of the package "ti.platforms.evm6472", which is why I believe you can safely ignore this warning.

    Regarding the reason as to why that key is coming up as blank, we are looking into this and will get back to you about it.

    Steve

  • I have found a solution to the problem by using the RTSC platform wizard to make my own "proprietary" platform. I have been using the platform for EVM6472 until now because it fit our own board design. In rebuilding with the new platform the error is not there. Life is good! On to the next problem. Thanks.