Other Parts Discussed in Thread: C2000WARE
Tool/software: Code Composer Studio
Hi.
Im trying to import the f28069_can_flash_kernel example from the
\ti\c2000\C2000Ware_1_00_06_00\device_support\f2806x\examples\c28
into the CCS. I'm unable to compile the successfully.
Im running 8.2.0.00007.
I have previously compiled a project documents exported successfully from Simulink to my CCS environment should have necessary compiler and includes ready as can debug and write some flash values into the OTP memory.
I have had some initial problems with the f28069_can_flash_kernel example source files not refencing from my hard drive. I have included relational relationship to the headers, sources and c2000_16.9.9.LTS. So this problem i think I overcame on my own.
I have experienced new problem I will attach the compiler error section in a bit. I founds something odd to do the compiler flags and includes. In the flag summary window i have
-v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/Users/BumbleBee/Desktop/X123/f28069_can_flash_kernel" --include_path="C:/Users/BumbleBee/headers/include" --include_path="C:/Users/BumbleBee/common/include" --include_path="C:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/3P778C~1.INS/TIC200~1.INS/ti-cgt-c2000_16.9.9.LTS/include" --advice:performance=all -g 10063
the last flag "10063" is weird. I can delete all of the compiler flag information either by gui or manually deleting by clicking edit flags. However as hard as i try the "10063" will always be in the edit window.
So far I tried, reboting, swaping workspace, coping the imported files again from another PC (in case I overwritten settings). This might be a red herring.
The compiler errors:
**** Build of configuration Debug for project f28069_can_flash_kernel **** "C:\\ti\\ccsv8\\utils\\bin\\gmake" -k -j 8 all -O Building file: "../CAN_Boot.c" Invoking: C2000 Compiler "C:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/3P778C~1.INS/TIC200~1.INS/ti-cgt-c2000_16.9.9.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/Users/BumbleBee/Desktop/X123/f28069_can_flash_kernel" --include_path="C:/Users/BumbleBee/headers/include" --include_path="C:/Users/BumbleBee/common/include" --include_path="C:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/3P778C~1.INS/TIC200~1.INS/ti-cgt-c2000_16.9.9.LTS/include" --advice:performance=all -g 10063 --preproc_with_compile --preproc_dependency="CAN_Boot.d_raw" "../CAN_Boot.c" [10063.] >> Compilation failure subdir_rules.mk:9: recipe for target 'CAN_Boot.obj' failed gmake: *** No rule to make target 'C:/Users/BumbleBee/headers/source/F2806x_GlobalVariableDefs.c', needed by 'F2806x_GlobalVariableDefs.obj'. gmake: *** No rule to make target 'C:/Users/BumbleBee/common/source/F2806x_SysCtrl.c', needed by 'F2806x_SysCtrl.obj'. gmake: *** No rule to make target 'C:/Users/BumbleBee/common/source/F2806x_usDelay.asm', needed by 'F2806x_usDelay.obj'. gmake: *** No rule to make target 'C:/Users/BumbleBee/headers/cmd/F2806x_Headers_nonBIOS.cmd', needed by 'all'. >> WARNING: more than one source file is specified; preprocessor output will be generated for last file only Fatal error: cannot open source file "10063" 1 catastrophic error detected in the compilation of "10063". Compilation terminated. gmake: *** [CAN_Boot.obj] Error 1 Building file: "../Exit_Boot.asm" Invoking: C2000 Compiler "C:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/3P778C~1.INS/TIC200~1.INS/ti-cgt-c2000_16.9.9.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/Users/BumbleBee/Desktop/X123/f28069_can_flash_kernel" --include_path="C:/Users/BumbleBee/headers/include" --include_path="C:/Users/BumbleBee/common/include" --include_path="C:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/3P778C~1.INS/TIC200~1.INS/ti-cgt-c2000_16.9.9.LTS/include" --advice:performance=all -g 10063 --preproc_with_compile --preproc_dependency="Exit_Boot.d_raw" "../Exit_Boot.asm" [10063.] >> Compilation failure subdir_rules.mk:16: recipe for target 'Exit_Boot.obj' failed >> WARNING: more than one source file is specified; preprocessor output will be generated for last file only Fatal error: cannot open source file "10063" 1 catastrophic error detected in the compilation of "10063". Compilation terminated. gmake: *** [Exit_Boot.obj] Error 1 Building file: "../F2806x_CodeStartBranch.asm" Invoking: C2000 Compiler "C:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/3P778C~1.INS/TIC200~1.INS/ti-cgt-c2000_16.9.9.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/Users/BumbleBee/Desktop/X123/f28069_can_flash_kernel" --include_path="C:/Users/BumbleBee/headers/include" --include_path="C:/Users/BumbleBee/common/include" --include_path="C:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/3P778C~1.INS/TIC200~1.INS/ti-cgt-c2000_16.9.9.LTS/include" --advice:performance=all -g 10063 --preproc_with_compile --preproc_dependency="F2806x_CodeStartBranch.d_raw" "../F2806x_CodeStartBranch.asm" [10063.] >> Compilation failure subdir_rules.mk:16: recipe for target 'F2806x_CodeStartBranch.obj' failed >> WARNING: more than one source file is specified; preprocessor output will be generated for last file only Fatal error: cannot open source file "10063" 1 catastrophic error detected in the compilation of "10063". Compilation terminated. gmake: *** [F2806x_CodeStartBranch.obj] Error 1 Building file: "../Shared_Boot.c" Invoking: C2000 Compiler "C:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/3P778C~1.INS/TIC200~1.INS/ti-cgt-c2000_16.9.9.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/Users/BumbleBee/Desktop/X123/f28069_can_flash_kernel" --include_path="C:/Users/BumbleBee/headers/include" --include_path="C:/Users/BumbleBee/common/include" --include_path="C:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/3P778C~1.INS/TIC200~1.INS/ti-cgt-c2000_16.9.9.LTS/include" --advice:performance=all -g 10063 --preproc_with_compile --preproc_dependency="Shared_Boot.d_raw" "../Shared_Boot.c" [10063.] >> Compilation failure subdir_rules.mk:9: recipe for target 'Shared_Boot.obj' failed >> WARNING: more than one source file is specified; preprocessor output will be generated for last file only Fatal error: cannot open source file "10063" 1 catastrophic error detected in the compilation of "10063". Compilation terminated. gmake: *** [Shared_Boot.obj] Error 1 Building file: "../main.c" Invoking: C2000 Compiler "C:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/3P778C~1.INS/TIC200~1.INS/ti-cgt-c2000_16.9.9.LTS/bin/cl2000" -v28 -ml -mt --cla_support=cla0 --float_support=fpu32 --vcu_support=vcu0 --include_path="C:/Users/BumbleBee/Desktop/X123/f28069_can_flash_kernel" --include_path="C:/Users/BumbleBee/headers/include" --include_path="C:/Users/BumbleBee/common/include" --include_path="C:/PROGRA~3/MATLAB/SUPPOR~1/R2019a/3P778C~1.INS/TIC200~1.INS/ti-cgt-c2000_16.9.9.LTS/include" --advice:performance=all -g 10063 --preproc_with_compile --preproc_dependency="main.d_raw" "../main.c" [10063.] >> Compilation failure subdir_rules.mk:9: recipe for target 'main.obj' failed >> WARNING: more than one source file is specified; preprocessor output will be generated for last file only Fatal error: cannot open source file "10063" 1 catastrophic error detected in the compilation of "10063". Compilation terminated. gmake: *** [main.obj] Error 1 gmake: Target 'all' not remade because of errors. **** Build Finished ****




