MarcoP
Thu Jul 27 07:35:02 CDT 2006
Thank you, your message has been very useful.
Bye.
Marco
"Tarun" wrote:
> " Can you tell me what does the values and registry key means?
> > In particular what are the meanings of:
> > -"SysIntr"
> > -"IoLen"
> > -"DeviceArrayIndex"
> > -"Order"
> > -"Index" "
>
> "SysIntr": This implies the system interrupt that is used for the
> relevant COM port. It would ideally be SYSINTR_FIRMWARE + IRQ for your
> h/w.
>
> "IoLen": Notifies the system how much larger the address window is.
> Would ideally remain as 8.
>
> "DeviceArrayIndex": Instance of serial port that the driver manages.
>
> "Order": Order of driver loading. The lower the value, the earlier the
> driver is loaded.
>
> "Index": This was platform dependent, not necessary for the standard
> 16550 driver. You may want to remove this setting.... sorry for placing
> it here in the first place..
>
> I hope the above helps.
>
> -Tarun
>
> Marco P wrote:
> > Thank you very much, I tried but not all worked properly.
> >
> > Can you tell me what does the values and registry key means?
> > In particular what are the meanings of:
> > -"SysIntr"
> > -"IoLen"
> > -"DeviceArrayIndex"
> > -"Order"
> > -"Index"
> >
> > And you know if there is a maximum number of serial port that can be
> > configured?
> >
> > Thank you in advance.
> > Marco
> >
> > "Tarun" wrote:
> >
> > > Hi Marco,
> > >
> > > The standard 16550 driver reads the registry settings to get the base
> > > a/d, interrupt etc.
> > >
> > > So, you need to add the registry settings for each instance of yr port,
> > > eg:
> > >
> > >
> > > [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial1]
> > > "SysIntr"=dword:16;
> > > "IoBase"=dword:03F8
> > > "IoLen"=dword:8
> > > "DeviceArrayIndex"=dword:0
> > > "Prefix"="COM"
> > > "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
> > > "Dll"="Com16550.Dll"
> > > "Order"=dword:0
> > > "Index"=dword:1 ; pseudo "COM1"
> > >
> > >
> > > ; COM2
> > > IF BSP_SERIAL2
> > > [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
> > > "SysIntr"=dword:13
> > > "IoBase"=dword:02F8
> > > "IoLen"=dword:8
> > > "DeviceArrayIndex"=dword:1
> > > "Prefix"="COM"
> > > "IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
> > > "Dll"="Com16550.Dll"
> > > "Order"=dword:0
> > > "Index"=dword:2 ; pseudo "COM2"
> > >
> > > and so on for the rest of yr COM ports.
> > >
> > > I hope the above helps.
> > >
> > > -Tarun
> > >
> > >
> > >
> > >
> > > Marco P wrote:
> > > > I don't have a particular driver, the UART is a standard 16550, so the driver
> > > > I use is the one included in platform builder.
> > > >
> > > > Can you tell me something more?
> > > >
> > > > Thank you.
> > > >
> > > > Marco
> > > >
> > > >
> > > > "Anthony Pellerin" wrote:
> > > >
> > > > > No. It depends on how your driver is made. Have a look at it and see whether
> > > > > it checks for registry settings to have a base address, an interrupt ID and
> > > > > so on.
> > > > >
> > > > > HTH
> > > > >
> > > > > --
> > > > > --
> > > > > --
> > > > > ----------------------------------------------------------------
> > > > > Anthony Pellerin (eMVP)
> > > > > ADENEO (ADESET)
> > > > > Windows Embedded Consultant
> > > > > <apellerin AT adeneo DOT adetelgroup DOT com>
> > > > >
http://www.adeneo.adetelgroup.com
> > > > > Tél : +33 (0)4.72.18.57.77
> > > > > Fax : +33 (0)4.72.18.57.78
> > > > > ----------------------------------------------------------------
> > > > > "Marco P" <MarcoP@discussions.microsoft.com> a écrit dans le message de
> > > > > news: 2F183C3D-FC9E-4FEC-B6DD-BF48004E2EA5@microsoft.com...
> > > > > > Thanks,
> > > > > > can you suggest me which registry setting must be added?
> > > > > >
> > > > > > Thank you in advance.
> > > > > > Marco
> > > > > >
> > > > > > "Anthony Pellerin" wrote:
> > > > > >
> > > > > >> It depends on your HW and SW.
> > > > > >> If the new UART are managed by your CPU and the driver is flexible enough
> > > > > >> to
> > > > > >> support this extension, you may have to simply add new registry settings.
> > > > > >> In other cases, you have to write a serial driver (have a look at the one
> > > > > >> you have to write the new one).
> > > > > >>
> > > > > >> HTH
> > > > > >>
> > > > > >> --
> > > > > >> --
> > > > > >> --
> > > > > >> ----------------------------------------------------------------
> > > > > >> Anthony Pellerin (eMVP)
> > > > > >> ADENEO (ADESET)
> > > > > >> Windows Embedded Consultant
> > > > > >> <apellerin AT adeneo DOT adetelgroup DOT com>
> > > > > >>
http://www.adeneo.adetelgroup.com
> > > > > >> Tél : +33 (0)4.72.18.57.77
> > > > > >> Fax : +33 (0)4.72.18.57.78
> > > > > >> ----------------------------------------------------------------
> > > > > >> "Marco P" <MarcoP@discussions.microsoft.com> a écrit dans le message de
> > > > > >> news: C93BFB43-8364-48D0-B5BE-C26208184995@microsoft.com...
> > > > > >> > Hi,
> > > > > >> > With WinCE 5.0 I use a CPU board with 2 com Ports (foreseeen by the BSP
> > > > > >> > given by the HW supplier).
> > > > > >> > Now I'm adding a new board with 4 serial lines that I need to usea as
> > > > > >> > COM3 -
> > > > > >> > COM6.
> > > > > >> >
> > > > > >> > Can anyone tell me what I need too add/change in my platform in order
> > > > > >> > to
> > > > > >> > be
> > > > > >> > able in using all my serial ports.
> > > > > >> >
> > > > > >> > Thank you in advance
> > > > > >> > Marco.
> > > > > >>
> > > > > >>
> > > > > >>
> > > > >
> > > > >
> > > > >
> > >
> > >
>
>