Hi, I have an existing project for the TMS320F2801 that was build on the ccv3.1 IDE. Since we don't have this v3.1 IDE anymore, I have downloaded the latest ccv4.0 IDE from TI's website and imported the project into the new IDE using Projects->Import Legacy 3.3 projects option. I get some warnings in migration.log:
!CONFIGURATION: 'com.ti.ccstudio.buildDefinitions.C2000.Debug.708064234' [Tue Sep 08 14:53:50 PDT 2009]
!TOOL: 'com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.linkerDebug.282970513./JP3/rts2800.lib'
!WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.linkerDebug.282970513./JP3/rts2800.lib::-q
!TOOL: 'com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.linkerDebug.282970513./JP3/lib/IQmath.lib'
!WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.linkerDebug.282970513./JP3/lib/IQmath.lib::-q
!TOOL: 'com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.linkerDebug.282970513./JP3/cmd/DSP280x_Headers_nonBIOS.cmd'
!WARNING: Unresolved option: com.ti.ccstudio.buildDefinitions.C2000_5.2.exe.linkerDebug.282970513./JP3/cmd/DSP280x_Headers_nonBIOS.cmd::-q
When I tried to do Rebuid All, I get build errors:
Building file: ../source/JP3.c'
'Invoking: C2000 Compiler'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c2000/bin/cl2000" --silicon_version=28 -g --define="_DEBUG" --define="LARGE_MODEL" --include_path="C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c2000/include" --include_path="C:/Documents and Settings/Dennis/Desktop/DSPCode/DSP Code/Rel 1.0/Debug" --include_path="C:/Program Files/Texas Instruments/bios_5_40_02_22/packages/ti/bios/include" --include_path="C:/Program Files/Texas Instruments/bios_5_40_02_22/packages/ti/rtdx/include/c2000" --include_path="C:/Program Files/Texas Instruments/xdais_6_23/packages/ti/xdais" --include_path="../include" --quiet --diag_warning=225 --sat_reassoc=off --large_memory_model --fp_reassoc=off --obj_directory="c:/ti/myprojects/JP3/Debug" --preproc_with_compile --preproc_dependency="source/JP3.pp" "../source/JP3.c"
"../source/JP3.c", line 138: warning: function declared implicitly
"../source/JP3.c", line 167: warning: function declared implicitly
'Finished building: ../source/JP3.c'
' '
'Building target: JP3.out'
'Invoking: C2000 Linker'
"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c2000/bin/cl2000" -z -m"JP3.map" --warn_sections -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c2000/lib" -i"C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c2000/include" -i"C:/Program Files/Texas Instruments/bios_5_40_02_22/packages/ti/rtdx/lib/c2000" -i"C:/Program Files/Texas Instruments/bios_5_40_02_22/packages/ti/bios/lib" -i"C:/Documents and Settings/Dennis/Desktop/DSPCode/DSP Code/Rel 1.0" -i"../cmd" --reread_libs --rom_model -o "JP3.out" "c:/ti/myprojects/JP3/Debug/JP3.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_usDelay.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_SysCtrl.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_Sci.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_PieVect.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_PieCtrl.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_MemCopy.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_Gpio.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_GlobalVariableDefs.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_EPwm.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_ECap.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_DefaultIsr.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_CpuTimers.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_CodeStartBranch.obj" "c:/ti/myprojects/JP3/Debug/DSP280x_Adc.obj" "C:/Program Files/Texas Instruments/ccsv4/tools/compiler/c2000/lib/rts2800.lib" "../lib/IQmath.lib" "../cmd/DSP280x_Headers_nonBIOS.cmd" "../cmd/F2801.cmd"
<Linking>
fatal error: file "C:/Program Files/Texas
Instruments/ccsv4/tools/compiler/c2000/lib/rts2800.lib<boot.obj>" has a
Tag_Memory_Model attribute value of "1" that is different than one
previously seen ("2"); combining incompatible files
>> Compilation failure
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: *** [JP3.out] Error 1
C:\Program Files\Texas Instruments\ccsv4\utils\gmake\gmake: Target `all' not remade because of errors.
Build complete for project JP3
Here is what my project file looks like:
; Code Composer Project File, Version 2.0 (do not modify or remove this line)
[Project Settings]
ProjectDir="c:\ti\myprojects\JP3\"
ProjectType=Executable
CPUFamily=TMS320C28XX
Tool="Compiler"
Tool="CustomBuilder"
Tool="DspBiosBuilder"
Tool="Linker"
Config="Debug"
Config="Release"
[Source Files]
Source="..\..\c2000\cgtools\lib\rts2800.lib"
Source="lib\IQmath.lib"
Source="source\DSP280x_Adc.c"
Source="source\DSP280x_CodeStartBranch.asm"
Source="source\DSP280x_CpuTimers.c"
Source="source\DSP280x_DefaultIsr.c"
Source="source\DSP280x_ECap.c"
Source="source\DSP280x_EPwm.c"
Source="source\DSP280x_GlobalVariableDefs.c"
Source="source\DSP280x_Gpio.c"
Source="source\DSP280x_MemCopy.c"
Source="source\DSP280x_PieCtrl.c"
Source="source\DSP280x_PieVect.c"
Source="source\DSP280x_Sci.c"
Source="source\DSP280x_SysCtrl.c"
Source="source\DSP280x_usDelay.asm"
Source="source\JP3.c"
Source="cmd\DSP280x_Headers_nonBIOS.cmd"
Source="cmd\F2801.cmd"
["Compiler" Settings: "Debug"]
Options=-g -q -fr"c:\ti\myprojects\JP3\Debug" -i"..\include" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28
["Compiler" Settings: "Release"]
Options=-q -o3 -fr"c:\ti\myprojects\JP3\Release" -i"..\include" -d"LARGE_MODEL" -ml -v28
["DspBiosBuilder" Settings: "Debug"]
Options=-v28
["DspBiosBuilder" Settings: "Release"]
Options=-v28
["Linker" Settings: "Debug"]
Options=-q -c -m".\Debug\JP3.map" -o".\Debug\JP3.out" -x -i".\cmd"
["Linker" Settings: "Release"]
Options=-q -c -m".\Release\JP3.map" -o".\Release\JP3.out" -x
Can someone please help me? I am new to code composer... :)
is it at all possible to import a version 3.1 project into the version 4.0 IDE? If so, did I miss something?
Thanks