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

usbd msc clear request support #65

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

alexrayne
Copy link

This patch includes:
!fix usbd stop ep
!usbd:dwc_otg:OUT prematured urb

and also provides enhanced URB cancel in DWC backend - now canceling URB can detects that ep is in transmition process and abort and flush it.
MSC class implements support Clear Feature Endpoint request - that cancels current transfered URB.

it is tested only in bulk IN endpoint now.

… standalone OUT_COMP received packet, that rise RXC IRQ

        this RCX will captureb by next active URB, and leads to terminate it.
… stop. if ep leaved enabled -

        it miss new requests until transfer completes;
… set! also

        better to avoid EPDIS interrupt for normaly completed and disabled endpoints
…t if need

+             fifo_flush_ep , dwc_otg_stop_ep
+             dwc_otg_is_active_ep - checks that endpoint have data and online
!usbd:dwc_otg_is_active_ep - a bit harder situation ob detecting that some data is sent by ep
+         USB_REQ_CLEAR_FEATURE - resets endpoint now
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant