nadamo
Junior Member level 2
![Junior Member level 2](/styles/images/ranks/clevel2.gif)
Do you have any Errata Report in code composer from your application or TI about below?
I meet mal-operations in our DSP(TMS320C31) application.
Therefore I don't understand why this mal-operation is occured.
// Code type 1
if((Var&0xF000) == 0x8000)
{
// do action 1
}
else
{
// do action 2
}
// Code type 2
a = Var;
a &= 0xF000;
if(a == 0x8000)
{
// do action 1
}
else
{
// do action 2
}
Both emulation trace and ROM operating, code type 2 operate well but code type 1 not. Code type 1 do not operate action 1 any time and any way but code type 2 operate well.
If you have any idea about this state, help me.
Thanks
I meet mal-operations in our DSP(TMS320C31) application.
Therefore I don't understand why this mal-operation is occured.
// Code type 1
if((Var&0xF000) == 0x8000)
{
// do action 1
}
else
{
// do action 2
}
// Code type 2
a = Var;
a &= 0xF000;
if(a == 0x8000)
{
// do action 1
}
else
{
// do action 2
}
Both emulation trace and ROM operating, code type 2 operate well but code type 1 not. Code type 1 do not operate action 1 any time and any way but code type 2 operate well.
If you have any idea about this state, help me.
Thanks