2025-01-22 07:28 PM
Hi I am using the STM32F7 MCU to use a usb. I can get the USB connected however, when I try to run debug, the application hard faults, and I can't trace the error. I was hoping to get a reference to a tutorial from STM regarding reading/writing to USB. I have the pinout configuration correct. I am using USB_OTG_FS Host Only, Mass Storage Host Class. In FATFS I adjusted the parameters USE_LFN to be enabled with static working buffer on the BSS, I disabled FS_REENTRANT.
2025-01-22 10:10 PM
You should have a look on the USB_MSC or Ux_Device_MSC examples if your goal is to make the MCU to be detected as a mass storage device when you connect it through USB to a HOST PC.
Greetings