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

AMIC11x Generating Project files 失敗

Other Parts Discussed in Thread:TLK105L, TLK105

請問是哪裡設定錯誤??

無法產生專案檔

8765.projectCreate.rar

Louis chou:

CCS_INSTALL_DIR 路徑錯誤,已解決

,

Nancy Wang:

感谢分享!

,

Louis chou:

training.ti.com/demonstrating-ddr-less-ethercat-slave-amic110
按照上面網址欲建立AMIC11x ethercat slave 專案,跳過 gmake步驟,因為 C:\ti\pdk_am335x_1_0_17\packages路徑下沒有 gmake程序
IDE import project後,目前無法成功編譯專案,錯誤訊息如下:

Building target: "ethercat_slave_full_AMIC11x_arm.out"
Invoking: GNU Linker
"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe" -mtune=cortex-a8 -Dam3359 -DSOC_AM335x -DiceAMIC11x -DAM335X_FAMILY_BUILD -DNO_UART_MSG_APP -DTIESC_APPLICATION=1 -DDISABLE_UART_PRINT -DAMIC11X_ONCHIP_MEM_MODE -Os -ffunction-sections -fdata-sections -gstrict-dwarf -Wall -mno-unaligned-access -flto -fuse-linker-plugin -mthumb -Wl,-Map,"ethercat_slave_full_AMIC11x_arm.map" -nostartfiles -nodefaultlibs -static -Wl,–gc-sections -L"C:/ti/bios_6_76_03_01/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/hard" -L"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/lib/gcc/arm-none-eabi/7.3.1/hard" -Wl,–defsym,STACKSIZE=0x1C000 -Wl,–defsym,HEAPSIZE=0x400 -mthumb-interwork -Wl,–start-group –specs=nano.specs -o"ethercat_slave_full_AMIC11x_arm.out" "./GPIO_soc.o" "./board_dp83822.o" "./board_gpioLed.o" "./board_i2cLed.o" "./board_mcspi.o" "./board_misc.o" "./board_phy.o" "./board_platform.o" "./board_spi.o" "./board_tlk105.o" "./board_tlkphy.o" "./delay_us.o" "./iceAMIC110.o" "./pruicss_soc.o" "./tiesc_soc.o" "./tiescphy_tlk105l.o" "./EcatStack/SampleApplicationInterface.o" "./EcatStack/aoeappl.o" "./EcatStack/bootloaderappl.o" "./EcatStack/bootmode.o" "./EcatStack/cia402appl.o" "./EcatStack/coeappl.o" "./EcatStack/diag.o" "./EcatStack/ecataoe.o" "./EcatStack/ecatappl.o" "./EcatStack/ecatcoe.o" "./EcatStack/ecateoe.o" "./EcatStack/ecatfoe.o" "./EcatStack/ecatslv.o" "./EcatStack/ecatsoe.o" "./EcatStack/el9800appl.o" "./EcatStack/el9800hw.o" "./EcatStack/emcy.o" "./EcatStack/eoeappl.o" "./EcatStack/fc1100hw.o" "./EcatStack/foeappl.o" "./EcatStack/mailbox.o" "./EcatStack/mcihw.o" "./EcatStack/objdef.o" "./EcatStack/sampleappl.o" "./EcatStack/sdoserv.o" "./EcatStack/testappl.o" "./EcatStack/tiesc_fw_cir_buff.o" "./EcatStack/tiesc_spi_master.o" "./EcatStack/tiesc_spi_slave.o" "./EcatStack/tiescappl.o" "./EcatStack/tiescbsp.o" "./EcatStack/tieschw.o" "./EcatStack/tiescmiscappl.o" "./EcatStack/tiescutils.o" "./EcatStack/tiescutils_spi_master.o" "./EcatStack/tiescutils_spi_slave.o" "./osal/ClockP_tirtos.o" "./osal/EventP_tirtos.o" "./osal/MailboxP_tirtos.o" "./osal/MiscP_tirtos.o" "./osal/OSP_nonos.o" "./osal/OSP_tirtos.o" "./osal/SwiP_tirtos.o" "./osal/TaskP_nonos.o" "./osal/TaskP_tirtos.o" "C:/ti/PRU-ICSS-EtherCAT_Slave_01.00.08.01/protocols/ethercat_slave/ecat_appl/EcatStack/TcHelper.lib" -Wl,-T"configPkg/linker.cmd" -Wl,–start-group -lrdimon -lgcc -lc -Wl,–end-group
makefile:209: recipe for target 'ethercat_slave_full_AMIC11x_arm.out' failed
C:/ti/PRU-ICSS-EtherCAT_Slave_01.00.08.01/protocols/ethercat_slave/ecat_appl/iceAM335x/tiesc_soc.c:94:23: warning: type of 'pruss_config' does not match original declaration [-Wlto-type-mismatch]extern PRUICSS_Config pruss_config[2 + 1];^
C:/ti/pdk_am335x_1_0_17/packages/ti/drv/pruss/soc/am335x/pruicss_soc.c:88:16: note: array types have different boundsPRUICSS_Config pruss_config[PRUICCSS_INSTANCE_MAX] = {^
C:/ti/pdk_am335x_1_0_17/packages/ti/drv/pruss/soc/am335x/pruicss_soc.c:88:16: note: 'pruss_config' was previously declared here
c:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: error: ethercat_slave_full_AMIC11x_arm.out uses VFP register arguments, c:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/thumb\libgcc.a(_udivmoddi4.o) does not
c:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file c:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/../lib/gcc/arm-none-eabi/7.2.1/thumb\libgcc.a(_udivmoddi4.o)
collect2.exe: error: ld returned 1 exit status
gmake[1]: *** [ethercat_slave_full_AMIC11x_arm.out] Error 1
gmake: *** [all] Error 2
makefile:205: recipe for target 'all' failed

**** Build Finished ****

,

Nancy Wang:

请问具体是执行哪一步报错的,跳过gmake是什么意思?

,

Louis chou:

跳過影片中10:30秒的步驟對pdk 下 gmake clean  & gmake all

從下圖可看出是哪裡出錯嗎?

,

Nancy Wang:

看不出来,请严格按照视频中的步骤试一下。

,

Louis chou:

是跟CCS版本有關嗎(我的是用CCS930,影片中是CCS8 )?

如果要全部照著影片步驟,是否要安裝與影片相同版本的軟件,也就是要退回舊版本?

CCS、PDK、PRU等軟件沒有向下相容舊版本嗎?

,

Nancy Wang:

版本不需要跟视频中一致,但是要满足你下载的sdk版本的需求。 请查看PRU ICSS EtherCAT Release Notes中的说明。 software-dl.ti.com/…/index_FDS.html 如果psdk使用的是6.3.0,CCS930是可以的。 software-dl.ti.com/…/index_release_specific.html

赞(0)
未经允许不得转载:TI中文支持网 » AMIC11x Generating Project files 失敗
分享到: 更多 (0)