Re: AciveSync serial connection problems
- From: Brian Crofts <BrianCrofts@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Tue, 21 Feb 2006 15:21:27 -0800
I have resolved this issue.
It turns out that the COM port hardware on my CE device was inverting the
hardware flow control and handshaking signals. The result was that the
device thought that the host was "hanging up," when it wasn't (DSR and CD
were inverted).
Thanks,
Brian
"Remi de Gravelaine" wrote:
Sorry, I failed to read the 'DCD' in your first message :-(.
I checked that ActiveSync was working in 5.0 with a CEPC. The only
difference is that I used the latest ActiveSync (4.1.0) on the desktop side.
I also failed to have it working at speeds higher than 19200 (if anyone has
a clue...)
As far as I can remember, I think I always see two CLIENT messages in
HyperTerminal when I launch repllog.
Remi
"Brian Crofts" <BrianCrofts@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le
message de news: F7CA0436-7103-4345-9BB6-B4F34D06C131@xxxxxxxxxxxxxxxx
DCD(Data Carrier Detect) is the same thing as CD(Carrier Detect). This
signal is connected.
Brian
"Remi de Gravelaine" wrote:
- I'm using a full null-modem cable (I checked this via a continuity
test)
DCD, DTR, DSR, RTS, CTS, RX, and TX are all connected like they should
be
- COM4 on CE device is connected to COM1 on PC host via full null-modem
cable
Your are missing CD signal, absolutely required for ActiveSync to work.
Look at "null modem cable" in PB help:
The following table shows the pin settings for a 9-pin null modem cable.
1, 6 4 CD, DSR - DTR
2 3 RD - TD
3 2 TD - RD
4 1, 6 DTR - CD, DSR
5 5 Gnd - Gnd
7 8 RTS - CTS
8 7 CTS - RTS
HTH
Remi
"Brian Crofts" <Brian Crofts@xxxxxxxxxxxxxxxxxxxxxxxxx> a écrit dans le
message de news: 55EAB979-3E0D-4B62-B0E6-B5A376C794A0@xxxxxxxxxxxxxxxx
AciveSync serial connection problems
I would appreciate help in diagnosing a serial ActiveSync connection
problem.
On the CE x86-based device:
- I'm running Windows CE 5.0, retail build
- I created a connectoid for COM4 and configured it to 19200, 8n1, no
flow
control
- COM4 is not the debug com port, COM2 is the debug port
- I configured ActiveSync to use my connectoid via the PC Connection
control panel applet
- On the PC host, I'm using ActiveSync 3.8
- All components are included in the PB build that are required for
ActiveSync
- I'm using a full null-modem cable (I checked this via a continuity
test)
DCD, DTR, DSR, RTS, CTS, RX, and TX are all connected like they should
be
- COM4 on CE device is connected to COM1 on PC host via full null-modem
cable
Steps to reproduce problem:
1. Run repllog.exe from command line
- Status dialog is displayed on device saying "Connecting to Host"
- Debug com port shows: "AUTORAS:: Dialer notifies: [1] [Dialer Start]"
- Just sits there waiting
2. File->GetConnected on PC ActiveSync 3.8
- says "Checking on COM Port 1"
- eventually times out and says "Your device was not connected"
- device is still waiting
I checked to see if the CLIENT message was being received on the PC:
1. Open HyperTerm on COM1, 19200, 8n1, no flow control
2. Start repllog.exe on device
- Only one "CLIENT" message is received on the PC
- The following is observed on the device debug port:
AUTORAS:: Dialer notifies: [1] [Dialer Start]
RASCS_Disconnected: Ecode=619
Posting WM_NETCONNECT(FALSE) message, ErrorCode = 619(0x26B)
AUTORAS:: Dialer notifies: [2] [Dialer Terminate]
I enabled the following debug zones and tried the same steps in a debug
build.
[HKEY_LOCAL_MACHINE\DebugZones]
"RLOG"=dword:ffff
"repllog"=dword:ffff
"rnaapp"=dword:ffff
"Repllog.exe - Change Log Agent"=dword:ffff
"RAPISrv.ece - Remote API Server"=dword:ffff
"serial"=dword:ffff
"Unimodem"=dword:ffff
I would include the debug message output here, but it exceeds the
allowable
size for a posting. I can email the output if that would help to
diagnose
my problem.
Thanks,
Brian Crofts
- References:
- Re: AciveSync serial connection problems
- From: Remi de Gravelaine
- Re: AciveSync serial connection problems
- From: Brian Crofts
- Re: AciveSync serial connection problems
- From: Remi de Gravelaine
- Re: AciveSync serial connection problems
- Prev by Date: Re: evc4.0 connet with develope board problem
- Next by Date: Re: error of build image
- Previous by thread: Re: AciveSync serial connection problems
- Next by thread: Memory Error?help
- Index(es):
Relevant Pages
|