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.

Migrating C2000 (TMS320F2812) project from CCSv3.3 to CCSv4.0

Other Parts Discussed in Thread: CCSTUDIO

I am attempting to migrate a CCS project from 3.3 to 4.0 and get an "unexpected exception"

Here are the steps I followed

1. Select "Project -> Import Legacy CCSv3.3 Project"
2. In dialog box "Import Legacy CCS Project" browse to project file and select it then Select "Next"
3. Select "Code Geeration tool version for each migraged project" (Tool version 5.2.1) select "Next"
4. Do not select anything in "Set Advanced Options" dialog box except "Finish"

The log file generated is

!SESSION 2010-08-12 09:50:41.724 -----------------------------------------------
eclipse.buildId=4.0.2.01003
java.version=1.5.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments:  -os win32 -ws win32 -arch x86

!ENTRY com.ti.ccstudio.managedbuild.ui 4 0 2010-08-12 09:55:51.396
!MESSAGE An internal error was logged by 'com.ti.ccstudio.managedbuild.ui'.
!STACK 0
java.lang.reflect.InvocationTargetException
    at com.ti.ccstudio.managedbuild.ui.wizards.importlegacy.ImportLegacyProjectWizard$1.run(ImportLegacyProjectWizard.java:109)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.eclipse.core.internal.resources.ResourceException: Invalid project description.
    at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:172)
    at org.eclipse.core.internal.resources.Project.create(Project.java:275)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.createEclipseProject(LegacyProjectImporter.java:314)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.doRun(LegacyProjectImporter.java:219)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.access$0(LegacyProjectImporter.java:205)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter$1.run(LegacyProjectImporter.java:195)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.run(LegacyProjectImporter.java:193)
    at com.ti.ccstudio.managedbuild.ui.wizards.importlegacy.ImportLegacyProjectWizard$1.run(ImportLegacyProjectWizard.java:106)
    ... 1 more
Root exception:
org.eclipse.core.internal.resources.ResourceException: Invalid project description.
    at org.eclipse.core.internal.resources.Project.checkDescription(Project.java:172)
    at org.eclipse.core.internal.resources.Project.create(Project.java:275)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.createEclipseProject(LegacyProjectImporter.java:314)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.doRun(LegacyProjectImporter.java:219)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.access$0(LegacyProjectImporter.java:205)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter$1.run(LegacyProjectImporter.java:195)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1737)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1719)
    at com.ti.ccstudio.managedbuild.core.legacy.LegacyProjectImporter.run(LegacyProjectImporter.java:193)
    at com.ti.ccstudio.managedbuild.ui.wizards.importlegacy.ImportLegacyProjectWizard$1.run(ImportLegacyProjectWizard.java:106)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)

 

Any suggestions?

  • Philip,

    The procedure you followed is pretty standard and I can't think of anything that could cause such severe error. Does this issue happens when trying to do other operations like importing another project or creating a new project from scratch? It could be an issue with this specific project or a problem with the CCS itself. 

    Can you check the General IDE and JVM error logs sections at the page below for additional tips?

    http://processors.wiki.ti.com/index.php/Troubleshooting_CCS 

    I searched around for the error shown above "Invalid project description" and found some reported problems caused by unrelated factors (users renaming files or changing the project metafiles, for example), but nothing that resembles your case.

    As a last resource, I see you are using CCSv4.0.2. Several improvements to the Project Import wizard were done in the later releases, therefore you may consider updating your software. Please check the Downloads section of the page below:

    http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v4

    Hope this helps,

    Rafael