Other Parts Discussed in Thread: SYSBIOS
Hello ..
I'm trying to build sys/bios sw(ethercat). But there are some errors
1. Logged that some files is not a inner/outter command or executable program or batch file .
2. Error in xdc/cfg/main.xs line 156.
Can I guide about it?
Thanks.
Log as below:
**** Build of configuration Debug for project ethercat ****
"C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all
making ../src/sysbios/sysbios.lib ...
clea8fnv C:/ti/bios_6_33_04_39/packages/ti/sysbios/BIOS.c ...
'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다. --> it is not a executable program or batch file.
gmake[1]: *** [BIOS.obj] Error 1
asmea8fnv C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/IntrinsicsSupport_asm.asm ...
'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
gmake[1]: *** [arm_IntrinsicsSupport_asm.obj] Error 1
asmea8fnv C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/TaskSupport_asm.asm ...
'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
gmake[1]: *** [arm_TaskSupport_asm.obj] Error 1
asmea8fnv C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/exc/Exception_asm.asm ...
'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
gmake[1]: *** [exc_Exception_asm.obj] Error 1
asmea8fnv C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/a8/TimestampProvider_asm.asm ...
'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
gmake[1]: *** [a8_TimestampProvider_asm.obj] Error 1
asmea8fnv C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/a8/Mmu_asm.asm ...
'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
gmake[1]: *** [a8_Mmu_asm.obj] Error 1
asmea8fnv C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/a8/Cache_asm.asm ...
'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
gmake[1]: *** [a8_Cache_asm.obj] Error 1
asmea8fnv C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/a8/intcps/Hwi_asm.s470 ...
'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
gmake[1]: *** [intcps_Hwi_asm.obj] Error 1
asmea8fnv C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/a8/intcps/Hwi_asm_switch.s470 ...
'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
gmake[1]: *** [intcps_Hwi_asm_switch.obj] Error 1
asmea8fnv C:/ti/bios_6_33_04_39/packages/ti/sysbios/timers/gptimer/Timer_asm.s470 ...
'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
gmake[1]: *** [gptimer_Timer_asm.obj] Error 1
asmea8fnv C:/ti/bios_6_33_04_39/packages/ti/sysbios/timers/dmtimer/Timer_asm.s470 ...
'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는
배치 파일이 아닙니다.
gmake[1]: *** [dmtimer_Timer_asm.obj] Error 1
gmake[1]: Target `all' not remade because of errors.
gmake: *** [../src/sysbios/sysbios.lib] Error 2
'Building file: ../ethercat.cfg'
'Invoking: XDCtools'
"C:/ti/xdctools_3_23_03_53/xs" --xdcpath="C:/ti/bios_6_33_04_39/packages;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.A8Fnv -p ti.platforms.evmAM3359 -r debug -b "C:/ti/am335x_sysbios_ind_sdk_1.1.0.6/sdk/examples/ethercat_slave/.config/xconfig_ethercat/config.bld" -c "C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2" --compileOptions "-g --optimize_with_debug" "../ethercat.cfg"
making package.mak (because of package.bld) ...
ti.targets.arm.elf.A8Fnv: warning: exec of 'C:/ti/ccsv6/tools/compiler/ti-cgt-arm_5.2.2/bin/cl470 --compiler_revision' failed:java.io.IOException: CreateProcess: C:\ti\ccsv6\tools\compiler\ti-cgt-arm_5.2.2\bin\cl470 --compiler_revision error=2; check tools installation
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
configuring ethercat.xea8fnv from package/cfg/ethercat_pea8fnv.cfg ...
js: "C:/ti/xdctools_3_23_03_53/packages/xdc/cfg/Main.xs", line 156: Error: xdc.cfg.INCOMPATIBLE_TARGET_VERSION: current target 'ti.targets.arm.elf.A8Fnv' [] is not compatible with targets used to build the following packages; package ti.targets.arm.rtsarm [in C:/ti/xdctools_3_23_03_53/packages/ti/targets/arm/rtsarm/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.family.arm [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.hal [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/hal/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.family.arm.a8 [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/a8/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.knl [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/knl/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.family.arm.exc [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/exc/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.family.arm.a8.intcps [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/a8/intcps/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.heaps [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/heaps/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.gates [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/gates/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.xdcruntime [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/xdcruntime/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.timers.dmtimer [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/timers/dmtimer/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.family.arm.a8.ti81xx [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/family/arm/a8/ti81xx/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
; package ti.sysbios.utils [in C:/ti/bios_6_33_04_39/packages/ti/sysbios/utils/] was built using 'ti.targets.arm.elf.A8Fnv' [1,0,4.9,0]
Adding the following line to your program configuration script:
environment['xdc.cfg.check.fatal'] = 'false';
converts this incompatibility error into a warning. Please, check the documentation for the package xdc.cfg for more information.
gmake.exe: *** [package/cfg/ethercat_pea8fnv.xdl] Error 1
js: "C:/ti/xdctools_3_23_03_53/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 ****