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> |
||
|---|---|---|
| .. | ||
| audio | ||
| dfu | ||
| hid | ||
| netusb | ||
| bluetooth.c | ||
| bt_h4.c | ||
| cdc_acm.c | ||
| CMakeLists.txt | ||
| Kconfig | ||
| Kconfig.bt | ||
| Kconfig.cdc | ||
| Kconfig.msc | ||
| Kconfig.template.composite_device_number | ||
| Kconfig.test | ||
| loopback.c | ||
| msc.c | ||