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.

Sections defined in DSP280x_Header_nonBIOS.cmd are reported as unresolved symbols by the compiler. CCS 5.3

Other Parts Discussed in Thread: TMS320F2808, CONTROLSUITE

Hello there,

I created a new project for TMS320F2808 on CCS Version: 5.3.0.00090, added few files and compiled the project. For some reason the linker in not seeing sections defined in DSP280x_Header_nonBIOS.cmd file and giving unresolved symbols error. Attached is the the zipped project folder for your reference. Please advice.

Thanks

Prasoon 

 

Errors I see:

undefined         first referenced                   

symbol in file

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

_AdcMirror        ./Source/dev/on-chip/Adc.obj       

_AdcRegs          ./Source/dev/on-chip/Adc.obj       

_CpuTimer0Regs    ./Source/sys/Board.obj             

_CpuTimer1Regs    ./Source/dev/RFCommand.obj         

_CpuTimer2Regs    ./Source/sys/Board.obj             

_DSP28x_usDelay   ./Source/algo/SignalConditioning.obj

_DisableDog       ./Source/dev/RFCommand.obj         

_EPwm1Regs        ./Source/dev/on-chip/Epwm.obj      

_EPwm2Regs        ./Source/dev/on-chip/Epwm.obj      

_EnableDog        ./Source/dev/RFCommand.obj         

_EnableXCLKOUT    ./Source/sys/System.obj            

_GpioCtrlRegs     ./Source/dev/off-chip/DevRF.obj    

_GpioDataRegs     ./Source/algo/SignalConditioning.obj

_GpioIntRegs      ./Source/dev/on-chip/Xint.obj      

_InitPieCtrl      ./Source/sys/Board.obj             

_InitPieVectTable ./Source/sys/Board.obj             

_InitSysCtrl      ./Source/sys/Board.obj             

_PieCtrlRegs      ./Source/dev/on-chip/Xint.obj      

_PieVectTable     ./Source/dev/on-chip/Xint.obj      

_ServiceDog       ./Source/dev/RFCommand.obj         

_SpibRegs         ./Source/dev/on-chip/Spi.obj       

_SpicRegs         ./Source/dev/on-chip/Spi.obj       

_SysCtrlRegs      ./Source/dev/RFCommand.obj         

_XIntruptRegs     ./Source/dev/RFCommand.obj         

 

error #10234-D: unresolved symbols remain

error #10010: errors encountered during linking; "SMControl.out" not built

>> Compilation failure

gmake: *** [SMControl.out] Error 1

gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • I suggest we focus on just one symbol, and try to understand what is going on.

    Prasoon Srivastava54833 said:
    _AdcMirror        ./Source/dev/on-chip/Adc.obj       

    This says the symbol _AdcMirror gets referenced in Adc.obj, but is never defined.  You seem to imply that DSP280x_Headers_NonBIOS.cmd should somehow define that symbol.  But I don't see how.  Where should the definition of _AdcMirror come from?

    Thanks and regards,

    -George

  • Prasoon Srivastava54833 said:
    I created a new project for TMS320F2808 on CCS Version: 5.3.0.00090, added few files and compiled the project. For some reason the linker in not seeing sections defined in DSP280x_Header_nonBIOS.cmd file and giving unresolved symbols error. Attached is the the zipped project folder for your reference. Please advice.

    This is a project which uses controlSUITE. The symbols which are reported missing are those defined in controlSUITE device support source files, e.g. DSP280x_GlobalVariableDefs.c, but which aren't part of the CCS project.

    To resolve the undefined symbols the appropriate controlSUITE device support source files need to be added to the CCS project.

    P.S. some of the source files are marked "STRICTLY CONFIDENTIAL", did you mean to attach them to a public forum?

  • Thanks Chester, I thought that I had those files included. This is first time I created a project in ccs5. I was using ccs3.3 earlier and had my old projects imported as legacy code. Thanks a lot for yourt help.