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.

Map file generated not correctly from ccs3.3 -> ccs5.4

Other Parts Discussed in Thread: TMS320F2810, MATHLIB, CONTROLSUITE

Good day!

 

I got the following problem during  of conversion project from ccs3.3 -> ccs5.4 .

 

The address jump of any IQMath. lib functions of  ccs3.3 in map file  not coincide  with  address  jump    of  ccs5.4 .

 For example fragment of  .map file : 

Fragment of .map generated  in CCS3.3 :

 

Fragment of .map generated  in CCS5.4 :

 

003f0000   __IQ16div

003f0047   __IQ16mag

003f00a7   __IQ1sqrt

003f00e9   __IQ24atan2PU

003f0171   __IQ24cosPU

003f0198   __IQ24div

003f01df   __IQ24rmpy

003f01ec   __IQ24sinPU

003f0215   __IQ4sqrt

003f0257   __IQ8sqrt

 

003f00e8   __IQ16div

003f0088   __IQ16mag

003f0176   __IQ1sqrt

003f0000   __IQ24atan2PU

003f0265   __IQ24cosPU

003f012f   __IQ24div

003f028c   __IQ24rmpy

003f023c   __IQ24sinPU

003f01b8   __IQ4sqrt

003f01fa   __IQ8sqrt

 

At the same time CCS 5.4 show the following message :

warning #16002-D: build attribute vendor section TI missing in "../IQmath.lib<IQ16div.obj>": compatibility cannot be determined

warning #16002-D: build attribute vendor section TI missing in "../IQmath.lib<IQ16mag.obj>": compatibility cannot be determined

warning #16002-D: build attribute vendor section TI missing in "../IQmath.lib<IQ1sqrt.obj>": compatibility cannot be determined

warning #16002-D: build attribute vendor section TI missing in "../IQmath.lib<IQ24atan2PU.obj>": compatibility cannot be determined

warning #16002-D: build attribute vendor section TI missing in "../IQmath.lib<IQ24cosPU.obj>": compatibility cannot be determined

warning #16002-D: build attribute vendor section TI missing in "../IQmath.lib<IQ24div.obj>": compatibility cannot be determined

- as  the  result  TMS320F2810 not work proprely ...... 

 

 

Thank you for reply,  Eduard

 

  • Ciubuc Eduard said:
    The address jump of any IQMath. lib functions of  ccs3.3 in map file  not coincide  with  address  jump    of  ccs5.4 .

    It is not surprising that things end up at a different address.

    Ciubuc Eduard said:
    warning #16002-D: build attribute vendor section TI missing in "../IQmath.lib<IQ16div.obj>": compatibility cannot be determined

    Please see this thread.

    Thanks and regards,

    -George

  •  Each of mathlib function(factory programed)has it own adress of entry point in ROM of the TMS320F28xx and this  adress can not be diferent  in depenednce of link version or CCS version. Programm that i writen is functional bat never  calculate the data.  

    Thank you,  Eduard.

  • Ciubuc Eduard said:
    The address jump of any IQMath. lib functions of  ccs3.3 in map file  not coincide  with  address  jump    of  ccs5.4 .

    Ciubuc Eduard said:
     Each of mathlib function(factory programed)has it own adress of entry point in ROM of the TMS320F28xx and this  adress can not be diferent  

    Ciubuc Eduard said:
    - as  the  result  TMS320F2810 not work proprely ...... 

    The 2810, 2811, and 2812 devices do not have any of the IQmath functions in the factory programmed  ROM.   They would get included in the flash and thus the address moving should not matter to the functionality of the application.

    From the IQmath documentation:

    Regards

    Lori

  • I main "IQmath tables" that is is factory programed in Boot ROM   of  320F28xx and has it own entry point in ROM

  • Ciubuc Eduard said:

    I main "IQmath tables" that is is factory programed in Boot ROM   of  320F28xx and has it own entry point in ROM

    Yes there are IQMath lookup tables in the ROM of 2810, 2811 and 2812 series of devices. Section 3.5 of the IQmath quickstart guide discusses what to place in the linker command file in order for the addresses of the table to be resolved correctly by the linker.  If this was done in the CCS 3.3 project then it should work in the new project.  Where did the math table end up in the .map file? (The document is in the C:\ti\controlSUITE\libs\math\IQmath\v160\doc directory in your controlSUITE download).

    The memory map changes you listed in the previous post are for the functions themselves and these will be in the application in flash. Their exact location does not matter.

    -Lori

  • Thank you for the advice Lori!.   I will follow your recommendation. 

    Thank you, best regards Eduard