cancel
Showing results for 
Search instead for 
Did you mean: 

Connected USB device not detected

kroesswang_thomas
Associate II
Posted on October 22, 2012 at 14:52

Hello!

I have implemented the USB MSC Host application on a STM32F4, but it never detects the connected USB stick in the USBH_core state machine. I also know that the OTG_FS_IRQHandler() never gets executed the whole time. I guess there is something wrong in the usb_bsp.c file, but I used the one for STM32F4 from the project ''Audio_playback_and_record''. Unfortunately this is  a library for USB device, not host. Do I have to apply any changes to this file to make it work for hosts or is it the same for hosts and devices?

Link to my usb_bsp.c:  http://www.file-upload.net/download-6722786/usb_bsp.c.html

Or are there any system clock values I have to set?

1 REPLY 1
kroesswang_thomas
Associate II
Posted on October 23, 2012 at 15:13

I changed my IDE to Keil and now it works.

CAN BE CLOSED!