Xscale PXA255 UART Driver

From: Dongquan.Z (dongquan_at_public.bta.net.cn)
Date: 01/25/05


Date: Tue, 25 Jan 2005 21:23:21 +0800

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



Relevant Pages

  • Re: Xscale PXA255 UART Driver
    ... It looks like the registry is not right for Windows CE 5.0 CSP driver. ... > BTUART driver successfully, ... > Now my problem is I can't load the FFUART driver successfully! ...
    (microsoft.public.windowsce.platbuilder)
  • Re: KITL, Edbg and serial debug
    ... USB Client as my serial port/KITL/download and use my ... -I have the XSC1BD Serial driver that enables the FFUART ... and the BTUART UARTS after startup. ... some code to it to handle my STUART? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Xscale PXA255 UART Driver
    ... I can't see SysIntr value in Your registry settings. ... SysIntr value is hardcoded in the driver. ... driver code and OEMInterruptXXX routines to see ... if there is support for FFUART interrupts. ...
    (microsoft.public.windowsce.platbuilder)
  • About registry settings for COM ports...
    ... I want to create two COM ports for FFUART and BTUART. ... And the two ports use the same serial driver. ... But only one COM portfor BTUART is created successfully. ... ; Eliminate flow control bit ...
    (microsoft.public.windowsce.platbuilder)