Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

[Question] TI DSP TMS320C31 Errata Report....

Status
Not open for further replies.

nadamo

Junior Member level 2
Joined
Feb 28, 2002
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
107
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
 

nadamo

Junior Member level 2
Joined
Feb 28, 2002
Messages
24
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
107
Var type is unsigned long.

31 has many variable type, int, float, long.
But all variables consists of 4 bytes.
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top