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.

How to import CCSv6 project to old CCSv3.3?

Hi everyone,

I'm developing a project in CCSv6 targetting a F28335 Delfino device using the floating-ponit unit. I'd like to share this code to someone else who is still using CCS v3.3 and the same device.

I've installed CCS v3.3 on my PC (same PC where CCSv6 is installed) to try to do this successfully but seems impossible or very tricky. I know that Code Generation Tools are not the same, but I've installed v6.4.2 on CCS v3.3. Does it crash with CCSv6 compiler version?. I'm also doubting if it supports FPU. In order to migrate the project to this older IDE version, I'm copying source, include and library files directly to another directory where I create a new project (Project->New).

Copying this files has no issues, but when compiling it, some undefined symbols appear. I copy them:

undefined                                      first referenced
 symbol                                          in file
---------                                           ----------------
_Bus_I2C                                     C:\Projectes_CCS3\ProjectName\Debug\Config_I2C.obj
_c_int00                                        C:\Projectes_CCS3\ProjectName\Debug\DSP2833x_CodeStartBranch.obj
FS$$MPY                                      C:\Projectes_CCS3\ProjectName\Debug\DSP2833x_CpuTimers.obj
FS$$TOL                                       C:\Projectes_CCS3\ProjectName\Debug\DSP2833x_CpuTimers.obj
_status_RX_I2C                          C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_Data_read_I2C                         C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_eeprom_wait_write                  C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_Num_bytes_read_eeprom     C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_status_Reset_I2C                    C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_timeout_error_RX                     C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_Eeprom_I2C                              C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_timeout_error_TX                     C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_Buffer_TX_I2C                          C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_status_TX_I2C                          C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_Eeprom_time_write                 C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_Data_write_I2C                        C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_wait_write                                  C:\Projectes_CCS3\...\Debug\Func_I2C.obj
_dummy_timeout_Reset         C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_dummy_error_Reset              C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_I2C_reset                                  C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_Time_out_RX                          C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_Time_out_TX                           C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_I2C_rx                                       C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_I2C_tx                                       C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_Time_out_RTX                       C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_timeout_error_RTX                C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_wait_read                                C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
_Buffer_RX_I2C                       C:\Projectes_CCS3\ProjectName\Debug\Func_I2C.obj
FS$$TOI                                    C:\Projectes_CCS3\ProjectName\Debug\Init_LibModbus.obj
FS$$NEG                                  C:\Projectes_CCS3\ProjectName\Debug\Init_Vars.obj
UL$$TOFS                                C:\Projectes_CCS3\ProjectName\Debug\Interrupcio_ADC.obj
FS$$CMP                                 C:\Projectes_CCS3\ProjectName\Debug\Interrupcio_ADC.obj
FS$$SUB                                 C:\Projectes_CCS3\ProjectName\Debug\Interrupcio_DMACH1.obj
FS$$ADD                                 C:\Projectes_CCS3\ProjectName\Debug\Interrupcio_DMACH1.obj
U$$MOD                                  C:\Projectes_CCS3\ProjectName\Debug\Interrupcio_TINT0.obj
_cos                                         C:\Projectes_CCS3\ProjectName\Debug\LibControl.obj
I$$TOFS                                  C:\Projectes_CCS3\ProjectName\Debug\LibControl.obj
_sin                                          C:\Projectes_CCS3\ProjectName\Debug\LibControl.obj
_sqrt                                         C:\Projectes_CCS3\ProjectName\Debug\LibControl.obj
FS$$DIV                                  C:\Projectes_CCS3\ProjectName\Debug\LibControl.obj
__memcpy_ff                         C:\Projectes_CCS3\ProjectName\Debug\main.obj


Variables are global and defined and initialized in proper files. Don't know why this "undefined symbols" error appears. There are other arithmetic functions which use float words like "cos", "sin" or "sqrt". In this case, I deduce that this intrinsic functions are not defined in this compiler version or something similar. About the rest, I soppose that come from asembler code, but don't know the origin of the error niether how to solve it.

Could you please give me a hint on what should I check, update or how to import the project to CCSv3.3 successfully?

Tanks,

Alex

  • Hello,

    Some of the missing symbols are from the run-time support (rts) library. Make sure your CCSv3.3 project has explicit references to it. CCSv6 is smarter about automatically picking up the right rts lib for you so you don't have to do anything. But v3 does not do this automatically.

    As for the other symbols, I'm not too familiar with them. You are missing some other lib. Sounds like something you'd get from a CSL (Chips Support Library) or something like that. Check your v6 project and see which libraries are getting linked in. Make sure you have the same libs in your v3 project

    Thanks

    ki