-
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
MSC inquery request causes USBD Bus Reset #2753
Comments
try to see if #2750 fix your issue |
Well, I checked out to the Now Device Manager shows log output
It seems like almost every transfer triggers the USBD Bus Reset. If I keep retry, sometimes it goes a bit far and showed as log output
When I checked out back to the Thank you for your support! |
The most recent master that have merged This is the log output by the current master: log output
|
I don't have the Blue Pill but an ancient minimal board (Rev.Y chip). Your log looks like having some communication issue, could you verify your cabling, or a bad unit with soldering issue ? |
There was no issue with eye inspection on the board and the cable used worked fine in communication with other boards. |
Could you please test with |
When I tried By the way, I tried Now I have no idea about which one is the problem, but I think I'll move to stm32f401 to use msc&cdc composite project. |
Hum the problem becoming interesting... Is there anything special about your host pc ? Did you have any stability issue downloading the firmware with DFU ? |
I don't think so, because I program my MCU several times a day and always happens same. I'll try more and tell you if I figure out something more. Thank you very much for your help. |
Operating System
Windows 11
Board
STM32F103C8T6 Blue Pill
Firmware
examples/device/cdc_msc
What happened ?
When put the USB to the host,
USB Mass Storage
device appears. But it refreshes few times, then marked error.As shown in the log output below, there are always 6 times MSC Inquery requests. And it always immediately triggers the
USBD Bus Reset
. No other SCSI calls are received at all. Just 6 inquery, and bus resets.While the device is marked error, Device Manager's
Bus reported device description
shows the correct desciption that I set in thetud_msc_inquiry_cb()
call.Windows reports the bus error:
How to reproduce ?
No OS, just call
tusb_init()
after all HAL init finishes. Then, calltud_task()
in infinite loop.Debug Log as txt file (LOG/CFG_TUSB_DEBUG=2)
log output
Screenshots
No response
I have checked existing issues, dicussion and documentation
The text was updated successfully, but these errors were encountered: