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: SYSBIOS, CC1310

Hi,

i wanted to rebuild a program code that was developed by my predecessor a few months ago.

But I get the error message: The package 'ti.sysbios.knl' is not compatible with the XDCtools used in this build. Please either use XDCtools that are compatible with this package, or upgrade the product that contains this package, or rebuild the package with XDCtools 3.50 or later.

I am using CCS 10.4, XDC Version 3.62.08 and downloaded the latest version of sysbios

I know that the code has already worked for my predecessor.

Could you help me to solve it ?

Thanks!

  • Hello,

    Can you provide the FULL build output? You can copy and paste to a text file and then attach the text file.

    Also specify the full SYS/BIOS version and the device being used.

    Thanks

    ki

  • Hi Ki,

    i attached the build output.

    Build_error.txt
    **** Build of configuration Debug for project ADCandTransmit ****
    
    "C:\\ti\\ccs1040\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
     
    Building file: "../AdcAndTransmit.cfg"
    Invoking: XDCtools
    "C:/Users/marilena.grimm/Desktop/xdctools_3_62_00_08_core_win32 (1)/xdctools_3_62_00_08_core/xs" --xdcpath="C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/uia_2_01_00_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS" --compileOptions "-mv7M3 --code_state=16 --float_support=none -me --include_path=\"K:/Oeffentlich/mgrimm/Ãœbergabe/1_SW-Projekt/CCS Datei/Dateien Evalboard/ADCandTransmit\" --include_path=\"K:/Oeffentlich/mgrimm/Ãœbergabe/1_SW-Projekt/CCS Datei/Dateien Evalboard/ADCandTransmit\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_17272\" --include_path=\"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include\" --define=ccs -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi  " "../AdcAndTransmit.cfg"
    configuring AdcAndTransmit.xem3 from package/cfg/AdcAndTransmit_pem3.cfg ...
    subdir_rules.mk:19: recipe for target 'build-832964753-inproc' failed
    error: xdc.cfg.Program: "C:/Users/marilena.grimm/Desktop/xdctools_3_62_00_08_core_win32 (1)/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:/Users/marilena.grimm/Desktop/xdctools_3_62_00_08_core_win32 (1)/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/AdcAndTransmit_pem3.xdl] Error 1
    js: "C:/Users/marilena.grimm/Desktop/xdctools_3_62_00_08_core_win32 (1)/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-832964753-inproc] Error 1
    gmake: *** [build-832964753] Error 2
    subdir_rules.mk:16: recipe for target 'build-832964753' failed
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****
    
     

    I have the SYS/BIOS 6.83.0.18

     

    And we are  using the CC1310. 

    Thanks

  • 8561.Problems.txt
    Description	Resource	Path	Location	Type
    gmake: *** [build-832964753] Error 2	ADCandTransmit		 	C/C++ Problem
    gmake: Target 'all' not remade because of errors.	ADCandTransmit		 	C/C++ Problem
    gmake[1]: *** [build-832964753-inproc] Error 1	ADCandTransmit		 	C/C++ Problem
    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.	.xdchelp	/ADCandTransmit	line 71	C/C++ Problem
    

    I don't know if you need that either.

    These are the problems with description.

  • First off, this path may be problematic:

    C:/Users/marilena.grimm/Desktop/xdctools_3_62_00_08_core_win32 (1)

    The part that is an issue is the part highlighted in yellow. BIOS and XDC can have issues with paths with whitespaces and non-alphanumeric characters. 

    I don't think this is the root of your issue but it would be good to resolve this to avoid other issues down the road.

    i was able to build a BIOS project using the same XDC and SYS/BIOS versions are you so I don't think there is a version mismatch.

    please first resolve the above path issue. Once you have done so, please try a clean rebuild and then we can move forward from there.

    ki

  • So i changed the path, did a clean and a new build. But get the same message:

    5483.Builderror.txt
    **** Build of configuration Debug for project ADCandTransmit ****
    
    "C:\\ti\\ccs1040\\ccs\\utils\\bin\\gmake" -k -j 8 all -O 
     
    Building file: "../AdcAndTransmit.cfg"
    Invoking: XDCtools
    "C:/ti/xdctools_3_62_00_08_core/xs" --xdcpath="C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/tidrivers_cc13xx_cc26xx_2_21_00_04/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/bios_6_46_01_37/packages;C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/uia_2_01_00_01/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC1310F128 -r release -c "C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS" --compileOptions "-mv7M3 --code_state=16 --float_support=none -me --include_path=\"K:/Oeffentlich/mgrimm/Ãœbergabe/1_SW-Projekt/CCS Datei/Dateien Evalboard/ADCandTransmit\" --include_path=\"K:/Oeffentlich/mgrimm/Ãœbergabe/1_SW-Projekt/CCS Datei/Dateien Evalboard/ADCandTransmit\" --include_path=\"C:/ti/tirtos_cc13xx_cc26xx_2_21_00_06/products/cc13xxware_2_04_03_17272\" --include_path=\"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-arm_20.2.5.LTS/include\" --define=ccs -g --diag_warning=225 --diag_warning=255 --diag_wrap=off --display_error_number --gen_func_subsections=on --abi=eabi  " "../AdcAndTransmit.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring AdcAndTransmit.xem3 from package/cfg/AdcAndTransmit_pem3.cfg ...
    subdir_rules.mk:19: recipe for target 'build-832964753-inproc' failed
    error: xdc.cfg.Program: "C:/ti/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/xdctools_3_62_00_08_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
    gmake.exe: *** [package.mak:202: package/cfg/AdcAndTransmit_pem3.xdl] Error 1
    js: "C:/ti/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-832964753-inproc] Error 1
    gmake: *** No rule to make target 'build-832964753', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-832964753', needed by 'configPkg/linker.cmd'.
    gmake: *** No rule to make target 'build-832964753', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-832964753', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-832964753', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-832964753', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-832964753', needed by 'configPkg/compiler.opt'.
    gmake: *** No rule to make target 'build-832964753', needed by 'configPkg/compiler.opt'.
    gmake: Target 'all' not remade because of errors.
    
    **** Build Finished ****

  • I see you are using an old TI-RTOS version (v2.21.00.06). That version comes with an older version of SYS/BIOS that it is compatible with. Which version of SYS/BIOS and XDCTools did your predecessor use with this project?

  • These are the versions from my predecessor.

     

    But I don't know which SYS/BIOS version he used. How can I find out?

  • But I don't know which SYS/BIOS version he used. How can I find out?

    he is likely using the SYS/BIOS version that comes with TIRTOS 2.21.00.06. That version is SYS/BIOS 6.46.01.37.

    I suggest you use the same also.

  • I can only download these versions: 

    Before I downloaded the latest SYS/BIOS version (6.83.0.18), I probably used the version that comes with TIRTOS 2.21.00.06, but there was already a message that I have to download a more recent SYS/BIOS version.

    So i think that is not the problem. 

    I talked to my colleague what he thinks I can do to get this running and he said maybe install CCS again with an admin role. Do you think that makes a difference and could solve the problem as it may be related to the installation?

  • SYS/BIOS 6.46.01.37 comes bundled with TI-RTOS 2.21.00.06

    As for which versions of BIOS you should use, I defer to the device experts. I will bring this thread to their attention.

    Thanks

    ki 

  • Hi Mario,

    You should definitely use the version of SYS/BIOS that comes with the TI-RTOS installation.  The TI-RTOS Release Notes and SYS/BIOS version recommend using XDCTools 3.32 which you should install and use in place of  v3.62 from your CCS Products.  I believe this will be more effective than re-installing CCS as an admin.

    Regards,
    Ryan

  • I have tried but then comes another error message, I assume that there are more problems than the XDC version. So I will close the ticket now and try to fix the other errors. Thanks for everything!