2013-07-26 07:31 AM
i make a board with stm32f107 mcu
i want to use usb host and read from flash disk. i compile example in st.com an program my chip but not work usb please help me2013-07-26 07:48 AM
What software are you using, what tools are you using to compile it?
Have you tested the code on the board it was designed for? Have you ported it to your board properly? Have you validated your board design? What other aspects of USB operations have you tested? What debugging have you done? What does this tell you?2013-07-26 12:26 PM
2013-07-26 12:54 PM
my board connections is correct and work a example in MikroC ARM compiler
2013-07-26 02:31 PM
That it doesn't work is a bit non-specific, you'll have to debug a little deeper, perhaps by adding some telemetry messages, and decomposing the problem so you can see whether you can read sectors at a lower level.
I don't have an STM3210C-EVAL either, but rather an STM32CMICOS, not sure if that has USB set up. I've moved to mostly F2 and F4 designs. To port the STM3210C-EVAL code you'll need to remove LCD code, and pay a lot of attention to pin assignments, and schematic details.2013-07-27 10:13 PM
problem
when i connect 16GB flash disk ,
stop in USB_Host.EnumState = ENUM_GET_FULL_DEV_DESC USB_Host.gState=HOST_CTRL_XFER USB_Host.gStateBkp =HOST_ENUMERATION USB_Host,RequestState=CMD_WAIT but when connect 4Gb usb flash disk USB_Host.EnumState = ENUM_DEV_CONFIGURED2013-07-31 09:14 AM
Please change the maximum endpoint number to 3 in usbh_conf.h and re-confirm.
Edison