[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [patch #8954] Enable usage of libusb-1.0 for stk500v2 (aka
From: |
Michael Böhme |
Subject: |
[avrdude-dev] [patch #8954] Enable usage of libusb-1.0 for stk500v2 (aka avrispmkii) |
Date: |
Thu, 24 Mar 2016 12:32:47 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Firefox/45.0 |
URL:
<http://savannah.nongnu.org/patch/?8954>
Summary: Enable usage of libusb-1.0 for stk500v2 (aka
avrispmkii)
Project: AVR Downloader/UploaDEr
Submitted by: michaelboehme
Submitted on: Thu 24 Mar 2016 12:32:46 GMT
Category: None
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
I tried using an AVRISPmkII in Windows 10 with avrdude 6.3, but libusb
couldn't find the device ("avrdude.exe: usbdev_open(): did not find any USB
device "usb" (0x03eb:0x2104)").
Since libusb 0.1 is marked deprecated in cygwin, I installed libusb-1.0 and
had a look at usbasp.c, where v1.0 is already in use. I then added support for
libusb-1.0 in usb_libusb.c, and expanded the corresponding preprocessor
conditions in jtag3.c, jtagmkII.c and stk500v2.c.
After replacing the ATMEL driver of the AVRISP by the WinUSB driver using
Zadig avrdude is once more able to flash my AVRs using AVRISPmkII.
I also successfully applied and tested my patch with said AVRISPmkII in a
virtual machine running xubuntu 14.04.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 24 Mar 2016 12:32:46 GMT Name: libusb.patch Size: 23kB By:
michaelboehme
<http://savannah.nongnu.org/patch/download.php?file_id=36745>
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?8954>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [patch #8954] Enable usage of libusb-1.0 for stk500v2 (aka avrispmkii),
Michael Böhme <=