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.

xdc.tools.configuro: Error: Can't find the platform package

Other Parts Discussed in Thread: TMS320F28069

Hi Champs,

I tried to run some code from a customer but I’m not that familiar with TIRTOS. I simply tried to copy the code into the workspace but I have trouble to get rid of the following error:

xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.tms320x28'.  TI platforms are no longer shipped as part of XDCtools (c:\ti\xdctools_3_30_01_25_core).  Please ensure you are either using a pre-3.30 version of XDCtools or you have added a product that includes your platform support along the path 'C:/ti/tirtos_c2000_2_00_02_36/packages;C:/ti/tirtos_c2000_2_00_02_36/products/bios_6_40_01_15/packages;C:/ti/tirtos_c2000_2_00_02_36/products/ipc_3_10_01_11/packages;C:/ti/tirtos_c2000_2_00_02_36/products/ndk_2_23_01_01/packages;C:/ti/tirtos_c2000_2_00_02_36/products/uia_2_00_00_28/packages;C:/ti/ccsv6/ccs_base;c:\ti\xdctools_3_30_01_25_core/packages'.  Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.         .xdchelp           /VCB    line 51   C/C++ Problem

I have installed xdctools_3_30_01_25_core as well as xdctools_3_30_02_44_core and also tirtos_c2000_2_00_02_36.

Does somebody know what I have to change to get this running? I assume it is simply some wrong path to the tools or something like this…

  • Simon,
    I am guessing you got the error after clicking on Build Project or Rebuild Project. There should be more output in the console window in that case. Can you post all of it? Can you also check the content of the directory C:/ti/tirtos_c2000_2_00_02_36/products/bios_6_40_01_15/packages? There should be a path ti/platforms/tms320x28 there. Can you verify it's there and there are files Platform.xdc, Platform.xs and other in there?

  • Simon,
    I just noticed something strange about your version of tirtos_c2000. It contains SYS/BIOS 6.40.01.15, while the same version of tirtos_c2000 that I got from the App Center in CCS 6 contains SYS/BIOS 6.40.02.27. I don't know if that discrepancy has anything to do with the error, but I would like to know how did you install that version of tirtos_c2000?

  • Hi Sasha,

    Thank you for your help. Here is the complete output of the console:

     

    **** Build of configuration Debug for project VCB ****

     

    "c:\\ti\\ccsv6\\utils\\bin\\gmake" -k -j 4 all

    'Building file: ../VCB.cfg'

    'Invoking: XDCtools'

    "c:/ti/xdctools_3_30_01_25_core/xs" --xdcpath="c:/ti/tirtos_c2000_2_00_02_36/packages;c:/ti/tirtos_c2000_2_00_02_36/products/bios_6_40_01_15/packages;c:/ti/tirtos_c2000_2_00_02_36/products/ipc_3_10_01_11/packages;c:/ti/tirtos_c2000_2_00_02_36/products/ndk_2_23_01_01/packages;c:/ti/tirtos_c2000_2_00_02_36/products/uia_2_00_00_28/packages;c:/ti/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.C28_float -p ti.platforms.tms320x28:TMS320F28069 -r release -c "c:/ti/ccsv6/tools/compiler/c2000_6.2.5" --compileOptions "-g --optimize_with_debug" "../VCB.cfg"

    js: "C:/ti/xdctools_3_30_01_25_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.tms320x28'.  TI platforms are no longer shipped as part of XDCtools (c:\ti\xdctools_3_30_01_25_core).  Please ensure you are either using a pre-3.30 version of XDCtools or you have added a product that includes your platform support along the path 'C:/ti/tirtos_c2000_2_00_02_36/packages;C:/ti/tirtos_c2000_2_00_02_36/products/bios_6_40_01_15/packages;C:/ti/tirtos_c2000_2_00_02_36/products/ipc_3_10_01_11/packages;C:/ti/tirtos_c2000_2_00_02_36/products/ndk_2_23_01_01/packages;C:/ti/tirtos_c2000_2_00_02_36/products/uia_2_00_00_28/packages;C:/ti/ccsv6/ccs_base;c:\ti\xdctools_3_30_01_25_core/packages'.  Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.

    gmake: *** [configPkg/linker.cmd] Error 1

    gmake: Target `all' not remade because of errors.

     

    **** Build Finished ****

     

    I also have the path: C:\ti\tirtos_c2000_2_00_02_36\products\bios_6_40_02_27\packages ,with a different bios version.

    And I also found the platform.xdc and platform.xs files.

     

    I installed that version of tirtos_C2000 with the CCS6 AppCenter.

  • Simon,
    there is definitely something wrong with your TI-RTOS installation, if you have two SYS/BIOS versions under 'products'. TI-RTOS ships with one version of SYS/BIOS and the version number is hardcoded in various files used by CCS. I think you should uninstall your version of TI-RTOS C2000 2.00.02.36, delete it from the disk, and install a new version from http://downloads.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/tirtos/2_00_02_36/index_FDS.html. Then, install it through Window->Preferences->Code Composer Studio->RTSC->Products->Install New.

    I still tried to replicate that specific error output that you are seeing. The only way I could do it was by going to the directory ti/platforms/tms320x28/package and removing or renaming the file with the extension 'sch'. Can you check for that file? Other variants of a corrupted SYS/BIOS installation caused different errors. Even if that file is missing in your installation, it doesn't tell us much more, it would still mean that your TI-RTOS C2000 installation is corrupted and you should follow the steps I recommended above. 

  • Thank you very much for your support.

    I had to tick the right version of TI RTOS in the project properties and the error message was gone.