Closed rmshub closed 1 year ago
Hi Team,
Any clue on this error ?
Any clue in this issue ?
@MaValki please, could you look at it?
Hi, thank you for detailed description.
I was not able to replicate this issue with three USB drives I have at hand.
Although, based on provided log I assume it might has something to do with transfer timeout.
According to USB specification, device may delay up to 5 seconds.
Try to change xfer->timeout_ms
to 5000 in components/src/msc_host.c
on lines 529
and 547
Please let me know whether it helps or not.
@MaValki Thanks for update. After updating timeout_ms to 5000, it is working as expected.
Thank you @rmshub, I'll fix it.
Fixed in usb_host_msc version 1.0.2
Thanks for reporting, feel free to reopen.
Answers checklist.
IDF version.
v5.0-beta1
Operating System used.
Linux
How did you build your project?
VS Code IDE
If you are using Windows, please specify command line type.
No response
Development Kit.
ESP32-S3 Parallel TFT with Touch 3.5'' ILI9488 Makerfabs
Power Supply used.
USB
What is the expected behavior?
Disconnect and connect USB MSC should work without error
What is the actual behavior?
Disconnect and connect USB MSC memory disk is not working.
Steps to reproduce.
Run USB MSC example
Debug Logs.
More Information.
No response