Follow-up Comment #1, bug #41357 (project avrdude):
Can you recompile your AVRDUDE version yourself?
In usb_libusb.c, there's the following piece of code:
#if !( defined(__FreeBSD__) ) // || ( defined(__APPLE__) && defined(__MACH__)
) )
/*
* Without this reset, the AVRISP mkII seems to stall the second
* time we try to connect to it. This is not necessary on
* FreeBSD.
*/
usb_reset(udev);
#endif
As you can see, opinions varied over time whether the
usb_reset() were needed for OSX or not. It seems to be
needed for Linux, where this code originates from, and it's
for sure not needed on FreeBSD, as FreeBSD's initial libusb
implementation implemented usb_reset() only as a stub without
any action, yet it works there.
Try removing the comment mark in the #if line. Well, maybe
we should actually change the #if into an #ifdef __linux__
if Linux is the only system that needs this.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?41357>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/avrdude-dev