public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot-Users] U-Boot on MPC8280
@ 2004-01-07 18:58 Rod Boyce
  2004-01-08 12:36 ` John W. Linville
  0 siblings, 1 reply; 8+ messages in thread
From: Rod Boyce @ 2004-01-07 18:58 UTC (permalink / raw)
  To: u-boot

This is just my $0.02 worth but I have used our BDI2000 to debug User land
application, Kernel, and device drivers at the same time.  It is an
invaluable tool when tracking down both software and hardware bugs.  In fact
I will start hardware debugging with our BDI before cabling up a Logic
analyzer.  
I can say that without a doubt if we had not use the BDI2000 in this way we
would have ended up redesigning the hardware to get around some perceived
limitations.  Instead I found the software bug and fixed it.  I did all this
in about 3-hours work as well.

I don't use the BDI all the time to debug user mode applications but when
you want to stop the hole processor it is invaluable.  To be able to step
through user code and then jump into the kernel on system calls is just
great.

I cannot tell you how much time our BDI has saved us.  We also have a Vision
ICE in another office I am not completely familiar with the Vision Ice but
compared to the functionality I get from a BDI the Vision Ice is a very poor
second.


Regards,
Rod

-----Original Message-----
From: Wolfgang Denk [mailto:wd at denx.de]
Sent: Thursday, January 08, 2004 4:46 AM
To: David Aldrich
Cc: Matias Sundman (AL/EAB); u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] U-Boot on MPC8280 


Dear David,

in message
<0E8A20F2EB7BD7119C1F00508BB333780E5D7B@tmservermail02.t-modus.nec.co.uk>
you wrote:
> 
> Is it true that the BDI is not suitable for user app debug?  Is this a

Yes, this is true. Well, you _can_ use  it,  but  you  have  manually
navigate  through  the  kernel virtual address space to find what you
are looking for. Sometimes  this  is  necessary  (typically  to  find
kernel  bugs),  but  this is definitely nothing to do for the average
user.

> problem in practice?

No, it is not.

Kernel debugging and application debugging are two separate  weorlds,
like  kernel  address  space  and  user  address  space  are  clearly
separated. There is tools for both of them: for the firmware,  device
drivers  and  kernel  debugging  you  use  the  BDI2000, and for user
applications you use gdbserver or gdb.

Note that this does not mean  any  loss  of  productivity:  both  the
BDI2000  and  gdbserver  "speak" GDB remote protocol, so you will see
absolutely the same user interface.


Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
"If the code and  the  comments  disagree,  then  both  are  probably
wrong."                                                - Norm Schryer


-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [U-Boot-Users] BDI2000 vs Vision-ICE
@ 2004-01-08 22:56 Wells, Charles
  0 siblings, 0 replies; 8+ messages in thread
From: Wells, Charles @ 2004-01-08 22:56 UTC (permalink / raw)
  To: u-boot

Mike,

> People at my place of work are telling me that the
> Vision-Ice supports "backtrace" and the BDI2000 does
> not.

I don't believe visionICE supports what you describe, but visionEVENT
(another WRS/EST product) does.  visionEVENT behaves like a classic "bus
capture" analyzer.  It's no longer a "10-bin BDM port connected device."
visionEVENT is housed in a seperate box that attaches to the bottom of the
visionICE case and requires two 80-pin high-density connectors on your
target for its connection.  Further, visionEVENT imposes some nasty
restrictions on the target (e.g. not being able to run the CPU clock at 2x
bus clock).

We bought the visionICE/visionEVENT stuff a couple of years ago.  I use
visionICE regularly and it works adequately for bringing up new targets and
debugging startup code.  We haven't use visionEVENT much at all.  We've just
never needed its capabilities.  I've never used the BDI2000, but it sounds
like its Linux integration is better than either visionICE or visionEVENT
(although WRS may have improved this since we took delivery of ours).  

BTW, I agree with Wolfgang's earlier point.  What really matters is the
capabilities of the debugger software front-end.  One of these days, I need
to get someone around here to approve the purchase of a BDI2000 and see how
it compares.

Regards,
Charlie

^ permalink raw reply	[flat|nested] 8+ messages in thread
* [U-Boot-Users] BDI2000 vs Vision-ICE
@ 2004-01-09 13:29 VanBaren, Gerald
  2004-01-09 15:50 ` Mike Wellington
  0 siblings, 1 reply; 8+ messages in thread
