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.

CCSv5.4

Other Parts Discussed in Thread: TMS320F28035, TMS320F28335

Dear All,

         I am using CCSv5.4,in Windows Xp. I have written code in TMS320F28035. While in the execution of this code i had face the problem as follows:

Code Snippet:

    if(x>y)

{

-------------;

-------------;

-----------;

 a = 1 ;

 b = 2;

}

In the above snippet a=1; line was not executing in Free Run Mode. But if i place a break point it will halts there and 'a' was assigning with 1.

For this i interchange the equation a=1; and b=2; now b=2 was not executed.

    if(x>y)

{

-------------;

-------------;

-----------;

 a = 1 ;

}

    if(x>y)

{

 b = 2;

}

If i wrote these conditions separately  its working fine. Why?


Note: I never use a & b in other locations.

  • Hi Naresh,

    I hope you've declared a and b globally as int16 datatype.

    I too check the same on my C2000 launchpad:

    Uint16 x=4,y=2,a=0,b=0;
    
    //In main added the following lines
    
    if(x>y)
            {
                a=1;
                b=2;
            }
    

    Here are the screenshots of the Watch window before Free Run and after Free Run:

    So, I don't think there should be any kind of skipping as you're experiencing.

    Regards,

    Gautam

  • Hi all.

             I have imported a project from CCSV3.3 to CCSV5.4. After importing and dumping the software(i am using TMS320F28335) i have observed unusual behaviour of the software.Again i've built the project in CCSV3.3 and dumped,it is working fine.Kindly provide help.

    Thanks in advance.

  • Hi Naresh,

    i have observed unusual behaviour of the software

    Can you elaborate on this? Also, what method did you use to transform CCSv3.3 project to CCSv5?

    Go through this link: http://processors.wiki.ti.com/index.php/Migrating_to_CCSv5

    Also, please start a new post for new queries!

    Regards,

    Gautam