Re: Xscale PXA255 UART Driver

From: voidcoder (voidcoder_at_yahoo.com)
Date: 01/25/05


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



Relevant Pages

  • Re: How to implement TFAT file systems using FMD in windows ce5.0?
    ... strata driver failed to load. ... I am trying the same thing for Intel strata NOR flash. ... I have added the Registry settings to Project.reg file like ... And one more thing i have added Fat file system and Partition driver to my ...
    (microsoft.public.windowsce.embedded)
  • Re: File System Filter Trouble
    ... I added my registry settings as u said and now I am able to load my driver. ... I dont know why, but I did the same thing before putting the post but it ...
    (microsoft.public.windowsce.embedded)
  • Re: Adding COM Port
    ... It depends on how your driver is made. ... <apellerin AT adeneo DOT adetelgroup DOT com> ... "Anthony Pellerin" wrote: ... you may have to simply add new registry settings. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: [SLE] Rhetorical question
    ... > Linux licensing requirements are not given quarter; ... > confidential Windows specs or code, in breach of a Windows licence, in ... copyright and /or patented hardware specifications or driver code is ...
    (SuSE)
  • [RFC][PATCH] netconsole: avoid deadlock on printk from driver code
    ... Subject: netconsole: avoid deadlock on printk from driver code ... I encountered a hard-to-debug deadlock when I pulled out the plug of my ... RealTek 8139 which was also running netconsole: The driver wants to print ...
    (Linux-Kernel)