-
Notifications
You must be signed in to change notification settings - Fork 6.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
usb: dfu: Support DFU with WinUSB on Windows
DFU on Windows with WinUSB driver failed with "Lost device after RESET?" error because WinUSB does not support host initiated resets. USB Device Firmware Upgrade Specification Revision 1.1 attribute bitWillDetach can be used to overcome WinUSB reset limitation. When bitWillDetach is set, it is the device responsibility to detach and reattach itself to the bus after receiving DFU_DETACH request. Add and enable by default USB_DFU_WILL_DETACH configuration option, because it is the only way to support WinUSB driver. WinUSB driver is preferable because it can be automatically installed on Windows 8 and later if USB device implements WCID descriptors. Fixes: #49821 Signed-off-by: Tomasz Moń <tomasz.mon@nordicsemi.no>
- Loading branch information
1 parent
fbd88cd
commit c27d48c
Showing
2 changed files
with
56 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters