Other Parts Discussed in Thread: SYSCONFIG, C2000WARE, TMP127
Tool/software:
I have a CCS 12.7 project saved at local directory " C:\Users\Xiaoquan\Documents\JX_CCS_git\JX_QS2_CCS127gitRepository\QS2". Everything works fine. The command used (copied from CCS 12.7 console, let me call it "old CCS 12.7") is below when compiling:
======================
Building file: "../epwm_ex1_trip_zone.syscfg"
Invoking: SysConfig
"C:/ti/ccs1270/ccs/utils/sysconfig_1.20.0/sysconfig_cli.bat" --script "C:/Users/Xiaoquan/Documents/JX_CCS_git/JX_QS2_CCS127gitRepository/QS2/epwm_ex1_trip_zone.syscfg" -o "syscfg" -s "C:/ti/c2000/C2000Ware_5_02_00_00/.metadata/sdk.json" -d "F28P55x" --package 128PDT --part F28P55x_128PDT --compiler ccs
Running script...
======================
On the same computer, I then launched a new CCS 12.7, and choosed an empty/brand new workspace at " C:\Users\Xiaoquan\Documents\workspace_CCS\workspace_tmp127 "; then IMPORTED the same project from " C:\Users\Xiaoquan\Documents\JX_CCS_git\JX_QS2_CCS127gitRepository\QS2". But the compilation failed with error below on this new CCS 12.7:
======================
**** Build of configuration CPU1_FLASH for project QS2 ****
"C:\\ti\\ccs1270\\ccs\\utils\\bin\\gmake" -k -j 16 all -O
Building file: "../epwm_ex1_trip_zone.syscfg"
Invoking: SysConfig
"C:/ti/ccs1270/ccs/utils/sysconfig_1.20.0/sysconfig_cli.bat" --script "C:/Users/Xiaoquan/Documents/workspace_CCS/workspace_tmp127/QS2/epwm_ex1_trip_zone.syscfg" -o "syscfg" -s "/.metadata/sdk.json" -d "F28P55x" --package 128PDT --part F28P55x_128PDT --compiler ccs
subdir_rules.mk:23: recipe for target 'build-785151345' failed
Invalid argument '-s': File "C:\.metadata\sdk.json" does not exist
gmake: *** [build-785151345] Error 1
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
======================
It is exactly the same project imported to "new CCS 12.7". Why is the command used in "old CCS 12.7" " "syscfg" -s "C:/ti/c2000/C2000Ware_5_02_00_00/.metadata/sdk.json" ",
but " "syscfg" -s "/.metadata/sdk.json" " in "new CCS 12.7", and caused the compilation error? Please advise how to fix it. Thanks!
















