Re: Active Sync Problem with WinCE 5.0 and PXA 270 (Mainstone)
From: David Liao \(MS\) (davli_at_online.microsoft.com)
Date: 11/30/04
- Next message: Derek Ou: "Re: .NET compact framework and webview"
- Previous message: Derek Ou: ".NET compact framework and webview"
- In reply to: Jos: "Active Sync Problem with WinCE 5.0 and PXA 270 (Mainstone)"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 29 Nov 2004 16:50:57 -0800
Can you added following registry and try it again?
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class\Config]
"EnableFlowHard"=dword:0
"EnableFlowSoft"=dword:0
It will disable the follow control which activesync require it to be turn
off.
David Liao.
"Jos" <josgerbert@hotmail.com> wrote in message
news:%23mEabJ70EHA.2292@TK2MSFTNGP15.phx.gbl...
> Hi All,
>
> I have build a Mobile Handheld platform for Intel PXA 27x dev. platform
> (Mainstone) and added the PXA27x USB Function driver and the serial USB
> function client.
> Build the Debug image and downloaded to the Mainstone.
> Till now no problem. The image is running fine.
>
> To make an active sync connection over USB I did the following steps:
> - In windows CE I made a new connection called "USB connection". (direct
> connection, device: COM2)
> - Start in the control Panel: "PC connection", and change the connection
> to
> "USB connection"
> - Next connect the USB cable (Active Sync and the drivers are already
> installed on my PC)
>
> In Active Sync the green wheel keeps rotating, and I get the following
> error
> in the PB debug window:
>
> 4294849702 PID:83fc45da TID:a3b8186a 0x83b7ea40: PPP: ProtSendComplete:
> pPacket=649c70 Status=c0000001
> 4294852702 PID:83fc45da TID:a3b8186a 0x83b7ea40: AM: WriteFile Error 87
> Aborting Packet after sending 0 of 37 bytes
>
> After some debugging I found that the CTS flag is OFF in the following
> function and apparently the port is in 'Flow Off'.
>
> void USBSerialFn::XmitInterruptHandler(PUCHAR pTxBuffer, ULONG
> *pBuffLen)
> {
> m_HardwareLock.Lock();
> if (m_pBulkIn) {
> if ((m_DCB.fOutxCtsFlow && IsCTSOff()) ||(m_DCB.fOutxDsrFlow &&
> IsDSROff())) { // We are in flow off
>
> DEBUGMSG(ZONE_THREAD|ZONE_WRITE,(TEXT("USBSerialFn::XmitInterruptHandler!
> Flow Off, Data Discard.\r\n")));
> if (pBuffLen)
> *pBuffLen= 0;
> }
> else
> m_pBulkIn->WriteData(pTxBuffer,pBuffLen);
> }
> m_HardwareLock.Unlock();
> };
>
> No bytes are transmitted and the connection is not established.
> What is wrong?
>
> Did anyone establish an Active Sync connection over USB with the Windows
> CE
> 5.0 and the Intel PXA 270 ???
>
>
>
>
- Next message: Derek Ou: "Re: .NET compact framework and webview"
- Previous message: Derek Ou: ".NET compact framework and webview"
- In reply to: Jos: "Active Sync Problem with WinCE 5.0 and PXA 270 (Mainstone)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|