USB HOST MODE MSC
Hi, I am trying to make the MCU the host where a USB can be connected, and the MCU can read/write to the USB. I configured my IOC /CubeMX to use the USB with FATFS. The USB USE OS (RTOS) is automatically enabled.
However, the issue is that once the USB is plugged in, it reaches HOST_USER_CONNECTION then goes straight to HOST_USER_UNRECOVERED_ERROR and keeps looping on this. I've attached the file for file handling where my case statements are. I've tried configuring all the buffers from CubeMX whether it be USB data buffers, max size configuration, USBH process stack size, sector size, etc.
I've also attached the callback I'm using to handle the USB.
