public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] MPC5200 BDI2000 and USB
@ 2004-02-11 11:36 Pierre AUBERT
  2004-02-11 12:56 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Pierre AUBERT @ 2004-02-11 11:36 UTC (permalink / raw)
  To: u-boot

Hi everybody,

I'm using a BDI2000 to debug u-boot on a LITE5200 board. I've got
some problems with breakpoints and stepping when the MPC5200 USB is running.

When the USB is disabled, breakpoints are working, and I've got the 
following
display on the BDI2000 terminal :

BDI>bi 0x3f9732c
Breakpoint identification is 1
BDI>break
Breakpoint mode is SOFT
BDI>go
- Target MBAR is 0xF0000000
- Target XLBA is 0x80002006
- TARGET: stopped
BDI>in
   Target CPU        : MPC8280/MGT5200 (Zeppo)
   Target state      : debug mode
   Debug entry cause : instruction address breakpoint
   Current PC        : 0x03f9732c
   Current CR        : 0x24008004
   Current MSR       : 0x00001002
   Current LR        : 0x03fa2028
BDI>go
- Target MBAR is 0xF0000000
- Target XLBA is 0x80002006
BDI>

When the USB is enabled and the breakpoint is reached, if I try to continue
my program, the MPC5200 stops again and I've got the following display :
BDI>go
- Target MBAR is 0xF0000000
- Target XLBA is 0x80002006
- Target MBAR is 0xF0000000
- Target XLBA is 0x00000000
- TARGET: stopped
BDI>
BDI>go
- Target MBAR is 0xF0000000
- Target XLBA is 0x00000000
- Target MBAR is 0xF0000000
- Target XLBA is 0x00000000
- TARGET: stopped
BDI>in
   Target CPU        : MPC8280/MGT5200 (Zeppo)
   Target state      : debug mode
   Debug entry cause : <reserved 0>
   Current PC        : 0x03f97324
   Current CR        : 0x24008004
   Current MSR       : 0x00001002
   Current LR        : 0x03fa2028

It's impossible to continue the program.

Any suggestion ?

Best regards

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

* [U-Boot-Users] MPC5200 BDI2000 and USB
  2004-02-11 11:36 [U-Boot-Users] MPC5200 BDI2000 and USB Pierre AUBERT
@ 2004-02-11 12:56 ` Wolfgang Denk
  2004-02-11 14:24   ` Pierre AUBERT
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2004-02-11 12:56 UTC (permalink / raw)
  To: u-boot

In message <402A13AA.8030602@staubli.com> you wrote:
> 
> I'm using a BDI2000 to debug u-boot on a LITE5200 board. I've got
> some problems with breakpoints and stepping when the MPC5200 USB is running.

What do you mean - debugging U-Boot when USB  is  running?  AFAIK  we
don't have USB support in U-Boot for the 5200 yet.

Best regards,

Wolfgang Denk

-- 
See us @ Embedded World, Nuremberg, Feb 17 - 19,  Hall 12.0 Booth 440
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
miracle:  an  extremely  outstanding  or  unusual  event,  thing,  or
accomplishment.                                - Webster's Dictionary

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

* [U-Boot-Users] MPC5200 BDI2000 and USB
  2004-02-11 12:56 ` Wolfgang Denk
@ 2004-02-11 14:24   ` Pierre AUBERT
  0 siblings, 0 replies; 3+ messages in thread
From: Pierre AUBERT @ 2004-02-11 14:24 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:

>In message <402A13AA.8030602@staubli.com> you wrote:
>  
>
>>I'm using a BDI2000 to debug u-boot on a LITE5200 board. I've got
>>some problems with breakpoints and stepping when the MPC5200 USB is running.
>>    
>>
>
>What do you mean - debugging U-Boot when USB  is  running?  AFAIK  we
>don't have USB support in U-Boot for the 5200 yet.
>
>  
>
I know, because I'm working on adding USB support on the MPC5200 (I will 
submit a patch ASAP).
The MPC5200 is an OHCI controller, then it's quite simple.
The USB stack is working, and I'm making some tests with usb-storage 
class. It works with a lot of
USB Sticks but I've got problems with some USB sticks, then I would like 
to use gdb.

>Best regards,
>
>Wolfgang Denk
>
>  
>
Best regards

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

end of thread, other threads:[~2004-02-11 14:24 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-11 11:36 [U-Boot-Users] MPC5200 BDI2000 and USB Pierre AUBERT
2004-02-11 12:56 ` Wolfgang Denk
2004-02-11 14:24   ` Pierre AUBERT

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox