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 do you open an EXISTING project using code composer studio 4?

Other Parts Discussed in Thread: CC3200, CC2640, CC2650

Yes, I am new to Code Composer.

The first thing that I would like to do and the very thing that is absent from the menu, is open an existing example project.

File > Open > Existing Project??

So I Browse for a file with a probable extension.

So what file do you open? .ccsproject? .cdtbuild? .cdtproject? .project?

My finding is none of the above. No, it must be something else, but what?

Surely there is some way to open an existing project. Maybe not.

  • Hi David,

    When you open CCS,  you open a workspace.  This can hold one or multiple projects and every time you open CCS you will be asked what workspace you want to open.  When it opens the projects from before will be there so you do not need to specifically open them.  If you give a new name when asked which workspace, this workspace will get created fresh with that name.

    If you have a workspace there are a couple ways to get a project into it

    To Import/bring in a project to the workspace:

    Project->Import existing CCS/Eclipse Project

    To create a project

    File->New->New CCS Project.

    Please keep us informed whether this helps clarify.

    Best Regards,

    Lisa

  • Hi David,

    I just thought I would check whether the tips were helpful getting you started.

    Best Regards,
    Lisa

  • Hi David,

    I have tried to split this thread to put your new question into the appropriate forum. 

    Hopefully they will be able to help you with the file you are trying to find and the problems with the examples.

    Best Regards,
    Lisa

  • I opened the workspace which contains my project. However, the project does not appear in the Project Explorer area. How do I open an existing project?

    I can open a file to view it by   File>>Open File and then choosing whatever file I want, but this does not open the project.

  • Try reimporting the project to the workspace.

  • I gave up trying to import my project.

    I ended up creating a new project  in the workspace, which automatically opened in Project Explorer upon creation, and manually dragged my files into it.

  • Can you please explain how to open an existing project from the CC3200 examples?
    When I import a project it creates a new project.
    I just want to open and modify an existing project.
  • We're now with CCSv6, but it's still not very clear on how to open en existing project, in the actually open workspace. For some reason, probably if CCS hasn't been closed properly, the last project does not appear when reopening CCS.

    Trying to (re)import an existing project gives a warning that the project already exists (which, of course is true, but there is no indication that this operation would be safe...)

    In your case, Gideon, I suspect that this behavior is by design, so you won't loose the original example code. You import the example in your workspace, and can then modify the new version, while having the original as backup.

  • Interesting. Part of my activity is to check progress in CCSV6.
    I can see single answer to the question above, not multiple ways.

    - The Import existing CCS is still crashing. Rarely it goes through.
    - The debugger is prone to crashing as well, asking where is the main.c? weird. :-)
    My thoughts are, when it's gonna to be ripe?
  • Hi All:

    I have experienced the same frustrations with CCS that others are experiencing.

    If a project previously existed, there should be an option to "Open" that project.  "Import" is not the correct terminology, and is in fact quite misleading.

    Perhaps the lack of "open project" is a problem with Eclipse (which would not surprise me), or is a problem with CCS.

    Whatever the reason, this difficulty has been around for many years but has never been honestly addressed.  Most likely T.I. does not want to admit that their CCS is deficient, as is their documentation in general. I have experienced many problems when dealing with T.I., and this is a prime example.

    Like other uses, I gave up in frustration and had to create a new project.

    These are the reasons that I do not use Eclipse or CCS in any of my new designs.  Unfortunately, if it is an existing project, then we are stuck with it.

    If any body knows a "real solution" to this problem, and not some obfuscation or excuses, I would like to find out what it is.

    Garry Anderson

  • Hello,

    Garry Anderson said:
    If a project previously existed, there should be an option to "Open" that project.  "Import" is not the correct terminology, and is in fact quite misleading.

    This does exist. However, only if the project has already been imported into the workspace:

    http://processors.wiki.ti.com/index.php/Projects_and_Build_Handbook_for_CCS#Open.2FClosed_projects

    You must first "Import" the project into the Eclipse environment (workspace) before you can then "Open" it:

    http://processors.wiki.ti.com/index.php/Projects_and_Build_Handbook_for_CCS#Importing_projects

    See the quote in the link above: "Any project that you want to work on must be imported into CCS. This is equivalent to what one might think of as "opening" a project."

    And yes, I agree about the "Open" vs "Import" confusion. It is confusing, especially since old version of CCS (prior to CCSv4) use "Open" to mean what you are thinking.

    Garry Anderson said:
    Perhaps the lack of "open project" is a problem with Eclipse (which would not surprise me), or is a problem with CCS.

    The terminology is something we inherited from from Eclipse. Long ago (CCSv4), we would ship with our own modified Eclipse to improve various usability issues for our customers. This was met with disappointment as people strongly preferred us to ship with a non-modified Eclipse version. Hence we now only ship with "stock" Eclipse and any changes we like to make to it we officially contribute changes to the community which would then need to get approved.

    As for the issue some experienced regarding unable to import a project because it exists in the worksapce, the issue is that a project of that name physically exists in the workspace folder, but is not associated with the workspace. Most likely the project once was imported and then removed when the user decided to remove the project from the Project Explorer view but did not enable the option to physically delete the project from the folder. So what happens is that the project no longer appears in the CCS but the project file/folder still remains. Then if you try to ope... I mean "import" a project of the same name into the workspace, CCS complains. The way to resolve this is to physically delete the project folder from the workspace folder.

    Sorry for all the pain an I hope this helps explain what is going on

    ki

  • Hi Ki:

    Thank you for your explanation.  As I suspected, the problem appears to be with Eclipse, and this is another reason that I don't think Eclipse is very good and I don't use Eclipse by choice.

    I hope your reply helps other people facing the same issues.

    Garry.

  • Yes, I agree. In the past, I've let myself become seduced by Eclipse's bells and whistles, just to be disappointed each time.

    Some of this is rubbing off on TI, it seems. When clicking on the link in the mail, I got to the forum at TI. It asked me to log in, and told me the password was incorrect (I doubt that very much). Anyway, I updated the password, and now I could not get back to the forum (not by hitting 'Back' nor by re-clicking on the mail link to the thread). A message 'Password token expired' keeps popping up. I finally had to go to myTI, and enter the forum there.

  • Hi Garry,

    Just come across your question.

    I think you have to use this document (SWRU 393) :

    CC2640 and CC2650 SimpleLink™  Bluetooth® low energy Software Stack 2.2.1  Developer's Guide

    Page 29.

    Thank you.

    Cheers,

    K

     

     

  • I have same problem.

    ALthough TI provides a lot of CCS sample, but there is no definite project files at all.

    Ain't I wrong ?

    Very difficult UI to follow up.