Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

usb: doc: Add note about cdc+dfu Windows OS exception. #25347

Merged

Conversation

eobalski
Copy link
Collaborator

Add a note for composite (CDC+DFU) device overlay.
Composite device CDC+DFU may not work with Windows OS host.
Windows OS does not send reset after DFU_DETACH request
(does not re-enumerates) and thus make it unable for
the device to restart in DFU mode.

Closes #23337.

Signed-off-by: Emil Obalski emil.obalski@nordicsemi.no

@eobalski eobalski added bug The issue is a bug, or the PR is fixing a bug area: Documentation area: USB Universal Serial Bus labels May 15, 2020
@eobalski eobalski added this to the v2.3.0 milestone May 15, 2020
@eobalski eobalski requested a review from finikorg as a code owner May 15, 2020 09:06
@zephyrbot zephyrbot added the area: Samples Samples label May 15, 2020
@carlescufi
Copy link
Member

@jfischer-phytec-iot take a quick look please?

Copy link
Collaborator

@jfischer-no jfischer-no left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did not quite understand what happens on Windows OS. Let me block it for few more days.

@@ -1,5 +1,7 @@
# Overlay file for composite configuration
# CDC ACM + USB DFU
#
# This composite configuration may not work for Windows OS.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the info in the commit message in this file as well?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done.

Add a note for composite (CDC+DFU) device overlay.
Composite device CDC+DFU may not work with Windows OS host.
Windows OS does not send reset after DFU_DETACH request
(does not re-enumerates) and thus make it unable for
the device to restart in DFU mode.

For more details refer to zephyrproject-rtos#23337.

Signed-off-by: Emil Obalski <emil.obalski@nordicsemi.no>
@eobalski eobalski force-pushed the usb_composite_cdc_dfu branch from a02194f to e00d063 Compare May 21, 2020 07:37
@carlescufi
Copy link
Member

@jfischer-phytec-iot can you revisit this one please?

@carlescufi carlescufi merged commit 44c1533 into zephyrproject-rtos:master May 27, 2020
@eobalski eobalski deleted the usb_composite_cdc_dfu branch June 10, 2020 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Documentation area: Samples Samples area: USB Universal Serial Bus bug The issue is a bug, or the PR is fixing a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

USB DFU device + Composite Device with ACM Serial - Windows Fails
4 participants