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.

Migrating C2000 (TMS320F2812) project from CCSv3.3 to CCSv4.0 (continued)

Other Parts Discussed in Thread: CCSTUDIO

I read both of the links pointed to before asking for assistance.  I was ultimately able to migrate a project from CCS 3.3 to CCS 4.0  However, there were a few warnings in the migration log regarding unresolved compiler options.  Here's the migration.log file


!CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.C2000.Debug.1020165414' [Thu Aug 12 10:22:11 EDT 2010]
    !TOOL: 'com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.compilerDebug.1581754788'
        !WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.compilerDebug.1581754788::-b
        !WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.compilerDebug.1581754788::-mf
        !WARNING: This project sets build-options on tool 'DspBiosBuilder', but does not contain a DSP/BIOS configuration file. These build-settings will be ignored. If you wish to preserve these build-settings, create an empty .tcf file in the project prior to migration.


!CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.C2000.Release.1119881316' [Thu Aug 12 10:22:11 EDT 2010]
    !TOOL: 'com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.compilerRelease.556478759'
        !WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.compilerRelease.556478759::-b
        !WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.compilerRelease.556478759::-mf

When I try to build the active project I get linking errors as indicated in the "cur and paste" from the console window below.


**** Build of configuration Debug for project HF_DEV_01 ****

C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake -k all
'Building target: HF_DEV_01.out'
'Invoking: C2000 Linker'
"C:/Program Files/Texas Instruments/C2000 Code Generation Tools 5.2.1/bin/cl2000" -z -m"HF_DEV_01.map" --stack_size=0X400 --warn_sections -i"C:/Program Files/Texas Instruments/C2000 Code Generation Tools 5.2.1/lib" -i"C:/Program Files/Texas Instruments/C2000 Code Generation Tools 5.2.1/include" -i"C:/FitzSimons_Automation/Jobs/CardioMEMS/HF_Firmware_Design/HF_DSP_Code/DSP_with_DB_I2_Algorithm_08-31-2009" -i"C:/FitzSimons_Automation/Jobs/CardioMEMS/HF_Firmware_Design/HF_DSP_Code/DSP_with_DB_I2_Algorithm_08-31-2009/../../DSP281x_headers/include" --reread_libs --rom_model -o "HF_DEV_01.out"  "../DSP281x_Headers_nonBIOS.cmd" "../F2812_XintfBoot.cmd" "./Baro_Sensor.obj" -l"rts2800_ml.lib"
<Linking>

 undefined       first referenced
  symbol             in file     
 ---------       ----------------
 _DSP28x_usDelay ./Baro_Sensor.obj

error: unresolved symbols remain
error: errors encountered during linking; "HF_DEV_01.out" not built

>> Compilation failure
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [HF_DEV_01.out] Error 1
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.
Build complete for project HF_DEV_01

Any suggestions?

 

  • Hi Philip,

    What exact version of CCS are you using? And did you install from the platinum DVD image or the code size limited microcontroller CORE version?

    Thanks

    ki

  • Hi Ki,

     

         I am using the full Platinum edition CCS version 4.0.2.01003 running under windows XP service pack 3 (on my desktop).  Interestingly enough on my windows 7 laptop I installed the same image and brought it current and it now indicates that the version on the laptop is 4.1.2.00027  When I try to bring the desktop current via update it indicates there are no updates available.  They both exhibit similar behavior when trying to migrate projects, namely trouble linking.  However, the undefined symbols indicated are different.  For now, I'd like to focus on getting the desktop installation working and hopefully it will then be clear what's needed to get the laptop working.

    Regards,

    Philip

     

  • Philip,

    The linker error says that it cannot find the definition for _DSP28x_usDelay. This comes from the file DSP281x_usDelay.asm. Are you sure you have this file included in the project and it is not excluded from the build?

  • The file shows up with the all of the other sources and does not have the notation [Exclude from Build] beside it.

  • When I used the right mouse button along the file 'DSP281x_usDelay.asm' listed in the sources and chose [Exclude file(s) from Build] twice the project built successfully.  It appears the problem with my desktop installation is solved.

    Thanks,

    Philip