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.

CODECOMPOSER: The package 'ti.sysbios.knl' is not compatible with XDCtools

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: EK-TM4C1294XL, SYSBIOS

Hi All,

I have just started to develope an ethernet application on EK-TM4C1294XL board. I have used TI-RTOS examples and imported "TCP Echo" project.

I am using CCS 10,3,1 and tried to build the tcp echo example but got following error:

configuring tcpEcho.xem4f from package/cfg/tcpEcho_pem4f.cfg ...
subdir_rules.mk:19: recipe for target 'build-784193775-inproc' failed
error: xdc.cfg.Program: "C:/ti/ccs1031/xdctools_3_62_00_08_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.
js: "C:/ti/ccs1031/xdctools_3_62_00_08_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package.mak:202: package/cfg/tcpEcho_pem4f.xdl] Error 1
js: "C:/ti/ccs1031/xdctools_3_62_00_08_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-784193775-inproc] Error 1
gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/linker.cmd'.
gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/compiler.opt'.
gmake: *** No rule to make target 'build-784193775', needed by 'configPkg/compiler.opt'.
gmake: Target 'all' not remade because of errors.

**** Build Finished ****

Could you help me to solve it and run the example?

Thanks

  • Hi Mostafa,

    What is the SYS BIOS version you are using? Looks like you have some mismatch between XDC and SYS BIOS versions.

    You can get the pair info from below:

    https://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/

    Here is the info from XDC release notes. 

    XDCtools 3.62 must only be used in CCS 7.1.x (or above).

    In order to use XDCtools 3.62 in Windows CCS versions before 9.0.x, you must install the distribution of XDCtools that includes a 64-bit version of the JRE (because earlier releases of CCS only include a 32-bit JRE).

    XDCtools 3.30 releases (and later) are no longer released in an installer, they are simply provided as .zip files which can be extracted into any directory that CCS uses to discover new products (e.g., c:/ti).

    Note for Windows users: When you unzip an XDCtools release using Windows Explorer simply double click on the .zip file and drag the single top-level folder it contains to the folder containing ccsv6/ (typically c:/ti). If, instead, you right-click the .zip file and select "Extract All ...", Windows Explorer adds the name of the zip file itself to the default output folder. Do not use this output name. You must extract the contents of the zip file into, say, c:/ti, not a new folder named after the zip file itself.

    Deleted Content

    Beginning with the 3.31 release, all embedded targets and platforms have been removed. They are now delivered with middleware products, such as TI-RTOS, that have dependencies on specific targets and platforms.

    Package Compatibility

    Package internal files: All generated package internal files are backwards compatible starting from XDCtools 3.20. So, packages created using XDCtools 3.20 or later can be consumed using this release. However, changes to the generated C module headers requires that packages created with this release that contain non-metaonly modules cannot be used with XDCtools releases earlier than XDCtools 3.50.x. This includes the xdc.runtime package. See XDCtools Internal Version Numbers for additional details.

    Generated Module headers: All generated module headers have been changed to support "const clean" configuration files (see Bug 506855) Because of this, all non-meta-only modules built with earlier releases must be rebuilt using XDCtools 3.50 (or above) in order to use the xdc.runtime provided by this release. As a result, XDCtools 3.50 (or above) can't be used with packages containing non-meta-only modules that were built using XDCtools 3.32 or earlier. In particular:

    SYS/BIOS 6.46 packages can't be used with XDCtools 3.50 (or above); you must use SYS/BIOS 6.50.00 (or above)

  • Hi Aravind,

    I have installed the latest SYS BIOS in ti directory however again get the same error.

    how I can find that which SYS BIOS is already being used by CCS ? I am not sure that it is using it or not instead of I have installed SYS/BIOS 6.83

    Also could you guide me how to rebuild a project with another XDC (I meand the current xdc that I have because I have just installed the CCS so I guess it uses the last xdc)

    The error that I get is as below:

    subdir_rules.mk:19: recipe for target 'build-784193775-inproc' failed
    error: xdc.cfg.Program: "C:/ti/ccs1031/xdctools_3_62_00_08_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.knl' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.
    js: "C:/ti/ccs1031/xdctools_3_62_00_08_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    xdctools_3_62_00_08_core\gmake.exe: *** [package.mak:202: package/cfg/tcpEcho_pem4f.xdl] Error 1

    Thanks again for your help.

    Mostafa

  • Hi Mostafa,

    Sorry to see you were still not able to get to resolution.

    Here is the link for compatible SYS BIOS and XDC products:

    http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/sysbios/index.html

    Note that CCS is a eclipse project and hence would need all the products to be registered to CCS.

    Also, SYS BIOS and XDC are RTSC products and there is a RTSC discovery path (there is a default path, and you can keep adding the other user defined paths for the RTSC discovery).

    I think below may be useful for you:

    https://software-dl.ti.com/ccs/esd/documents/ccs_product-installation-selection.html

    Also,

    Here is the complete CCS documentation, for anything else:

    https://software-dl.ti.com/ccs/esd/documents/ccs_documentation-overview.html

    Thanks

  • Hi Aravind,

    Thanks for your hints. The problem has been solved by removing all xdc tools and installing only xdctools 3.32.00.06

    Regard,

    Mostafa