Microsoft KB Archive/203751

= BUG: Windows CE 2.11 CEPC Serial Driver Fails on COM2 and COM3 =

Article ID: 203751

Article Last Modified on 11/18/2004

-

APPLIES TO


 * Microsoft Windows CE Platform Builder 2.11

-



This article was previously published under Q203751



SYMPTOMS
After building the x86 Windows CE 2.11 configuration for the PC-based Reference Platform with support for serial devices like modems on COM2, the devices cannot be opened.



CAUSE
This is due to a bug in the serial driver that ships in Platform builder 2.11.



RESOLUTION
To get a serial device like ISA modem to run on COM 2 follow the steps below.

 Set the jumper settings on the modem to COM3, IRQ4 and non plug and play mode.  Make the following code change to \WINCE211\PLATFORM\CEPC\DRIVERS\SERIAL.PDD\SER_PDD.C. Original code on line 303 of SER_PDD.C: extern PHWOBJ      rgpHWObjects; Fix: extern PHWOBJ      rgpHWObjects[]; Also change line 372 in SER_PDD.C to Original. //rgpHWObjects[pHWHead->dwDevIndex].dwIntID = MapIrq2SysIntr( pHWHead->dwIRQ ); Modified: rgpHWObjects[pHWHead->dwDevIndex]->dwIntID = MapIrq2SysIntr( pHWHead->dwIRQ );   Set the following environment variables,

set IMGCOM2=1 set ODO_NOMODEM=1   In Common.reg create an additional entry for COM2 like below, [HKEY_LOCAL_MACHINE\ExtModems\AnHayesCompat "Port"="COM2:" "DeviceType"=dword:1 "FriendlyName"="This is on COM2"

 Re-run your "x86 MAXALL" shortcut so that these setting take. Build MAXALL.</li> Test your modem device.

</li></ol>

<div class="status_section">

STATUS
Microsoft has confirmed this to be a bug in the Microsoft products listed at the beginning of this article.

Additional query words: kbDSupport

Keywords: kbbug KB203751

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.