RE: Re: PB555 and Codewarrior

"Ranganath Bapat (RBIN/EGS1) *" <[email protected]>
Newsgroups gmane.comp.hardware.motorola.microcontrollers
Message-ID <[email protected]>
I too had a problem of machine check exception in my application. In our
application we were executing a part of an exception handler from RAM.
Initially the whole thing was fine. But when we enabled Branch Target
Buffer(BTB) to enhance CPU throughput, the code executed from RAM
started generating machine check exception( I was also seeing that the
code at RAM as 0x00000000 ). The work around that we found out was to
disable BTB while executing code from RAM.

Regards,
Ranganath Bapat
Robert Bosch India Ltd


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf
Of Randall Young
Sent: Friday, 30. September 2005 3:10 AM
To: [email protected]
Subject: RE: [MPC500] Re: PB555 and Codewarrior


> 3) Is code corrupting opcodes? As soon as you open the debugger, open
a
> memory window and check contents of 0x003fa03c. Now step through your
> code and see if it changes to 0x00000000.

I'm not familiar with Codewarrior, so I've stayed out of this.  However
it
might be worth mentioning that the MPC555 supports a hardware breakpoint
when a particular value is written to memory.  If you have a lot of code
to
step through, or need to run real-time to reproduce the problem, setting
a
data breakpoint might be an easier way to find the corruption.

For the applications I work on, it's the only way ...

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



 



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/TtwFAA/dN_tlB/TM
--------------------------------------------------------------------~-> 

-----------------------------------------------------------
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.