greatscottgadgets / apollo

microcontroller-based FPGA / JTAG programmer
BSD 3-Clause "New" or "Revised" License
54 stars 28 forks source link

On Windows, Apollo sends `allow_fpga_takeover_usb` request to wrong interface. #62

Closed martinling closed 2 months ago

martinling commented 2 months ago

Request is addressed to interface 0, instead of the Apollo stub interface.

This is probably due to Apollo only claiming interface 0, and WinUSB enforcing the interface number used in the wIndex field of a request.

mndza commented 2 months ago

Fixed in #63.