請教, 我用 NUC240 的 USB 做 HID device, 但是一直在 init 過不了, 是什麼原因呢 ?
Set Idle 會被 stall,
而設定完 ReportDescriptor 後, Endpoint 就被 Reset 掉,
Why ?
CTL 80 06 00 01 00 00 12 00 GET DESCRIPTOR 11sc
18 IN 12 01 10 01 00 00 00 08 ........ 252us
cd ab 18 51 00 01 01 02 ...Q....
00 01 ..
CTL 80 06 00 02 00 00 09 00 GET DESCRIPTOR 42us
9 IN 09 02 22 00 01 01 00 80 .."..... 953us
32 2
CTL 80 06 00 02 00 00 22 00 GET DESCRIPTOR 37us
34 IN 09 02 22 00 01 01 00 80 .."..... 947us
32 09 04 03 00 01 03 00 2.......
00 00 09 21 01 02 00 01 ...!....
22 1f 00 07 05 81 03 08 ".......
00 14 ..
CTL 00 09 01 00 00 00 00 00 SET CONFIG 51us
CTL 21 0a 00 00 03 00 00 00 SET IDLE 29ms
USTS c0000004 stall pid 112us
CTL 81 06 00 22 03 00 5f 00 GET DESCRIPTOR 11us
31 IN 05 8b 09 01 a1 01 09 01 ........ 2.1ms
15 00 25 ff 75 08 95 40 ..%.u..@
81 02 09 20 15 00 25 ff ... ..%.
75 08 95 40 91 02 c0 u..@...
USTS c0000004 stall pid 6.7ms
USTS c0000030 endpoint halted 1.0ms
RESET 16us
ok 168ms
RESET 16us
|