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.

"unresolved symbols remain" in C2000 Piccolo LaunchPad examples

Other Parts Discussed in Thread: CONTROLSUITE

I am new to C2000 Piccolo Launchpad and I imported some examples from ControlSUITE to CCSv5, all reporting errors of "unresolved symbols remain" while linking:

>> Compilation failure
symbol in file 
--------- ---------------- 
_CLK_disableAdcClock ./Example_2802xGpioToggle.obj
_CLK_enableAdcClock ./Example_2802xGpioToggle.obj
_CLK_init ./Example_2802xGpioToggle.obj
_CLK_setOscSrc ./Example_2802xGpioToggle.obj
_CPU_clearIntFlags ./Example_2802xGpioToggle.obj

......

I do not know what to do, for these symbols can be easy found in lib but the linker says NOT...

  • Hi Larry,

    I would like you to go through this doc first: 3173.Basics C2000 Launchpad.pdf

    This would solve all your queries.

    Regards,

    Gautam

  • Well, I've tried the same code and followed its instructions step by step, the situation changes little:

    undefined first referenced
    symbol in file
    --------- ----------------
    _ADCINT1_ISR ./F2802x_PieVect.obj
    _ADCINT2_ISR ./F2802x_PieVect.obj
    _ADCINT3_ISR ./F2802x_PieVect.obj
    _ADCINT4_ISR ./F2802x_PieVect.obj
    _ADCINT5_ISR ./F2802x_PieVect.obj
    _ADCINT6_ISR ./F2802x_PieVect.obj
    _ADCINT7_ISR ./F2802x_PieVect.obj
    _ADCINT8_ISR ./F2802x_PieVect.obj
    _ADCINT9_ISR ./F2802x_PieVect.obj
    _CLK_enableAdcClock ./Example_2802xCpuTimer.obj
    _CLK_init ./Example_2802xCpuTimer.obj
    _CLK_setOscSrc ./Example_2802xCpuTimer.obj
    _CPU_clearIntFlags ./Example_2802xCpuTimer.obj
    _CPU_disableGlobalInts ./Example_2802xCpuTimer.obj
    _CPU_enableDebugInt ./Example_2802xCpuTimer.obj
    _CPU_enableGlobalInts ./Example_2802xCpuTimer.obj
    _CPU_enableInt ./Example_2802xCpuTimer.obj
    _CPU_init ./Example_2802xCpuTimer.obj
    _DATALOG_ISR ./F2802x_PieVect.obj
    _ECAP1_INT_ISR ./F2802x_PieVect.obj
    _EMUINT_ISR ./F2802x_PieVect.obj
    _EPWM1_INT_ISR ./F2802x_PieVect.obj

    >> Compilation failure
    _EPWM1_TZINT_ISR ./F2802x_PieVect.obj
    _EPWM2_INT_ISR ./F2802x_PieVect.obj
    _EPWM2_TZINT_ISR ./F2802x_PieVect.obj
    _EPWM3_INT_ISR ./F2802x_PieVect.obj
    _EPWM3_TZINT_ISR ./F2802x_PieVect.obj
    _EPWM4_INT_ISR ./F2802x_PieVect.obj
    _EPWM4_TZINT_ISR ./F2802x_PieVect.obj
    _FLASH_init ./Example_2802xCpuTimer.obj
    _GPIO_init ./Example_2802xCpuTimer.obj
    _I2CINT1A_ISR ./F2802x_PieVect.obj
    _I2CINT2A_ISR ./F2802x_PieVect.obj
    _ILLEGAL_ISR ./F2802x_PieVect.obj
    _INT13_ISR ./F2802x_PieVect.obj
    _INT14_ISR ./F2802x_PieVect.obj
    _NMI_ISR ./F2802x_PieVect.obj
    _PIE_RESERVED ./F2802x_PieVect.obj
    _PIE_disable ./Example_2802xCpuTimer.obj
    _PIE_disableAllInts ./Example_2802xCpuTimer.obj
    _PIE_enable ./Example_2802xCpuTimer.obj
    _PIE_enableTimer0Int ./Example_2802xCpuTimer.obj
    _PIE_init ./Example_2802xCpuTimer.obj
    _PIE_registerPieIntHandler ./Example_2802xCpuTimer.obj
    _PIE_registerSystemIntHandler ./Example_2802xCpuTimer.obj
    _PIE_setDebugIntVectorTable ./Example_2802xCpuTimer.obj
    _PLL_init ./Example_2802xCpuTimer.obj
    _PLL_setup ./Example_2802xCpuTimer.obj
    _RTOSINT_ISR ./F2802x_PieVect.obj
    _SCIRXINTA_ISR ./F2802x_PieVect.obj
    _SCITXINTA_ISR ./F2802x_PieVect.obj
    _SPIRXINTA_ISR ./F2802x_PieVect.obj
    _SPITXINTA_ISR ./F2802x_PieVect.obj
    _TIMER_enableInt ./Example_2802xCpuTimer.obj
    _TIMER_init ./Example_2802xCpuTimer.obj
    _TIMER_reload ./Example_2802xCpuTimer.obj
    _TIMER_setEmulationMode ./Example_2802xCpuTimer.obj
    _TIMER_setPreScaler ./Example_2802xCpuTimer.obj
    _TIMER_start ./Example_2802xCpuTimer.obj
    _TIMER_stop ./Example_2802xCpuTimer.obj
    _TINT0_ISR ./F2802x_PieVect.obj
    _USER10_ISR ./F2802x_PieVect.obj
    _USER11_ISR ./F2802x_PieVect.obj
    _USER12_ISR ./F2802x_PieVect.obj
    _USER1_ISR ./F2802x_PieVect.obj
    _USER2_ISR ./F2802x_PieVect.obj
    _USER3_ISR ./F2802x_PieVect.obj
    _USER4_ISR ./F2802x_PieVect.obj
    _USER5_ISR ./F2802x_PieVect.obj
    _USER6_ISR ./F2802x_PieVect.obj
    _USER7_ISR ./F2802x_PieVect.obj
    _USER8_ISR ./F2802x_PieVect.obj
    _USER9_ISR ./F2802x_PieVect.obj
    _WAKEINT_ISR ./F2802x_PieVect.obj
    _WDOG_disable ./Example_2802xCpuTimer.obj
    _WDOG_init ./Example_2802xCpuTimer.obj
    _XINT1_ISR ./F2802x_PieVect.obj
    _XINT2_ISR ./F2802x_PieVect.obj
    _XINT3_ISR ./F2802x_PieVect.obj
    _rsvd_ISR ./F2802x_PieVect.obj

    error #10234-D: unresolved symbols remain
    error #10010: errors encountered during linking; "CPUTimer.out" not built

  • Larry feels like your workspace has been corrupted. Please create a new workspace and follow the steps mentioned in the document. This should solve your issue.

    Regards,

    Gautam