Re: Loading serial driver for STUART
- From: "Peter" <peter>
- Date: Tue, 19 Jul 2005 05:32:10 -0700
Hi Voidcoder Great your configuration works for me. I added the Serial_IR
object to Serial_3 INterrupt in driver too.
Now, i am able to open ports 1 & 2.
Thanks a lot,
Peter
"Voidcoder" wrote:
> Try this way:
>
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
> "Dll"="xsc1bd_serial.Dll"
> "IoBase"=dword:a6400000 ;BTUART_BASE_U_VIRTUAL
> "Irq"=dword:0 ;22 - Dummy value. This subkey is not really used by the driver.
> "IoLen"=dword:24
> "DeviceArrayIndex"=dword:0
> "Prefix"="COM"
> "Index"=dword:1
>
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial\Unimodem]
> "Tsp"="Unimodem.dll"
> "DeviceType"=dword:0
> "FriendlyName"="Serial Cable on COM1:"
> "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\Serial2]
> "Dll"="xsc1bd_serial.Dll"
> "IoBase"=dword:a6900000 ;STUART_BASE_U_VIRTUAL
> "IoLen"=dword:24
> "Irq"=dword:0 ;21 - Dummy value. This subkey is not really used by the driver.
> "DeviceArrayIndex"=dword:4
> "Prefix"="COM"
> "Index"=dword:2
>
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2\Unimodem]
> "Tsp"="Unimodem.dll"
> "DeviceType"=dword:0; Eliminate flow control bit
> "FriendlyName"="Serial Cable on COM2:"
> "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
>
>
> Also what does it mean Irq=0? I assume the driver uses hardcoded SYSINTR_xxx values.
> Make sure the OAL has support for both STUART and BTUART interrupts.
>
>
>
> "Peter" <peter> wrote in message news:7E435E55-B9A5-472D-A3C6-F29AFA8C44AF@xxxxxxxxxxxxxxxx
> > Hi,
> > My COM1 (FFUART) is serial debug port and i'm using that for serial KITL.
> > My COM2 i assigned for STUART.
> >
> > I am able to Opn COM1 and not COM2. How come this ? I am not able to
> > understand ?
> >
> > Please suggest
> >
> > "turnsek" wrote:
> >
> >> If you have debug port on your COM2 you should disable the debug output in
> >> order to use this port for serial.
> >>
> >> Jernej
> >>
> >> "Peter" wrote:
> >>
> >> > Hi,
> >> > I am loading another serial driver for STUART (COM2:). I am not able to open
> >> > the port.
> >> >
> >> > The folowing are the registries i am using, please help me out.
> >> > [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
> >> > "Dll"="xsc1bd_serial.Dll"
> >> > "IoBase"=dword:a6400000 ;BTUART_BASE_U_VIRTUAL
> >> > "Irq"=dword:0 ;22 - Dummy value. This subkey is not really used by the
> >> > driver.
> >> > "Tsp"="Unimodem.dll"
> >> > "IoLen"=dword:24
> >> > "DeviceArrayIndex"=dword:0
> >> > "Prefix"="COM"
> >> > "DeviceType"=dword:0
> >> > ; Eliminate flow control bit
> >> > "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\Serial2]
> >> > "Dll"="xsc1bd_serial.Dll"
> >> > "IoBase"=dword:a6900000 ;STUART_BASE_U_VIRTUAL
> >> > "IoLen"=dword:24
> >> > "Irq"=dword:0 ;21 - Dummy value. This subkey is not really used by the
> >> > driver.
> >> > "Tsp"="Unimodem.dll"
> >> > "DeviceArrayIndex"=dword:4
> >> > "Prefix"="COM"
> >> > "DeviceType"=dword:0
> >> > ; Eliminate flow control bit
> >> > "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
> >> >
> >> > I am able to open COM1, when i try open COM2:. I am getting not able to open
> >> > message. PLease suggest what i am missing in registry to load serial driver
> >> > with STAURT base address as COM2.
> >> >
> >> >
> >> > Thanks,
> >> > Peter
>
>
>
.
- References:
- Loading serial driver for STUART
- From: Peter
- RE: Loading serial driver for STUART
- From: turnsek
- RE: Loading serial driver for STUART
- From: Peter
- Re: Loading serial driver for STUART
- From: Voidcoder
- Loading serial driver for STUART
- Prev by Date: Re: Storage Memory dilemma
- Next by Date: Re: How to send a SD command to a SD interface in the Wince420 platform
- Previous by thread: Re: Loading serial driver for STUART
- Next by thread: [Q]: Emulator with hive
- Index(es):
Relevant Pages
|
|