Re: Xscale PXA255 UART Driver
From: voidcoder (voidcoder_at_yahoo.com)
Date: 01/25/05
- Next message: Johns: "Flexigrid ActiveX control in eVC++"
- Previous message: Dongquan.Z: "BTUART and FFUART"
- In reply to: Dongquan.Z: "Xscale PXA255 UART Driver"
- Next in thread: David Liao \(MS\): "Re: Xscale PXA255 UART Driver"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 25 Jan 2005 14:54:39 +0100
I can't see SysIntr value in Your registry settings. Probably
SysIntr value is hardcoded in the driver. Please check Your
driver code and OEMInterruptXXX routines to see
if there is support for FFUART interrupts. Also
check Your driver code where driver object is
really created. I think it should be something like
switch (DeviceArrayIndex)
{
case 0: pDevice = new CSTUart(...); break;
case 1: pDevice = new CBTUart(...); break;
case 2: pDevice = new CFFUart(...); break;
}
... and verify if FFUART has array index "3"
since You use "DeviceArrayIndex: 3" in registry.
"Dongquan.Z" <dongquan@public.bta.net.cn> wrote in message
news:#uFcLEuAFHA.1084@tk2msftngp13.phx.gbl...
> I am using the Hyper PXA255B developing board,The board have three UART:
> SUART, BTUART and FFUART.
>
> The SUART is used as a debug serial, and it works properly. I can load the
> BTUART driver successfully, and it works as COM1.
>
> Now my problem is I can't load the FFUART driver successfully! I have read
> the driver source code, and I can make sure the BTUART and FFUART use the
> same driver xsc1bd_serial.Dll. The IoBase of the BTUART is 0xa6400000, and
> the IoBase of the FFUART is 0xa6300000.
>
> The registry setting of the BTUART are as follows:
>
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial]
> "Dll"="xsc1bd_serial.Dll"
> "IoBase"=dword:a6400000 ;BTUART_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:2
> "Prefix"="COM"
> "Order"=dword:0
> ;"Index"=dword:4
> ;"Priority256"=dword:67 ; Using default priority value
> "DeviceType"=dword:0
> "FriendlyName"=LOC_DISPLAYNAME_SERIAL
> ; 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
>
>
> according to the above settings, I set the FFUART registry as:
>
> [HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial1]
> "Dll"="xsc1bd_serial.Dll"
> "IoBase"=dword:a6300000 ;FFUART_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:3
> "Prefix"="COM"
> "Order"=dword:0
> ;"Index"=dword:4
> ;"Priority256"=dword:68 ; Using default priority value
> "DeviceType"=dword:0
> "FriendlyName"=LOC_DISPLAYNAME_SERIAL
> ; 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
>
> but, the FFUART driver can't load successfully.
>
> Please help me!
>
>
> Thanks
>
>
- Next message: Johns: "Flexigrid ActiveX control in eVC++"
- Previous message: Dongquan.Z: "BTUART and FFUART"
- In reply to: Dongquan.Z: "Xscale PXA255 UART Driver"
- Next in thread: David Liao \(MS\): "Re: Xscale PXA255 UART Driver"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|