Re: how to expand to 8 serial ports

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: David Liao \(MS\) (davli_at_online.microsoft.com)
Date: 06/15/04


Date: Tue, 15 Jun 2004 10:53:11 -0700

Yes. you could.
What kinds serial drive (that has 8 serial port) is it? Is it ISA or PCI
device. If it is PCI, you only think you need to do is create PCI template.
If you are using builtin or ISA device, you have some work to do.
Windows CE 4.2 can sharing interrupt. The problem is every driver should
have a unique SYSINTR ID. If it is PCI device, PCIBUS will allocate sysintr
id for the driver from system. However, the Builtin (include ISA) driver is
loaded by RegEnum that does not allocate any resouce. So, The OAL has to
reserve SysIntr for every built-in (ISA) driver. If this has been doen, the
only other thing you need to do is create at registery under
BuiltIn\SerialXX, use different Sysintr ID, IO address and turn on
installable ISR (which comment out).

David Liao.

"Maverick" <maverick@newsfan.net> wrote in message
news:eJJiMirUEHA.2840@TK2MSFTNGP11.phx.gbl...
> Hi, all
>
> When I am using WinCE.net 4.2, I found that PlatformBuilder supports the
> serial port only in independent IRQ mode and up only to 3 ports. But I
need
> more than 8 serial ports. You know that few boards in the marcket could
> support serial port as many as that. So the only solution is to use the
> serial port in SHARE IRQ mode. Here is the question:
>
> How could I manage to expand, say, 8 serial ports using share IRQ mode in
PB
> without writing any code?
>
> I heard that this could be done by adding and modifying the registry
> settings in PB. Here is some section of the platform.reg. I want to use
the
> ISR to process the IRQ, so I closed the "SysIntr" entry and opened the
three
> entries below. But when testing, it didn't work at all. Here is the
registry
> settings.
>
> ---------------a section from original
> 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
> ; Turn on follows for Installable ISR (isr16550 supporting SOFTWARE FIFO
> ; "Irq"=dword:3
> ; "IsrDll"="isr16550.dll"
> ; "IsrHandler"="ISRHandler"
>
> ---------------a section from modified
> platform.reg---------------------------
> IF BSP_NOSERIAL8 !
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
> ; "SysIntr"=dword:14 ;close by maverick
> "IoBase"=dword:03F8
> "IoLen"=dword:8
> "DeviceArrayIndex"=dword:0
> "Prefix"="COM"
> "Dll"="Com16550.Dll"
> "Order"=dword:0
> "Priority"=dword:0
> ; Turn on follows for Installable ISR (isr16550 supporting SOFTWARE FIFO
> "Irq"=dword:3 ;open by maverick
> "IsrDll"="isr16550.dll" ;open by maverick
> "IsrHandler"="ISRHandler" ;open by maverick
>
> This problem has been haunting me for weeks. Any reply will be much
> appriciated.
>
>
> maverick
>
>



Relevant Pages

  • Re: Replay: MODEMS
    ... Serial Port, USB, PCI, ISA? ... > trying to connect to smpppd ...
    (comp.os.linux.hardware)
  • Re: PORUS: an open-source embedded USB stack
    ... ISA or PCI", or do you really mean virtual (as in there isn't ... The Linux tty driver is the standard virtual serial port driver ...
    (comp.arch.embedded)
  • Re: Boot Hang - mmotm 090716 - serial 8250 irq flags support
    ... just lost remote access via virtual serial port] during boot on HP ... Is your virtual serial port the console? ... CPU: L2 Cache: 1024K ... ACPI: bus type pci registered ...
    (Linux-Kernel)
  • Re: Unable to configure CE.NET for more than 3 serial ports.
    ... SysIntr 20, IOB 3F8, IOLen 8 ... SL_InstallSoftwareISR, No Installable ISR ... ATTACH ... > may have to turn the debug serial port back on for this, ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Clarification on MB Terms
    ... It will also support a PCI-Express format plug-in video card, but NOT an AGP format video card. ... But it has a serial port header. ... That means that you can plug a serial port connector into the motherboard. ... 1 x PCI Express x16 slot ...
    (alt.comp.hardware.pc-homebuilt)