public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* Re: [ECOS] MPC860 (Debugging ISR)
@ 2003-12-16 17:02 nprasad3
  0 siblings, 0 replies; 3+ messages in thread
From: nprasad3 @ 2003-12-16 17:02 UTC (permalink / raw)
  To: Gary Thomas; +Cc: ecos-discuss

Gary,

I am trying to build a tester (intr0.c) on the same lines as powerpc/arch/v2_0/test but interrupt chain does not get called. Halting with wiggler, control shows up in the default ISR but control never makes it to C land.

Ran into a seperate thread "Re: how does GDB set breakpoint to MPC860" which is helpful and I'll certainly give gdb a try. There probably is nothing wrong with the default ISR and the source of the problem most likely would be my platform initialization thats preventing the generic ISR to work the way it is supposed to.

Thanks in advance
Nirmal

----- Original Message -----
From: Gary Thomas <gary@mlbassoc.com>
Date: Tuesday, December 16, 2003 10:47 am
Subject: Re: [ECOS] MPC860 (Debugging ISR)

> On Tue, 2003-12-16 at 08:43, nprasad3@gmu.edu wrote:
> > Hi,
> > 
> > Can someone please tell me how I can debug the general 
> > interrupt service handler on the MPC860? I am using a 
> > wiggler and romstop doesn't work. I was thinking of putting 
> > in a tight loop at the begining of the ISR to allow the 
> > processor to stay put at that particular point till I release 
> > it from the debugger.
> > 
> > Is there a different way I can single step into the ISR and 
> > keep things under control while debugging the ISR?
> 
> What's wrong with running your code in RAM and using GDB?
> 
> BTW, what do you think is wrong with the "general interrupt
> service handler"?
> 
> -- 
> Gary Thomas <gary@mlbassoc.com>
> MLB Associates
> 
> 
> 


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [ECOS] MPC860 (Debugging ISR)
  2003-12-16 15:47 nprasad3
@ 2003-12-16 16:00 ` Gary Thomas
  0 siblings, 0 replies; 3+ messages in thread
From: Gary Thomas @ 2003-12-16 16:00 UTC (permalink / raw)
  To: nprasad3; +Cc: ecos-discuss

On Tue, 2003-12-16 at 08:43, nprasad3@gmu.edu wrote:
> Hi,
> 
> Can someone please tell me how I can debug the general 
> interrupt service handler on the MPC860? I am using a 
> wiggler and romstop doesn't work. I was thinking of putting 
> in a tight loop at the begining of the ISR to allow the 
> processor to stay put at that particular point till I release 
> it from the debugger.
> 
> Is there a different way I can single step into the ISR and 
> keep things under control while debugging the ISR?

What's wrong with running your code in RAM and using GDB?

BTW, what do you think is wrong with the "general interrupt
service handler"?

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [ECOS] MPC860 (Debugging ISR)
@ 2003-12-16 15:47 nprasad3
  2003-12-16 16:00 ` Gary Thomas
  0 siblings, 1 reply; 3+ messages in thread
From: nprasad3 @ 2003-12-16 15:47 UTC (permalink / raw)
  To: ecos-discuss

Hi,

Can someone please tell me how I can debug the general interrupt service handler on the MPC860? I am using a wiggler and romstop doesn't work. I was thinking of putting in a tight loop at the begining of the ISR to allow the processor to stay put at that particular point till I release it from the debugger.

Is there a different way I can single step into the ISR and keep things under control while debugging the ISR?

Thanks in advance
Nirmal



-- 
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-12-16 16:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-16 17:02 [ECOS] MPC860 (Debugging ISR) nprasad3
  -- strict thread matches above, loose matches on Subject: below --
2003-12-16 15:47 nprasad3
2003-12-16 16:00 ` Gary Thomas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).