Hello Everyone, I'm following these steps ( www2.keil.com/.../ ) in order to understand USB Hosting and create my own application. Unfortunately i encountered a problem. I arrived at Step 3 and i added the Host support correctly but i can't access the usb stick. When i debug the USBH_MSC_DriveMount function , i found that wether the actual usb stick is connected or not , the finit function returns fsDriverError. I checked on Documentation and found out that it means it failed to initialize the drive but i couldn't find a way how to fix it or what it actually means. I'll be glad if you could help me solve my problem and thank you .
I'm using STM32F429
Thank you for your answer. Yes i'm using the Discovry kit. I'm sure that my USB Stick is formated to FAT32. I'm pretty sure i'm using GPIOC 4 as VBUS Power On/Off and GPIOC 5 as OverCurrent Detection Pin. I will check it again. I will debug where you told me and see what will be the returns of the functions.