Hi all,

I am facing problem with UART serial driver.
I am using the sample code for serial driver in device emulator
provided by Microsoft using which I am porting it on s3c2440 on
WinCE6.0.
There is not much difference in the UART IP and the UART serial driver
is working fine.

Now when I Power down and power up the device using power button, its
unable to connect to the Active sync but again when I do power down
and power up second time, its get connected.
I observe the following thing during my work on this issue:

1. On alternate power down and power up, device connect to PC via
activesync.
2. While doing power down and power up first time when device don't
connect to PC, during power up, the active sync icon indicating
connection with the PC get disconnected means while power down, device
is unable to communicate that it has to disconnect it self also. and
during power up I can see its still connected and later its got
disconnected.

My query:
1. I disable the RTS so that device communicate with the PC to
disconnect and activesync disconnect. but unable to communicate to
device it self.. Any small idea will be highly appreciated.
2. Any other idea to resolve this issue will be highly appreciated.

Thanks in advance,

Best regards,
MMK

Re: Serial driver Issue!!! by Tom

Tom
Thu Jun 12 10:24:05 PDT 2008

This could be timing related. If on resume the
NOTIFICATION_EVENT_RS232_DETECTED is happening too soon afer you are
disconnecting by disabling RTS, REPLLOG may try to run while the
previous instance is still loaded. If that happens, it won't load,
and then some time later the old instance shuts down and on the second
resume things work as intended. If possible, try loading REPLLOG
manually (e.g. via the command shell) and see if you reconnect. You
may need to add a delay after disconnecting before reconnecting.

Tom

On Tue, 10 Jun 2008 23:52:28 -0700 (PDT), mukesh.kr.modi@gmail.com
wrote:

>Hi all,
>
>I am facing problem with UART serial driver.
>I am using the sample code for serial driver in device emulator
>provided by Microsoft using which I am porting it on s3c2440 on
>WinCE6.0.
>There is not much difference in the UART IP and the UART serial driver
>is working fine.
>
>Now when I Power down and power up the device using power button, its
>unable to connect to the Active sync but again when I do power down
>and power up second time, its get connected.
>I observe the following thing during my work on this issue:
>
>1. On alternate power down and power up, device connect to PC via
>activesync.
>2. While doing power down and power up first time when device don't
>connect to PC, during power up, the active sync icon indicating
>connection with the PC get disconnected means while power down, device
>is unable to communicate that it has to disconnect it self also. and
>during power up I can see its still connected and later its got
>disconnected.
>
>My query:
>1. I disable the RTS so that device communicate with the PC to
>disconnect and activesync disconnect. but unable to communicate to
>device it self.. Any small idea will be highly appreciated.
>2. Any other idea to resolve this issue will be highly appreciated.
>
>Thanks in advance,
>
>Best regards,
>MMK

Re: Serial driver Issue!!! by mukesh

mukesh
Mon Jul 07 04:31:15 PDT 2008

Dear Tom,

Thanks for the reply.

I am able to connect by manually running repllog.exe but this is not
the solution;) hope u understand that i can not say the tester to run
repllog.exe just after disconnect.


Please guide me, how can I add this app in my code if you can.

Anyway, thanks for the support.
Best regards,
mmk