-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
tun_umount_cb is not called for stm32f4xx #2872
Comments
Note, that in my test |
It's normal that tud_umount_cb() doesn't called on cable unplug, the information is not returned by DCD without Vbus connected. |
|
Are you testing with stock examples ? Please post your schematic. |
I'm using the following board: Board's schematic: I don't use stock examples and here us a snippet with USB initialization of my project:
|
I'm afraid it's more like a hardware limitation, on STM32F4-DISCO with HS breakout cable I managed to reproduce it (although pretty rare) Sometimes nothing triggered in DWC2 when cable is unplugged, even not the early suspend flag. |
@HiFiPhile Any API call I can use to force |
There is no dedicated API since the issue is specific to DWC2, but |
@HiFiPhile Thanks |
Operating System
Linux
Board
STM32F4XX M
Firmware
cdc+dwc2
What happened ?
related to #1476
How to reproduce ?
cdc + dwc2 + USB configuration: D+/D- only, no VBUS pin used
Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)
Screenshots
No response
I have checked existing issues, dicussion and documentation
The text was updated successfully, but these errors were encountered: