cancel
Showing results for 
Search instead for 
Did you mean: 

USBH class request getting failed as USBH_BUSY

Param sivan
Associate II

Hi,

I am implementing a USB host library into my project. The first step to add a USB drive class. I have copied the files from the stm32f4 cube f4 discovery board sample project. Using Full Speed mode.The standalone sample project working fine on my hardware , it was created the STM32.txt on USB pendrive. But I include the same library into my running project it is not working , it is stuck on USBH_CLASS_REQUEST state. It always throw USBH_BUSY instead of USBH_OK.

I am using embOS RTOS in my project.

Upto USB enumeration and MSC class started was working perfectly. I have seen more developers had the same issue, unfortunately i couldn't understand the solution to fix.Please help me.

Terminal I/O:

USB Device Attached

PID: 2a5h

VID: 54ch

Address (#1) assigned.

Manufacturer : Sony

Product : Storage Media

Serial Number : 9B2001112270006518

Enumeration done.

This device has only 1 configuration.

Default configuration set.

Switching to Interface (#0)

Class  : 8h

SubClass : 6h

Protocol : 50h

MSC class started.

1 REPLY 1
Kvan .3
Associate

Did you solve this issue?

I'm having the same problem when using 2 MSD USB-Disks simultaneously on a STM32H743. Both ports (hhcd_USB_OTG_FS and hhcd_USB_OTG_HS) work perfectly when only one disk is connected, regardless of the used port. No disk works when both are connected simultaneously with the same error as described above.