This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/LAUNCHXL-F28069M: CCS, Compiling Errors, Flags, f28069_can_flash_kernel example

Part Number: LAUNCHXL-F28069M
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 ****
  • Jakub,

    It may be a coincidence but 10063 is the ID for a common diagnostic message related to the entry point being set to something other than c_int00.  I am wondering if the option to suppress this message is set but that for some reason CCS is not passing in the option name.  i.e. it should be passing --diag_suppress=10063.

    Can you check if there is something set in the options below for suppress diagnostic.  If so try clearing out the value.

    Regards,

    John

  • Thanks John for reply

    That's what I see here

  • Ok I installed that same version of C2000Ware as it is quite a bit older than what I have.  I imported the same example project and this is what I see in CCSv8.2:

    If I look at the options summary I can see that the 10063 is there for the diag_suppress option

    Hoever oddly if I look at the settings for diagnostics for the compiler it is not listed there:

    It wont let me edit the option manually either.

    I tried importing the same project into CCSv10.1.1.  There I see something more similar to you.  The 10063 is there on its own.

    What I was able to do to fix this was close ccs.  Go to the .cproject file that is in the project folder.  Delete lines 44-46

    Open CCS again.  I can then build the project ok.  It does give me a warning about c_int00 but you can ignore that.

    warning #10063-D: entry-point symbol other than "_c_int00" specified:  "_InitBoot"

    Another thing to note.  When I imported the project I chose to copy it into my workspace.

    I tried a newer verison of C2000Ware and I still see the problem there.  I am not sure if it is an issue in the  example project or CCS but I will follow up with the C2000 team.  For now the workaround above should allow you to continue.

    Regards,

    John

  • Thank you for the help.

    Sorry for late reply. It didn't get notification you replied.

    I have tried it and it builds. I have recieved extra warnings for the sections

    warning #10247-D: creating output section ".InitBoot" without a SECTIONS
    specification
    warning #10247-D: creating output section "ramfuncs" without a SECTIONS
    specification
    warning #10063-D: entry-point symbol other than "_c_int00" specified:
    "_InitBoot"

    I can live with that. I will put new issue if I cant sort it.

    Does the TI keep issues list for those examples codes or the sources file in the configuration management version control? Is this information public somewhere or is it kept private by TI developers?

  • Jakub,

    We do have an external bug tracking system.  

    This particular issue is here: https://sir.ext.ti.com/jira/browse/EXT_EP-10092

    Regards,

    John