error with st10f269
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-07-19 2:47 AM
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-07-18 12:05 AM
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 PatrickOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-07-18 12:15 AM
Posted on July 18, 2005 at 09:15
Hi,
What software tool are you using? Regards,Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-07-18 4:10 AM
Posted on July 18, 2005 at 13:10
Hello,
I'm using the TASKING tools for C166/ST10 v7.5 r6 Regards PatrickOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2005-07-19 2:47 AM
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 ]