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.

Porting of code from CCS4 to CCS5

Hi,

I have ported a code developed in CCS4 to CCS5. I have only licensed CCS5 running on my machine.

In the first attempt I imported the code directly to CCS5. It built successfully and I was able to connect to the target too to put my .out file. The project uses a .tcf file which has a number of tasks, software interrupts etc. defined. when I run this code I don't get the expected behaviour from my system that I see with CCS4.

Next attempt, I opened a new project in CCS5 and added all the files from the original project. This also produced unexpected behaviour.

The compiler & DSP/BIOS versions are different. The DSP/BIOS version was 5.40.02.22 & code generation tool version was 5.2.1 when the project was developed and the compiler version I use is TIv6.1.3 and DSP/BIOS version is 5.42.1.09.

What could be wrong??Please help.

Regards

Savitha 

 

  • Hi Savitha,

    This kind of issue is very difficult for us to resolve without a reproducible test case.

    One recommendation is that you use the same exact versions (or close as possible) of the compiler and DSP/BIOS with CCSv5 that you used with CCSv4. You can install standalone versions of them and setup CCSv5 to use them.

    You can get older compiler versions from:

    https://www-a.ti.com/downloads/sds_support/TICodegenerationTools/download.htm

    older DSP/BIOS versions from:

    http://software-dl.ti.com/dsps/dsps_public_sw/sdo_sb/targetcontent/bios/dspbios/index.html

    This will remove a lot of variables and make it easier to analyze the problem.

    Thanks

    ki

  • Hi Lee,

    Thanks for the reply.

    I downloaded the 5.40.03.23 DSP/BIOS version closest to 5.40.02.22. I then went to project properties->General

    Here under DSP/BIOS version I opted for More->select tool from file system & browsed for the path i.e.

    C:\Program Files\Texas Instruments\bios_5_40_03_23.

    I get a error telling that no tools selected! Please select a directory that contains the DSP/BIOS installation. How to solve this?

    Thanks & Regards

    Savitha

  • Savitha,

    My mistake, it looks like with CCSv5, there is some conflict with using older version of BIOS 5.4. Let's try just using the older compiler version and see if that helps. If it does not, we can try to find a way to get you working with that old BIOS version in v5. Sorry.

    ki

  • Hi Lee,

    I installed the TI v5.2.1 compiler and build my project. The system is behaving as expected even though my BIOS version is different from the original. Looks like I dont need to install the old BIOS version for the time-being.

    Thanks for your timely help.

    Regards

    Savitha

  • Ok, it looks like it was the compiler version. Since it is a major revision number difference, it is best to stay on 5.2.1. Good to hear it is working and thanks for the update