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.
I imported my settings from a XP computer running CC v4.2.1 to one with Win7-64 and CCv5.1.
The resultant code generated is not the same.
As far as I can see all the options and optimizations are the same.
I disassembled the code and saw that v5.1 optimized code more efficiently than v4.2.1.
For compatibility however this is not desired, I need to generate the same code.
How can I do this?
Hi Emil,
this is mostly dependant on the code generation tool version. Have you tried the same project with the same version of code generation tools? Also made sure to match all settings?
Best Regards,
Lisa
Lisa,
The new computer doesn't have 4.2.1 loded.
Can I just download 4.2.1 install it and run it with my current licensing?
Thanks
Hi Emil,
I meant code generation tool version, not CCS version. Sorry if that was not clear to you. You can see this in Project->Properties->CCS Build in the General Tab.
Please check this for both cases.
Best Regards,
Lisa
TI v5.2.7 on both machines
The CCS5 machine also says Effective compiler version TI v6.0.2.
Hi Emil,
Ok, it sounds like the CCSv5 maching is using 6.0.2 and the other machine is using 5.2.7. One thing you can do is to load 6.0.2 into CCSv4 and try that.
The code generation tools can be separately downloaded and installed into CCS.
Download:
http://processors.wiki.ti.com/index.php/Compiler_Releases
Installation:
See the screenshot from Window->Preferences
Please keep us informed.
Best Regards,
LIsa
If I load 6.0.2 into the other machine (I'[m assuming you're talking about the XP machine) then both machines will not match the previous version.
I need them to match before I can go forward.
Hi Glen,
if you select the older version in v5, can you select apply and try again. I am hoping the effective compiler version will go away as I have just seen here on my installation. This should hopefully force the version. Alternatively in v5, same place I directed you to to add/manage older versions, you could also remove the newer versions.
I hope this helps and please keep us informed.
Best Regards,
Lisa
Hi Emil,
ok, I have requested help from some colleagues so we will get you feedback as soon as we can.
In the mean time I have one last thought. I was wondering if when you imported the project the dialogue box to convert it to the newest version of code generation tools appeared. This is a typical message something like the project being build with an older version of .....
What did you select? If you selected yes to the conversion question about tool version, it might be a good idea to try importing again into a fresh workspace and choose not to convert to the latest tool version.
Best Regards,
Lisa
Lisa,
I can't remember the details when I loded it, sorry.
I'll try a new workspace.
Thanks
I did a fresh import with a fresh workspace.
I'm looking at what the new computer is doing compared with the old.
When I start "Rebuild Project" it runs many files pointing out that the .pp files don't exist.
This same behavior is exhibited with the old computer, so all's good at this point.
The new computer errors before going on, new old cntinues doing whatit should.
Here'e the error on the new computer:
"This project was created using a version of Code Generation tools that is not currently installed: 5.2.7 [C2000]. Please install the Code Generation tools of this version, or migrate the project to one of the supported versions."
How do I check if I have 5.2.7 installed?
It shows up in CCS Build, General, Code Generation Tools, TI v5.2.7.
Thanks
Hi Emil,
ok, hopefully we are starting to get somewhere here.
That was not an error, but if you migrate to a newer version, you will likely always have the newer version producing the output which is not what you want.
You can check what versions you have installed under
Window->Preferences->Code Composer Studio->Build->Compilers
Please see the screenshot. Do you see v5.2.7 there?
Please keep us informed.
Best Regards,
Lisa
No, which is a good thing.
I have:
For the ARM TI v4.9.0
For the C2000 TI v6.0.1
How do I get 5.2.7, can I just copy the folder from my old machine?
Thanks again!
Hi Emil,
ok, please download that version following the link from here:
http://processors.wiki.ti.com/index.php/Compiler_Releases
In the same place we just checked, you can then point CCS to this version so it knows it has these code generation tools as well. This should stop the message about the older version of the tools not being installed. You may still be asked if you wish to migrate the project to the newer version, and please select no.
Please keep us informed how that goes.
Best Regards,
Lisa
I copied the tools from my old computer to my new one with CCS v5.
All is good now,the files match!
Thank You!
Hi Emil,
ok, great, very glad to hear. All the best with development.
Best Regards,
Lisa