8541E and vector table.

5 messages, 3 authors, 2007-02-20 · open the first message on its own page

8541E and vector table.

From: Steve Iribarne (GMail) <hidden>
Date: 2007-02-20 14:20:37

Hi.

I must admit, this stuff always baffles me a bit, so I need someone
who knows this to explain it to me.

I am using an 8541E and my system randomly crashes.  By randomly, I
mean at different times.  I have a BDI hooked up and it always jumps
to offset 0x0000_0700

I believe this to be a vector table offset, but I need to figure out
which interrupt it is.  I believe this is a hardware issued, because
if I look at that value, it looks to be default values.  In other
words, I don't believe I have it setup.

So the question I have is how do I figure out what that interrupt vector is?

Thanks so much.

-stv

-- 
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */

RE: 8541E and vector table.

From: Ami Levi Waves <hidden>
Date: 2007-02-20 14:41:06

Download the MPC8541 reference manual from Freescale web site.
Look in the chapter that says Exceptions (could be chapter 6)
You'll fine the different vectors addresses + explanations about each
vector.

Ami
-----Original Message-----
From: linuxppc-embedded-bounces+ami=3Dwaves.com@ozlabs.org =
[mailto:linuxppc-
embedded-bounces+ami=3Dwaves.com@ozlabs.org] On Behalf Of Steve =
Iribarne
(GMail)
Sent: Tuesday, February 20, 2007 3:21 PM
To: linuxppc-embedded
Subject: 8541E and vector table.
=20
Hi.
=20
I must admit, this stuff always baffles me a bit, so I need someone
who knows this to explain it to me.
=20
I am using an 8541E and my system randomly crashes.  By randomly, I
mean at different times.  I have a BDI hooked up and it always jumps
to offset 0x0000_0700
=20
I believe this to be a vector table offset, but I need to figure out
which interrupt it is.  I believe this is a hardware issued, because
if I look at that value, it looks to be default values.  In other
words, I don't believe I have it setup.
=20
So the question I have is how do I figure out what that interrupt =
vector
is?
=20
Thanks so much.
=20
-stv
=20
--
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Re: 8541E and vector table.

From: Steve Iribarne (GMail) <hidden>
Date: 2007-02-20 15:29:48

Hi Ami,

Thanks for the reply.  Yes I have the manual.  I guess I need to be a
little more specific.  I usually don't get down to this level of the
hardware.  It usually just works for me.

I have all the explinations etc.. of each vector, but in my memory, I
can't figure out how to map 0x0000_0700 to one of the SPR's.  I think
that's what I want to know. :)

-stv

On 2/20/07, Ami Levi Waves [off-list ref] wrote:
Download the MPC8541 reference manual from Freescale web site.
Look in the chapter that says Exceptions (could be chapter 6)
You'll fine the different vectors addresses + explanations about each
vector.

Ami
quoted
-----Original Message-----
From: linuxppc-embedded-bounces+ami=waves.com@ozlabs.org [mailto:linuxppc-
embedded-bounces+ami=waves.com@ozlabs.org] On Behalf Of Steve Iribarne
(GMail)
Sent: Tuesday, February 20, 2007 3:21 PM
To: linuxppc-embedded
Subject: 8541E and vector table.

Hi.

I must admit, this stuff always baffles me a bit, so I need someone
who knows this to explain it to me.

I am using an 8541E and my system randomly crashes.  By randomly, I
mean at different times.  I have a BDI hooked up and it always jumps
to offset 0x0000_0700

I believe this to be a vector table offset, but I need to figure out
which interrupt it is.  I believe this is a hardware issued, because
if I look at that value, it looks to be default values.  In other
words, I don't believe I have it setup.

So the question I have is how do I figure out what that interrupt vector
is?

Thanks so much.

-stv

--
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

-- 
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */

Re: 8541E and vector table.

From: Kumar Gala <hidden>
Date: 2007-02-20 15:56:36

On Feb 20, 2007, at 9:29 AM, Steve Iribarne (GMail) wrote:
Hi Ami,

Thanks for the reply.  Yes I have the manual.  I guess I need to be a
little more specific.  I usually don't get down to this level of the
hardware.  It usually just works for me.

I have all the explinations etc.. of each vector, but in my memory, I
can't figure out how to map 0x0000_0700 to one of the SPR's.  I think
that's what I want to know. :)

-stv
0x700 is most likely Program Check Exception, there isn't a great way  
to do the reverse mapping (addr -> exception) other than looking at  
the code.  You can dump all the IVORs and see which matches if you want.

- k

Re: 8541E and vector table.

From: Steve Iribarne (GMail) <hidden>
Date: 2007-02-20 16:06:41

On 2/20/07, Kumar Gala [off-list ref] wrote:
On Feb 20, 2007, at 9:29 AM, Steve Iribarne (GMail) wrote:
quoted
Hi Ami,

Thanks for the reply.  Yes I have the manual.  I guess I need to be a
little more specific.  I usually don't get down to this level of the
hardware.  It usually just works for me.

I have all the explinations etc.. of each vector, but in my memory, I
can't figure out how to map 0x0000_0700 to one of the SPR's.  I think
that's what I want to know. :)

-stv
0x700 is most likely Program Check Exception, there isn't a great way
to do the reverse mapping (addr -> exception) other than looking at
the code.  You can dump all the IVORs and see which matches if you want.
AHH!  That worked.  Thanks soo much.  And you were correct.  It was
the Program Check..

-- 
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help