Re: USB Function Driver ERROR !

From: David Liao \(MS\) (davli_at_online.microsoft.com)
Date: 10/29/04


Date: Fri, 29 Oct 2004 11:23:24 -0700

It loosk like USB Function drivers has problem. Do you know which platform
are you using and what USB function hardware are you using?

David Liao
"Ajay" <ajaykuee@gmail.com> wrote in message
news:1099030154.591022.238840@z14g2000cwz.googlegroups.com...
> Hi,
>
> I was trying for USB function driver and activesync connection.
> On my target board it is showing that device connected but on my PC
> activesync never connects.It continuously shows "CONNECTING"
> and the activesync wheel keeps rotating :-)
>
> I got the following message in debug build image.
>
> 1736982 PID:3eaa89a TID:a3bfb9c6 0x83bef400: AM: WriteFile Error 87
> Aborting Packet after sending 0 of 37 bytes
> 1736983 PID:3eaa89a TID:a3bfb9c6 0x83bef400: PPP: ProtSendComplete:
> pPacket=2fcc30 Status=c0000001
> 1739982 PID:3eaa89a TID:a3bfb9c6 0x83bef400: AM: WriteFile Error 87
> Aborting Packet after sending 0 of 37 bytes
> 1739983 PID:3eaa89a TID:a3bfb9c6 0x83bef400: PPP: ProtSendComplete:
> pPacket=2fcc30 Status=c0000001
>
>
> After searching i found its showing this errror in file
>
> C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\NETSAMP\ASYNCMAC\asyncmac.c
>
> at follwing line..
>
> if (!WriteFile (pOpenLine->hPort, pPacket->CurrentBuffer +
> packetBytesSent,
> pPacket->CurrentLength - packetBytesSent, &bytesWritten, 0)
> || bytesWritten == 0)
> where can be the problem ?
>
> Regards,
> Ajay
>