locked
WinCE 6 i.MX25 USB Host driver problem RRS feed

  • Question

  • Hello,

    my USB Host driver for i.MX25 (WinCE 6) works fine as long as I unplug the USB device. Then I get the following debug messages:

    DeleteFromProcessInputLocaleTable: Deleted process from ProcessInputLocale table, hProcess: 0x05880006CHub(Root tier 0)::HubStatusChangeThread - port 1, change = 0x0002, status = 0x0108
    hubStatus PortEnableChange = 1
    hubStatus PortEnabled = 0
    hubStatus PortConnected = 0
    hubStatus ForceDetach = 0
    hubStatus.change.port.ConnectStatusChange = 0
    +USBD:ResetPipe
    CFunction::SetOrClearFeature - recipient = 2, wIndex = 129, set/clear = 0x1, feature = 0x0, FAILED
    +USBD:ResetPipe
    ...

    After unplugging the device I can't reattach another USB device. What could be the problem?

    Best regards,

    Andreas

     

    Wednesday, September 7, 2011 8:07 AM

Answers

All replies

  • Here a more detailed description for my problem:

    While using mouse for our custom win ce 6.0 device, I found following issues with host driver(not OTG).

    If I disconnect mouse while win ce is running, on serial terminal I found following debug message +USBD::ResetPipe() Failed when i digg down I found CFunction::SetOrClearFeature function failed reason is m_ppCPipe[ ENDPOINT0_CONTROL_PIPE ]->IssueTransfer returns error dwErrorFlags=0x04 which is USB_STALL_ERROR and I am getting these messages continously on the serial termial even though I reconnect the device(mouse). which obiviously does't work.!

    Is there any workaround this issue !

    Best regards,

    Andreas

    Friday, September 9, 2011 12:53 PM
    • Marked as answer by Andreas_1981 Monday, September 19, 2011 11:53 AM
    Monday, September 12, 2011 12:12 PM