3 wire Xscale UART

windows ce

    Next

  • 1. What are the functions about these platform files?
    Hi What are the functions about platform.reg platform.bib and platform.dat ? Will all bundled dll and exe files put into image "Windows" folder, how can I change location if I want put file into "My Document" ? What is the meaning of this description from platform.bib IF BSP_NOAPP_KEYBOARD ! Keyboard.exe $(_FLATRELEASEDIR)\Keyboard.exe NK S Keyboard_cpl.cpl $(_FLATRELEASEDIR)\Keyboard_cpl.cpl NK S IF BSP_NOAPP_CBAPPLET ! CBApplet.dll $(_FLATRELEASEDIR)\CBApplet.dll NK SH What's the difference between "NK S" and "NK SH" ? Should we seperate words by space or tab ? Thank for your kind teaching .
  • 2. WINCE6.0 file system
    Hi, I have formated the nand flash with FAT32 version using storage manager and m trying to access MBR and FAT table from eboot. but MBR are available in logical address 0 which is decided by WINCE FAL. From eboot, I want to get logical address of all physical address of decided by FAL. Can any one share some ideas ... Ranjit
  • 3. CopyFile in windows CE
    Hello, Here i want to use CopyFile to copy a file from Storage Card and keep in Windows directory. I used the following code in my driver, after SD Card driver loaded successfully CopyFile("\\Storage Card\text.txt", "\\Windows\text.txt, TRUE); But i have not seen any file like text.txt in my windows directory. Could you please let me know where i m doing wrong. Or whether the CopyFile will work in my driver or not. Thanks in advance, Seshu
  • 4. Problem on install standard SDK for WinCE 5.0
    When I install standard SDK for winCE5.0, I got a mesage saying "software development tools required to use this SDK for developing applications with managed code are not installed on this workstation. If you continue to install you can not use this SDk to develop applications that use managed code....". What does that means? Do I need to install other tools? What are they? Thanks in advance. I am new to WinCE stuff.

3 wire Xscale UART

Postby skindiver » Sat, 22 Oct 2005 21:08:05 GMT

I have a PXA255 serial port (STUART) that only supports RX and TX (3wire).
The driver is patterned after the Mainstone

$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\com_mdd2.lib \

$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\oo16550.lib \

$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\serpddcm.lib

Plus some specific 255 .cpp files.

I am having problem in that it does not see rx inputs. The tx seems to be 
working but slowly and intermittently.

Question: Is there anything that needs to be modified at the driver level 
(other then the pin setup)  to support a 3-wire interface as opposed to the 
full modem signal interface?







Re: 3 wire Xscale UART

Postby mobilevil » Sun, 23 Oct 2005 09:34:12 GMT

try to turn off hardware flow control on both side's software

-- 
-----------------------------------------------------------
   kachun 







Re: 3 wire Xscale UART

Postby Clinton D. Britt » Mon, 24 Oct 2005 11:44:19 GMT

Is your serial driver implemented with an ISR handler? If not, you you will 
have trouble doing any kind of speed.

...clint...









Re: 3 wire Xscale UART

Postby Steve Maillet (eMVP) » Mon, 24 Oct 2005 12:09:07 GMT

What, Clint is referring to is the ISR Software FIFO. It's an Installable 
ISR that sucks data out of the hardware FIFO and stores it in an internal 
FIFO, this effectively extends the hardware FIFO by a significant factor, 
allowing the serial driver IST time to quickly extract all of the FIFO data 
in one shot instead of being inundated with lots of interrupts for small 
amounts of data.

Another option is to completely re-write the MS provided drivers to use DMA 
to achieve the highest rates possible.

-- 
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com



Similar Threads:

1.Xscale PXA255 UART Driver

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 


2.Bluetooth UART transport causes high CPU load with HiSpeed UARTs

Hello,

We deploy a Bluetooth module connected over a HighSpeed UART running
at 921600kbit/sec using the BT UART transport layer. Unfortunately,
there is a CPU load of 40% during data reception, which is a problem
for our project! Our serial driver causes appr. 5% of the load, so the
rest comes from the others!

We looked at the PUBLIC\COMMON\OAK\DRIVERS\BLUETOOTH\TRANSPORTS\UART
\hciuart.cxx and saw a polling loop around ReadFile(), where serial
data are received. We suspect this polling loop to be the culprit of
the high CPU load! We tried to change it using the WaitCommEvent()
API, without success.

Has anyone an optimized version of the Bluetooth UART transport
implementation?

Thank you,
Peter

3.Alpha Wire Solid Wire Solder (PH50445)

4.Wired and Wireless network can't print to wired network printer

I have a dsl modem connected to a linksys router (4 ports), I have added the 
Microsoft Wireless Base Station MN-700 to my wired network. Wireless and 
wired pc's and devices work ok. I'm having problems setting up the network 
printer to work on my Wireless PC.  I can ping the printer from my wireles pc 
but I can't print to it. Wired Network Printer IP 192.168.1.xxx (connected to 
Linksys Router) and  Wireless PC 192.168.2.xxx . I have set all pc's for 
MSHOME.
Any idea how to fix this problem ? 
THX! 
Frank

5.Wireless to Wired XP HOME SP2 - Wired cannot access Wireless box

 I have just set up a small residential network. One box is a wireless laptop 
and one box is a wired desktop.  Both boxes have internet access. The 
wireless can see and access files on the wired. The wired can see the 
wireless, but cannot access it. I receive the following error message when I 
attempt to access the wireless:

\\nameofbox is not accessible. You might not have permission to use this 
network resource. Contact the administrator of this server to find out if you 
have access permissions. The network path was not found. 


6. Wireless to Wired XP HOME SP2 - Wired cannot access Wireless b

7. 6 Wire & 4 Wire 1394 LAN Possible?

8. CP2101 USB to UART Controller Driver



Return to windows ce

 

Who is online

Users browsing this forum: No registered users and 47 guest