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.

Re: Adding COM Port by Anthony

Anthony
Tue Jul 25 02:34:04 CDT 2006

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.



Re: Adding COM Port by MarcoP

MarcoP
Tue Jul 25 11:03:01 CDT 2006

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.
>
>
>

Re: Adding COM Port by Anthony

Anthony
Tue Jul 25 12:14:18 CDT 2006

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.
>>
>>
>>



Re: Adding COM Port by MarcoP

MarcoP
Tue Jul 25 12:35:02 CDT 2006

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.
> >>
> >>
> >>
>
>
>

Re: Adding COM Port by Stefano74

Stefano74
Wed Jul 26 04:27:01 CDT 2006

bo

"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.
> > >>
> > >>
> > >>
> >
> >
> >

Re: Adding COM Port by Tarun

Tarun
Wed Jul 26 08:20:06 CDT 2006

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"=3Ddword:16;
"IoBase"=3Ddword:03F8
"IoLen"=3Ddword:8
"DeviceArrayIndex"=3Ddword:0
"Prefix"=3D"COM"
"IClass"=3D"{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"=3D"Com16550.Dll"
"Order"=3Ddword:0
"Index"=3Ddword:1 ; pseudo "COM1"


; COM2
IF BSP_SERIAL2
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"SysIntr"=3Ddword:13
"IoBase"=3Ddword:02F8
"IoLen"=3Ddword:8
"DeviceArrayIndex"=3Ddword:1
"Prefix"=3D"COM"
"IClass"=3D"{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"=3D"Com16550.Dll"
"Order"=3Ddword:0
"Index"=3Ddword: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 dr=
iver
> 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 wh=
ether
> > 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=E9l : +33 (0)4.72.18.57.77
> > Fax : +33 (0)4.72.18.57.78
> > ----------------------------------------------------------------
> > "Marco P" <MarcoP@discussions.microsoft.com> a =E9crit 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 e=
nough
> > >> to
> > >> support this extension, you may have to simply add new registry sett=
ings.
> > >> In other cases, you have to write a serial driver (have a look at th=
e 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=E9l : +33 (0)4.72.18.57.77
> > >> Fax : +33 (0)4.72.18.57.78
> > >> ----------------------------------------------------------------
> > >> "Marco P" <MarcoP@discussions.microsoft.com> a =E9crit dans le messa=
ge 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 th=
e 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 or=
der
> > >> > to
> > >> > be
> > >> > able in using all my serial ports.
> > >> >
> > >> > Thank you in advance
> > >> > Marco.
> > >>
> > >>
> > >>=20
> >=20
> >=20
> >


Re: Adding COM Port by MarcoP

MarcoP
Wed Jul 26 08:49:02 CDT 2006

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.
> > > >>
> > > >>
> > > >>
> > >
> > >
> > >
>
>

Re: Adding COM Port by Tarun

Tarun
Thu Jul 27 02:52:19 CDT 2006

" 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"=3Ddword:16;
> > "IoBase"=3Ddword:03F8
> > "IoLen"=3Ddword:8
> > "DeviceArrayIndex"=3Ddword:0
> > "Prefix"=3D"COM"
> > "IClass"=3D"{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
> > "Dll"=3D"Com16550.Dll"
> > "Order"=3Ddword:0
> > "Index"=3Ddword:1 ; pseudo "COM1"
> >
> >
> > ; COM2
> > IF BSP_SERIAL2
> > [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
> > "SysIntr"=3Ddword:13
> > "IoBase"=3Ddword:02F8
> > "IoLen"=3Ddword:8
> > "DeviceArrayIndex"=3Ddword:1
> > "Prefix"=3D"COM"
> > "IClass"=3D"{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
> > "Dll"=3D"Com16550.Dll"
> > "Order"=3Ddword:0
> > "Index"=3Ddword: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 th=
e 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 se=
e whether
> > > > it checks for registry settings to have a base address, an interrup=
t 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=E9l : +33 (0)4.72.18.57.77
> > > > Fax : +33 (0)4.72.18.57.78
> > > > ----------------------------------------------------------------
> > > > "Marco P" <MarcoP@discussions.microsoft.com> a =E9crit dans le mess=
age 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 flexib=
le 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 a=
t 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=E9l : +33 (0)4.72.18.57.77
> > > > >> Fax : +33 (0)4.72.18.57.78
> > > > >> ----------------------------------------------------------------
> > > > >> "Marco P" <MarcoP@discussions.microsoft.com> a =E9crit dans le m=
essage de
> > > > >> news: C93BFB43-8364-48D0-B5BE-C26208184995@microsoft.com...
> > > > >> > Hi,
> > > > >> > With WinCE 5.0 I use a CPU board with 2 com Ports (foreseeen b=
y 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 i=
n order
> > > > >> > to
> > > > >> > be
> > > > >> > able in using all my serial ports.
> > > > >> >
> > > > >> > Thank you in advance
> > > > >> > Marco.
> > > > >>
> > > > >>
> > > > >>=20
> > > >=20
> > > >=20
> > > >
> >=20
> >


Re: Adding COM Port by Tarun

Tarun
Thu Jul 27 02:54:49 CDT 2006

"And you know if there is a maximum number of serial port that can be
configured? "

Dunno for sure... but I have used 4 serial ports on my system.

-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"=3Ddword:16;
> > "IoBase"=3Ddword:03F8
> > "IoLen"=3Ddword:8
> > "DeviceArrayIndex"=3Ddword:0
> > "Prefix"=3D"COM"
> > "IClass"=3D"{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
> > "Dll"=3D"Com16550.Dll"
> > "Order"=3Ddword:0
> > "Index"=3Ddword:1 ; pseudo "COM1"
> >
> >
> > ; COM2
> > IF BSP_SERIAL2
> > [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
> > "SysIntr"=3Ddword:13
> > "IoBase"=3Ddword:02F8
> > "IoLen"=3Ddword:8
> > "DeviceArrayIndex"=3Ddword:1
> > "Prefix"=3D"COM"
> > "IClass"=3D"{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
> > "Dll"=3D"Com16550.Dll"
> > "Order"=3Ddword:0
> > "Index"=3Ddword: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 th=
e 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 se=
e whether
> > > > it checks for registry settings to have a base address, an interrup=
t 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=E9l : +33 (0)4.72.18.57.77
> > > > Fax : +33 (0)4.72.18.57.78
> > > > ----------------------------------------------------------------
> > > > "Marco P" <MarcoP@discussions.microsoft.com> a =E9crit dans le mess=
age 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 flexib=
le 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 a=
t 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=E9l : +33 (0)4.72.18.57.77
> > > > >> Fax : +33 (0)4.72.18.57.78
> > > > >> ----------------------------------------------------------------
> > > > >> "Marco P" <MarcoP@discussions.microsoft.com> a =E9crit dans le m=
essage de
> > > > >> news: C93BFB43-8364-48D0-B5BE-C26208184995@microsoft.com...
> > > > >> > Hi,
> > > > >> > With WinCE 5.0 I use a CPU board with 2 com Ports (foreseeen b=
y 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 i=
n order
> > > > >> > to
> > > > >> > be
> > > > >> > able in using all my serial ports.
> > > > >> >
> > > > >> > Thank you in advance
> > > > >> > Marco.
> > > > >>
> > > > >>
> > > > >>=20
> > > >=20
> > > >=20
> > > >
> >=20
> >


Re: Adding COM Port by Pankaj

Pankaj
Thu Jul 27 03:57:41 CDT 2006

We can get 10 ports ( 0-9 ) on a usb-serial device.

Tarun wrote:
> "And you know if there is a maximum number of serial port that can be
> configured? "


Re: Adding COM Port by MarcoP

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.
> > > > > >>
> > > > > >>
> > > > > >>
> > > > >
> > > > >
> > > > >
> > >
> > >
>
>