linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* debugging using BDI2000 on MPC860
@ 2003-06-16 10:56 Stephan Linke
  0 siblings, 0 replies; 4+ messages in thread
From: Stephan Linke @ 2003-06-16 10:56 UTC (permalink / raw)
  To: Linuxppc-Embedded


Hi,

I want to use our BDI2000 to debug my MPC860 board. Unfortunately it always stops with a machine check interrupt at 0x00000100.
Flashing works fine.
Our flash is at 0xff000000, IMMR at f0000000...

Any ideas? How do I define the boot address in MPC860 config files.

Thanks, Stephan


** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: debugging using BDI2000 on MPC860
       [not found] <075c01c333f6$ce1c2bf0$e600a8c0@udtech.net>
@ 2003-06-16 11:28 ` Stephan Linke
  2003-06-16 15:27   ` Peter Barada
  0 siblings, 1 reply; 4+ messages in thread
From: Stephan Linke @ 2003-06-16 11:28 UTC (permalink / raw)
  To: Shen Rong; +Cc: Linuxppc-Embedded


Hi Shen,

Thanks for your response,

I don't know how to interprete this but it always stops with the following status:

    Target state      : debug mode
    Debug entry cause : machine check interrupt
    Current PC        : 0x00000100
    Data  address     : 0x00000000
    DSISR value       : 0x00000000

Regards, Stephan

> -----Original Message-----
> From: Shen Rong [mailto:rshen@udtech.com.cn]
> Sent: Montag, 16. Juni 2003 13:03
> To: Stephan Linke
> Subject: Re: debugging using BDI2000 on MPC860
>
>
> Machine check exception vector is located at 0x200.
> 0x100 is reset vector, and it is ok.
>
> ----- Original Message -----
> From: "Stephan Linke" <Stephan.Linke@epygi.de>
> To: "Linuxppc-Embedded" <linuxppc-embedded@lists.linuxppc.org>
> Sent: Monday, June 16, 2003 6:56 PM
> Subject: debugging using BDI2000 on MPC860
>
>
> >
> > Hi,
> >
> > I want to use our BDI2000 to debug my MPC860 board. Unfortunately it always stops with a machine check interrupt at 0x00000100.
> > Flashing works fine.
> > Our flash is at 0xff000000, IMMR at f0000000...
> >
> > Any ideas? How do I define the boot address in MPC860 config files.
> >
> > Thanks, Stephan
> >
> >
> >
>
>
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* RE: debugging using BDI2000 on MPC860
       [not found] <077601c333fe$92722610$e600a8c0@udtech.net>
@ 2003-06-16 12:21 ` Stephan Linke
  0 siblings, 0 replies; 4+ messages in thread
From: Stephan Linke @ 2003-06-16 12:21 UTC (permalink / raw)
  To: Shen Rong; +Cc: Linuxppc-Embedded


I found the reason. The is no default boot addres defined. So I have to start the board with "go <bootaddress>" :-(

Thanks, Stephan

> -----Original Message-----
> From: Shen Rong [mailto:rshen@udtech.com.cn]
> Sent: Montag, 16. Juni 2003 13:58
> To: Stephan Linke
> Subject: Re: debugging using BDI2000 on MPC860
>
>
> Maybe a machine check occured and leaded to a reset.
> ME bit in MSR can be set to let machine check lead to a exception.
>
> Normally, BDI will stop at reset vector address after it catches the CPU,
> so you can use "go" to start from reset vector. Anyway, your can use
> "go [address]" to start from another address.
>
>
> ----- Original Message -----
> From: "Stephan Linke" <Stephan.Linke@epygi.de>
> To: "Shen Rong" <rshen@udtech.com.cn>
> Cc: "Linuxppc-Embedded" <linuxppc-embedded@lists.linuxppc.org>
> Sent: Monday, June 16, 2003 7:28 PM
> Subject: RE: debugging using BDI2000 on MPC860
>
>
> >
> > Hi Shen,
> >
> > Thanks for your response,
> >
> > I don't know how to interprete this but it always stops with the following status:
> >
> >     Target state      : debug mode
> >     Debug entry cause : machine check interrupt
> >     Current PC        : 0x00000100
> >     Data  address     : 0x00000000
> >     DSISR value       : 0x00000000
> >
> > Regards, Stephan
> >
> > > -----Original Message-----
> > > From: Shen Rong [mailto:rshen@udtech.com.cn]
> > > Sent: Montag, 16. Juni 2003 13:03
> > > To: Stephan Linke
> > > Subject: Re: debugging using BDI2000 on MPC860
> > >
> > >
> > > Machine check exception vector is located at 0x200.
> > > 0x100 is reset vector, and it is ok.
> > >
> > > ----- Original Message -----
> > > From: "Stephan Linke" <Stephan.Linke@epygi.de>
> > > To: "Linuxppc-Embedded" <linuxppc-embedded@lists.linuxppc.org>
> > > Sent: Monday, June 16, 2003 6:56 PM
> > > Subject: debugging using BDI2000 on MPC860
> > >
> > >
> > > >
> > > > Hi,
> > > >
> > > > I want to use our BDI2000 to debug my MPC860 board. Unfortunately it always stops with a machine check interrupt at
> 0x00000100.
> > > > Flashing works fine.
> > > > Our flash is at 0xff000000, IMMR at f0000000...
> > > >
> > > > Any ideas? How do I define the boot address in MPC860 config files.
> > > >
> > > > Thanks, Stephan
> > > >
> > > >
> > > >
> > >
> > >
> > >
> >
> >
>
>
>

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

* Re: debugging using BDI2000 on MPC860
  2003-06-16 11:28 ` debugging using BDI2000 on MPC860 Stephan Linke
@ 2003-06-16 15:27   ` Peter Barada
  0 siblings, 0 replies; 4+ messages in thread
From: Peter Barada @ 2003-06-16 15:27 UTC (permalink / raw)
  To: Stephan.Linke; +Cc: rshen, linuxppc-embedded


>I don't know how to interprete this but it always stops with the following status:
>
>    Target state      : debug mode
>    Debug entry cause : machine check interrupt
>    Current PC        : 0x00000100
>    Data  address     : 0x00000000
>    DSISR value       : 0x00000000

>From this you can see that the BDI stopped processing at address 0x100
(Current PC) because of a machine check (Debug entry cause).  You
should check the values of srr0/srr1, etc to determine why it took the
machine check.

--
Peter Barada                             Peter.Barada@motorola.com
Wizard                                   781-852-2768 (direct)
WaveMark Solutions(A Motorola Company)   781-270-0193 (fax)

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

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

end of thread, other threads:[~2003-06-16 15:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <075c01c333f6$ce1c2bf0$e600a8c0@udtech.net>
2003-06-16 11:28 ` debugging using BDI2000 on MPC860 Stephan Linke
2003-06-16 15:27   ` Peter Barada
     [not found] <077601c333fe$92722610$e600a8c0@udtech.net>
2003-06-16 12:21 ` Stephan Linke
2003-06-16 10:56 Stephan Linke

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 NNTP newsgroup(s).