avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avrdude-dev] jtag2 and usb timeout


From: Joerg Wunsch
Subject: Re: [avrdude-dev] jtag2 and usb timeout
Date: Wed, 30 Aug 2006 13:05:40 +0200
User-agent: Mutt/1.5.11

As Dave N6NZ wrote:

> It really appears that libusb is returning an error status, without
> setting an error code.  Possibilities:

> 1) spurious error code for correct operation
> 2) missing error code for incorrect operation
> 3) Dave is too tired to be reading code and is totally lost.

I've got similar problems on one laptop running Linux at work.  Almost
the same system as on our lab machines (some version of SuSE), but
while everything works fine on the lab systems (once the admin figured
out how to assign the /proc/usb/... entries for the JTAG ICEs to us
mortal users), it fails on the laptop, experiencing similar symptoms
as your setup.  So far, the only workaround on the laptop has been to
use the RS-232 connection instead.  Never had any such problem on the
lab systems running Linux, nor on my FreeBSD machines at home.  (I've
occasionally got trouble on FreeBSD with AVaRICE connecting over USB
where it apparently drops some bytes from the connection internally,
but AVaRICE's USB handling is a lot different from AVRDUDE's, mainly
due to hysterical raisins, and due to AVaRICE being in need to listen
to both, USB and the GDB channel.)

I suggest you try contacting the libusb developers to see what kind of
debugging could be applied.  If you've got any solution, please post
it here.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]