cancel
Showing results for 
Search instead for 
Did you mean: 

error with st10f269

Posted on July 19, 2005 at 11:47

error with st10f269

4 REPLIES 4
Posted on July 18, 2005 at 09:05

Hello,

with the ST10F269 are there any known errors, when there is a multiplication

with 0 using floating-point variables?

Best regards

Patrick

najoua
Associate II
Posted on July 18, 2005 at 09:15

Hi,

What software tool are you using?

Regards,

Posted on July 18, 2005 at 13:10

Hello,

I'm using the TASKING tools for C166/ST10 v7.5 r6

Regards

Patrick

najoua
Associate II
Posted on July 19, 2005 at 11:47

Hello,

Multiplying by zero does not cause any error with the ST10F269.

Please take a look at the C Compiler manual, ''Floating point trapping'' and ''Handling Floating point traps in a C application'' sections. So probably something else is going wrong. Please take a look at the value of the trap code (register R1) to find out what caused the error (exception). To do so, set a breakpoint on label __FPTRAPLOOP.

Regards,

[ This message was edited by: Najoua on 19-07-2005 15:18 ]