Hi,
I am developing a driver for USB based microcontroller. The microcontroller reads A/D data from the A/D chip and send it through the USB. There is only one problem with the USB. My data packets are getting lost too much. Lets suppose I am sending 10 packets each 1020 bytes. On my driver side, using the continuous reader, I am hardly getting 3 packets each 1020 bytes only. I am losing not one or two packets but more than half of the packets.
Microcontroller: - Coldfire MCF52259
USB Support: - Full Speed
Isochronous Endpoint
0 bLength 07h
1 bDescriptorType 05h Endpoint
2 bEndpointAddress 81h 1 In
3 bmAttributes 01h Isochronous, No Sync, Data
1..0: Transfer Type ......01 Isochronous
3..2: Sync Type ....00.. No Sync
5..4: Usage Type ..00.... Data
7..6: Reserved 00......
4 wMaxPacketSize 03FFh 1023 bytes
6 bInterval 03h 4 ms
Also, my driver is written in WDM rather than in KDMF.
Regards.