Re: REG: Power PC

"jonh_bae" <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
Sinil,

If you are now seeing the Machine Check Exception then it is probable
that Randy's tip on the codewarrior settings has worked and you are
now taking the external exception, rather than the debugger.

The machine check indicates that there has been some kind of memory
access error, either due to the mechanisation of your exception
handling code, or a real problem with the device driver code you are
writing. In either case you're now probably into debugging your code
rather than looking for a magic compiler switch or debugger option.

When the debugger takes the machine check, look in SRR0 & SRR1 and
it'll give you the Program Counter and Machine State when the
exception occurred.

Now we're coding .. Oh Yeah!

Cheers,
Jon ;)
--- In [email protected], sinil boga <sinil_b@...> wrote:
>
>     I am sinil, working in Medha Servo Drives Pvt Ltd located at
hyderabad. I have MPC565 target board.
[snip]
>    
>       Randy from freescale has suggested me that the codewarror
assumes that I want to stop and go to debug mode if any exception
occurs, including external interrupts.  For that I have unmarked the
External EPPC exception in configuration panel to allow code to handle
instead debugger to catch.
>    
>        But still it is displaying dialog box with message other than
this(Program exception or machine check exception). 
[snip]

>    
>        Can you please suggest me what I should do or send me one
example code with all required files.  Is is problem with compiler
settings or hardware problems or processor is not able to fetch ISR
address.
>    
>        Thanking You
>    
>    
>   Regards
>    
>   Sinil B






-----------------------------------------------------------
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/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.