From: VanBaren, Gerald @ 2004-01-09 13:29 UTC (permalink / raw)
  To: u-boot

I've used both VisionICE and BDI2000 (we bought two VisionICEs initially and only BDI2000s since then :-).  Both connect via the JTAG port and neither support traceback.  As Charlie points out, traceback requires capturing the address and data bus which is bloody tricky on todays processors.

With a JTAG or a software only debugger you could theoretically enable the "trace on branch" PPC exception and run at full speed in (very short :-) bursts, saving each branch location and then rebuild the traceback using the saved the branches, but that would still cause a significant speed degradation because of all the exceptions.  I don't know if anyone does this.  I have my doubts whether this would be useful due to the speed slowdown.

gvb


> -----Original Message-----
> From: u-boot-users-admin at lists.sourceforge.net
> [mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of Wells,
> Charles
> Sent: Thursday, January 08, 2004 5:57 PM
> To: u-boot-users at lists.sourceforge.net
> Cc: 'Mike Wellington'
> Subject: RE: [U-Boot-Users] BDI2000 vs Vision-ICE
> 
> 
> Mike,
> 
> > People at my place of work are telling me that the
> > Vision-Ice supports "backtrace" and the BDI2000 does
> > not.
> 
> I don't believe visionICE supports what you describe, but visionEVENT
> (another WRS/EST product) does.  visionEVENT behaves like a 
> classic "bus
> capture" analyzer.  It's no longer a "10-bin BDM port 
> connected device."
> visionEVENT is housed in a seperate box that attaches to the 
> bottom of the
> visionICE case and requires two 80-pin high-density connectors on your
> target for its connection.  Further, visionEVENT imposes some nasty
> restrictions on the target (e.g. not being able to run the 
> CPU clock at 2x
> bus clock).
> 
> We bought the visionICE/visionEVENT stuff a couple of years 
> ago.  I use
> visionICE regularly and it works adequately for bringing up 
> new targets and
> debugging startup code.  We haven't use visionEVENT much at 
> all.  We've just
> never needed its capabilities.  I've never used the BDI2000, 
> but it sounds
> like its Linux integration is better than either visionICE or 
> visionEVENT
> (although WRS may have improved this since we took delivery 
> of ours).  
> 
> BTW, I agree with Wolfgang's earlier point.  What really 
> matters is the
> capabilities of the debugger software front-end.  One of 
> these days, I need
> to get someone around here to approve the purchase of a 
> BDI2000 and see how
> it compares.
> 
> Regards,
> Charlie
> 
> 
> -------------------------------------------------------
> This SF.net email is sponsored by: Perforce Software.
> Perforce is the Fast Software Configuration Management System offering
> advanced branching capabilities and atomic changes on 50+ platforms.
> Free Eval! http://www.perforce.com/perforce/loadprog.html
> _______________________________________________
> U-Boot-Users mailing list
> U-Boot-Users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/u-boot-users
> 

******************************************
The information contained in, or attached to, this e-mail, may contain confidential information and is intended solely for the use of the individual or entity to whom they are addressed and may be subject to legal privilege.  If you have received this e-mail in error you should notify the sender immediately by reply e-mail, delete the message from your system and notify your system manager.  Please do not copy it for any purpose, or disclose its contents to any other person.  The views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of the company.  The recipient should check this e-mail and any attachments for the presence of viruses.  The company accepts no liability for any damage caused, directly or indirectly, by any virus transmitted in this email.
******************************************

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

end of thread, other threads:[~2004-01-09 15:50 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-01-07 18:58 [U-Boot-Users] U-Boot on MPC8280 Rod Boyce
2004-01-08 12:36 ` John W. Linville
2004-01-08 21:01   ` [U-Boot-Users] BDI2000 vs Vision-ICE Mike Wellington
2004-01-08 23:04     ` Wolfgang Denk
2004-01-09  9:58     ` Richard Danter
  -- strict thread matches above, loose matches on Subject: below --
2004-01-08 22:56 Wells, Charles
2004-01-09 13:29 VanBaren, Gerald
2004-01-09 15:50 ` Mike Wellington

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