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.
Hello, I am using the AM243X to communicate with EntherCAT and the Demo I sampled was ethercat_slave_beckhoff_ssc_demo。
Copy the generated files to ${SDK_INSTALL_PATH}/source/industrial_protocols/ethercat_slave/beckhoff_stack/stack_sources/
.
Building file: "C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/coeappl.c" Invoking: Arm Compiler "C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source/kernel/freertos/config/am243x/r5f" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source/industrial_protocols/ethercat_slave/beckhoff_stack/stack_sources" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source/industrial_protocols/ethercat_slave/beckhoff_stack/stack_hal" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/examples/industrial_protocols/ethercat_slave_beckhoff_ssc_demo/" -DSOC_AM243X -DTIESC_APPLICATION=1 -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wno-self-assign -Wno-parentheses-equality -Wno-tautological-constant-out-of-range-compare -Wno-address-of-packed-member -Wno-tautological-pointer-compare -MMD -MP -MF"coeappl.d_raw" -MT"Src/coeappl.o" -I"C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"Src/coeappl.o" "C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/coeappl.c" subdir_rules.mk:16: recipe for target 'Src/coeappl.o' failed In file included from C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/coeappl.c:98: In file included from C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/ecatslv.h:35: In file included from C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/tieschw.h:16: C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/tiescbsp.h:17:10: fatal error: 'xdc/std.h' file not found #include <xdc/std.h> ^~~~~~~~~~~ 1 error generated. gmake: *** [Src/coeappl.o] Error 1 Building file: "C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/ecatappl.c" Invoking: Arm Compiler "C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/bin/tiarmclang.exe" -c -mcpu=cortex-r5 -mfloat-abi=hard -mfpu=vfpv3-d16 -mlittle-endian -I"C:/ti/ccs1040/ccs/tools/compiler/ti-cgt-armllvm_1.3.0.LTS/include/c" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source/kernel/freertos/FreeRTOS-Kernel/include" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source/kernel/freertos/portable/TI_ARM_CLANG/ARM_CR5F" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source/kernel/freertos/config/am243x/r5f" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source/industrial_protocols/ethercat_slave/beckhoff_stack/stack_sources" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/source/industrial_protocols/ethercat_slave/beckhoff_stack/stack_hal" -I"C:/ti/mcu_plus_sdk_am243x_08_00_00_21/examples/industrial_protocols/ethercat_slave_beckhoff_ssc_demo/" -DSOC_AM243X -DTIESC_APPLICATION=1 -D_DEBUG_=1 -gstrict-dwarf -g -Wall -Wno-gnu-variable-sized-type-not-at-end -Wno-unused-function -Wno-self-assign -Wno-parentheses-equality -Wno-tautological-constant-out-of-range-compare -Wno-address-of-packed-member -Wno-tautological-pointer-compare -MMD -MP -MF"ecatappl.d_raw" -MT"Src/ecatappl.o" -I"C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Debug/syscfg" -o"Src/ecatappl.o" "C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/ecatappl.c" subdir_rules.mk:23: recipe for target 'Src/ecatappl.o' failed In file included from C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/ecatappl.c:95: In file included from C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/ecatslv.h:35: In file included from C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/tieschw.h:16: C:/workspace/ethercat_slave_beckhoff_ssc_demo_am243x-lp_r5fss0-0_freertos_ti-arm-clang/Src/tiescbsp.h:17:10: fatal error: 'xdc/std.h' file not found #include <xdc/std.h> ^~~~~~~~~~~ 1 error generated. gmake: *** [Src/ecatappl.o] Error 1
It has a gmake file compilation error and a fatal error where the xdc/std.h file is missing.
So, can automatically generated source files from TI AM335X samples (Texas instruments incorporated) be applied to the AM243X?
No reference files found to migrate.
And, The source files automatically generated by SSC tool are missing 'appllnterface.h' and 'xdc/std.h'.
Hello,
I do not suspect the automatically generated source files for AM335x to work for AM243x, but I will need to dig into this a bit and get back to you.
Regards,
Sahin