avrdude using libusb-1.0 and libusb-compat-0.1

View: New views
1 Messages — Rating Filter:   Alert me  

avrdude using libusb-1.0 and libusb-compat-0.1

by David Hoerl :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Sending this for the archives - had good luck getting libusb-1.0.3 and
the compatibility library (which maps the new library calls into what
avrdude expects from libusb.0.1). Its seems faster when downloading but
didn't really measure it.

For OSX Mac users, a note: if you use a portable, as I do, both old and
new libusb libraries try to get info out of suspended USB devices like
the camera. This adds many seconds of delay before the download starts.
I edited the darwin_usb.c file in libusb.1.0, and essentially commented
out code. This resulted in a much much faster download.

David

     if (ret != kIOReturnSuccess) {
       int try_unsuspend = 0; // DFH - was 1
#if DeviceVersion >= 3200 // DFH - was 320


_______________________________________________
avrdude-dev mailing list
avrdude-dev@...
http://lists.nongnu.org/mailman/listinfo/avrdude-dev