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

usbh_reset_device() and further data exchange #48

Open
jeromeDms opened this issue Jan 7, 2025 · 0 comments
Open

usbh_reset_device() and further data exchange #48

jeromeDms opened this issue Jan 7, 2025 · 0 comments

Comments

@jeromeDms
Copy link

Hi
I'm still facing difficulties to exchange data with a device after calling usbh_reset_device().
The device is properly disconnected, while it is disconnecting I receive midi_bulk_in_irq() with utr->status = -205 (USBH_ERR_ABORT)
Then all is free-ed, then I can see the re-enumeration.
The device is properly restarted, IN endpoint re-armed, at that time, I receive 2 notifications to midi_bulk_in_irq(), (those 2 notifications are also received when connecting the device the first time).
But after those 2 notifications, all data sent by the device are no longer triggering midi_bulk_in_irq().
On the other side, data sent to the device are properly received.

Any idea why this issue could happen ?
Thanks

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

No branches or pull requests

1 participant