TI论坛
直播中

杨丽

7年用户 156经验值
私信 关注

AM335x ICEv2下载了最新的sy***ios_ind_sdk,发现ecat_def.h没有TIESC_APPLICATION定义,请问这是为什么?

本帖最后由 一只耳朵怪 于 2018-6-21 15:29 编辑

我板子AM335x ICEv2,下载了最新的sy***ios_ind_sdk,想要编译Building Full Feature EtherCAT Application,按照手册说明进行到到第五步,发现ecat_def.h没有TIESC_APPLICATION定义啊,是不是我哪里弄错了。谁有完整版本编译好的给我发一下啊。我邮箱007afei@163.com,谢谢。
5. Define macros in ecat_applEcatStackecat_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.

回帖(3)

罗兰君

2018-6-21 06:15:26
ind_idk的下载网页上应该就有prebuild image  啊
举报

杨丽

2018-6-21 06:31:34
引用: 344868615qq 发表于 2018-6-21 06:15
ind_idk的下载网页上应该就有prebuild image  啊

按照说明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.sy***ios 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:tiam335x_sy***ios_ind_sdk_1.1.0.10sdk/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 1
gmake.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 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
是XDC版本有问题吗?我该怎么解决啊?
举报

曹丽娜

2018-6-21 06:50:25
引用: tyewybvwe 发表于 2018-6-21 06:31
按照说明build之后发现如下错误:

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

你为什么用的gcc编译的,这个不对
                                                                         如果我的回答解决了您的问题,请确认答案,谢谢!:)
举报

更多回帖

发帖
×
20
完善资料,
赚取积分