Re: how to expand to 8 serial ports
From: David Liao \(MS\) (davli_at_online.microsoft.com)
Date: 06/15/04
- Next message: Dan: "Re: BSP update for Accelent IDP"
- Previous message: Paul G. Tobey [eMVP]: "Re: BSP update for Accelent IDP"
- In reply to: Maverick: "how to expand to 8 serial ports"
- Next in thread: Maverick: "Re: how to expand to 8 serial ports"
- Reply: Maverick: "Re: how to expand to 8 serial ports"
- Messages sorted by: [ date ] [ thread ]
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
>
>
- Next message: Dan: "Re: BSP update for Accelent IDP"
- Previous message: Paul G. Tobey [eMVP]: "Re: BSP update for Accelent IDP"
- In reply to: Maverick: "how to expand to 8 serial ports"
- Next in thread: Maverick: "Re: how to expand to 8 serial ports"
- Reply: Maverick: "Re: how to expand to 8 serial ports"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|