2013-01-10 05:13 AM
Hello,
I am using the STM32_USB-Host-Device_Lib_V2.1.0 together with the STM32F207ZG-SK Eval Board. I have changed the MSC example code (Host), so that I can communicate with an CDC device. The enumeration works fine and I can read the Device Descriptor, Configuration Descriptor, Interface Descriptor and the Endpoint Descriptor. After the Enumeration I want to start to send data via status = USBH_BulkSendData (pdev, USBH_CDC_XferParam.pOutBuffer, USBH__XferParam.Out_Packet_Length, hc_num_out); Some time it works fine and with URB_Status = HCD_GetURB_State(pdev , hc_num_out); I get URB_Status = URB_DONE. In many cases I get URB_Status = URB_NOTREADY and I don't know why. Did I miss some parameters to set up before using USBH_BulkSendData()? Thanks a lot. Stefan2014-01-25 06:42 PM
Hello,
check this post:/27b186a0
It worked for me, I was also stuck after enumeration.Best regards,Miguel