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.

MCU-PLUS-SDK-AM263X: system config isuee with multicore project and ETHERCAT module

Part Number: MCU-PLUS-SDK-AM263X


Hi everyone,


preface.
We would like to create an application for an industrial machine, in which we would like to use the cores made available by the platform AM 2634.


In particular we would like to have this subdivision:
core0: management of the ethercat application
core1: application of the machine
core2:hmi


now the problem arises when I put together the two projects for core 0 and core1, to create the system file and thus be able to share the memory. taken individually they work as expected.
But when I try to create a system project, I have problems with the syscfg, as if a project with industrial sdk is not compatible with the 'traditional' sdk. Do any of you know how to solve the problem?

I tried to create a multicore project (without ethercat), and when I opened the configuration it showed both cores, and with the top tab you had both, as shown in this link

dev.ti.com/.../node

Because it seems strange to me that with industrial I can only use one core, and do no coperate with the standard one.

Here what happen when i try to open the configuration tool in core1.

regards.

  • I think I'm getting kinda of the same problem but with another behaviour:

    When I try to open the syscfg of my projects that I want to use, it blocks me: 

  • Hi Issac,

    I have started looking at the issue. Let me try to get back by no later than early next week.

  • Hi Andrea, Issac,

    You can work with just Industrial Comms SDK, now to add IPC project to CCS along with CCS:

    1. Import Ethercat project into CCS- This you have already done

    2. Import IPC project from the location: ind_comms_sdk_am263x_09_00_00_04\mcu_plus_sdk, Do not import IPC from standalone installer of MCU SDK instead use the one that is packaged inside the INdustrial comms sdk.

    This should resolved your issue, let me know if you still face any issue?

  • Hi Nilabh,

    with your solution I am now able to have a single configuration with the two cores divided into the two tabs, as shown in the image below.

    Now I'm in a condition where, core 0 (with ethercat application) the code is generated, no error, I have the .out file.
    Instead, when I generate the code for core 1 (ipc_spinlock and sample core1),I get this error message in which indicate to me, that it cannot find the industrial resource. In your opinion, in addition to the solution suggested above, it is necessary to introduce other changes to ensure that manage to compile the system, and thus obtain appimage. Any suggestions are welcome.

    Building file: "C:/ti/ind_comms_sdk_am263x_09_01_00_03/mcu_plus_sdk/examples/drivers/ipc/ipc_spinlock_sharedmem/am263x-cc/r5fss0-1_nortos/Dev_config.syscfg"
    Invoking: SysConfig
    "C:/ti/sysconfig_1.18.0/sysconfig_cli.bat" --script "C:/ti/ind_comms_sdk_am263x_09_01_00_03/examples/industrial_comms/ethercat_slave_beckhoff_ssc_demo/am263x-cc/r5fss0-0_freertos/Dev_config.syscfg" --context "r5fss0-0" --script "C:/ti/ind_comms_sdk_am263x_09_01_00_03/mcu_plus_sdk/examples/drivers/ipc/ipc_spinlock_sharedmem/am263x-cc/r5fss0-1_nortos/Dev_config.syscfg" -o "syscfg" -s "C:/ti/mcu_plus_sdk_am263x_09_01_00_41/.metadata/product.json" --context "r5fss0-1" --part AM263x --package ZCZ --compiler ticlang
    Running script...
    subdir_rules.mk:9: recipe for target 'build-1867285679' failed
    g [Error]: No such resource: /industrial_comms/industrial_comms.syscfg.js
    Paths searched: 
    C:\ti\mcu_plus_sdk_am263x_09_01_00_41\source\industrial_comms\industrial_comms.syscfg.js
    C:\ti\mcu_plus_sdk_am263x_09_01_00_41\source\industrial_comms\.meta\industrial_comms.syscfg.js
    C:\ti\mcu_plus_sdk_am263x_09_01_00_41\source\.meta\industrial_comms\industrial_comms.syscfg.js
    C:\ti\ind_comms_sdk_am263x_09_01_00_03\examples\industrial_comms\ethercat_slave_beckhoff_ssc_demo\am263x-cc\r5fss0-0_freertos\industrial_comms\industrial_comms.syscfg.js
    C:\ti\ind_comms_sdk_am263x_09_01_00_03\examples\industrial_comms\ethercat_slave_beckhoff_ssc_demo\am263x-cc\r5fss0-0_freertos\industrial_comms\.meta\industrial_comms.syscfg.js
    C:\ti\ind_comms_sdk_am263x_09_01_00_03\examples\industrial_comms\ethercat_slave_beckhoff_ssc_demo\am263x-cc\r5fss0-0_freertos\.meta\industrial_comms\industrial_comms.syscfg.js
    C:\ti\ind_comms_sdk_am263x_09_01_00_03\mcu_plus_sdk\examples\drivers\ipc\ipc_spinlock_sharedmem\am263x-cc\r5fss0-1_nortos\industrial_comms\industrial_comms.syscfg.js
    C:\ti\ind_comms_sdk_am263x_09_01_00_03\mcu_plus_sdk\examples\drivers\ipc\ipc_spinlock_sharedmem\am263x-cc\r5fss0-1_nortos\industrial_comms\.meta\industrial_comms.syscfg.js
    C:\ti\ind_comms_sdk_am263x_09_01_00_03\mcu_plus_sdk\examples\drivers\ipc\ipc_spinlock_sharedmem\am263x-cc\r5fss0-1_nortos\.meta\industrial_comms\industrial_comms.syscfg.js
        at t.ResourceLoader.findPathAndLoader (C:\ti\sysconfig_1.18.0\dist\webpack:\src\pinmux\services\resources\metaContentLoaders\resourceLoader.ts:287:11)
        at t.ResourceLoader.loadResource (C:\ti\sysconfig_1.18.0\dist\webpack:\src\pinmux\services\resources\metaContentLoaders\resourceLoader.ts:230:43)
        at t.ResourceLoader.getResource (C:\ti\sysconfig_1.18.0\dist\webpack:\src\pinmux\services\resources\metaContentLoaders\resourceLoader.ts:338:15)
        at iteratee (C:\ti\sysconfig_1.18.0\dist\webpack:\src\pinmux\services\product\topModules.ts:85:39)
        at baseEach (C:\ti\sysconfig_1.18.0\dist\webpack:\node_modules\lodash\lodash.js:530:11)
        at Function.each (C:\ti\sysconfig_1.18.0\dist\webpack:\node_modules\lodash\lodash.js:9409:52)
        at iteratee (C:\ti\sysconfig_1.18.0\dist\webpack:\src\pinmux\services\product\topModules.ts:82:6)
        at baseEach (C:\ti\sysconfig_1.18.0\dist\webpack:\node_modules\lodash\lodash.js:530:11)
        at Function.each (C:\ti\sysconfig_1.18.0\dist\webpack:\node_modules\lodash\lodash.js:9409:52)
        at new t.TopModules (C:\ti\sysconfig_1.18.0\dist\webpack:\src\pinmux\services\product\topModules.ts:80:5)
    g [Error]: No such resource: /industrial_comms/industrial_comms.syscfg.js

  • Hi Andrea,

    Could you please share your project here with me?

  • Hi Nilabh,

    Of course, they are only the original SDK projects, there is no specific software from our company. Below is what was requested, let me know if you need other information from me, in order to facilitate the resolution of the problem.

    And tell me if you can open the project and if the export I did is correct. Below also the version of the tool used.

    Kind regards.

    Code Composer Studio Version: 12.7.0.00007

    Ti_ethercat_multicore.zip

  • Hi Andrea,

    Let me try to reproduce this on my side, will try to share the update by tomorrow.

  • Hi Andrea,

    This seems to be a known issue with system project on SDKs till 9.1. This will be fixed in SDK9.2 release onwards.

  • Hi Nilabh,

    you know  the date when will be release this new SDK 9.2 version?

    kind regards

  • Hi Andrea,

    This is already released on ti.com