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.

Error when importing Projects

Other Parts Discussed in Thread: CONTROLSUITE, CC2538, MSP430WARE

Hello,

    I am having problems when trying to import existing projects into my workspace. I believe it is related with using a different compiler to the one it was used to initially create the project. Could you give me some advice on how to solve this?

   Below is the error message:

Error: Import failed for project 'DSP28035_Test' because its compiler definition is not available. The project does not appear to be a 'CCS Project'. Please try importing it through the 'General > Existing Projects into Workspace' wizard.

  Thanks,

Lucas

  • Hi Lucas,

    please verify you import with project-import existing ccs/eclipse project

    Also is this indeed a ccs project?   You can check you installed compilers under window - preferences- code composer studio - build - code generation tools

    I would recommend using the latest version 5.3.  Is this the ccs version you use?

    Please keep us informed.

    Best Regards,

    Lisa

  • Please help me to recreate the problem you observed.  Here's the closest I've come so far.

    Setup:

    Code Composer Studio Version: 5.3.0.00090
            Help --> Check for updates --> "No updates were found"
            Help --> About --> Installation Details --> "Installed Software" tab quoted below
    controlSUITE v3.1.2 - November 26, 2012
    FlashingLeds-F28035 firmware example from controlSUITE

    Code Composer Studio Installed Software said:

      ARM BIOS6                                 6.34.2.18

      ARM Compiler Tools                        5.0.3

      ARM Compiler v5.0 Help                    5.0.0.201210291916

      ARM IPC                                   1.25.0.04

      ARM XDCTools                              3.24.5.48

      Autotools support for CDT                 3.0.1.201206111645

      BIOS 6                                    6.34.2.18

      Blackhawk Emulators                       5.2.0.205

      C/C++ Development Tools                   8.1.0.201206111645

      C/C++ GCC Cross Compiler Support          1.1.0.201206111645

      C/C++ GDB Hardware Debugging              7.0.0.201206111645

      C/C++ Memory View Enhancements            2.2.0.201206111645

      C/C++ Remote Launch                       6.0.0.201206111645

      C2000 BIOS6                               6.34.2.18

      C2000 Compiler v6.1 Help                  6.1.1.201211281204

      C2000 Device Support                      4.1.0.3

      C2000 Emulation Flash                     1.0.0.2

      C2000 IPC                                 1.25.0.04

      C2000 XDCTools                            3.24.5.48

      C2800 Compiler Tools                      6.1.2

      CC2538 Device Support                     0.9.4.0

      CCS NowFlash Emulators                    5.3.0.0

      CCSINIT                                   5.1.0.0

      CDT Visual C++ Support                    1.0.0.201206111645

      Code Composer Studio Base Components      5.3.0.00368

      Code Composer Studio IDE ARM Components   5.3.0.201211071700

      Code Composer Studio IDE C2000 Components 5.3.0.201211071700

      Code Composer Studio IDE Main Feature     5.3.0.201211071700

      Code Composer Studio IDE MSP430 Components5.3.0.201211071700

      Code Composer Studio IDE Workflow         5.3.0.201211071700

      Compiler Tools On-line Documentation      1.1.0.0

      Debug Server                              5.3.0.368

      DVT - Graph Visualization                 3.3.0.201209281235

      DVT - Profiler Analysis Manager           3.3.0.201209281235

      DVT - RTA Feature                         3.3.0.201209281235

      DVT - System Analyzer                     3.3.0.201209281235

      DVT - Trace Control                       3.3.0.201209281235

      Eclipse CVS Client                        1.3.200.v20120525-1249-7B79FJJAkF7BF7VEH5FEJT

      Eclipse EGit                              2.0.0.201206130900-r

      Eclipse Help System                       1.4.1.v20120726-050831-8R7xFOUFLWUl7MoSKV_OFXl27

      Eclipse Platform                          3.8.1.M20120914-1540

      EGit Import Support                       2.0.0.201206130900-r

      EPP Common Package Feature                1.5.0.20120202-1420

      Equinox p2 Discovery                      1.0.100.v20120524-0542-4-Bh9oB58A5N9L28PCQ

      Equinox p2 Provisioning for IDEs.         2.2.0.v20120524-0542-62DG9JXTlSiz-UbcP0w0KGl9CKNP

      Grace                                     2.0.1.65

      Grace (MSP430) (IDE Client)               2.0.1.65

      Grace (MSP430) (Target Content)           2.0.1.65

      Hercules Emulation                        5.3.0.1

      Image Analyzer                            3.3.0.201209281235

      IPC                                       1.25.0.04

      IPC (Multicore and I/O) (IDE Client)      1.25.0.04

      IPC (Multicore and I/O) (Target Content)  1.25.0.04

      JavaScript Development Tools              1.4.0.v201111090639-7H7DFeHFC7sRemSZgYbe4

      Log View                                  1.0.300.v20120530-1435

      LWInstaller                               5.3.0.00090

      Marketplace Client                        1.1.1.I20110907-0947

      MSP430 BIOS6                              6.34.2.18

      MSP430 Compiler 4.1 Help                  4.1.1.201211281203

      MSP430 Compiler Tools                     4.1.4

      MSP430 Emulators                          5.3.0.2

      MSP430 IPC                                1.25.0.04

      MSP430 XDCTools                           3.24.5.48

      MSP430ware                                1.40.0.24

      Mylyn Context Connector: C/C++ Development5.4.0.v20120612-0600

      Mylyn Context Connector: Eclipse IDE      3.8.0.v20120612-0600

      Mylyn Context Connector: Team Support     3.8.0.v20120612-0600

      Mylyn Task List                           3.8.0.v20120612-0600

      Mylyn Task-Focused Interface              3.8.0.v20120612-0600

      Mylyn Tasks Connector: Bugzilla           3.8.0.v20120612-0600

      Mylyn WikiText                            1.7.0.v20120612-0600

      Remote System Explorer End-User Runtime   3.4.0.201205300905-7L7IFBV83omxZWwIDyHWipb2Sz-f

      REQUIRED CCS Update Installation Tool     5.2.0.201204111758

      ROV                                       3.3.0.201209281235

      RTSC/XDCtools (IDE Client)                3.24.5.48

      RTSC/XDCtools (Target Runtime Support)    3.24.5.48

      Spectrum Digital Emulators                5.2.0.07

      Stellaris Emulators                       9385.0.0

      SYS/BIOS (IDE Client)                     6.34.2.18

      SYS/BIOS (Target Content)                 6.34.2.18

      System Analyzer (UIA Target) (IDE Client) 1.1.1.14

      System Analyzer (UIA Target) (Target Conte1.1.1.14

      Target Management Terminal                3.3.0.201205300905-7N7FF8N7iMlAUojUZPXmWeON

      Third-Party Components for GMF Runtime    1.5.0.v20110426-2230-7P8W6FHV2CYms9gAtyKPaw311A16

      TI Emulators                              5.1.8.0

      TI Simulators                             5.3.3.0

      TI-RTOS (IDE Client)                      1.1.0.25

      TI-RTOS (Target Content)                  1.1.0.25

      Trace Analyzer                            3.3.0.201209281235

      UIA                                       1.1.1.14

      XDAIS                                     7.21.1.07

      XDAIS (IDE Client)                        7.21.1.07

      XDAIS (Target Content)                    7.21.1.07

      XDCTools                                  3.24.5.48

      Xulrunner                                 10.4.0

     

    When I import the example, I get a warning because the compiler versions don't match between what is installed and wha the proeject was originally built with.

    "This project was created using a version of compiler that is not currently installed: 5.2.6 [C2000]. Another version of the compiler will be used during build: 6.1.2. Please install the compiler of the required version, or migrate the project to one of the available compiler versions by adjusting project properties."

    Click to enlarge.

    To eliminate this warning, I changed the proejct properties.

    What would you suggest I change to more closely recreate the problem you see?

  • Hi Lisa, thanks for your reply.

    I am importing with "project-import existing ccs/eclipse project"

    It is a ccs project

    I am using CCS v 5.3

    Lucas

  • Hi Jason,

      The project I'm trying to import has been created by us using  CCS 5.0, is not an example project from TI.

      Here is a screenshot from the error when I try importing

  • Hi Lucas,

    can you please send us the screenshot of your isntalled compilers?   Did you select C2000 support when installing v5.3?

    another thing we have seen is antivirus or permissions issues causes these types of things.

    Best Regards,
    Lisa

  • Hi Lucas,

    actually my colleague Jason makes a good point .. could you zip and send the project for us to try?  Offline via a friend/conversation request is also a good option.

    Best Regards,

    Lisa

  • Lucas Sinopoli said:

    The project I'm trying to import has been created by us using  CCS 5.0, is not an example project from TI.

     
    I think we discovered you were using Code Composer Studio v5.1.  Which version specifically was it? v5.1.0 or v5.1.1?  This will affect which version I install to try to recreate this problem.  I will try this without TortoiseHg.
  • The version we used is 5.1.0.09

  • Lucas Sinopoli said:

    The version we used is 5.1.0.09

     
    I successfully migrated a project from Code Composer Studio version 5.1.0 to version 5.3.0.  I built the project in Code Composer Studio 5.1.0 and then made a copy of that project folder.  I imported the proeject from the copied folder using Code Composer Studio 5.3.0.  I then built it.  There were no errors in both cases.  The only warning was about the compiler version.  This warning was eliminated by updating the project settings in each case.
     
    Setup:
     
    controlSUITE v3.1.3 - February 26, 2012
    Project: FlashingLeds-F28035 (from controlSUITE)
    IDE1: Code Composer Studio Version: 5.1.0.09000 (see 510.txt for installation details)
    IDE2: Code Composer Studio Version: 5.3.0.00090 (see 530.txt for installatoin details)
     
    I have attached the project folders.  There are two.  The first is the project after it was built using Code Composer Studio version 5.1.0.  The second is the project after I had made a copy of the former project folder, then imported it using Code Composer Studio 5.3.0 and building it.
     
    Code Composer Studio Version: 5.1.0.09000
    
    =================================================================
    
    Install Directory: C:\T/ccsv5
    
    Setup Type: Custom
    
    Total Download size: 530 MB.
    
    Product Families selected:
    	C28x 32-bit Real-time MCUs
    
    Components to be installed:
    	JRE
    	Eclipse
    	Eclipse P2 Extensions
    	Installer Extensions
    	BIOS 6
    	Blackhawk Emulators
    	C2000 BIOS6
    	C2000 Emulation Flash
    	C2000 Emulators
    	C2000 IPC
    	C2000 XDCTools
    	CCS NowFlash Emulators
    	CCSINIT
    	Code Composer Plugins
    	Compiler Tools On-line Documentation
    	DVT
    	Debug Server
    	IPC
    	Spectrum Digital Emulators
    	TI C2800 Compiler Tools
    	TI Emulators
    	TI Simulators
    	UIA
    	XDAIS
    	XDCTools
    	XDS100 Class Emulator Support
    
    =================================================================
    
    BIOS 6                                      6.32.5.54
    Blackhawk CCSv5.1 Emulation                 5.1.0.104
    Blackhawk Emulators                         5.1.0.104
    C2000 BIOS6                                 6.32.5.54
    C2000 Emulation Flash                       1.0.0.1
    C2000 Emulators                             2.0.0.11
    C2000 IPC                                   1.23.5.40
    C2000 XDCTools                              3.22.4.46
    C2800 Compiler Tools                        6.0.2
    CCS NowFlash Emulators                      4.2.4.0003
    CCSINIT                                     5.1.0.0
    CCStudio p2 Feature                         5.0.1.201111011124
    CCStudio p2 Tool Feature                    5.0.2.201111011124
    Code Composer Plugins                       5.1.0.N201110281600
    Code Composer Studio Base Components        5.1.0.485
    Code Composer Studio IDE C2000 Components   5.1.0.201110281600
    Code Composer Studio IDE Main Feature       5.0.1.201110281600
    Code Composer Studio IDE Workflow           5.0.1.201110281600
    Compiler Tools On-line Documentation        1.0.0.0
    Debug Server                                5.1.0.485
    DVT                                         3.1.0.201110191212
    DVT RTA Feature                             3.1.0.201110191212
    Eclipse IDE for C/C++ Developers            1.4.0.20110615-0550
    Graph Visualization                         3.1.0.201110191212
    Image Analyzer                              3.1.0.201110191212
    IPC                                         1.23.5.40
    IPC (Multicore and I/O) (IDE Client)        1.23.5.40
    IPC (Multicore and I/O) (Target Content)    1.23.5.40
    LWInstaller                                 5.1.0.09000
    Profiler Analysis Manager                   3.1.0.201110191212
    ROV                                         3.1.0.201110191212
    RTSC/XDCtools (IDE Client)                  3.22.4.46
    RTSC/XDCtools (Target Runtime Support)      3.22.4.46
    Spectrum Digital Emulators                  5.1.1.05
    SYS/BIOS (IDE Client)                       6.32.5.54
    SYS/BIOS (Target Content)                   6.32.5.54
    System Analyzer (UIA Target) (IDE Client)   1.0.3.25
    System Analyzer (UIA Target) (Target Content1.0.3.25
    Third-Party Components for GMF Runtime      1.5.0.v20110426-2230-7P8W6FHV2CYms9gAtyKPaw311A16
    TI Emulators                                5.0.520.1
    TI Simulators                               5.1.4.12
    Trace Analyzer                              3.1.0.201110191212
    Trace Control                               3.1.0.201110191212
    UIA                                         1.0.3.25
    XDAIS                                       7.21.1.07
    XDAIS (IDE Client)                          7.21.1.07
    XDAIS (Target Content)                      7.21.1.07
    XDCTools                                    3.22.4.46
    
    .
    Code Composer Studio Version: 5.3.0.00090
    
    =================================================================
    
    Install Directory: C:\ti/ccsv5
    
    Setup Type: Custom
    
    Product Families selected:
    	MSP430 Low Power MCUs
    	C28x 32-bit Real-time MCUs
    	Stellaris Cortex M MCUs
    	Wireless Connectivity CCxxxx Cortex M Devices
    	Cortex-R4F MCUs
    
    Components to be installed:
    	JRE
    	Eclipse
    	Eclipse Core
    	Eclipse P2 Extensions
    	MSVC 2005
    	MSVC 2008 
    	LWInstaller
    	ARM BIOS6
    	ARM Compiler Help
    	ARM IPC
    	ARM XDCTools
    	BIOS 6
    	Blackhawk Emulators
    	C2000 BIOS6
    	C2000 Compiler Help
    	C2000 Device Support
    	C2000 Emulation Flash
    	C2000 IPC
    	C2000 XDCTools
    	CC2538 Device Support
    	CCS NowFlash Emulators
    	CCSINIT
    	Code Composer Plugins
    	Compiler Tools On-line Documentation
    	DVT
    	Debug Server
    	Grace
    	Hercules Emulation
    	IPC
    	MSP430 BIOS6
    	MSP430 Compiler Help
    	MSP430 Emulators
    	MSP430 IPC
    	MSP430 USB FET
    	MSP430 XDCTools
    	MSP430ware
    	Spectrum Digital Emulators
    	Stellaris Emulators
    	TI ARM Compiler Tools
    	TI C2800 Compiler Tools
    	TI Emulators
    	TI MSP430 Compiler Tools
    	TI Simulators
    	UIA
    	XDAIS
    	XDCTools
    	XDS100 Class Emulator Support
    	Xulrunner
    	
    =================================================================
    
    ARM BIOS6                                   6.34.2.18
    ARM Compiler Tools                          5.0.3
    ARM Compiler v5.0 Help                      5.0.0.201210291916
    ARM IPC                                     1.25.0.04
    ARM XDCTools                                3.24.5.48
    Autotools support for CDT                   3.0.1.201206111645
    BIOS 6                                      6.34.2.18
    Blackhawk Emulators                         5.2.0.205
    C/C++ Development Tools                     8.1.0.201206111645
    C/C++ GCC Cross Compiler Support            1.1.0.201206111645
    C/C++ GDB Hardware Debugging                7.0.0.201206111645
    C/C++ Memory View Enhancements              2.2.0.201206111645
    C/C++ Remote Launch                         6.0.0.201206111645
    C2000 BIOS6                                 6.34.2.18
    C2000 Compiler v6.1 Help                    6.1.1.201211281204
    C2000 Device Support                        4.1.0.3
    C2000 Emulation Flash                       1.0.0.2
    C2000 IPC                                   1.25.0.04
    C2000 XDCTools                              3.24.5.48
    C2800 Compiler Tools                        6.1.2
    CC2538 Device Support                       0.9.4.0
    CCS NowFlash Emulators                      5.3.0.0
    CCSINIT                                     5.1.0.0
    CDT Visual C++ Support                      1.0.0.201206111645
    Code Composer Studio Base Components        5.3.0.00368
    Code Composer Studio IDE ARM Components     5.3.0.201211071700
    Code Composer Studio IDE C2000 Components   5.3.0.201211071700
    Code Composer Studio IDE Main Feature       5.3.0.201211071700
    Code Composer Studio IDE MSP430 Components  5.3.0.201211071700
    Code Composer Studio IDE Workflow           5.3.0.201211071700
    Compiler Tools On-line Documentation        1.1.0.0
    Debug Server                                5.3.0.368
    DVT - Graph Visualization                   3.3.0.201209281235
    DVT - Profiler Analysis Manager             3.3.0.201209281235
    DVT - RTA Feature                           3.3.0.201209281235
    DVT - System Analyzer                       3.3.0.201209281235
    DVT - Trace Control                         3.3.0.201209281235
    Eclipse CVS Client                          1.3.200.v20120525-1249-7B79FJJAkF7BF7VEH5FEJT
    Eclipse EGit                                2.0.0.201206130900-r
    Eclipse Help System                         1.4.1.v20120726-050831-8R7xFOUFLWUl7MoSKV_OFXl27
    Eclipse Platform                            3.8.1.M20120914-1540
    EGit Import Support                         2.0.0.201206130900-r
    EPP Common Package Feature                  1.5.0.20120202-1420
    Equinox p2 Discovery                        1.0.100.v20120524-0542-4-Bh9oB58A5N9L28PCQ
    Equinox p2 Provisioning for IDEs.           2.2.0.v20120524-0542-62DG9JXTlSiz-UbcP0w0KGl9CKNP
    Grace                                       2.0.1.65
    Grace (MSP430) (IDE Client)                 2.0.1.65
    Grace (MSP430) (Target Content)             2.0.1.65
    Hercules Emulation                          5.3.0.1
    Image Analyzer                              3.3.0.201209281235
    IPC                                         1.25.0.04
    IPC (Multicore and I/O) (IDE Client)        1.25.0.04
    IPC (Multicore and I/O) (Target Content)    1.25.0.04
    JavaScript Development Tools                1.4.0.v201111090639-7H7DFeHFC7sRemSZgYbe4
    Log View                                    1.0.300.v20120530-1435
    LWInstaller                                 5.3.0.00090
    Marketplace Client                          1.1.1.I20110907-0947
    MSP430 BIOS6                                6.34.2.18
    MSP430 Compiler 4.1 Help                    4.1.1.201211281203
    MSP430 Compiler Tools                       4.1.4
    MSP430 Emulators                            5.3.0.2
    MSP430 IPC                                  1.25.0.04
    MSP430 XDCTools                             3.24.5.48
    MSP430ware                                  1.40.0.24
    Mylyn Context Connector: C/C++ Development  5.4.0.v20120612-0600
    Mylyn Context Connector: Eclipse IDE        3.8.0.v20120612-0600
    Mylyn Context Connector: Team Support       3.8.0.v20120612-0600
    Mylyn Task List                             3.8.0.v20120612-0600
    Mylyn Task-Focused Interface                3.8.0.v20120612-0600
    Mylyn Tasks Connector: Bugzilla             3.8.0.v20120612-0600
    Mylyn WikiText                              1.7.0.v20120612-0600
    Remote System Explorer End-User Runtime     3.4.0.201205300905-7L7IFBV83omxZWwIDyHWipb2Sz-f
    REQUIRED CCS Update Installation Tool       5.2.0.201204111758
    ROV                                         3.3.0.201209281235
    RTSC/XDCtools (IDE Client)                  3.24.5.48
    RTSC/XDCtools (Target Runtime Support)      3.24.5.48
    Spectrum Digital Emulators                  5.2.0.07
    Stellaris Emulators                         9385.0.0
    SYS/BIOS (IDE Client)                       6.34.2.18
    SYS/BIOS (Target Content)                   6.34.2.18
    System Analyzer (UIA Target) (IDE Client)   1.1.1.14
    System Analyzer (UIA Target) (Target Content1.1.1.14
    Target Management Terminal                  3.3.0.201205300905-7N7FF8N7iMlAUojUZPXmWeON
    Third-Party Components for GMF Runtime      1.5.0.v20110426-2230-7P8W6FHV2CYms9gAtyKPaw311A16
    TI Emulators                                5.1.8.0
    TI Simulators                               5.3.3.0
    TI-RTOS (IDE Client)                        1.1.0.25
    TI-RTOS (Target Content)                    1.1.0.25
    Trace Analyzer                              3.3.0.201209281235
    UIA                                         1.1.1.14
    XDAIS                                       7.21.1.07
    XDAIS (IDE Client)                          7.21.1.07
    XDAIS (Target Content)                      7.21.1.07
    XDCTools                                    3.24.5.48
    Xulrunner                                   10.4.0
    
    .
    .
    .
    After looking at the project you shared, we discovered that the .cproject file seems to be corrupt – it contains one completely uninitialized build-configuration.  Let's talk again to generate some ideas about how this could have happened.
  • Thanks for tracking the issue Jason!

    I wouldn't be surprised if the file got corrupted by our source control software..

  • Hi Lucas,

    yes that is certainly possible.    It would be good to check into that.  Both see what files get checked in and out, whether there could be any conflicts or permissions issue and whether there is anything unique to the corrupted projects.    I would also see about plug-in necessity and/or compatibility.   

    I don't have visibility to your process, however, if these are first generated outside of source control, making a swap/import before putting into source control might be telling.

    It appears the .cproject file contained a partial build configuration which was throwing ccs for a loop.

    I am happy to continue offline tomorrow, but a caveat is that I am no revision control expert unfortunately.

    Best Regards,
    Lisa

  • Lucas Sinopoli said:

    I wouldn't be surprised if the file got corrupted by our source control software..

     
    What file types within the project are you committing for version control?
     
    .c files
    .h files
     
    Any others?
     
    I'd like to help you find a seemless solution that will work well between Code Composer Studio and your version control software.
  • Hi Lucas,

    all project files (including the .ccsproject, .cproject etc file) need to be checked in and out.  There are only really a couple exceptions

    - target configuration files as developers may be using different emulators

    - the build output found in the debug or release folder unless that is important to you but will be generated locally upon building/debugging

    Please give that a try.

    Best regards,
    Lisa

  • We commit all files created by CCS (.ccsproject, .cdtbuild, .cdtproject, .project, .ccxml, .bat, cmd, etc). We don't commit the contents of Debug or Release folders though.

  • I'll try to get the people that works on the source control SW to take a look at the plug in, and after that I'll give it a try.

    Thanks for the ideas.

    Lucas

  • Hi Lucas,

    those folders should not be the cause, but please do look into the cvs system and keep us informed.

    Best Regards,
    Lisa