Skip to main content
Visitor II
July 19, 2005
Question

error with st10f269

  • July 19, 2005
  • 4 replies
  • 1027 views
Posted on July 19, 2005 at 11:47

error with st10f269

    This topic has been closed for replies.

    4 replies

    Visitor II
    July 18, 2005
    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

    Visitor II
    July 18, 2005
    Posted on July 18, 2005 at 09:15

    Hi,

    What software tool are you using?

    Regards,

    Visitor II
    July 18, 2005
    Posted on July 18, 2005 at 13:10

    Hello,

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

    Regards

    Patrick

    Visitor II
    July 19, 2005
    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 ]