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.

Migrate a project with cgt 5.0.0 from CCS3.x to CCS5.4 or higher and assure bit identical files

Part Number: TMS320DM642

Tool/software: TI C/C++ Compiler

Hello,

I have an old project started with CCS3.x using .pjt file. I need to get that project running on a Windows 10 computer. Therefore, I would like to migrate the project to a newer CCS version (7.3 would be the desired version). The newer version of CCS uses the .cproject file for configuring the project.

I am struggling with generating a bit identical file, using the same code generation tools (cgt 5.0.0) in a newer CCS. I assume that some of the compiler/linker flags are not converted correctly.

Can someone please give support for the migration or is this not possible?

Thanks in advance.

Best regards,

Daniel

  • Hello!

    If the question is to continue your project using Win10 machine with minimum modifications, the the easiest way is to have same CCS v3 installed in virtual machine, which is executed in Win10 host. Practical side may include emulation support, there are options. In my case I am rather happy with SD XDS510 USB.

    Migrating to native Eclipse based CCS may not fit your goal. To my knowledge, CCS v.5 was shipping with C6000 compiler of version 7.something. To my knowledge, there is no direct support of older tools. Using new tools one should not expect bit exact output.

  • user4990587 said:
    I am struggling with generating a bit identical file

    This is not impossible.  But it is hard.  Many details must match exactly.  This forum thread discusses the issue in depth.

    If you used the feature in CCS for automatically migrating a project from CCSv3.3 to a later version of CCS ... Please understand that this migration is intended to create a program which is the same in terms of overall system behavior.  It will not be a bit exact match.

    Please let me know whether you decided to continue to build a bit identical file, or to build a program with the same behavior.

    Thanks and regards,

    -George

  • Thanks for your responses. I achieved building bit identical binary files from my project on a XP VM with CCS3.3 and CCS5.4, using the same code generation tools (5.0.0). The next step is to generate bit identical binaries under Windows 10 using CCS7.3, using the same code generation tools.

    The following points are crucial for getting bit identical binaries:

    • same code paths (project path, file locations, building folders, etc.)
    • same linking order (I had to specify the linking order)
    • same compiler and linker settings (as well for file specific options)
    • same code generation tools

    Maybe this helps, if someone faces the same problems.

    Best regards,

    Daniel

  • Hello,

    Thanks for sharing your experience. Could you please elaborate, how did you integrated cgt v5 into CCSv5?

  • It is likely he followed a process close to the one described in the article Compiler Installation and Selection.

    Thanks and regards,

    -George

  • Correct, that is what I do, instead of the compiler installation. The cgt 5.0.0 tools are not available for download anymore. Thus, I copied the cgt folder containing the "bin", "include" and "lib" folders to C:\ti\ti_cgt_6000_5_0_0 (manual installation). The rest works as described in the article given by  George.

    Unfortunately every time I start CCS I get the error 'Compiler 'TI v5.0.0' is not currently installed and no compatible version is available'. When I click 'More' and then 'Refresh', the compiler again appears. The warning 'Support for this tool is available through tool definition version TI v5.1. Please update your workbench with latest tool definitions' emerges for this compiler. Do you have any solution for that problem?

    Best regards,

    Daniel

  • user4990587 said:
    The warning 'Support for this tool is available through tool definition version TI v5.1. Please update your workbench with latest tool definitions' emerges for this compiler.

    CCS v7.x seems to require at least compiler tools v5.1 to be able to pick up the compiler build definitions. After 5.1 is installed you should be able to select and build with 5.0 as well. I will contact you via private message to get you the 5.1 compiler tools.

  • Hello George,

    Thank you for taking your time to answer such a lame question. I missed the time when "Install compiler tools" option appeared. Somehow I overlooked (for years!) that there was a chance to install v.6.0.31 for C6000 from software updates.

    I've spent another day migrating v3.3 project on C6414, which I still have to support, to modern CCS, and only then realized RDTX was dropped, and though binary gets built, there is no way to debug it with logs printed as before. At least I could utilize all 8 threads of my PC processor to build faster.

    Thanks again.

  • AartiG said:
    I will contact you via private message to get you the 5.1 compiler tools.

    Update: The C6000 compiler tools v5.0.0 was provided to the customer via private message.