avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #40831] LUFA AVRISP-MKII fails with avrdude 6.0.1


From: Dean Camera
Subject: [avrdude-dev] [bug #40831] LUFA AVRISP-MKII fails with avrdude 6.0.1
Date: Sat, 13 Sep 2014 07:50:29 +0000
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0

Follow-up Comment #3, bug #40831 (project avrdude):

Looking over the source code, it appears the issue is that the USB endpoints
are already pre-filled by the upper tool layer:

(In STK500v2.c:)
    pgm->fd.usb.rep = USBDEV_BULK_EP_READ_MKII;
    pgm->fd.usb.wep = USBDEV_BULK_EP_WRITE_MKII;


That means the read endpoint heuristics inside usb_libusb.c will not trigger
for known Atmel tools, and the code will assume that the read endpoint is
always equal to the tool defaults. This breaks for LUFA programmers in libUSB
compatibility mode, as the read endpoint index is changed to 0x83 (but the
descriptors are otherwise identical).

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?40831>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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