avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Compiling avrdude with libusb


From: David Hoerl
Subject: Re: [avrdude-dev] Compiling avrdude with libusb
Date: Mon, 07 Dec 2009 10:10:28 -0500
User-agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.1) Gecko/20090903 Eudora/3.0b3

I am using this library right now. I posted on it a short while ago. You need libusb and a lib-compat that provides glue functions that map into the old libusb:

(my previous post)

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




reply via email to

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