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.

Missing C2000v6.5 compiler warning for lab import

Other Parts Discussed in Thread: MOTORWARE, CONTROLSUITE, TMS320F28069M, DRV8312, CCSTUDIO

I've been unable to resolve this issue with help from TI employee as he is just as stumped as I am (see link below).

e2e.ti.com/.../419648

I keep getting this error message when I try to import a lab from:

C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\boards\drv8312kit_revD\f28x\f2806xF\projects\ccs5\proj_lab01

I have followed all his suggestions and just did a clean reinstall of MotorWare and CCS after removing ControlSuite, MotorWare and CCS and the c:/ti/... directory and a clean registry. I still  have the same issue.

I have a workspace at c:/ti/workspace/labs/... and when I attempt an import from project>import css projects... I get the following message:

"See details below.
  Error: Import failed for project 'proj_lab01' because its compiler definition is not available. Please install the C2000v6.5 compiler before importing this project - click 'View > CCS App Center' to check if compiler updates are available, or install the compiler manually and register it with CCS through 'Preferences > CCS > Build > Compilers'."

My system is as follows:

win8.1 x64 v6.3.9600

CCS v6.1.0.00104

Motorware_1_01_00_14

DRV8312 and InstaSPIN-Enabled Piccolo TMS320F28069M MCU  DRV8312-69M-KIT

