CC26XX-RESOURCES: Upgrade of CC26XX SDK

Part Number: CC26XX-RESOURCES
Other Parts Discussed in Thread: SYSCONFIG

When trying to migrate the project to current versions of the tool chain (CCS V21.0, compiler V20.2.7.LTS, XDC tools V3.62.1.15 and SimpleLink CC13XX CC26XX SDK V8.33.0.16) I succeeded to import into the new CCS, change the compiler and the XDC toos. When switching to SDK V8.33 I first get some errors reported by SysConfig concerning the RTOS, UART, some BLE and GPIO settings, but I was able to fix these by changing the .syscfg file and then adopting some values in SysConfig, as soon as it opens. But finally when generating the project I'm stuck with the error message:

[1]js: "C:/ti/xdctools_3_62_01_15_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: Error: Can't find the platform package 'ti.platforms.simplelink'.  TI platforms are no longer shipped as part of XDCtools (C:\ti\xdctools_3_62_01_15_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/simplelink_cc13xx_cc26xx_sdk_8_33_00_16;C:/ti/xdctools_3_62_01_15_core/packages;C:/ti/simplelink_cc13xx_cc26xx_sdk_8_33_00_16/source;C:/ti/simplelink_cc13xx_cc26xx_sdk_8_33_00_16/kernel/tirtos/packages;C:/ti/simplelink_cc13xx_cc26xx_sdk_8_33_00_16/kernel/tirtos7/packages;C:\ti\xdctools_3_62_01_15_core/packages'.  Check that this path names a directory containing the necessary platform support and that the platform name is properly spelled.

This seems to be caused by the fact that in contrast to SDK V4.10 the new SDK V8.33 does not contain such platform definitions. How to solve this? Is there any other location where to retrieve these platform definitions from? Any other way to migrate from SDK V4.10 to V8.33?

  • Hi !

    Could you try to open your project settings in CCS, head to "Dependencies", and take a screenshot of the project dependencies that you have ?
    Does this project still build in your old CCS version ?

    Kind regards,
    Lea

  • Hello Lea.

    The project builds fine when using the old toolchain CCS V10.4.0, TI ARM compiler V20.2.1, XDC tools V3.61.0.16 and SDK V4.10.0.78 (see 
       FC2_CCS-V10_prjsettings.png and 
     FC2_CCS-V10_tooldeps.png).

    It still builds when using CCS V21.0.0, TI ARM compiler V20.2.7, XDC tools V3.62.1.15 and SDK V4.10.0.78 (see 
     FC2_CCS-V21_prjsettings.png and 
     FC2_CCS-V21_tooldeps_SDK-V4_ok.png).

    It does not build any more when switching to SDK V8.33.0.16, even after doing certain adaptions via SysConfig (see 
     FC2_CCS-V21_tooldeps_SDK-V8_notworking.png)

    If you need any further information, don't hesitate to come back to me.

    Best regards

    Josef

  • Hi !

    When looking deeper into what causes the error, what happens is that the XDCtools is looking for a package.xdc file that would be inside the relative path "ti/platforms/simplelink/". This path and this file does exist in the SDK version 6.10 under C:\ti\simplelink_cc13xx_cc26xx_sdk_6_10_00_29\kernel\tirtos\packages\ti\platforms\simplelink. However, TI has deprecated ti-rtos in favor of either FreeRTOS or ti-rtos7.

    For me, your issue stems from your project trying to use TI-rtos in a SDK that does not support it anymore, which means the \kernel\tirtos\packages\ti\platforms\simplelink path does not exist anymore. You can see in the migration guide of the SDK that starting from version 6.20, it assumes that you are using either FreeRTOS or TI-RTOS7. If your project was indeed build using TI-RTOS a few years ago, you should follow the TI-RTOS to TI-RTOS7 migration guide, which should fix your build error.

    If this doesn't fix your error, please do tell me and I'll continue looking for solutions.

    Kind regards,
    Lea

  • Good morning Lea.

    Thanks for your very fast and helpful support :-)

    I was not aware that there are fundamental differences (especially concerning the RTOS support) between SDK V4 and the up-to-date V8.For the current project (which is in maintenance phase now), I will stay with SDK V4.10 and TI-RTOS.

    For the next project version I may try to migrate to SDK V8.33 (or whatever will be available then) and change to FreeRTOS (which we are already using in a C28x based project). I assume  I will be able to do this thanks to the information you sent me.

    Best regards

    Josef