Re: Unable to configure CE.NET for more than 3 serial ports.

From: Bhavin Shah (bhavinmshah_at_yahoo.com)
Date: 09/29/04


Date: 29 Sep 2004 11:21:06 -0700

Thanks for all the help. I have been using CE 3.0 for quite some time
and have not had any issues with the serial port. The difference was
in CE 3.0 , I had to modify the serial driver in order to achieve the
six ports.

I have been able to get COM5 working now but still COM4 and COM6 do
not work. I believe in my OS settings, IRQ6 ( COM4 ) and IRQ14 ( COM6
) are assigned to something else.

Here are my settings for all the 6 pors in platform.reg
********************************************************************
IF BSP_NOSERIAL !
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
   "SysIntr"=dword:14
   "IoBase"=dword:03F8
   "IoLen"=dword:8
   "DeviceArrayIndex"=dword:0
   "Prefix"="COM"
   "Dll"="Com16550.Dll"
   "Order"=dword:0
   "Priority"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"=LOC_FRIENDLYNAME_SERIAL
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00,
00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00

IF BSP_SERIAL2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
   "SysIntr"=dword:13
   "IoBase"=dword:02F8
   "IoLen"=dword:8
   "DeviceArrayIndex"=dword:1
   "Prefix"="COM"
   "Dll"="Com16550.Dll"
   "Order"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"=LOC_FRIENDLYNAME_SERIAL2
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00,
00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_SERIAL2

IF BSP_SERIAL3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3]
   "SysIntr"=dword:19
   "IoBase"=dword:03E8
   "IoLen"=dword:8
   "DeviceArrayIndex"=dword:2
   "Prefix"="COM"
   "Dll"="Com16550.Dll"
   "Order"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"=LOC_FRIENDLYNAME_SERIAL3
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00,
00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_SERIAL3

IF BSP_SERIAL4
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4]
   "SysIntr"=dword:16
   "IoBase"=dword:02E8
   "IoLen"=dword:8
   "DeviceArrayIndex"=dword:3
   "Prefix"="COM"
   "Dll"="COM16550.Dll"
   "Order"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="Serial Cable on COM4:"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00,
00,4B,00,00,00,00, 08, 00, 00, 00,00,00,00
ENDIF BSP_SERIAL4

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial5]
   "SysIntr"=dword:17
   "IoBase"=dword:0280
   "IoLen"=dword:8
   "DeviceArrayIndex"=dword:4
   "Prefix"="COM"
   "Dll"="Com16550.Dll"
   "Order"=dword:0
   "Priority"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial5\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="Serial Cable on COM5:"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00,
00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial6]
   "SysIntr"=dword:24
   "IoBase"=dword:02C0
   "IoLen"=dword:8
   "DeviceArrayIndex"=dword:5
   "Prefix"="COM"
   "Dll"="Com16550.Dll"
   "Order"=dword:0
   "Priority"=dword:0

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial6\Unimodem]
   "Tsp"="Unimodem.dll"
   "DeviceType"=dword:0
   "FriendlyName"="Serial Cable on COM6:"
   "DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 10,01,00,00,
00,4B,00,00, 00,00, 08, 00, 00, 00,00,00,00

ENDIF BSP_NOSERIAL !
**********************************************************************

Is there any known device which uses IRQ6 and IRQ 14. My BIOS is fine
and I have tested all the 6 serial ports using a DOS utility.

Please advise,

Thanks,
Bhavin Shah
Sr. Software Enginner ( Fremont , CA , USA )

"Bruce Eitman \(eMVP\)" <beitmannospam@NOSPAM_applieddata.NOSPAM_net> wrote in message news:<uJMz1DZpEHA.3300@TK2MSFTNGP12.phx.gbl>...
> Also look up "reg files" in PB Help, the fact that these are HEX and other
> fun facts are there.
>
> --
> Bruce Eitman (eMVP)
> Senior Engineer
> beitman AT applieddata DOT net
>
> Applied Data Systems
> www.applieddata.net
> An ISO 9001:2000 Registered Company
> Microsoft WEP Gold-level Member
>
> Do have an opinion on the effectiveness of Microsoft Windows Mobile and
> Embedded newsgroups? Let us know!
> https://www.windowsembeddedeval.com/community/newsgroups



Relevant Pages