2018-02-18 04:01 AM
https://www.youtube.com/watch?v=YYVI4ZBqY84
Hi there, i just wanna build an application to log some sensor mesures to an USB drive attached to board user USB, using an usb-otg plug. I can't get working the usb device.
I setted up in cubeMx USB_OTG_FS to work as host_Only in USB_HOST i selectec Mass Storage Host Classes, and i've enabled FATFS support for USB_Disk.
After some debugging i realized that USBH_Process, is stuck in HOST_IDLE State. Also phost->device.is_connected value is stuck to 0.