cancel
Showing results for 
Search instead for 
Did you mean: 

STM23F105RC USB OTG problem

apollo1412
Associate II
Posted on March 21, 2013 at 19:08

STM23F105RC USB OTG problem

Hi, I�ve  got question. First I  want to say that I�m just starting to learn programming with Cortex-M3 line. Now to the problem.  I�m trying to lunch modified program from  STM3210C-EVAL_USBH-FS host example for MSC connectivity(STM3210C eval board use STM32F107VCT processor which is similar to STM23F105RC )which is provided with USB OTG library. When I lunching my program and connect pendrive to usb port, I�m encountering problem. My program is continuously pooling through HOST_CTRL_XFER after failed enumeration. I have no idea what causing this action.  I know this is very unprofessional but I attach whole library with this project (path: \STM32_USBhd\Project\USB_Host_Examples\MSC\TrueSTUDIO\STM3210C-EVAL_USBH-FS). In this project I deleted some of imports involving evaluation board peripheria(like lcd) and changed device target from STM3210C eval board  to STM23F105RC .  Also I attached files that I�ve changed comparing to original library (main.c, usb_bsp.c, usbh_usr.c ). For project I�m using Attolic TrueStudio IDE and Segger ST-Link probe.

Whole project under this link:

http://www.sendspace.pl/en/file/4b08a37676519c4ca62915f

main.c, usb_bsp.c, usbh_usr.c files under this link:

http://www.sendspace.pl/en/file/23789effc8f135aefa101e4

#stm23f105rc-usb-otg-host_ctrl_xf
0 REPLIES 0