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.

Issue importing projects in CC 4.2

I have an issue that I assumed was minor but I'll bring it up.  Perhaps it explains some of the flaky behavior I've seen (see previous posts).  When I compile I get a warning saying that the project was created with CC 3.3.1 and recommending that I migrate the project to the current version (if I'm interpreting it right).  Problem is I've so far been unable to migrate or import this project or my other projects into CC 4.2  Using the Import function, I can point it right to the project folder inside the workspace folder and it simply doesn't see it.  It's looking for a .pjt file but there are no such files.  I've tried importing it as a 3.x project as well as a 4.x project.  I assumed that because I'm running 4.2 that all of the 4.2 tools (comp+link) are being used.  Now I'm really not so sure what's going on...ideas?

 

 

  • Chris,

    I am not sure what is the error message you mentioned. Does it say something like: "This project was created using a version of Code Generation tools that is not currently installed: 3.3.1[MSP430]. Please install the Code Generation tools of this version, or migrate the project to one of the supported versions."?

    If so, then you can change the release of the tools used by the project: check the forum thread below.

    http://e2e.ti.com/support/development_tools/code_composer_studio/f/81/p/75859/275898.aspx#275898

    Usually to import a project you should leave it in a directory other than the workspace - the process of importing the project will either create a link to it or copy the entire project to the workspace (I added this note to the CCSv4 Getting Started Guide). As you already noticed, simply copying the project directory and all its files to the workspace does not work.

    Chris35513 said:

    I assumed that because I'm running 4.2 that all of the 4.2 tools (comp+link) are being used.

    That depends. Since the previous release of the tools are not installed, CCSv4.2 will compile the project only if the difference is not too big. In other words, if you created a project with 3.3.1 and you have installed, say, 3.3.3 the project compiles fine and no warning is generated. If you have installed 3.4.x then you see the warning above. In both cases the project is built. However, if you have installed 4.x.x then CCS spawns an error and the project is not built. This is useful to avoid any incompatibilities that can cause problems.

    Hope this helps,

    Rafael

  • Hi, I'm still unclear.  My proj prefs say code generation tools are v3.3.1 however I'm running 4.2.0.10017.  The drop down menu only gives choices of 3.x.  The proj compiles under 4.2 but I don't know if it compiles "properly".  I can't see any way of changing to 4.2 other than somehow deleting the entire project and creating a new one or importing the existing one.  In either case, it seems like a scary proposition.  I spent days merely trying to do both of these things, with zero success.  I'm afraid of screwing things up even further as there are many switches and settings and I wasn't the one who created the project in the first place. 

    To complicate matters, my files are being held hostage by some insidious application.  It prevents me from moving, renaming, deleting project files.  In a file browser, the files have red exclamation points as icons or green checkboxes as icons. I suspect it's related to Git but not 100% sure (it's definitely not from backup SW), perhaps TortoiseGit.  Regardless, as a consultant using a company dev system, I can't mess with it.   Nobody at my company has any info on this malicious plague that's descended upon my project files.  For example, copying the proj files to another machine then back again restores those annoying attributes to the copies, essentially linking them to the originals - apparently a source control mechanism.  No responses to my posts in Git forums.  Hopefully this isn't interfering with CC, but then I'm having so many bizarre issues, who knows...

     

  • Chris,

    Although CCS is a complete package that comes with code generation tools, BIOS, RTSC, etc, its version numbers are completely independent. This was done to allow users a complete flexibility to choose which set of tools they intend to use independently of updating the IDE.

    Therefore, in your case you shouldn't be afraid if you are building your project in an improper way. The stock CCS 4.2.0.00017 comes with MSP430 Code Generation Tools release 3.3.1.

    Hope this helps,

    Rafael

  • Yes, I'm seeing "This project was created using a version of Code Generation tools that is not currently installed: 3.3.1[MSP430]. Please install the Code Generation tools of this version, or migrate the project to one of the supported versions."?

    The problem is that when I create a new project, I only get options for legacy Code Generation Tools 3.2.2 and 3.2.3.  Perhaps this is causing my other CC issues?  Why is it that although I'm using CC 4.2, the New Proj menu implies that it only supports these older CG tools?  How can I tell CC that I want to support the 4.2 Code Generation Tools?  Or at least tools newer than 3.2.3?

    What I'm trying to do is create a new project while bringing in (or importing) all the relevant source files.  I also need to move my workspace folder/path from where it is now to another folder (it's presently in an inappropriate place).  This will also involve moving other project which are dependencies to my main project, since they're also presently in the wrong place.  I was working a few days ago with a TI engr on the phone trying to do this but so far no success. I've never wasted so much time with a tool in my 26 year career.

     

     

  • and ps. I truly do appreciate your assistance on this, you've been a great help so far.  I'm just feeling more than a little frustrated at the moment...

  • Chris,

    From your description I infer that the update to CCS4.2 was done via the automatic update (a pop up screen that shows up whenever there is a new version of the IDE is available). This automatic update process does not update the other tools (Code Generation Tools, BIOS, etc)

    Explanations apart, you can install Code Generation Tools 3.3.x using the built-in updater of CCS. Check the section Updating CCSv4 manually in the page below:

    http://processors.wiki.ti.com/index.php/GSG:Managing_installed_features_and_updating_CCS

    Once you run that, you should navigate to see the screen below that contains a screen to Code Generation Tools 3.3.2.

    I apologize for the grief and hopefully you will be finally able to update everything to the latest version.

    Hope this helps,

    Rafael