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.

CCS5.1 Build error

Other Parts Discussed in Thread: CONTROLSUITE

I have upgrade CCS3.3 to CCS5.1, since Ti has more supports for newer versions. I tried to run  CPU timer example and I even followed the Getting started video, hut I am getting Compile error.

C28xx: GEL: Encountered a problem loading file: C:\Documents and Settings\ED\workspace_v5_1\Example_2802xCpuTimer\Debug\Example_2802xCpuTimer.out Could not open file

I never had issues with CCS3.3 running a simple examples. I tried delitting project a few times, that didn't work.I selected XDX100v1, and Example_2802xCpuTimer as my target. I know that during setup I was asked if want to import project to "workspace" director, and I chose yes, but nothing got imported to "Workspace' directory, instead to "workspace_v5_1"  Bellow is complete build error.

Thank you

Edmon

**** Build of configuration Debug for project Example_2802xCpuTimer ****

C:\TI\ccsv5\utils\bin\gmake -k all

gmake: *** No rule to make target `C:/TI/ccsv5/eclipse/INSTALLROOT_2802X_V129/DSP2802x_common/source/DSP2802x_CodeStartBranch.asm', needed by `DSP2802x_CodeStartBranch.obj'.

gmake: *** No rule to make target `C:/TI/ccsv5/eclipse/INSTALLROOT_2802X_V129/DSP2802x_common/source/DSP2802x_CpuTimers.c', needed by `DSP2802x_CpuTimers.obj'.

gmake: *** No rule to make target `C:/TI/ccsv5/eclipse/INSTALLROOT_2802X_V129/DSP2802x_common/source/DSP2802x_DefaultIsr.c', needed by `DSP2802x_DefaultIsr.obj'.

gmake: *** No rule to make target `C:/TI/ccsv5/eclipse/INSTALLROOT_2802X_V129/DSP2802x_headers/source/DSP2802x_GlobalVariableDefs.c', needed by `DSP2802x_GlobalVariableDefs.obj'.

gmake: *** No rule to make target `C:/TI/ccsv5/eclipse/INSTALLROOT_2802X_V129/DSP2802x_common/source/DSP2802x_PieCtrl.c', needed by `DSP2802x_PieCtrl.obj'.

gmake: *** No rule to make target `C:/TI/ccsv5/eclipse/INSTALLROOT_2802X_V129/DSP2802x_common/source/DSP2802x_PieVect.c', needed by `DSP2802x_PieVect.obj'.

gmake: *** No rule to make target `C:/TI/ccsv5/eclipse/INSTALLROOT_2802X_V129/DSP2802x_common/source/DSP2802x_SysCtrl.c', needed by `DSP2802x_SysCtrl.obj'.

gmake: *** No rule to make target `C:/TI/ccsv5/eclipse/INSTALLROOT_2802X_V129/DSP2802x_common/source/DSP2802x_usDelay.asm', needed by `DSP2802x_usDelay.obj'.

'Building file: ../Example_2802xCpuTimer.c'

'Invoking: C2000 Compiler'

"C:/TI/ccsv5/tools/compiler/c2000/bin/cl2000" --silicon_version=28 -g --define="_DEBUG" --define="LARGE_MODEL" --include_path="C:/TI/ccsv5/tools/compiler/c2000/include" --include_path="/packages/ti/xdais" --include_path="/DSP2802x_headers/include" --include_path="/DSP2802x_common/include" --include_path="/v15c/include" --quiet --verbose_diagnostics --diag_warning=225 --issue_remarks --large_memory_model --unified_memory --output_all_syms --cdebug_asm_data --preproc_with_compile --preproc_dependency="Example_2802xCpuTimer.pp" "../Example_2802xCpuTimer.c"

"../Example_2802xCpuTimer.c", line 66: fatal error: could not open source file

"DSP28x_Project.h"

#include "DSP28x_Project.h" // Device Headerfile and Examples Include File

^

1 fatal error detected in the compilation of "../Example_2802xCpuTimer.c".

Compilation terminated.

>> Compilation failure

gmake: *** [Example_2802xCpuTimer.obj] Error 1

gmake: *** No rule to make target `C:/TI/ccsv5/eclipse/INSTALLROOT_2802X_V129/DSP2802x_common/cmd/28027_RAM_lnk.cmd', needed by `Example_2802xCpuTimer.out'.

gmake: *** No rule to make target `C:/TI/ccsv5/eclipse/INSTALLROOT_2802X_V129/DSP2802x_headers/cmd/DSP2802x_Headers_nonBIOS.cmd', needed by `Example_2802xCpuTimer.out'.

gmake: Target `all' not remade because of errors.

**** Build Finished ****

  • Edmon,

    Are you just trying to open the CPU timer example project from ControlSuite into CCSv5? The key thing to note when importing the project is to make sure that the "Copy projects into workspace" checkbox is NOT checked, because the examples are not set to be copied to workspace.

    Please check this page for a step by step process of importing and running ControlSuite projects in CCSv5:
    http://processors.wiki.ti.com/index.php/C2000_Getting_Started_with_Code_Composer_Studio_v5#Run_Your_First_C2000_Project_in_CCSv5.1

     

  • Yes, I am trying to open CPU timer example project from ControlSuit. I followed the instruction you provided from the link, and I came to a point in instruction where asks me to import      "Project->Import Existing CCS/CCE Eclipse Project". I don't see this option in Project drop down menu, the only choice I have is ""CCS Example project". I tried to open CPU timer project from that, but I get the same error.

    Thank You

    Edmon

  • Edmon,

    What is the exact version of CCSv5 you are using?

    Make sure you are in the CCS Edit perspective when you go to the menu Project. The menu listing will be different based on the perspective you are in (CCS Edit or CCS Debug), and you may be looking at it from the CCS Debug perspective.

    Please see screenshot of my Project menu.

  • The CCS is Version: 5.1.0.09000

     

    By clicking on Edit or debug perspective button at the top right corner screen changes to debug or edit mode eathercase I get a message "Could not open the editor: Must specify a URI scheme:INSTALLROOT_2802X_V129/DSP2802x_common/source/DSP2802x_CpuTimers.c". and also the Project drop down menu still doesnt contain "Import Existing CCS/CCE Eclipse Project".

    Thank you

    Edmon

  • Edmon Khodadadian said:
    Project drop down menu still doesnt contain "Import Existing CCS/CCE Eclipse Project".

    Could you try cleaning or workspace or open a new workspace and see if the menu item reappears? Please see the General IDE section of this page;
    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS#General_IDE

     

  • I tried deleting and creating new workspace, that didn't do it. I had too many corrupt files, so I uninstalled CCS5 and reinstalled it again and that solved the problem. 

    Thank you for putting your time and effort to resolve this issue

    Regards

    Edmon