BUG: Windows CE 2.11 CEPC Serial Driver Fails on COM2 and COM3 (203751)



The information in this article 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.

  1. Set the jumper settings on the modem to COM3, IRQ4 and non plug and play mode.
  2. 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 );
    						
  3. Set the following environment variables,
        set IMGCOM2=1
        set ODO_NOMODEM=1
    						
  4. 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"
    						

  5. Re-run your "x86 MAXALL" shortcut so that these setting take.
  6. Build MAXALL.
  7. Test your modem device.

STATUS

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

Modification Type:MajorLast Reviewed:11/18/2004
Keywords:kbbug KB203751