??? 08/20/08 15:12 Modified: 08/20/08 15:34 Read: times |
#157580 - Packet size of the interrupt IN EP Responding to: ???'s previous message |
I used printf() functions for monitoring the enumeration process and it was the main problem, because of its delay. Ah, then it was the request handling delay, instead of the start-up delay. The USB spec defines the timeout of each stage of request (control transfer) handling. It is at least 50 ms, but for the details, see this chapter of the USB 2.0 spec (usb_20.pdf) 9.2.6 Request Processing 9.2.6.4 Standard Device Requests http://www.usb.org/developer...040908.zip About the record of USB (URB - software sniffer) traffic, - The enumeration finishes successfully. - The trouble occurred on the interrupt IN EP. How many bytes these "UP" transaction carries? Double click on the line of the sniffer screen, and you'll see the details of the record. 20.08.2008 12:39:19.671 +0.015 DOWN 0x00000000 URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER 20.08.2008 12:39:19.671 +0.0 DOWN 0x00000000 URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER 20.08.2008 12:39:19.671 +0.0 UP 0x00000000 URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER 20.08.2008 12:39:19.671 +0.0 DOWN 0x00000000 URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER 20.08.2008 12:39:20.453 +0.781 UP 0xc0000006 URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER 20.08.2008 12:39:20.453 +0.0 DOWN 0x00400907 URB_FUNCTION_ABORT_PIPE 20.08.2008 12:39:20.453 +0.0 UP 0xc0010000 URB_FUNCTION_BULK_OR_INTERRUPT_TRANSFER 20.08.2008 12:39:20.453 +0.0 UP 0x00000000 URB_FUNCTION_ABORT_PIPE It should be, The first one : 0 The second: 8 The third: 8 Do you send a packet of more than 8 bytes to the interrupt IN EP? Tsuneo |
Topic | Author | Date |
AT89c5131 enumeration problem... | 01/01/70 00:00 | |
Initialization problem | 01/01/70 00:00 | |
Windows bug | 01/01/70 00:00 | |
continuing problem... | 01/01/70 00:00 | |
End of enumeration | 01/01/70 00:00 | |
Zero-length data packet | 01/01/70 00:00 | |
ZLP to the interrupt IN EP | 01/01/70 00:00 | |
My fault... | 01/01/70 00:00 | |
Which example? | 01/01/70 00:00 | |
Implementing the USB Enumeration Process... | 01/01/70 00:00 | |
Packet size of the interrupt IN EP | 01/01/70 00:00 | |
packet size... | 01/01/70 00:00 | |
Detailed log...![]() | 01/01/70 00:00 |