Hi,

I am trying to get a driver working which would allow connection of the
Compaq iPAQ to the PC via the USB interface.

I am having problems with getting my PC to receive the full amount of
packets sent by the iPAQ. It seems to drop the first 64 byte packet (
the packet size is set to 64 bytes both endpoints) If I send 63 bytes my

callback routine isn't entered. If I send 68 bytes my callback routine
reports 4 bytes and if I send 132 bytes my callback routine reports
132-64 bytes and so on. The data reported by the callback routine is
consistent with the packet received.

On the PC I setup URBs to send and receive bulk transfers and my code
uses more of less the same calls as the Pegasus and Plusb drivers
(except I dont use interrupt transfers). A
CATC analyser on the wire (see trace below) tells me that the iPAQ is
sending all 64 byte
packets with no errors.

I am running kernel 2.4.0-test4 & 6 on a DEC PC5000 (with usb-uhci.o
installed as a module). I have read
the Programmer's User Guide v1.25 2000/07/17 ).

Any help would be appreciated.
Regards
Charlie


The 63 byte Packet (12046)  from the following trace is never reported
by the callback.
--------------------------------------------------------------------------------------

 File DATA.USB ,
  Recorded using CATC Detective USB Analyzer S/W Version 2.2 .
  Packets 12040 - 12050 .


Packet#
_______|______________________________________________________________________

12040__| Sync(00000001) IN(0x96) ADDR(0x02) ENDP(0x2) CRC5(0x01)
_______|______________________________________________________________________

12041__| Sync(_0000001) NAK(0x5A)
_______|______________________________________________________________________

12042__| Sync(_0000001) IN(0x96) ADDR(0x02) ENDP(0x2) CRC5(0x01)
_______|______________________________________________________________________

12043__| Sync(00000001) NAK(0x5A)
_______|______________________________________________________________________

12044__| Sync(_0000001) SOF(0xA5) Frame #(0x688) CRC5(0x04)
_______|______________________________________________________________________

12045__| Sync(00000001) IN(0x96) ADDR(0x02) ENDP(0x2) CRC5(0x01)
_______|______________________________________________________________________

12046__| Sync(00000001) DATA1(0xD2)
_______| DATA(3F 00 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 11 12
13 14
_______| 15 16 17 18 19 1A 1B 1C 1D 1E 1F 20 21 22 23 24 25 26 27 28 29
_______| 2A 2B 2C 2D 2E 2F 30 31 32 33 34 35 36 37 38 39 3A 3B 3C 3D 3E
)
_______| CRC16(0x0414)
_______|______________________________________________________________________

12047__| Sync(00000001) ACK(0x4B)
_______|______________________________________________________________________

12048__| Sync(00000001) IN(0x96) ADDR(0x02) ENDP(0x2) CRC5(0x01)
_______|______________________________________________________________________

12049__| Sync(00000001) NAK(0x5A)
_______|______________________________________________________________________

12050__| Sync(00000001) IN(0x96) ADDR(0x02) ENDP(0x2) CRC5(0x01)
_______|______________________________________________________________________




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to