Hi all,
Our customer is facing a issue of EtherCAT compiler with CCS 6.2.
Tools information:
H/W: AM437x IDK EVM
S/W:
1. SYSBIOSSDK-IND-SITARA v02.01.02.02
2. CCS 6.2
3. SYS/BIOS 6_42_03_35
While compiler the ethercat_slave by CCS6.2, there is a issue and error log as below.
However, the same configuraion with CCS 6.1, the issue is no longer exist.
We try to install the same version of GCC compiler as CCS 6.1 to CCS 6.2, it does not work.
It must uninstall CCS 6.2 and re-install CCS 6.1 then this issue can be solved.
Is there anything going wrong with CCS 6.2?
Anything or any configuration we miss for CCS 6.2?
Best Regards,
Wayne Kuo
Error log:
**** Build of configuration am437x_debug for project ethercat ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
'Building file: ../am437x_app.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_32_01_22_core/xs" --xdcpath="C:/ti/bios_6_42_03_35/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.A8Fnv -p ti.platforms.evmAM437X -r debug -c "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3" "../am437x_app.cfg"
making package.mak (because of package.bld) ...
ti.targets.arm.elf.A8Fnv: warning: exec of 'C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/cl470 --compiler_revision' failed:java.io.IOException: Cannot run program "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/cl470" (in directory "."): CreateProcess error=2, 系統找不到指定的檔案。; check tools installation
ti.targets.arm.elf.A8Fnv: warning: exec of 'C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/cl470 --compiler_revision' failed:java.io.IOException: Cannot run program "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_9-2015q3/bin/cl470" (in directory "."): CreateProcess error=2, 系統找不到指定的檔案。; check tools installation
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring am437x_app.xea8fnv from package/cfg/am437x_app_pea8fnv.cfg ...
subdir_rules.mk:7: recipe for target 'build-1271787055' failed
error: ti.platforms.evmAM437X.Platform: "C:/ti/bios_6_42_03_35/packages/ti/platforms/evmAM437X/Platform.xs", line 60: ti.platforms.evmAM437X.Platform : The build target ti.targets.arm.elf.A8Fnv is incompatible with this platform.
js: "C:/ti/bios_6_42_03_35/packages/ti/platforms/evmAM437X/Platform.xs", line 65: TypeError: Cannot read property "attrs" from undefined (C:/ti/xdctools_3_32_01_22_core/packages/xdc/platform/Utils.xs#87)
"./package/cfg/am437x_app_pea8fnv.cfg", line 191
gmake.exe: *** [package/cfg/am437x_app_pea8fnv.xdl] Error 1
js: "C:/ti/xdctools_3_32_01_22_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake: *** [build-1271787055] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****