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 Symbol



Hi,

 

I am using CCSv4 in Win 7 -64 bit environment. I bought dual motor control kit.

I imported the 2xPM_Motors project from "import legacy ccs v3.3 project" option. I added all the includes folder. So now I am getting:

 

unresolved symbol _clarke_calc, first referenced in E:/01_yazilim/01_ti/01_evm/TI_F28xxx_SysSW/MotorCtrl+PfcKit/2xPM_Motors/2803x_RAM/2xPM_Motors.obj

 

 

  • I suspect there is a library, or object file, that needs to be included and pointed to by the code generation tools, specifically the linker.  This type of error message is generated when the linker can not find (or resolve) the labels referenced.

    I suspect this is what is missing in your project build options.

  • Because I have the same problem, do you know the name of the file, in such a way I could find the missed library and link it into the project?

    Or, what is the library file where the following procedures are defined?

    undefined           first referenced    

      symbol                 in file         

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

     _clarke_calc        ./PFC+1PM_Motors.obj

     _ipark_calc         ./PFC+1PM_Motors.obj

     _park_calc          ./PFC+1PM_Motors.obj

     _phase_voltage_calc ./PFC+1PM_Motors.obj

     _pid_reg3_calc      ./PFC+1PM_Motors.obj

     _rampgen_calc       ./PFC+1PM_Motors.obj

     _rmp_cntl_calc      ./PFC+1PM_Motors.obj

     _speed_est_calc     ./PFC+1PM_Motors.obj

     _svgendq_calc       ./PFC+1PM_Motors.obj

    thx.

  • Thanks for the replies. But it is not about the library.

    I should have add the "DSP280x_GlobalVariableDefs.c" to my project. That solved the problem.

    This file creates instances of the clarke vs. modules...

    Celil

  • Hi Celil

    I have this file in my project "DSP2803x_GlobalVariableDefs.c"

    There are not defined the variables like _clarke_calc, or _ipark_calc, ecc.

    These ones, infact, are procedure addresses, which are referenced during link operation. The linker doesn't find any of these instances and issues the "error: unresolved symbols remain".

    I imported the project from ccs3.3 in ccs4.2, during this operation the reference to the library file has been missed.

    I am not able to find the documentation on the motor control procedures and, of course, the right library name.

     

  • Sorry, I confused it with another project.

    Add the following:

    Project/properties/file search path

     

    TI_F28xxx_SysSW\~SupportFiles\lib\DMClib\cIQmath\lib\iqDMC_ml.L28

    Celil

     

  • thank you it fixed my problem