Active Sync Problem with WinCE 5.0 and PXA 270 (Mainstone)
From: Jos (josgerbert_at_hotmail.com)
Date: 11/26/04
- Next message: Sadi: "RTP Source Code"
- Previous message: Peter Beard: "Re: PB4.2 build error,help me!"
- Next in thread: David Liao \(MS\): "Re: Active Sync Problem with WinCE 5.0 and PXA 270 (Mainstone)"
- Reply: David Liao \(MS\): "Re: Active Sync Problem with WinCE 5.0 and PXA 270 (Mainstone)"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 26 Nov 2004 13:20:43 +0100
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: Sadi: "RTP Source Code"
- Previous message: Peter Beard: "Re: PB4.2 build error,help me!"
- Next in thread: David Liao \(MS\): "Re: Active Sync Problem with WinCE 5.0 and PXA 270 (Mainstone)"
- Reply: David Liao \(MS\): "Re: Active Sync Problem with WinCE 5.0 and PXA 270 (Mainstone)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|