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/TMS320F28377D: I can not build(or debug) on C2000 - LTS 15.12.7

Part Number: TMS320F28377D


Tool/software: Code Composer Studio

hi there,

i have some problem about debug.

in my case,

i use compiler version about "TI V15.12.7LTS" (C2000)

and debugging model "Full Symbolic debug(COFF, deprecated) (--symdebug:coff)" at advanced debug options.

because i want .out file for sci-download and monitoring using another program. so i just use ccs that compile

but, i can not build or debug.

if i click debug button, then ccs shown problems message

------------------------------------------------------------------------------------------

"#20 identifier "CanaRegs" is undefined

"gmake:***[sourcefiles/F2837xD_can.obj] Error 1

"gmake : Target 'all' not remade because of errors

------------------------------------------------------------------------------------------

so, i found struct at "F2837xD_globalVariableDefs.c"

as shown in my ccs

------------------------------------------------------------------------------------------

#if __TI_COMPILER_VERSION__ >= 16006000
//----------------------------------------
#ifdef __cplusplus
#pragma DATA_SECTION("CanaRegsFile")
#else
#pragma DATA_SECTION(CanaRegs,"CanaRegsFile");
#endif
volatile struct CAN_REGS CanaRegs;

//----------------------------------------
#ifdef __cplusplus
#pragma DATA_SECTION("CanbRegsFile")
#else
#pragma DATA_SECTION(CanbRegs,"CanbRegsFile");
#endif
volatile struct CAN_REGS CanbRegs;
#endif

------------------------------------------------------------------------------------------

 i can find anywhere about CAN_REGS.

and then, i can not resolve this problem.  how can build in this program??

other case,

i changed compiler version, "TI v18.12.4 LTS" and debugging model "full symbolic debug(--symdebug:dwarf, -g)"

because can not support "Full Symbolic debug(COFF, deprecated) (--symdebug:coff)" in 18.12.4 LTS.

anyway.  in this case, i can build my project. but can not use .out file at another program.

how can i build this project. 

  • Your problem is not affected by your choice of debug format, i.e. whether you use --symdebug:coff or --symdebug:dwarf.  

    Please show the full context of the problem build.  To do that ... In CCS, build again.  In the Console (not Problems) view, use the icon Copy Build Log to save all the build messages into a text file.  When you name the file, be sure to use the file extension .txt.  Attach that file to your next post.

    Thanks and regards,

    -George