Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

RE: [lpc2000] Re: USB on LPC2148 power-on starting address

2005-10-13 by Paul Curtis

Hi, 

> > I find that debugging self-powered devices *much* easier than 
> > bus-powered devices.  I recommend that you do this.
> 
> Agree. Using self power allows you to debug through things 
> better because you can handle the connection stuff easier.
>
> Debugging USB is challenging because the timing of the USB 
> protocol prevents you from single stepping/breaking.

Interrupt-driven serial I/O during enumeration is how I debug setup
problems.

> > > Thanks for the suggestions though.
> > 
> > Invest in a USB analyzer is another suggestion.  I can't do without 
> > mine.
> 
> What analyser do you use?

The Ellisys Tracker 110.  Nice piece of hardware, simple to use.

> Something I have found **very** useful is libusb (Google will find). 
> This allows you to do host-side stuff without USB drivers and 
> can make for more controlled test apps etc. 

We found that libusb works well on some PCs with some drivers, and
completely nukes other PCs.

--
Paul Curtis, Rowley Associates Ltd  http://www.rowley.co.uk
CrossWorks for MSP430, ARM, AVR and now MAXQ processors

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.