TI中文支持网
TI专业的中文技术问题搜集分享网站

Building Full Feature EtherCAT Application for AM335x ICEv2

我板子AM335x ICEv2,下载了最新的sysbios_ind_sdk,想要编译Building Full Feature EtherCAT Application,按照手册说明进行到到第五步,发现ecat_def.h没有TIESC_APPLICATION定义啊,是不是我哪里弄错了。谁有完整版本编译好的给我发一下啊。我邮箱007afei@163.com,谢谢。

5. Define macros in ecat_appl\EcatStack\ecat_def.h as required for your application. (a) Ensure that TIESC_HW is
set to 1. (b) For running default application, set TIESC_APPLICATION to 1 and CiA402_DEVICE to 0. For
SYSBIOS Industrial SDK 02.01.01 User Guide 35
running CiA402 application, set TIESC_APPLICATION to 0 and CiA402_DEVICE to 1.

fei zhang8:

回复 Jian Zhou:

按照说明build之后发现如下错误:

**** Build of configuration am335x_debug for project ecat_appl ****

"C:\\TI\\ccsv6\\utils\\bin\\gmake" -k all 'Building file: ../am335x_app.cfg''Invoking: XDCtools'"C:/ti/xdctools_3_31_02_38_core/xs" –xdcpath="C:/ti/bios_6_42_02_29/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A8F -p ti.platforms.evmAM3359 -r debug -c "C:/TI/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3" "../am335x_app.cfg"making package.mak (because of package.bld) …generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) …configuring am335x_app.xa8fg from package/cfg/am335x_app_pa8fg.cfg …generating custom ti.sysbios library makefile … js: "C:/TI/xdctools_3_31_02_38_core/packages/xdc/cfg/Main.xs", line 48: XDC runtime error: can't find program 'am335x_app.xa8fg's linker command template file: 'C:\ti\am335x_sysbios_ind_sdk_1.1.0.10\sdk/protocols/ethercat_slave/ecat_appl/ecat_appl.xdt' along the path C:/TI/bios_6_42_02_29/packages;C:/ti/xdctools_3_31_02_38_core/packages;..;gmake.exe: *** [package/cfg/am335x_app_pa8fg.xdl] Error 1gmake.exe: *** Deleting file `package/cfg/am335x_app_pa8fg.xdl'gmake.exe: *** [package/cfg/am335x_app_pa8fg.xdl] Deleting file `package/cfg/am335x_app_pa8fg.h'gmake.exe: *** [package/cfg/am335x_app_pa8fg.xdl] Deleting file `package/cfg/am335x_app_pa8fg.c'js: "C:/TI/xdctools_3_31_02_38_core/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.gmake: *** [configPkg/linker.cmd] Error 1gmake: Target `all' not remade because of errors.

**** Build Finished ****

是XDC版本有问题吗?我该怎么解决啊?

赞(0)
未经允许不得转载:TI中文支持网 » Building Full Feature EtherCAT Application for AM335x ICEv2
分享到: 更多 (0)