RE: Work around for Machine check exception??
Guillaume "P?ffffe9ron" <[email protected]>
| Newsgroups | gmane.comp.hardware.motorola.microcontrollers |
|---|---|
| Message-ID | <[email protected]> |
Hi, Normally access to unaligned floating point operands should cause an alignment exception, not a machine check. Check that your alignment exception handler is correctly written. Hope that helps, Guillaume Peron www.mvd-fpga.com Randall Young <[email protected]> wrote: > In my application we have a floating point exception handler. In > that, we will store the offending instruction followed by a 'blr' in an > array and execute this in SIE mode. It was working fine. Now I see that > a machine check exception is being generated while executing the stored > instruction in the array. > > Does anybody know workaround for this? I had a similar problem ... turned out that the array was not properly declared to be forced onto a 4-byte boundary. Other code changed and the array wound up at an odd-halfword boundary (address not divisible by 4), causing a machine check if the code tried to execute it. Might not be your problem, but worth a check. Randall Young Senior Software Engineer NavCom Technology, Inc. A John Deere Company ----------------------------------------------------------- To learn more about Freescale Microcontrollers, please visit http://www.freescale.com/mcu --------------------------------- Yahoo! Groups Links To visit your group on the web, go to: http://groups.yahoo.com/group/MPC500/ To unsubscribe from this group, send an email to: [email protected] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com [Non-text portions of this message have been removed] ----------------------------------------------------------- To learn more about Freescale Microcontrollers, please visit http://www.freescale.com/mcu Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/MPC500/ <*> To unsubscribe from this group, send an email to: [email protected] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/