Detecting Usb Enumeration error

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Detecting Usb Enumeration error

1,015件の閲覧回数
elettro86
Contributor I

Hi guys,

 

I am developed USB device protocol. My stack work fine and the device is correctly enumerated by the host. I assume that the enumeration process is correctly terminated when a set_configuration is send by the host, so I have "an event" in order to detect when the device is correcly enumerated.

But if the enumeration failed, how I can detect this error? I could use a time-out (if a set_configuration is not receive in 10sec i.e.) but it it is potentially dangerous, I could assume uncorrect decision based on my time out.

 

Can anyone help me?

 

 

Sorry for the bad English

 

King Regards

Francesco

ラベル(1)
タグ(2)
0 件の賞賛
返信
1 返信

615件の閲覧回数
CarlosCasillas
NXP Employee
NXP Employee

Hi Francesco,


The enumeration time may vary depending the Host (and its Operating System). On the following link you could find some useful information regarding enumeration process on Windows:
http://blogs.msdn.com/b/usbcoreblog/archive/2009/10/31/how-does-usb-stack-enumerate-a-device.aspx


Additionally, you may find additional information at the following thread:
https://community.freescale.com/message/107572

Hope this will be useful for you.

Best regards!

/Carlos