[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] Time Problem Avrdude 5.3.1 on mac
From: |
Joerg Wunsch |
Subject: |
Re: [avrdude-dev] Time Problem Avrdude 5.3.1 on mac |
Date: |
Thu, 26 Apr 2007 21:08:16 +0200 |
User-agent: |
Mutt/1.5.11 |
As Yannick PODGORSKI wrote:
> 25137 avrdude 0.000084 GIO fd 2 wrote 63 bytes
> "avrdude: usbdev_open(): Found AVRISP mkII, serno: 0000B0009933
> "
> 25137 avrdude 0.000016 RET write 63/0x3f
> 25137 avrdude 12.109464 CALL write(0x2,0xbfffe8f0,0x257)
> // 12 seconds ???
It performs a couple of libusb operations at that point:
if (usb_set_configuration(udev, dev->config[0].bConfigurationValue))
{
fprintf(stderr,
"%s: usbdev_open(): error setting configuration %d: %s\n",
progname, dev->config[0].bConfigurationValue,
usb_strerror());
goto trynext;
}
usb_interface = dev->config[0].interface[0].altsetting[0].bInterfaceNumber;
if (usb_claim_interface(udev, usb_interface))
{
fprintf(stderr,
"%s: usbdev_open(): error claiming interface %d: %s\n",
progname, usb_interface, usb_strerror());
goto trynext;
}
fd->pfd = udev;
return;
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)