大家好,
硬件是使用的3359ice v2的板子,现在下载软件版本号如下:
am335x_sysbios_ind_sdk_01.01.02.01
ccs用的是 Version: 6.1.3.00034
倍福的SSC5.10
下面是配置界面截图:
但是我编译的时候有如下提示:
configured manually. 'Finished building: ../EcatStack/tiescutils.c' ' ' 'Building target: ecat_appl.out' 'Invoking: ARM Linker' "D:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/bin/armcl" -mv7A8 --code_state=32 --float_support=VFPv3 -me -g --gcc --define=am3359 --diag_warning=225 --display_error_number --abi=eabi -z -m"ecat_appl.map" --stack_size=0x800 --heap_size=0x800 -i"D:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/lib" -i"D:/ti/ccsv6/tools/compiler/ti-cgt-arm_15.12.1.LTS/include" -i"D:/ti/am335x_sysbios_ind_sdk_01.01.02.01/sdk/platform/am335x/lib" -i"D:/ti/am335x_sysbios_ind_sdk_01.01.02.01/sdk/os_drivers/lib" -i"D:/ti/am335x_sysbios_ind_sdk_01.01.02.01/sdk/protocols/ethercat_slave/stack_lib" --reread_libs --define=A8_CORE=1 --warn_sections --xml_link_info="ecat_appl_linkInfo.xml" --rom_model -o "ecat_appl.out" "./EcatStack/SampleApplicationInterface.obj" "./EcatStack/aoeappl.obj" "./EcatStack/bootmode.obj" "./EcatStack/cia402appl.obj" "./EcatStack/coeappl.obj" "./EcatStack/diag.obj" "./EcatStack/ecataoe.obj" "./EcatStack/ecatappl.obj" "./EcatStack/ecatcoe.obj" "./EcatStack/ecateoe.obj" "./EcatStack/ecatfoe.obj" "./EcatStack/ecatslv.obj" "./EcatStack/ecatsoe.obj" "./EcatStack/el9800appl.obj" "./EcatStack/el9800hw.obj" "./EcatStack/emcy.obj" "./EcatStack/eoeappl.obj" "./EcatStack/fc1100hw.obj" "./EcatStack/foeappl.obj" "./EcatStack/mailbox.obj" "./EcatStack/mcihw.obj" "./EcatStack/objdef.obj" "./EcatStack/sampleappl.obj" "./EcatStack/sdoserv.obj" "./EcatStack/testappl.obj" "./EcatStack/tiesc_appreload.obj" "./EcatStack/tiesc_cache_disable.obj" "./EcatStack/tiesc_fw_cir_buff.obj" "./EcatStack/tiescappl.obj" "./EcatStack/tiescbsp.obj" "./EcatStack/tieschw.obj" "./EcatStack/tiescutils.obj" -l"configPkg/linker.cmd" -l"D:/ti/am335x_sysbios_ind_sdk_01.01.02.01/sdk/platform/am335x/lib/am335x_platform.lib" -l"D:/ti/am335x_sysbios_ind_sdk_01.01.02.01/sdk/starterware/binary/armv7a/cgt_ccs/am335x/drivers/drivers.lib" -l"D:/ti/am335x_sysbios_ind_sdk_01.01.02.01/sdk/starterware/binary/armv7a/cgt_ccs/am335x/evmAM335x/platform/platform.lib" -l"D:/ti/am335x_sysbios_ind_sdk_01.01.02.01/sdk/os_drivers/lib/sys_bios_driver.lib" -llibc.a <Linking> warning #10247-D: creating output section ".text" without a SECTIONSspecification warning #10247-D: creating output section ".const" without a SECTIONSspecification warning #10247-D: creating output section ".data" without a SECTIONSspecification warning #10247-D: creating output section ".bss" without a SECTIONSspecification warning #10247-D: creating output section >> Compilation failure makefile:176: recipe for target 'ecat_appl.out' failed"ti.sysbios.family.arm.a8.mmuTableSection" without a SECTIONS specification warning #10247-D: creating output section "xdc.meta" without a SECTIONSspecification warning #10247-D: creating output section ".vecs" without a SECTIONSspecification warning #10247-D: creating output section ".bss:.common" without a SECTIONSspecification warning #10247-D: creating output section ".cinit" without a SECTIONSspecificationundefinedfirst referencedsymbolin file-------------------------app_reload_code_run./EcatStack/tiescutils.obj app_reload_code_size ./EcatStack/tiescutils.obj app_reload_code_start ./EcatStack/tiescutils.obj error #10234-D: unresolved symbols remain error #10010: errors encountered during linking; "ecat_appl.out" not built gmake: *** [ecat_appl.out] Error 1 gmake: Target 'all' not remade because of errors. **** Build Finished ****
我想着应该是由于链接导致的错误,但是我无法通过提示找到争取的解决方案,或者补发分辨出具体哪里出了错误,请高手给与提示,谢谢。
Yaoming Qin:
请问您编译的是哪个工程?
jason Lee5:
回复 Yaoming Qin:
hi,Yaoming
我编译的工程位于下面的目录:
D:\ti\am335x_sysbios_ind_sdk_01.01.02.01\sdk\protocols\ethercat_slave\ecat_appl
还有个疑问,对于ethercat slave 这个上面的这个所谓的Full Feature Demo Application与Simple Demo Application 在ethercat 的功能上有哪些不一样?谢谢
jason Lee5:
回复 Jian Zhou:
hi,Jian Zhou
通过改变版本已经可以通过编译了,但是,我想把编译好的程序放到spi flash,指导书给出的步骤为:
This section describes how to flash a binary image to the SPI flash on ICE.The pre-built CCS tool for SPI flash(isdk_spi_flasher.out) can be found in $(IA_SDK_HOME)\tools\flashing tools\SPI_Flash\pre_built\CCS_based.
Make sure that USB cable is connected to PC from ICE
Launch CCS
Launch Target configuration for XDS100 emulator. See " Target Configuration" section for details.
Load GEL file and execute "AM335x_EVM_Initialization" or "AM3359_ICE_Initialization" script(See "GEL File Loading" section for details), if not done.This is to initialize DDR and On-Chip RAM. GEL file can be found in $(IA_SDK_HOME)\tools\gel
Load pre-built ${IA_SDK_HOME}\tools\flashing_tools\SPI_Flash\pre_built\CCS_based\isdk_spi_flasher.out to the ICE EVM. See Launching and Debugging application section for details.
Ensure that the binary image (e.g. MLO or ethercat_SPI.bin or profibus_slave_SPI.bin) to be flashed is present in the Windows Machine.
Enter the board type when prompted as shown below.Enter the board type [0-ICE, 1-IDK ]Enter the operation when prompted as shown below.
Enter Operation [1 - Flash ] [2 - Erase] :......................但是步骤上说会有提示,但是我没有看到那里有提示。能否给与提示,谢谢。ps:板子通过jtag转usb的连接线到电脑上,看到电脑上有个串口,连接上之后,只会提示如下信息:TI EtherCAT Demo Application Build – 3.3.0 – running on ICE Ver 2TI Industrial SDK Version : IASDK 2.1.2.2Device name : AM335XChip Revision : AM335x [PG2.1]ARM Clock rate : 600Device Type : EtherCAT Device
TI EtherCAT Demo Application Build – 3.3.0 – running on ICE Ver 2
best wishes
jason
Yaoming Qin:
回复 jason Lee5:
jason lee5
hi,Yaoming
我编译的工程位于下面的目录:
D:\ti\am335x_sysbios_ind_sdk_01.01.02.01\sdk\protocols\ethercat_slave\ecat_appl
还有个疑问,对于ethercat slave 这个上面的这个所谓的Full Feature Demo Application与Simple Demo Application 在ethercat 的功能上有哪些不一样?谢谢
Lyu Frank:
回复 Yaoming Qin:
Hi, jason Lee5 ,请问您邮箱多少。
jason Lee5:
回复 Lyu Frank:
woshidahuaidan2011爱他hotmail点考木