Part Number:TMS320F28335
Tool/software: Code Composer Studio
Hi TI expert,
I moved to a computer, and tried to compile the same file that was working in the old computer.
But I get the following error. It seems the compilation is successful, but when trying to generate .tsf file, it fails.
I am pretty sure it is not due to my code. And both the old and new computer have the same CCS version (8.0).
The log is as below, with some irrelevant part deleted. Very grateful if you could advise how to trouble shoot.
**** Build of configuration Debug for project xxxx ****
"C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 12 all -O
Perform pre-build steps
"perl.exe" "C:/xxxx/prebuild.pl"
makefile:236: recipe for target 'pre-build' failed
process_begin: CreateProcess(NULL, perl.exe C:/xxxx/prebuild.pl, ...) failed.
gmake[1]: [pre-build] Error 2 (ignored)
Building file: "../src/CodeStartBranch.asm"
Invoking: C2000 Compiler
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --opt_for_speed=5 --fp_mode=relaxed --include_path="C:/Xxxxx/XXXXX/xxxxx/include" --include_path="C:/Xxxxx/XXXXX/xxxxx/version_wsDCQC_GT" --include_path="C:/Xxxxx/XXXXX/xxxxx/dmclib/include" --include_path="C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include" --advice:performance=all --define=DEBUG --define=LARGE_MODEL -g --diag_warning=225 --diag_wrap=off --display_error_number -k --asm_listing --c_src_interlist --preproc_with_compile --preproc_dependency="src/CodeStartBranch.d_raw" --obj_directory="src" "../src/CodeStartBranch.asm"
Finished building: "../src/CodeStartBranch.asm"
…………………………….
………………………………..
………………………………
…………………………………
…………………………………..
…………………………………….
……………………………………
………………………………………
Building target: "XXXXX_DSP_GT.out"
Invoking: C2000 Linker
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --opt_for_speed=5 --fp_mode=relaxed --advice:performance=all --define=DEBUG --define=LARGE_MODEL -g --diag_warning=225 --diag_wrap=off --display_error_number -k --asm_listing --c_src_interlist -z -m"XXXXX_DSP_GT.map" --stack_size=0x300 --warn_sections -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/lib" -i"C:/Xxxxx/XXXXX/xxxxx/src" -i"C:/Xxxxx/XXXXX/xxxxx/dmclib/lib" -i"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/include" --priority --reread_libs --diag_suppress=16002 --diag_wrap=off --display_error_number --xml_link_info="XXXXX_DSP_GT_linkInfo.xml" --rom_model -o "XXXXX_DSP_GT.out" -l"C:/Xxxxx/XXXXX/xxxxx/dmclib/lib/iqDMC_fpu32_Debug.lib" "./src/Adc.obj" "./src/CAN.obj" "./src/CodeStartBranch.obj" "./src/DSP2833x_ADC_cal.obj" "./src/DSP2833x_DefaultIsr.obj" "./src/DSP2833x_GlobalVariableDefs.obj" "./src/Gpio.obj" "./src/PieVect.obj" "./src/SPIFlash.obj" "./src/SysCtrl.obj" "./src/abc_to_dq.obj" "./src/blindAng.obj" "./src/canRW.obj" "./src/charger.obj" "./src/command.obj" "./src/config.obj" "./src/control.obj" "./src/control_bpa.obj" "./src/control_bpa_gt.obj" "./src/datalog.obj" "./src/debug.obj" "./src/dq_to_abc.obj" "./src/ePwm.obj" "./src/encoder.obj" "./src/errorLog.obj" "./src/halls.obj" "./src/imcm.obj" "./src/int_reg.obj" "./src/ipm.obj" "./src/kalman.obj" "./src/lkf2.obj" "./src/maf.obj" "./src/main.obj" "./src/meas.obj" "./src/mpos.obj" "./src/param_extract.obj" "./src/phaseVoltages.obj" "./src/phasevolt_float.obj" "./src/phasor_sense.obj" "./src/pi_reg_mult.obj" "./src/pid.obj" "./src/pll1.obj" "./src/qep.obj" "./src/rotor_extract.obj" "./src/scheduler.obj" "./src/sci.obj" "./src/sinegen_dq.obj" "./src/smopos.obj" "./src/sogi2.obj" "./src/status.obj" "./src/stream.obj" "./src/usDelay.obj" "./src/vscope.obj" "./src/wsf281xileg_vdc.obj" "./src/wsf281xpwm.obj" "./src/wsf281xpwmdac.obj" "../cmd/DSP2833x_Headers_nonBIOS.cmd" "../cmd/F28335.cmd" -l"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/lib/rts2800_fpu32_fast_supplement.lib" -l"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/lib/rts2800_fpu32.lib" -l"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/lib/IQmath_fpu32.lib"
<Linking>
Finished building target: "XXXXX_DSP_GT.out"
Building files: "XXXXX_DSP_GT.out"
Invoking: C2000 Hex Utility
"C:/ti/ccsv8/tools/compiler/ti-cgt-c2000_18.1.1.LTS/bin/hex2000" --memwidth=16 --romwidth=16 --intel -o "XXXXX_DSP_GT.hex" "XXXXX_DSP_GT.out"
Translating to Intel format...
"XXXXX_DSP_GT.out" codestart ==> codestart
"XXXXX_DSP_GT.out" iqDMC_ml ==> iqDMC_ml
"XXXXX_DSP_GT.out" IQmath ==> IQmath
"XXXXX_DSP_GT.out" IQmathTables ==> IQmathTables
"XXXXX_DSP_GT.out" ramFuncs ==> ramFuncs
"XXXXX_DSP_GT.out" FPUmathTables ==> FPUmathTables
"XXXXX_DSP_GT.out" fastRTS ==> fastRTS
"XXXXX_DSP_GT.out" .text ==> .text
"XXXXX_DSP_GT.out" .cinit ==> .cinit
"XXXXX_DSP_GT.out" .econst ==> .econst
Finished building: "XXXXX_DSP_GT.out"
Generate tsf
"C:/Xxxxx/XXXXX/xxxxx/postbuild.bat" "Debug"
Usage: ..\..\..\....................\tms320encrypt.exe filein fileout key0 key1 key2 key3 deviceId hardwareVersion (modelId)makefile:241: recipe for target 'post-build' failed
'rm' is not recognized as an internal or external command,
operable program or batch file.
gmake[3]: [post-build] Error 1 (ignored)
**** Build Finished ****