On 11/09/2011 11:22 PM, Holger Hans Peter Freyther wrote:
From: Holger Hans Peter Freyther zecke@selfish.org
I enabled debug in dfu and added another debug statement. It appears to do the right thing. I have attached the device to Windows running in KVM but I think that a native windows will behave differently (bus reset, etc). I will try to test with a native windows, please don't apply the patch yet.
main(76): entering main (idle) loop send_data: 18/64 bytes stopped by status out send_data: 18/18 bytes NO ZLP 18 18 send_data: 68/9 bytes NO ZLP 68 9 send_data: 68/66 bytes NO ZLP 68 66 send_data: 4/255 bytes NO ZLP 4 255 send_data: 72/255 bytes set_txpktrdy_zlp send_data: 100/255 bytes NO ZLP 100 255 send_data: 62/255 bytes NO ZLP 62 255 send_data: 54/255 bytes NO ZLP 54 255 send_data: 94/255 bytes NO ZLP 94 255 send_data: 92/255 bytes NO ZLP 92 255 send_data: 58/255 bytes NO ZLP 58 255 send_data: 1/1 bytes NO ZLP 1 1 send_data: 18/64 bytes stopped by status out send_data: 18/18 bytes NO ZLP 18 18 send_data: 68/66 bytes NO ZLP 68 66 send_data: 18/64 bytes NO ZLP 18 64 send_data: 18/64 bytes stopped by status out send_data: 18/18 bytes NO ZLP 18 18 send_data: 68/66 bytes NO ZLP 68 66 send_data: 18/18 bytes NO ZLP 18 18 send_data: 68/255 bytes NO ZLP 68 255 send_data: 4/255 bytes NO ZLP 4 255 send_data: 72/255 bytes set_txpktrdy_zlp