URL:
<http://savannah.nongnu.org/bugs/?22271>
Summary: usb_reset in usb_libusb.c not necessary in FreeBSD
6.x
Project: AVR Downloader/UploaDEr
Submitted by: None
Submitted on: Saturday 02/09/2008 at 14:49 UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Nick Hibma
Originator Email: [EMAIL PROTECTED]
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
--- usb_libusb.c~ 2008-02-09 15:30:18.000000000 +0100
+++ usb_libusb.c 2008-02-09 15:30:22.000000000 +0100
@@ -211,7 +211,7 @@
* Without this reset, the AVRISP mkII seems to stall the second
* time we try to connect to it.
*/
- usb_reset(udev);
+ //usb_reset(udev);
usb_close(udev);
}
The usb_reset actually wedges the device while not necessary on FreeBSD
(usb_reset is not yet implemented in FreeBSD, but will be soonish when I get
round to committing the patch).
At the moment on FreeBSD usb_reset doesn't do anything and thereefore can be
safely left out. The programmer continues to work fine during multiple
commands like:
sudo avrdude -P usb -c avrispmkII -p m168 -U \
flash:w:auxboard.hex:i
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?22271>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
_______________________________________________
avrdude-dev mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/avrdude-dev