My installed compilers are:

  • Bruce King said:

    I have a workspace at c:/ti/workspace/labs/... and when I attempt an import from project>import css projects... I get the following message:

    "See details below.
      Error: Import failed for project 'proj_lab01' because its compiler definition is not available. Please install the C2000v6.5 compiler before importing this project - click 'View > CCS App Center' to check if compiler updates are available, or install the compiler manually and register it with CCS through 'Preferences > CCS > Build > Compilers'."

    Bruce,

    The problem is not with your installation but rather with the way this specific project is created. For some reason, this particular project proj_lab01 was created with 6.5 Alpha version of the C2000 compiler, which is not a released version. For a project to import successfully, CCS needs to find a version of compiler equal to or greater than the version that the project was created with. In this case, since all detected versions are lower in number (6.4.x or 6.2.x) the import is not successful.

    I cannot answer why this particular project was created with the 6.5 version, but I do not see this issue with proj_lab02a, proj_lab02b etc, so those should import fine. I didn't check each lab but a quick way to confirm is by looking at the .cproject file and search for the string "Compiler version". As long as it is not 6.5 you should be ok. 

    I will move this thread to the C2000 forum so the folks there can look into the issue with this specific project. 

  • AartiG,

    You are correct I checked all labs and only 'proj_lab01' uses compiler version 6.5 all the others use 6.2.3 and I was able to open the second lab with no issue. I do however have one more question... After I closed the second lab I tried to import it again and got an error stating that it "already exists in my workspace" that makes sense but I don't see anything referencing that lab in that workspace directory, therefore how do I reopen it and others I import?

    Thanks, Bruce

  • Bruce King said:
    After I closed the second lab I tried to import it again and got an error stating that it "already exists in my workspace"

    Once a project is imported to a workspace, it will remain in that workspace unless it is deleted.

    When you say "closed" do you mean you right-clicked on the project and selected "Close Project"? If so, the project should still appear in the Project Explorer view when you open up the CCS workspace the next time. At that point, you can simply reopen the project by right-clicking on it and selecting "Open Project". 

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

  • I closed the project explorer tab (I did not "Close Project"). Though you are correct I found the 'proj_lab02a I had imported in the 'project explorer' as you stated.

    Thanks :)
  • AartiG,

    Looks like your post was rated as an "Answer", but the problem is still not yet solved for this issue.
    We have the same problem to import "proj_lab01". Any news so far?
  • Make sure you have the latest versions of MotorWare and Code Composer Studio (CCS) installed.

    Then check that you have the these compilers installed as well.

    C:\ti\ccsv6\tools\compiler\...

    ti-cgt-c2000_6.4.2

    ti-cgt-c2000_6.4.4

    Then check that you are up-to-date with add-ons from the App Center.

    From 'View' tab in CCS open 'CCS App Center' and see that you have the same apps up-to-date as in pic.

    You should be able to import the first lab and if so then right click it and select 'properties' and change the 'Compiler Version' to ti v6.4.4 and then click 'OK'. If you don't update the compiler version from properties you'll get a warning and icon next to the imported lab indicating the warning.

    I hope this helps you out :)

  • Bruce,


    Thanks for your fast answer. Actually, I even updated to compiler c2000_6.4.5, but it still won't work.

    I tried to import "proj_lab01" from:
    C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\boards\drv8312kit_revD\f28x\f2806xF\projects\ccs5\proj_lab01

    I got the error because of missing compiler v6.5

    Then I tried something else, importing "proj_lab01" from ...\drv8312kit_revD\f28x\f2805xF\projects\ccs5\proj_lab01
    Still not working.

    Then I read the compiler version in the ".cproject" of \f2805xF\projects\ccs5\proj_lab01, look at that, it's v6.2.6! No problem should occur.

    I restarted CCS (6.1.0.00104) and tried it again with \f2805xF\projects\ccs5\proj_lab01. It worked.

    This behaviour is very strange and I was still not able to import \f2806xF\projects\ccs5\proj_lab01

    Regards,

    Leander

  • I just tried lab 1 for f2806xf and I get an error relating to Meta Data and to contact support. I've not used any labs for that board before so I don't know the solution other than ask the software forums about it. BTW TI support has stated that CCS can be quirky at times and restarting or reinstalling CCS might be the only solution at times.

  • Bruce,

    I also got a Meta Error, wasn't sure where it is coming from. I tried to reboot CCS and then the Meta Error was gone, but replaced by out well known problem of the v6.5 compiler.

    Regards,

    Leander

  • In CCS if you open the lab instead of importing it you can try changing the compiler version directly in the files first to see if that helps I think I did that once before with success.

    C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\boards\drv8312kit_revD\f28x\f2806xF\projects\ccs5\proj_lab01

    .ccsproject
    .cproject

    Find/replace: 6.5.0.A14303 and try changing to 6.4.0.A14303 or 6.2.0.A14303 in both files. You will find only one instance in each file to change. Then save and see if you can then import the lab.
  • Bruce,

    I tried it, changed in both (.ccsproject) and (.cproject), but I still get the same error message about compiler v6.5. (Yes, tried to reboot CCS also).
  • Leander Neumann said:
    Looks like your post was rated as an "Answer", but the problem is still not yet solved for this issue.
    We have the same problem to import "proj_lab01". Any news so far?

    I don't think there has been an update to Motorware that addresses the issue with this specific project proj_lab01. As I said in my earlier message the other examples should import fine, so please use those as a reference/starting point.

    This topic is best placed here in the C2000 forum rather than the CCS forum as the change to the project file/Motorware release will come from the C2000 team. I will try to ping someone from the C2000 team so this gets looked at.

  • this single project will be updated to use the correct compiler in MotorWare _15, which should release end of August.

    in the meantime, you can open in a text editor
    C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\boards\drv8312kit_revD\f28x\f2805xF\projects\ccs5\proj_lab01\.cproject

    and replace
    <toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.5.exe.ReleaseToolchain.1391031400" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.5.exe.ReleaseToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.5.exe.linkerRelease.1408820914">

    with
    <toolChain id="com.ti.ccstudio.buildDefinitions.C2000_6.4.exe.DebugToolchain.539002462" name="TI Build Tools" superClass="com.ti.ccstudio.buildDefinitions.C2000_6.4.exe.DebugToolchain" targetTool="com.ti.ccstudio.buildDefinitions.C2000_6.4.exe.linkerDebug.1213188885">

    save

    and try to import into a fresh CCS
  • Chris,

    didn't worked for me. Now I always get a Meta Error.

  • you're correct, still broken....hmmmm, let me see.
  • unzip these three files and over write the ones
    C:\ti\motorware\motorware_1_01_00_14\sw\solutions\instaspin_foc\boards\drv8312kit_revD\f28x\f2806xF\projects\ccs5\proj_lab01\

    that works
  • Chris,

    Thanks a lot, now it works. I think you should mark your post with the .ZIP as an answer.