CODECOMPOSER: CCS 20.1.0.6: a couple of questions for creating new projects

Part Number: CODECOMPOSER
Other Parts Discussed in Thread: AM2434, SYSCONFIG

Tool/software:

Hi,

I'm using CCS 20.1.0.6 and the AM2434 EVM board.

I got two questions:

1. When creating new projects via File -> Create New Project..., it seems the latest MCU+ SDK (v10.1.0.32) must be installed. Is it possible to use an old SDK that has already been installed in C:\ti?

2. Are there any steps for creating a system level project, and it includs two sub-project for r5fss0-0 and r5fss0-1?

Thanks,

  • Hi Xu,

    1. When creating new projects via File -> Create New Project..., it seems the latest MCU+ SDK (v10.1.0.32) must be installed. Is it possible to use an old SDK that has already been installed in C:\ti?

    You can change the MCU+SDK version once the project is created. Open project properties and navigate to General -> Dependencies -> MCU+SDK for <device>.

    Please refer below image.

    2. Are there any steps for creating a system level project, and it includs two sub-project for r5fss0-0 and r5fss0-1?

    While selecting a template you can choose the empty system project template to create System project under CCS.

    Please refer below image.

    Regards,

    Tushar

  • Hi Tushar,

    After changing the SDK dependency from 10.1.0.32 to 9.2.0.50, building project will fail. See the messages below.

    [10]Building file: "../example.syscfg"
    [11]Invoking: SysConfig
    [12]"C:/ti/ccs2010/ccs/utils/sysconfig_1.23.0/sysconfig_cli.bat" --script "C:/work/temp/ethernet_accessory/r5fss0-1/example.syscfg" -o "syscfg" -s "C:/ti/ind_comms_sdk_am243x_09_02_00_24/mcu_plus_sdk/.metadata/product.json" -p "ALV" -r "ALV" --context "r5fss0-0" --compiler ticlang
    [13]Warning: SysConfig has been updated to use standard TI part numbers. The device AM2434 has been automatically selected. If this is not the desired please open SysConfig to change it.
    [14]Running script...
    [15]subdir_rules.mk:9: recipe for target 'build-1235228049' failed
    [16]Error: Exception occurred calling scripting.addModule(): No such resource: /kernel/dpl/dpl_cfg.syscfg.js
    [17]Paths searched:
    [18]C:\ti\ind_comms_sdk_am243x_09_02_00_24\mcu_plus_sdk\source\kernel\dpl\dpl_cfg.syscfg.js
    [19]C:\ti\ind_comms_sdk_am243x_09_02_00_24\mcu_plus_sdk\source\kernel\dpl\.meta\dpl_cfg.syscfg.js
    [20]C:\ti\ind_comms_sdk_am243x_09_02_00_24\mcu_plus_sdk\source\kernel\.meta\dpl\dpl_cfg.syscfg.js
    [21]C:\ti\ind_comms_sdk_am243x_09_02_00_24\mcu_plus_sdk\source\.meta\kernel\dpl\dpl_cfg.syscfg.js
    [22]C:\ti\ind_comms_sdk_am243x_09_02_00_24\source\kernel\dpl\dpl_cfg.syscfg.js
    [23]C:\ti\ind_comms_sdk_am243x_09_02_00_24\source\kernel\dpl\.meta\dpl_cfg.syscfg.js
    [24]C:\ti\ind_comms_sdk_am243x_09_02_00_24\source\kernel\.meta\dpl\dpl_cfg.syscfg.js
    [25]C:\ti\ind_comms_sdk_am243x_09_02_00_24\source\.meta\kernel\dpl\dpl_cfg.syscfg.js
    [26]C:\work\temp\ethernet_accessory\r5fss0-1\kernel\dpl\dpl_cfg.syscfg.js
    [27]C:\work\temp\ethernet_accessory\r5fss0-1\kernel\dpl\.meta\dpl_cfg.syscfg.js
    [28]C:\work\temp\ethernet_accessory\r5fss0-1\kernel\.meta\dpl\dpl_cfg.syscfg.js
    [29]C:\work\temp\ethernet_accessory\r5fss0-1\.meta\kernel\dpl\dpl_cfg.syscfg.js
    [30] at Object.addModule (C:\ti\ccs2010\ccs\utils\sysconfig_1.23.0\dist\webpack:\sysconfig\src\pinmux\services\scripting\scriptingGuard.ts:46:10)
    [31] at scriptFunc (C:\work\temp\ethernet_accessory\r5fss0-1\example.syscfg:31:27)
    [32] at cb (C:\ti\ccs2010\ccs\utils\sysconfig_1.23.0\dist\webpack:\sysconfig\src\pinmux\services\scripting\runScript.ts:112:7)
    [33] at withDeprecatedAccess (C:\ti\ccs2010\ccs\utils\sysconfig_1.23.0\dist\webpack:\sysconfig\src\pinmux\services\deprecatedAccessGuard.ts:14:10)
    [34] at runAsUserScript (C:\ti\ccs2010\ccs\utils\sysconfig_1.23.0\dist\webpack:\sysconfig\src\pinmux\services\scripting\scriptingGuard.ts:61:10)
    [35] at iteratee (C:\ti\ccs2010\ccs\utils\sysconfig_1.23.0\dist\webpack:\sysconfig\src\pinmux\services\scripting\runScript.ts:110:5)
    [36] at baseEach (C:\ti\ccs2010\ccs\utils\sysconfig_1.23.0\dist\webpack:\sysconfig\node_modules\lodash\lodash.js:530:11)
    [37] at Function.each (C:\ti\ccs2010\ccs\utils\sysconfig_1.23.0\dist\webpack:\sysconfig\node_modules\lodash\lodash.js:9409:52)
    [38] at iteratee (C:\ti\ccs2010\ccs\utils\sysconfig_1.23.0\dist\webpack:\sysconfig\src\pinmux\services\scripting\runScript.ts:108:6)
    [39] at Pt (C:\ti\ccs2010\ccs\utils\sysconfig_1.23.0\dist\webpack:\sysconfig\node_modules\lodash\lodash.js:530:11)
    [40]gmake: *** [build-1235228049] Error 1
    [41]gmake: Target 'all' not remade because of errors.
    [42]**** Build Finished

    Regards,

    Ross

  • Hi Tushar,

    FYI, I need to use ind_comms_sdk_am243x_09_02_00_24 which includes MCU+ SDK v9.2.0.50.

    Regards,

    Ross

  • Hi Ross,

    If you need to use mcu_plus_sdk with indus_comms_sdk, please import the example provided in indus_comms_sdk. There is mcu_plus_sdk which is provided as a part of indus_comms_sdk and is compatible with it. All the path and dependencies are appropriately modified in the SDK provided with indus_comms_sdk.

    Regards,

    Tushar

  • Hi Tushar,

    Is this the only way to create my project? After importing an example, do I need to manually change everything like the project name and the makefile etc.?

    Regards,

    Ross

  • Hi Ross,

    There are empty examples provided in the SDK. All you need is to import the project and change it's name to your project name. You do not need to modify the makefiles.

    Modify the code according to your use case. Optionally you can also change the name of the generated *.out files.

    Please refer below image.

    Regards,

    Tushar

  • Hi Tushar

    Could you help to give some tips about the build error Ross posted?

    Thanks

    Zekun

  • Hi Zekun,

    [16]Error: Exception occurred calling scripting.addModule(): No such resource: /kernel/dpl/dpl_cfg.syscfg.js

    As you can see the above error is reported because the path to dpl_cfg.syscfg.js is not found.

    It is recommended to import the already provided example and modify it according to use case to avoid such issues and ease of development.

    Regards,

    Tushar

  • Hi Tushar,

    I guess this is because the old SDK 9.2.0.50 doesn't have this file. It looks like I can only import the example projects from old SDK then change the name for creating my project.

    Regards,

    Ross

  • Hi Ross,

    It looks like I can only import the example projects from old SDK then change the name for creating my project.

    Yes, correct.

    Regards,

    Tushar