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.

errors encountered during linking; ".out" not built, Unresolved symbols remain

Other Parts Discussed in Thread: CONTROLSUITE

Hello,

I tried to implement "Example_2803xSci_Echoback.c" with a new CCS5 project.

I included all necessary ".c" files and ".h" files:

DSP2803x_DefaultIsr.c     DSP2803x_Gpio.c    DSP2803x_PieCtrl.c   DSP2803x_PieVect.c    DSP2803x_Sci.c   DSP2803x_SysCtrl.c

PeripheralHeaderIncludes.h    DSP28x_Project.h

But the result of the build is:

 undefined       first referenced      
  symbol             in file           
 ---------       ----------------      
 _CsmPwl         ./DSP2803x_SysCtrl.obj
 _CsmRegs        ./DSP2803x_SysCtrl.obj
 _DSP28x_usDelay ./DSP2803x_SysCtrl.obj

 _FlashRegs      ./DSP2803x_SysCtrl.obj
 _GpioCtrlRegs   ./DSP2803x_Sci.obj    
 _PieCtrlRegs    ./DSP2803x_PieVect.obj
 _PieVectTable   ./DSP2803x_PieVect.obj
>> Compilation failure
 _SciaRegs       ./main.obj            
 _SysCtrlRegs    ./DSP2803x_SysCtrl.obj

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "SCI UART TEST.out" not built
gmake: *** [SCI UART TEST.out] Error 1
gmake: Target `all' not remade because of errors.

That means, it may could not reference to the header files because all these symbols are in the header files.

And by the way I made sure that in the project properties for "include option" that it referenced to the right path.

I am using "DRV8302-HC-C2-KIT #Piccolo F28035" and Code Composer Studio 5.

((SCI UART TEST is the name of my project))

Thanks

Khaled

  • I read all the relevant problems in the community but no one and nor solution let this work.

    Khaled

  • Hello,

    Now the project is built and the problem is that I have also to add these files and I do not why there are not any mention about them in the document:

    DSP2803x_GlobalVariableDefs.c

    DSP2803x_DefaultIsr.c

    But I have another problem:

    When I download this project in (Piccolo F28035 in the DRV8302-HC-C2-Kit) it does not send anything to hyperterminal, and when I connect the TX pin in the board to oscilloscope, it appears that there is not any signal sent also in the debugger it seems that the program is correct, and I use the same exactly (Example_2803xSci_Echoback.c) from controlSUITE..

    So what is the problem? Please help

  • khaled shokry said:

    Now the project is built and the problem is that I have also to add these files and I do not why there are not any mention about them in the document:

    DSP2803x_GlobalVariableDefs.c

    DSP2803x_DefaultIsr.c

    You are correct, those files are needed. If you imported the "Example_2803xSci_Echoback" example project, it have included those files.

    khaled shokry said:

    But I have another problem:

    When I download this project in (Piccolo F28035 in the DRV8302-HC-C2-Kit) it does not send anything to hyperterminal, and when I connect the TX pin in the board to oscilloscope, it appears that there is not any signal sent also in the debugger it seems that the program is correct, and I use the same exactly (Example_2803xSci_Echoback.c) from controlSUITE..

    So what is the problem? Please help

    I suggest posting this issue in the C2000 forums. They will have the expertise to offer the best suggestions.

    Thanks

    ki