Part Number: LAUNCHXL-F28069M
Other Parts Discussed in Thread: CONTROLSUITE, SYSCONFIG, C2000WARE
This is the first time I use CCS for TI's MCU/DSP. I tried to use the Launchxl-f28069M to get familiar with the programming of TI's product. I ran the demo program built-in with the package. No problem. Then I tried to build the demo project stored in C:\ti\controlSUITE\development_kits\LAUNCHXL-F28069M\LaunchPadDemo. I imported the project with copy to workspace checked. When I built the project, errors appeared indicated it could not find ALL the compiled .obj files like this:
>> Compilation failure
makefile:149: recipe for target 'Example_2806xLaunchPad.out' failed
"C:\\Users\\weiliang.xu\\AppData\\Local\\Temp\\380923", line 27: error: cannot
find file "./Example_F2806xLaunchPadDemo.obj"
It seemed like in CCS settings, the .obj file path was set to C:\\Users\\weiliang.xu\\AppData\\Local\\Temp\\380923. I searched all CCS settings to correct this, and I could not find where is it. In addition, I searched the folders C:\ti and C:\\Users\\weiliang.xu. I could not find the corresponding .obj files. So I do not even know where CCS put them. I know CCS had built them successfully as the message showed:
Building file: "../Example_F2806xLaunchPadDemo.c"
Invoking: C2000 Compiler
"C:/ti/ccs1230/ccs/tools/compiler/c2000_15.12.3.LTS/bin/cl2000" -v28 -ml -mt --float_support=fpu32 --cla_support=cla0 --vcu_support=vcu0 --include_path="C:/ti/ccs1230/ccs/tools/compiler/c2000_15.12.3.LTS/include" --include_path="/packages/ti/xdais" --include_path="C:/ti/controlSUITE/device_support/f2806x/v140/F2806x_headers/include" --include_path="C:/ti/controlSUITE/device_support/f2806x/v140/F2806x_common/include" --include_path="C:/ti/controlSUITE/libs/math/IQmath/v160/include" --include_path="C:/ti/controlSUITE/libs/math/FPUfastRTS/V100/include" -g --define=_DEBUG --define=_FLASH --define=LARGE_MODEL --quiet --verbose_diagnostics --issue_remarks --diag_warning=225 -k --asm_listing --output_all_syms --asm_includes --cdebug_asm_data --preproc_with_compile --preproc_dependency="Example_F2806xLaunchPadDemo.d_raw" "../Example_F2806xLaunchPadDemo.c"
"../Example_F2806xLaunchPadDemo.c", line 216: note: comparison between
signed and unsigned operands
if(tempDelta > cycleCount){
^
"../Example_F2806xLaunchPadDemo.c", line 224: note: comparison between
signed and unsigned operands
if(abs(tempDelta) > cycleCount){
^
"../Example_F2806xLaunchPadDemo.c", line 248: warning: variable "fid" was set
but never used
volatile FILE *fid;
^
Finished building: "../Example_F2806xLaunchPadDemo.c"
By the way, if I used the linking option without copying to the workspace, the .obj files can be found in the linked Debug folder. However, if using copy project to workspace, the .obj files do not appear in the Debug folder inside the project folder.
Can anyone help to find out what was wrong? Thanks in advance for any help!