[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] Problems with Avrdude error usb_bulk_read
From: |
Xiaofan Chen |
Subject: |
Re: [avrdude-dev] Problems with Avrdude error usb_bulk_read |
Date: |
Fri, 23 Dec 2011 20:38:35 +0800 |
On Fri, Dec 23, 2011 at 2:19 PM, Ed <address@hidden> wrote:
> avrdude: jtagmkII_open()
> avrdude: usbdev_open(): Found JTAGICE mkII, serno: 0700000000BF
> avrdude: usbdev_open(): using read endpoint 0x82
> avrdude: jtagmkII_getsync(): Sending sign-on command: avrdude:
> usb_fill_buf(): usb_bulk_read() error usb_bulk_read: An error occured during
> read (see messages above)
> avrdude: jtagmkII_recv(): Timeout receiving packet
> avrdude: jtagmkII_getsync(): sign-on command: status -1
> avrdude: jtagmkII_getsync(): Sending sign-on command: avrdude:
> usb_fill_buf(): usb_bulk_read() error usb_bulk_read: An error occured during
> read (see messages above)
> avrdude: jtagmkII_recv(): Timeout receiving packet
> avrdude: jtagmkII_getsync(): sign-on command: status -1
>
> This continues forever or until I turn off the JTAGICE mkII.
>
What is the libusb version you are using? Released version libusb-1.0.8
+ libusb-compat-0.1.3? Or the legacy libusb-0.1? Both can be problematic.
You might try libusb-1.0 git and libusb-compat-0.1.3. The libusb-1.0 git
solved many problems in libusb-1.0.8, some of them are related
to USB timeout in Linux and Mac OS X.
--
Xiaofan