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.