avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #22271] usb_reset in usb_libusb.c not necessary in Fr


From: anonymous
Subject: [avrdude-dev] [bug #22271] usb_reset in usb_libusb.c not necessary in FreeBSD 6.x
Date: Sat, 09 Feb 2008 14:49:37 +0000
User-agent: Mozilla/5.0 (compatible; Konqueror/3.5; FreeBSD) KHTML/3.5.7 (like Gecko)

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: address@hidden
             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/





reply via email to

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