Part Number: AM4379
Other Parts Discussed in Thread: SYSBIOS
Tool/software: Code Composer Studio
while build the Ethercat sample Demo application example . I'm getting error tiimage.exe is not found , when I see in the /u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/tools/ti_image/tiimage.exe the file is present.
**** Build of configuration am437x_debug for project ethercat ****
/u/ccs/ti/ccsv8/utils/bin/gmake -k all
making ../src/sysbios/sysbios.aa9fg ...
gmake[1]: Entering directory '/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/examples/ethercat_slave/src/sysbios'
asma9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm_gnu.asm ...
asma9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/TaskSupport_asm_gnu.asm ...
asma9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/gic/Hwi_asm_gnu.asm ...
asma9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/exc/Exception_asm_gnu.asm ...
asma9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/a9/Cache_asm_gnu.sv7A ...
asma9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/a8/Mmu_asm_gnu.sv7A ...
asma9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/a15/TimestampProvider_asm_gnu.asm ...
asma9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/timers/dmtimer/Timer_asm_gnu.sv7A ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/BIOS.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/IntrinsicsSupport.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/TaskSupport.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/knl/Clock.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/knl/Idle.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/knl/Intrinsics.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/knl/Event.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/knl/Mailbox.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/knl/Queue.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/knl/Semaphore.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/knl/Swi.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/knl/Swi_andn.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/knl/Task.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/hal/Cache.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/hal/Core.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/hal/CoreNull.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/hal/Hwi.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/hal/Hwi_stack.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/hal/Hwi_startup.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/hal/Timer.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/gic/Hwi.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/exc/Exception.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/a9/Cache.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/a9/Timer.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/heaps/HeapMem.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/a8/Mmu.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/rts/gnu/ReentSupport.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/rts/gnu/SemiHostSupport.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/gates/GateHwi.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/gates/GateMutex.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/a15/TimestampProvider.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/timers/dmtimer/Timer.c ...
cla9fg /opt/ti1/bios_6_41_04_54/packages/ti/sysbios/family/arm/a9/am437x/TimerSupport.c ...
ara9fg arm_IntrinsicsSupport_asm_gnu.o arm_TaskSupport_asm_gnu.o gic_Hwi_asm_gnu.o exc_Exception_asm_gnu.o a9_Cache_asm_gnu.o a8_Mmu_asm_gnu.o a15_TimestampProvider_asm_gnu.o dmtimer_Timer_asm_gnu.o _BIOS.o arm_IntrinsicsSupport.o arm_TaskSupport.o knl_Clock.o knl_Idle.o knl_Intrinsics.o knl_Event.o knl_Mailbox.o knl_Queue.o knl_Semaphore.o knl_Swi.o knl_Swi_andn.o knl_Task.o hal_Cache.o hal_Core.o hal_CoreNull.o hal_Hwi.o hal_Hwi_stack.o hal_Hwi_startup.o hal_Timer.o gic_Hwi.o exc_Exception.o a9_Cache.o a9_Timer.o heaps_HeapMem.o a8_Mmu.o gnu_ReentSupport.o gnu_SemiHostSupport.o gates_GateHwi.o gates_GateMutex.o a15_TimestampProvider.o dmtimer_Timer.o am437x_TimerSupport.o ...
gmake[1]: Leaving directory '/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/examples/ethercat_slave/src/sysbios'
Building file: "../am437x_app.cfg"
Invoking: XDCtools
"/u/ccs/ti/xdctools_3_32_02_25_core/xs" --xdcpath="/opt/ti1/bios_6_41_04_54/packages;" xdc.tools.configuro -o configPkg -t gnu.targets.arm.A9F -p ti.platforms.evmAM437X -r debug -c "/u/ccs/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major" "../am437x_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 am437x_app.xa9fg from package/cfg/am437x_app_pa9fg.cfg ...
generating custom ti.sysbios library makefile ...
Starting build of library sources ...
making /u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/examples/ethercat_slave/src/sysbios/sysbios.aa9fg ...
gmake[1]: Entering directory `/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/examples/ethercat_slave/src/sysbios'
gmake[1]: Nothing to be done for `all'.
gmake[1]: Leaving directory `/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/examples/ethercat_slave/src/sysbios'
Build of libraries done.
cla9fg package/cfg/am437x_app_pa9fg.c ...
Finished building: "../am437x_app.cfg"
Building file: "../tiescappl.c"
Invoking: GNU Compiler
"/u/ccs/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -Dam4379 -DAM43XX_FAMILY_BUILD -DECAT_LIMITED_DEMO -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/library/qspilib" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/tools/ti_image" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/utils" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/hw" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/am43xx/" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/am43xx/am437x" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/board/include" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/os_drivers/include" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/os_drivers/lld/pruss" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/firmware/v2.0" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/device/" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/control/foc" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/examples/ethercat_slave" -g -gstrict-dwarf -Wall -MMD -MP -MF"tiescappl.d" -MT"tiescappl.o" @"configPkg/compiler.opt" -o"tiescappl.o" "../tiescappl.c"
In file included from /u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include/tiescutils.h:8:0,
from ../tiescappl.c:14:
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include/tiescbsp.h:185:21: warning: inline function 'bsp_pdi_access_perm_array' declared but never defined
PROTO inline Uint8 bsp_pdi_access_perm_array(Uint16 address, Uint8 access, Uint16 size);
^~~~~~~~~~~~~~~~~~~~~~~~~
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include/tiescbsp.h:184:21: warning: inline function 'bsp_pdi_access_perm_dword' declared but never defined
PROTO inline Uint8 bsp_pdi_access_perm_dword(Uint16 address, Uint8 access);
^~~~~~~~~~~~~~~~~~~~~~~~~
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include/tiescbsp.h:183:21: warning: inline function 'bsp_pdi_access_perm_word' declared but never defined
PROTO inline Uint8 bsp_pdi_access_perm_word(Uint16 address, Uint8 access);
^~~~~~~~~~~~~~~~~~~~~~~~
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include/tiescbsp.h:182:21: warning: inline function 'bsp_get_pdi_access_perm' declared but never defined
PROTO inline Uint8 bsp_get_pdi_access_perm(Uint16 address, Uint8 access);
^~~~~~~~~~~~~~~~~~~~~~~
Finished building: "../tiescappl.c"
Building file: "../tiescutils.c"
Invoking: GNU Compiler
"/u/ccs/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc" -c -mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -Dam4379 -DAM43XX_FAMILY_BUILD -DECAT_LIMITED_DEMO -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/library/qspilib" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/tools/ti_image" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/utils" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/hw" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/am43xx/" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/am43xx/am437x" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/board/include" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/os_drivers/include" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/os_drivers/lld/pruss" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/firmware/v2.0" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/device/" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/control/foc" -I"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/examples/ethercat_slave" -g -gstrict-dwarf -Wall -MMD -MP -MF"tiescutils.d" -MT"tiescutils.o" @"configPkg/compiler.opt" -o"tiescutils.o" "../tiescutils.c"
In file included from ../tiescutils.c:21:0:
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/soc.h:111:20: warning: inline function 'SOCGetCoreId' declared but never defined
inline socCoreId_t SOCGetCoreId(void);
^~~~~~~~~~~~
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/include/soc.h:104:22: warning: inline function 'SOCGetSocFamilyId' declared but never defined
inline socFamilyId_t SOCGetSocFamilyId(void);
^~~~~~~~~~~~~~~~~
In file included from /u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include/tiescutils.h:8:0,
from ../tiescutils.c:16:
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include/tiescbsp.h:185:21: warning: inline function 'bsp_pdi_access_perm_array' declared but never defined
PROTO inline Uint8 bsp_pdi_access_perm_array(Uint16 address, Uint8 access, Uint16 size);
^~~~~~~~~~~~~~~~~~~~~~~~~
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include/tiescbsp.h:184:21: warning: inline function 'bsp_pdi_access_perm_dword' declared but never defined
PROTO inline Uint8 bsp_pdi_access_perm_dword(Uint16 address, Uint8 access);
^~~~~~~~~~~~~~~~~~~~~~~~~
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include/tiescbsp.h:183:21: warning: inline function 'bsp_pdi_access_perm_word' declared but never defined
PROTO inline Uint8 bsp_pdi_access_perm_word(Uint16 address, Uint8 access);
^~~~~~~~~~~~~~~~~~~~~~~~
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/include/tiescbsp.h:182:21: warning: inline function 'bsp_get_pdi_access_perm' declared but never defined
PROTO inline Uint8 bsp_get_pdi_access_perm(Uint16 address, Uint8 access);
^~~~~~~~~~~~~~~~~~~~~~~
Finished building: "../tiescutils.c"
Building target: "ethercat.out"
Invoking: GNU Linker
"/u/ccs/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-gcc" -mtune=cortex-a9 -marm -Dam4379 -DAM43XX_FAMILY_BUILD -DECAT_LIMITED_DEMO -g -gstrict-dwarf -Wall -mfloat-abi=hard -Wl,-Map,"ethercat.map" -nostartfiles -static -Wl,--gc-sections -L"/opt/ti1/bios_6_41_04_54/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/os_drivers/lib/am437x" -L"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/board/lib/am437x" -L"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/protocols/ethercat_slave/stack_lib/am437x" -L"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/binary/dal/lib/am43xx-evm/a9/ccs/am43xx_release" -L"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/binary/device/lib/am43xx-evm/a9/ccs/am43xx_release" -L"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/binary/board/lib/am43xx-evm/a9/ccs/am43xx_release" -L"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/binary/soc/lib/am43xx-evm/a9/ccs/am43xx_release" -L"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/binary/utils/lib/am43xx-evm/a9/ccs/am43xx_release" -L"/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/binary/qspi_lib/lib/am43xx-evm/a9/ccs/am43xx_release" -Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400 -o"ethercat.out" "./tiescappl.o" "./tiescutils.o" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -lc -lgcc -lutils -lrdimon -lsoc -lm -lnosys -ldal -lsys_bios_driver -lqspi_lib -lboard -ldevice -lecat_slave_stack_gcc -lboard_support -Wl,--end-group
Finished building target: "ethercat.out"
"/u/ccs/ti/ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major/bin/arm-none-eabi-objcopy" -O binary --strip-all --strip-debug --strip-unneeded "/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/examples/ethercat_slave/am437x_debug/ethercat.out" "/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/examples/ethercat_slave/am437x_debug/ethercat.bin" & "/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/tools/ti_image/tiimage.exe" "0x80000000" "NONE" "/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/examples/ethercat_slave/am437x_debug/ethercat.bin" "/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/examples/ethercat_slave/am437x_debug/ethercat_ti.bin"
makefile:178: recipe for target 'post-build' failed
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/tools/ti_image/tiimage.exe: 1: /u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/tools/ti_image/tiimage.exe: MZ����@���: not found
/u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/tools/ti_image/tiimage.exe: 1: /u/ee210494/sysbios_ind_sdk_2.1.0.1/sdk/starterware/tools/ti_image/tiimage.exe: Syntax error: word unexpected (expecting ")")
gmake[1]: [post-build] Error 2 (ignored)
**** Build Finished ****