[U-Boot-Users] MPC5200 BDI2000 and USB

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

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

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
participants (2)
-
Pierre AUBERT
-
Wolfgang Denk