|
From: Xiaofan C. <xia...@gm...> - 2012-04-16 07:27:56
|
2012/4/16 Yusuf Sekman <ys...@gm...>: > Here is the output of TestLibUsb : > > bEndpointAddress: 81h > bmAttributes: 02h > wMaxPacketSize: 64 > bInterval: 0 > bRefresh: 0 > bSynchAddress: 0 Probably you have a firmware bug. For bulk transfer, you may need to add a ZLP (zero length package) if the transfer length is the multiple of the wMacPacketSize. If that does not help, you may have other firmware bugs. Try change wMaxPacketSize of EP1 IN (0x81) from 64 to 2 and send only 2 bytes to the PC. This is because you mentioned that the buffer size of EP1 FIFO Register in C5515 DSP is 2bytes and you may have bugs trying to send 64bytes. You still need to send a ZLP if the transfer size is multiple of the wMaxPacketSize. Reference: http://www.microchip.com/forums/m325655-print.aspx -- Xiaofan |