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.