How to auto mount a PART_DOS32 patition in WinCE4.2 with 2k byte/page nandflash?
Hello all:
My device is about S3C2440, it has a large page(2k byte/page)
nandflash(SAMSUNG K9F4G08,
512M), My OS is WinCE4.2 and the BSP is SMDK2440, so My bootlaoders are
nboot and eboot.
Using the BootPart library in eboot, the nandflash in my device has
two partions:BINFS
and FAT32. After the OS is running, I go to the storage manager in
control pannels and can
see two parts(part00, part01) in the list box, the Properties of each
Partition are OK, as
follows:
part00 size 18432 sectors
type 0x21
file system binfs.dll
flag 0x00000000
part01 size 242496 sectors
type 0x0B
file system fatfsd.dll
flag 0x00000000
However, the PART_DOS32 partition(part01) is not mounted by
WinCE4.2, and can not see
the folder "ResidentFlash". If select the Property of part01, the
Partition Properties
dialog correctly displays fatfsd.dll as the file system, but clicking
the mount button just
opens a message box that sais "Unable to mount partition". Even firstly
click the format
button, it shows ok, secondly click the mount button again, it also
shows "Unable
to mount partition".
The registry in the platform.reg used are as follows:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Support BINFS Section
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Add BinFS to partition table
[HKEY_LOCAL_MACHINE\System\StorageManager\PartitionTable]
"21"="BINFS"
[HKEY_LOCAL_MACHINE\System\StorageManager\BINFS]
"Folder"="BINFS"
"FriendlyName"="Bin FileSystem"
"Dll"="binfs.dll"
; MountFlags:
; 0x10 specifies that this file system is to be mounted as an external
; ROM filesystem shadowing the \windows directory
; 0x1 specifies that the mountpoint \BINFS is to be hidden
;
"MountFlags"=dword:11
"BootPhase"=dword:0
;
; Entries to load the block driver that BINFS uses
; This is dependent on what device is used
;
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\FlashDrv]
"DriverPath"="Drivers\\BlockDevice\\FlashDrv"
"LoadFlags"=dword:1
"MountFlags"=dword:11
"BootPhase"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BlockDevice\FlashDrv]
"Prefix"="DSK"
"Dll"="FLASHDRV.dll"
"Order"=dword:0
"Ioctl"=dword:4
"Profile"="FlashDrv"
"FriendlyName"="MS Flash Driver"
"MountFlags"=dword:11
"BootPhase"=dword:0
; Bind BINFS to the block driver
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv]
"DefaultFileSystem"="BINFS"
"PartitionDriver"="mspart.dll"
"AutoMount"=dword:1
"AutoPart"=dword:1
"MountFlags"=dword:11
"Folder"="ResidentFlash"
"Name"="Microsoft Flash Disk"
"BootPhase"=dword:0
; Keep FATFS from trying to shadow \Windows
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\FlashDrv\FATFS]
"MountFlags"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"MountFlags"=dword:0
How to auto mount the PART_DOS32 partition in WinCE4.2 with large
page nandflash? Pls
give me some advices.
Thanks a lot for your answers. Tag: about Wince IME Tag: 91627
Bad (slow) performance on SOAP/TCPIP call
Hi,
I have implemented a COM (EXE) server on Windows CE5.0 side.
I have created the WSDL and WSML files so that I can access it through SOAP.
CE = web serverice side
I have created a C# client on the desktop (XP SP2) side. XP = client side
So far everything works fine. No problems.
However each SOAP call that I do takes between 300..500msec for a very
simple call.
I basically call a function that passes a long as parameter and returns a
long.
Debugging with Ethereal learned me that a lot of time is wasted on the ACK
of a TCP message.
Each TCP message needs to be ACK'd at some time. By default Windows CE AND
Windows XP don't ACK immediately,
instead they wait a while (± 100msec). This is what is called TCP Delayed
Acknowledge.
It is used to reduce TCP traffic (for slower machines) when a lot of TCP
communication takes place.
It gives little performance degradation when your TCP messages are long,
but it degrades performance dramatically if you have a lot of short TCP
messages
Therefore you can disable this mechanism on the XP side by setting the
following registry key
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\{Adapter}\TcpAckFrequency] = 1
Now Windows XP shall always ACK an incoming TCP message immediately (I know
what I a am doing, despite the warnings in MSDN)
This eliminates long delays from the XP side. This way I can reduce the SOAP
call to 100..300msec.
The CE side has a similar registry key, but it can not be set lower than
2(00)msec.
HKEY_LOCAL_MACHINE\Comm\PCI\<Adapter Name>\Parms\Tcpip\TcpDelAckTicks = 2
[2..6]
Does anybody know how this can be disabled or at least improved on the CE
side?
What about TcpInitialRTT, TcpWindowSize, ... registry settings?
Note: I think there is a mistake in the documentation. The path should be
HKEY_LOCAL_MACHINE\Comm\PCI\...
instead of HKEY_LOCAL_MACHINE\Comm\...
If I could disable Delayed ACK on CE, the SOAP call should only take a few
(10)msecs.
I have a point to point ethernet connection between my CE device and XP
station. I will use SOAP to make a lot of short calls (>10 per second). In
fact trying to replace DCOM. The same call through DCOM only takes <1msec.
This Ethereal log shows the problem (XP side already patched)
1 0.000000 192.168.2.40 -> 192.168.2.48 : SOAP call start
POST /GateWS.wsdl HTTP/1.1
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client
Protocol 2.0.50727.42)
VsDebuggerCausalityData:
uIDPo4U3sU1zR4NBkL1wmIt6a6sAAAAAacrC7fa2F0eOgFppIbo6yAnlJKGeJlZIoKd361WHvZMACAAA
Content-Type: text/xml; charset=utf-8
SOAPAction: "http://tempuri.org/action/GateWS.DialGate"
Host: 192.168.2.48
Content-Length: 561
Expect: 100-continue
Connection: Keep-Alive
2 0.110646 192.168.2.48 -> 192.168.2.40 : http> 1267 ACK Seq=0 Ack=414
Win=5426 Len=0
3 0.110701 192.168.2.40 -> 192.168.2.48 : Continue
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://tempuri.org/wsdl/"
xmlns:types="http://tempuri.org/wsdl/encodedTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<q1:DialGate xmlns:q1="http://tempuri.org/message/">
<Chevron xsi:type="xsd:int">16</Chevron>
</q1:DialGate>
</soap:Body>
</soap:Envelope>
4 0.113160 192.168.2.48 -> 192.168.2.40 : Immediate reply from host
HTTP/1.0 200 OK
Date: Thu, 26 Oct 2006 03:47:06 GMT
Connection: keep-alive
Server: Microsoft-WinCE/5.0
Content-Type: text/xml; charset="UTF-8"
Content-Length: 323
Expires: -1;
5 0.113183 192.168.2.40 -> 192.168.2.48 : 1267 > http ACK Seq=975 Ack=185
Win=64842 Len=0
6 0.113301 192.168.2.48 -> 192.168.2.40 : Reply from host to client
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<SOAP-ENV:Envelope
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Body>
<SOAPSDK1:DialGateResponse xmlns:SOAPSDK1="http://tempuri.org/message/"/>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
7 0.113316 192.168.2.40 -> 192.168.2.48 : 1267 > http ACK Seq=975 Ack=508
Win=64519 Len=0
Note the delay of 110msecs between 1 and 2. The rest of the flow is quite
fast. The SOAP call took 113msecs where it could be don in ±3msecs.
The problem is that each time a new SOAP call is made the reply port changes
(1267 -> 1268 -> ...)
and the whole story starts again, with each time the initial delay.
Please advice...
Werner Tag: about Wince IME Tag: 91626
Incremental platform builds
In PB5.0 IDE we perform incremental builds of our workspace by
1. rightclicking the %_targetplatroot% folder (FileView-tab)
2. selecting the 'Build and Sysgen' option.
This works fine and fast almost everytime. However, when I switch from
one workspace to another and perform the same operation, PB starts
performing a clean build in the %_targetplatroot% folder! Can someone
explain me the logic of this and maybe tell me how to bypass this?
Thanks,
Wesley
Following is the PB output:
Sysgening platform C:\WINCE500\platform\MYPLATFORM
C:\WINCE500\PBWorkspaces\MPA1_5.0>if not "" == "" goto done
C:\WINCE500\PBWorkspaces\MPA1_5.0>set
___OAKROOT=C:\WINCE500\platform\MYPLATFORM\oak
C:\WINCE500\PBWorkspaces\MPA1_5.0>if not exist
C:\WINCE500\platform\MYPLATFORM\oak\oakver.bat goto endif_20
C:\WINCE500\PBWorkspaces\MPA1_5.0>if not exist
C:\WINCE500\platform\MYPLATFORM\dirs goto done
C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "public" C:
C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "private" C:
C:\WINCE500\PBWorkspaces\MPA1_5.0>if "platform" == "platform" C:
C:\WINCE500\PBWorkspaces\MPA1_5.0>cd C:\WINCE500\platform\MYPLATFORM
C:\WINCE500\PLATFORM\MYPLATFORM>set ___CLEANFLAG=
C:\WINCE500\PLATFORM\MYPLATFORM>if not "platform" == "platform" goto
endif_11
C:\WINCE500\PLATFORM\MYPLATFORM>if exist
C:\WINCE500\platform\MYPLATFORM\MPA1_5.0.bif goto endif_13
C:\WINCE500\PLATFORM\MYPLATFORM>del
C:\WINCE500\platform\MYPLATFORM\*.bif
C:\WINCE500\PLATFORM\MYPLATFORM>echo current
1>C:\WINCE500\platform\MYPLATFORM\MPA1_5.0.bif
C:\WINCE500\PLATFORM\MYPLATFORM>echo CEBUILD: Building platform clean
due to change of project
CEBUILD: Building platform clean due to change of project
C:\WINCE500\PLATFORM\MYPLATFORM>set ___CLEANFLAG=-c
C:\WINCE500\PLATFORM\MYPLATFORM>echo CEBUILD: Building -c
(C:\WINCE500\platform\MYPLATFORM)
CEBUILD: Building -c (C:\WINCE500\platform\MYPLATFORM)
C:\WINCE500\PLATFORM\MYPLATFORM>build -c
.... Tag: about Wince IME Tag: 91621
I am trying to replace "ndisuio.dll" retail version with the debug version.
These are the steps I am doing:
1=2E Starting command window with Debug BaseOSEnv.bat.
2=2E In that window running sysgen -p common ndisuio.
3=2E Copy ndisuio.dll to flatreleasedir. The size of ndisuiio.dll is
68KB.
4=2E Running makeimg.
5=2E Looking at the image with ImgExp.exe shown that:
=B7 ndisuio.dll size is 20KB and not 60KB.
=B7 The data of the dll is older then debug dll.
Do you have a suggestion for me what to try next? Tag: about Wince IME Tag: 91618
I am trying to replace "ndisuio.dll" retail version with the debug version.
These are the steps I am doing:
1=2E Starting command window with Debug BaseOSEnv.bat.
2=2E In that window running sysgen -p common ndisuio.
3=2E Copy ndisuio.dll to flatreleasedir. The size of ndisuiio.dll is
68KB.
4=2E Running makeimg.
5=2E Looking at the image with ImgExp.exe shown that:
=B7 ndisuio.dll size is 20KB and not 60KB.
=B7 The data of the dll is older then debug dll.
Do you have a suggestion for me what to try next? Tag: about Wince IME Tag: 91617
boot.bib
In the boot.bib file why nk.exe is used as module name
MODULES
; Name Path Memory Type
; ----------- --------------------------------------------- -----------
nk.exe
$(_TARGETPLATROOT)\target\$(_TGTCPU)\$(WINCEDEBUG)\EBOOT.exe EBOOT Tag: about Wince IME Tag: 91609
update OS on custom device
Hi All,
Are there any ideas as how I can run OS updates to a custom device after it
is released? For example, at what sequence would the updates have to be
written? I am thinking that it would have to be done straight after the
bootloader startup and before the kernel address is loaded/jumped to. Is
this correct? What would need to be done? I am unclear how updates are
performed across a custom device. Any ideas?
Thanks,
RH Tag: about Wince IME Tag: 91607
about DHCP
Hello,
1. Enviroment: CEPC or Cirrus Logic EDB9315A with DHCP enable, LAN with a
DHCP server on it.
2. During eboot seesion, DHCP requesting is always OK!
3. During kernel starting, DHCP is ALWAYS fail!!!
4. When downloading debug-version(KITL enable) nk.bin into EDB9315A board,
kernel debugger can connect to the target although DHCP was fail. With
ipconfig on command line of the target, ip is 169.254.46.157, and my host ip
is 192.168.201.131. I am confused with it. Thanks for anybody for any
comments!
Thanks in advance
Chengshi
x10@emtronix.com.cn Tag: about Wince IME Tag: 91604
Splash Screen bootloader
Hi all,
I am trying to build a custom splash screen.
-with the help of some previous posts here
http://groups.google.com/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/91eff976a595cb42/0625c5cf80b91d89?lnk=st&q=splash+screen+wince&rnum=6#0625c5cf80b91d89
I was able to achieve some progress.
-Is it possible to as well integrate dynamic content(gif,audio and
video) rather than static(.bmp) only?
-I tried to test this on x86 emulator(platform-mobile handheld
template) w/o any success.
Any kind of help would be appreciated.
regards
anand Tag: about Wince IME Tag: 91596
about IE6.0 vs MFC
Hi, All
In my design(CE5.0), the applications are written in eVC based MFC, and
IE6.0 is not required. But if removing of IE6.0, the SDK derived from the
OSDesign doesn't provide supporting MFC based program written in eVC. The
problem is if IE6.0 item is added, the size of the debug version exceeds the
limit of 32MB for kernel, my design has total 64MB, 32MB for OS, 32MB for
RAM, which is seperated each other in physical address. Please let me know
how to do with the problem.
Thanks for all help!
Cheng Shi
x10@emtronix.com.cn Tag: about Wince IME Tag: 91592
bootloader source files
Hi All,
Could somebody please tell me, at what location can I find ALL the source
files related to the bootloader. I have been trying to work through the
Microsoft Windows CE 5.0 Board Support Package, Boot Loader, and Kernel
Startup Sequence article
(http://msdn2.microsoft.com/en-us/library/aa446905.aspx) but I cannot seem to
find the functions EbootMain() and BootloaderMain() that are supposed to be
in main.c and Blcommon.c respectively and I am wondering whether I actually
have the correct files.
Thanks Tag: about Wince IME Tag: 91590
PXA270 USB Host Controller WINCE 4.1
Hi All,
I am hoping someone out there who has some experience with USB host drivers
can give me some hints. We have a hardware design based on the MAINSTONE II
reference design. However our BSP is firmly entrenched in WINCE 4.1 (came
from a PXA255 design). For the most part, I have been able to take code from
the WINCE 5 BSP, and drop those changes into the appropriate files of our
WINCE 4.1 BSP. However in the case of the USB host controller, the PXA 255
didn't have this so our BSP doesn't already have a skeleton for me to flesh
out.
What I'd like to get some idea of is exactly what are the steps I need to do
add the USB host controller. I have brought all of the bul_ohci.cpp code
over to the 4.1 BSP, and it compiles, but its a .LIB, that links to a .LIB
(ohcdmdd2.lib) that it reportedly doesn't know how to make. Some place I'm
sure it gets made into a DLL no?
Furthermore, I'm not even sure from the PB GUI, what components I need to
add if it were to work. Right now under "USB Host" I've included ohcdmdd and
from the "Core OS Services" I added USB Host Support for the HID class. My
thought was I'd start by getting a USB mouse or keyboard to play nice. Some
place in the registry I am sure I need to tell device.exe exactly what to
load, unless perhaps this is done when the component (whatever component that
is), is selected in the GUI.
Any words of wisdom any of you out there care to impart I'd greatly
appreciate.
Regards, Tag: about Wince IME Tag: 91586
With irDA support WinCE 5.0 boots slower...
Hi
Is it me or does WinCE 5.0 boot segnificant slower with IrDA support ??
I guess it normal behavior or am I missing something (maybee a component
that is needes ??)
/Thomas Tag: about Wince IME Tag: 91582
ANN: Windows CE Live Chat Tomorrow!
Just a note that we'll be hosting an online chat tomorrow morning concerning
Windows CE 5.0 and CE 6 beta! Members of the development team will be on
hand ready to answer your questions, so bring 'em on!
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Title: Windows CE Live Chat!
October 25, 2006
9:00 - 10:00 A.M. Pacific time
Additional Time Zones:
http://www.timeanddate.com/worldclock/fixedtime.html?month=10&day=25&year=2006&hour=9&min=0&sec=0&p1=234
Description: Do you have tough technical questions regarding Windows CE 5.0
for which you're seeking answers? Do you want to learn more about the
Windows CE 6 beta? Do you want to tap into the deep knowledge of the
talented Microsoft Embedded Devices Group members? If so, please join us for
a live Windows CE chat and bring on the questions! Windows CE is the
operating system that is powering the next generation of 32-bit,
small-footprint and mobile devices. This chat will cover the tools and
technologies used to develop devices using the Windows CE 5.0 and CE 6 beta
operating systems.
To join this chat, please log on via the main MSDN chat page at:
http://msdn.microsoft.com/chats/
Chat Transcripts: Missed a recent chat? We welcome you to visit the
Transcript Archive. Transcripts are usually posted within two weeks of the
live event.
http://msdn.microsoft.com/chats/transcripts/mobileembedded/default.aspx
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sue
sloh@microsoft.com (remove "online" from reply-to address)
http://blogs.msdn.com/ce_base/
_____________________________________________________________
This posting is provided "AS IS" with no warranties, and confers no rights.
_____________________________________________________________ Tag: about Wince IME Tag: 91580
Bad RX packet during BIN download
I am having difficulty downloading images from platform builder to a target.
The image is only 10 MB but it fails roughly 75% of the time. The serial
output from the target during download is:
Download BIN file information:E1016000 (Memory)5.255.255
-----------------------------------------------------CP()
Sent
==
ProcessDHCP()::DHCP_INIT==
[0]: Base Address=0x220000 Length=0x167EF78
Got Response from
****** OEMVerifyMemory Checking Range [ 0x220000 ==> 0x189EF77 ]
FindAllPCINetCard: Searching for PC
****** RAM Address ******
Bad RX packet [Header: 0xED
****** RAM Address ******ll to 0x0
Base Class, Subclass = 2, 0 => NETWORK_CTLR
Bad RX packet [Header:
Interrupt = 10..00:01:C0:01:DF:F8
BaseAddress[0] = 0xF800 (I/O)
Once it does complete I am able to transfer files from the network with no
signs of error. I have tried all differnet network cabling, and a different
carrier board for my processor board.
I am using a Compulab CM-iGLX board based on AMD's Geode LXD800 CPU.
1) Has anyone else experienced this sort of problem?
2) Can anyone explain why this occurs during load but not during traditional
networking operations?
3) Is there anything I can try at this point? Tag: about Wince IME Tag: 91579
Bluetooth cips
Hello All!
I chose BT chip for my board. This is not external chip (like USB
dongles for example), but integrayted in board.
So, I would like to know what BT chips approach for WinCE 5.0. Any that
supports HCI specification? Or not?.. Only chips that support stack 1.2
or 2.0 are comparible too and work fine? What I should make at software
develpment time - I need to write some drivers or drivers that includes
in WinCE 5.0 work fine?
In a word, I shall appreciate any information and/or list of supported
chips in WinCE.
Regards,
Sergey. Tag: about Wince IME Tag: 91577
*.dat files in build process
hi
i try to include some conditions in my project.dat file in the
following manner:
#if $(MY_CONDITION)==1
Directory("\Windows\....
Directory("\Windows\....
#endif
i set the the MY_CONDITION variable using the Platformbuilder 5.0
Menue->Platform->Settings Enviroment tab and set the environment
variable there.
--> but it has no effects at all when i have a look at the merged
initobj.dat file.
how can i achieve this? Tag: about Wince IME Tag: 91573
NDIS, interrupts, and headaches...
Hi.
I am trying to port an SMSC9118 ethernet driver to a Freescale board,
and am having some difficulty understanding how interrupts are handled.
I have an interrupt handler called OEMInterruptHandler that catches the
system timer interrupts and, apparently also captures the interrupts
coming from the ethernet controller.
The trouble is that I can't get the interrupt to get passed to the NDIS
layer so that it sends it back to the driver's interrupt handler.
So, how does NDIS manage interrupts? From what I read, it installs an
IST that calls the driver's interrupt handler, but I don't understand
if this IST is supposed to be called from an ISR installed by NDIS, or
if I'm supposed to call t from my OEMInterruptHandler.
So does anyone have any links that explain how NDIS works?
In advance, thanks. Tag: about Wince IME Tag: 91568
SendMessageTimeout not included in coredll.dll
Hello all.
My no UI CE Device is ready to develop with eMbedded VC, but I'm trying to
develop with Visual Studio 2005. From now I can connect with device,
deploy and run my program but not debug it.
If I launch "Start Debugging" I get the error via Platform Builder:
174104 PID:41f18a9e TID:41d88cce ERROR: function @ Ordinal 1495 missing
in Module 'coredll.dll'
174105 PID:41f18a9e TID:41d88cce !!! Please Check your SYSGEN variable !!!
As is documented in some MSDN blog, I find that ordinal, and it
corresponds to SendMessageTimeout, that is part of Message Queue.
Compiling option is GWES_MSGQUE.
In my catalog more near option is GWES_MSGQUEUE. I've included it, but my
coredll.dll continues not having 1495 ordinal as I can see doing a dumpbin
/exports.
--
Visita mi blog: http://rfog.blogsome.com
Libros, ciencia ficción y programación
========================================
Pilas Duraser para un "conejo" inagotable };-). Tag: about Wince IME Tag: 91567
How to build tktest.exe
Hello
I want to build a minumum CE kernel ,with tktest as the only one process.
But when I Build the tktest project (from the platform builder), it output
tktest.lib, not tktest.exe.
How to build the tktest.exe ? Is it the same as a general CE application ?
Thanks
Charles in ryltk Tag: about Wince IME Tag: 91565
STANDARD UART on PXA27X
Hi,
I'm developing a bsp for a PXA27X Mainstone II board and i would like to use
STANDARD UART for the debug function.
I have added in the debugserial.c file the configuration of STUART and my
loader che send out the debug string to my terminal windows. When i try to
send the character from my PC to se STUART, the board doesn't receive
anything.
I have then configured in the same way my FFUART and it works fine.
Someone knows if STUART need somenthing more to be set in order to work?
I have downloaded a linux boot loader (uboot) and my STUART can transmit and
receive data.
Thanks
Rudy Barbieri
...desperate developer.... Tag: about Wince IME Tag: 91563
BinFS and RAM resources
Hi,
I am using a device that has 64MB of RAM and 128MB of NAND Flash.
At the moment the system is booting from RAM after the NK.bin is copied
there from the NAND flash. The NK.bin size is 32MB. After the system
comes up I have about 20MB of free RAM left. I am currently using all
RAM for program memory.
I was wondering how much will the move to BinFS improve my free RAM
level?
Am I going to free the all 32MB (NK.bin size) or only part of it?
In the non BinFS mode, how many copies of the source code of a running
dll are there? Is dll running from the NK.bin copy on the RAM or is it
coppied again to the heap(2 copies overall)?
Thank you
Ohad Yaniv Tag: about Wince IME Tag: 91560
UCB1400 driver
Hi,
Iam using Colibri module PXA270 as my target system with UCB1400 chip
integrated. Can anyone tell me, how could I enable and use the UCB1400
driver on the linux platform.
In the defconfig file, I have enabled CONFIG_INPUT, CONFIG_SND,
CONFIG_SOUND,CONFIG_SND_PXA2xx_AC97, CONFIG_SND_PXA2xx_PCM to =y. The
kernel builds well, but on boot it doesn't show me the UCB1400 driver
gets loaded into the kernel and there are no more interrupts enabled in
/proc/interrupts with following boot message,
.....
.....
ts: UCB1x00 touchscreen protocol output
Advanced Linux Sound Architecture Driver Version 1.0.9rc2 ( The MAr 24
10:34:34 2005 UTC)
ALSA device list:
No soundcards found.
....
....
Any help will be appreciated to fix this issues.
Thanks
Sara Tag: about Wince IME Tag: 91559
about ddraw sample application
Hi, everyone?
I have been testing any video function with via cn700 board.
Among ddraw sample applications, only mosquito.exe program can't be run
correctly.
The image of mosquito was not shown. Instead, any rectangle is moving around
the screen.
Anyone can help me? Tag: about Wince IME Tag: 91555
ROMOFFSET in Eboot.bib
Hello All,
I am developing EBOOT loader for my SDK Board. Currently i am able to
download and Eboot.sre using the onboard Boot loader. My Eboot is
prepared to execute from RAM.
Now i am trying to burn EBoot loader from FLASH. What all nexeccsary
changes i need to do. For Testing i am thinking of downloading EBOOT to
some higher order RAM Address and then relocate it to the place where i
want to execute it.
When i see the EBOOT.sre i find out that the start Address in the S7
Record is :
ROMOFFSET*2+ Image Start Address
for example:
If the Start Address of Image is 80021000 and ROMOFFSET = 0x00700000
then According to me start address of Srec Image should be 80721000
but in the S7 Srecord i find it 80E21000
I am now trying to figure out what could possibly be the reason for the
same.
Contents of my EBOOT are as:
MEMORY
; Name Start Size Type
; ------- -------- -------- ----
STACK 80000000 00010000 RESERVED
RAM 80010000 00010000 RAM
EBOOT 80020000 00040000 RAMIMAGE
RSVD 80060000 0009F000 RESERVED
ARGS 800FF000 00001000 RESERVED
CONFIG
AUTOSIZE=OFF
COMPRESSION=OFF
PROFILE=OFF
KERNELFIXUPS=ON
ROMSTART=80020000
ROMWIDTH=32
ROMSIZE=00400000
; The bootloader is fixed up to run from RAM, but is stored in
flash. ROMOFFSET
; adjusts the .bin file record headers to that they lie in flash
(this tells the
; bootloader already on the device to store the image in flash).
ROMOFFSET=00700000;3C9E0000
SRE=ON
Regards,
Rishabh Kumar Goel Tag: about Wince IME Tag: 91549
usb mass storage not works if our own sd driver used
Hi,
We developed a sd card driver, it works in normal condition. Now we
want to use it as an usb mass storage disk, but it fails. If we replace
the driver with the SDMemory driver, the SDMemory driver works. Is
there some funtions needed be implemented to support the usb mass
storage?
Thanks
Robert Tag: about Wince IME Tag: 91545
What data and how to set it in the ARGS session that described in eboot.bib
I'm debug my bootloader and the debug message is "ERROR: Invalid
Ethernet address read from Ethernet controller.". I cut some related
code here. 0xA00FF000's physical address is 0x000FF000, a flash
address. My question is how these datas are initialized. I can't find
anythere to check the value stored in 0x000FF000
code******************************************************************
typedef struct {
OAL_ARGS_HEADER header;
UINT8 deviceId[16]; // Device identification
OAL_KITL_ARGS kitl;
UINT32 dbgSerPhysAddr; // Debug serial physical
address
} BSP_ARGS, *PBSP_ARGS;
BSP_ARGS *g_pBSPArgs = (BSP_ARGS *) IMAGE_SHARE_ARGS_UA_START;
#define IMAGE_SHARE_ARGS_UA_START 0xA00FF000
if (!g_pBSPArgs->kitl.mac[0] && !g_pBSPArgs->kitl.mac[1] &&
!g_pBSPArgs->kitl.mac[2])
{
EdbgOutputDebugString("ERROR: Invalid Ethernet address read from
Ethernet controller.\n");
return(FALSE);
}
config.bib******************************************************************
IF IMGFLASH
RSVD 80000000 000FF000 RESERVED
ARGS 800FF000 00001000 RESERVED
NK 9CA00000 03000000 RAMIMAGE
RAM 80100000 03F00000 RAM
ENDIF
eboot.bib*******************************************************************
eboot.bib
STACK 80000000 00010000 RESERVED
RAM 80010000 00010000 RAM
EBOOT 80020000 00040000 RAMIMAGE
RSVD 80060000 0009F000 RESERVED
ARGS 800FF000 00001000 RESERVED(it used to be "ARGS
80FF0000 00001000 RESERVED", I changed it by myself)
***************************************************************************** Tag: about Wince IME Tag: 91544
USB Mass Storage function driver supporting multiple disks (DSK1: & DSK3:)
Currently I have the USB Mass Storage function driver exposing my first
SD card (DSK1:). Below you can see the registry entries for it.
What I would like to do is expose both of my SD disks (DSK1: & DSK3).
Is there a way to do this easily or does the "usbmsfn.dll" only support
one disk?
Current Registry Settings:
; @CESYSGEN IF CE_MODULES_USBMSFN
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"ClientDriver"="\\Drivers\\USB\\FunctionDrivers\\Mass_Storage_Class"
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Mass_Storage_Class]
"Dll"="usbmsfn.dll"
"Vendor"=dword:17CC
"Product"=dword:2280
"InterfaceSubClass"=dword:06
"InterfaceProtocol"=dword:50
"DeviceName"="DSK1:"
"Removable"=dword:0
; @CESYSGEN ENDIF CE_MODULES_USBMSFN Tag: about Wince IME Tag: 91537
Mouse problem.
I am using a Windows Mobile 5 system where a Bluetooth nouse is embeddd in a
device to provide interaction between the two. Because the mouse doesn't
move, there is no X,Y aspect to the mouse. I only want the wheel and button
functions. The problem is that it appears that the mouse starts above the
WM5 Start menu. When you click it, it activates the statrt menu.
I can assign the button clicks to apps to resolve some aspects but the wheel
doesn't show.
What to get The Y value.
Can write a C++ app to track raw aspects of the mouse but I am programming
the app using Compact Framework2 (C#, VB andC++)
Any ideas on how to get at the mouse in a raw manner.
Happy with PInvoke.
ie a Native DLL etc
Options may be
-Rewrite the driver.. not pratical
-Get some hooks into the underlying windows system
- Tap into the driver's Stream. Looking at registry, it seems that the
device uses a a stream class.
One question, is it possible to programmatically change the position of the
a/the mose?
PS: Posting to CF ng as well.
Thx for any help
--
David Jones
Senior Lecturer
School of Electrical & Computer Engineering
RMIT University
+61 3 99255318 Tag: about Wince IME Tag: 91536
external USB audio card for WinCE 5.0
Hi,
-do you know any external USB audio card that has drivers for Windows Ce ?
Like the M-Audio Sonica USB, USB 2.0 Audio Blaster, Audigy 2NX , etc
-Does anybody know if there is a sample USB audio driver somewhere ?
Regards
Javier
--
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/ Tag: about Wince IME Tag: 91528
Determing addresses used on ISA port
Hi,
Is there a way to determine what addresses are in use on the ISA bus?
Thanks
Ole Tag: about Wince IME Tag: 91519
Missing urlmon.lib
Visual Studio 2005: compiling my project against the SDK supplied by my
Windows CE vendor this error occurs:
Error 1 fatal error LNK1104: cannot open file 'urlmon.lib'
How to solve it?
Mhaxx Tag: about Wince IME Tag: 91516
AT91SAM9261-EK - an immage booting problem
Hallo guys
I have been making a Win CE immage for AT91SAM9261-EK, I use the Platform
Builder 5.0 with all last updates and last version of BSP for this board. And
I have a problem with booting CE system. After attaching the device and
downloading the immage the booting will start. But a few steps before
finishing it the booting will stop, without any error or warning. I tried to
change various settings (platform, platform files, ...), but without any
success.
I think that there must be a problem with memory maping (virtual to
physical address space). But I don't know, where to find and make some
changes in OEMAddressTable.
I have spent a lot of time and I don't have any ideas now. So, please help.
Are there any advice or reccomendation? And what about this OEM address table
for ARM processors?
George Tag: about Wince IME Tag: 91494
How to enable debug output for eboot.nb0?
Hello all.
My old eboot.nb0 showed a lot of debug strings into debug serial port, but
my new eboot build does not. eboot.nb0 works fine, and boots machine ok,
but it only says on serial port:
SBTF1234ORX
JUMP
and nothing more.
I've tested a debug build, but it does not say more, and source code is
full of EdbgOutputDebugString...
Any help, please?
--
Visita mi blog: http://rfog.blogsome.com
Libros, ciencia ficción y programación
========================================
A donde fueres haz lo que vieres.
-- Refrán. Tag: about Wince IME Tag: 91492
finding a file in wince image
Hi,
I need desperately to find a file I know is in nk.bin
how do I do it? any utility?
anyone
Tnx,
Nadav Tag: about Wince IME Tag: 91488
What is the Standard SDK used for?
Hi
Trying to figure out if our application can use the basic core licence,
and the only worry is the Standard SDK is not a core component.
The OS has not yet been decided, WinCE is just an option at this stage.
What is is used for? Tag: about Wince IME Tag: 91482
How to disable debug messages from Notify.dll?
I got a huge amount of debug messages saying:
"0x83d918e8: [NOTIFY] ProcessDatabase::started at local time....."
I don't no where they come from and if they are normal, but right know I
would like to disable the messages which I can do from the Debug Zones
dialog box. But instead of doing that boring operation each time I launch
the CE I would like to turn off the 'notify.dll' for good. From the help I
found that I could enter this in the platform.reg:
[HKEY_LOCAL_MACHINE\DebugZones]
"Notify" = dword:0
But it doesn't work for me - what did I do wrong and what should I do
instead?
Thanks - your help is highly appriciated!
Ole Tag: about Wince IME Tag: 91481
(Help)( How to notify PowerManager system to resume from idle mode?)
Dear Sirs:
I have a question when I develop usb driver. When the system
was in Idle mode(sleeping mode), User plug in the usb cable, this time I
want to resume the system from Idle mode to normal mode, How can I do it in
the usb drivers?
Please help me, thank you very much.
Best Regards
Mike Han Tag: about Wince IME Tag: 91473
Au1200 RealTime Clock
Dear Greats,
I am using Windows CE 5.0, AMD Board Support Package for Au1200
processor. AMD Evaluation boad DBAu1200 reference board.
On every boot, my system time reset to default "Jan 1, 2003 12.00 PM"
value. Kindly help me in solving this problem.
I have seen in the OEMGetRealTime funciton,
RealTime = RtcCountToHNs(HalQueryRtcCount()) + RealTimeBias;
The RealTimeBias value is a static ULONGLONG data type run time value
not stored anywhere. Is this the problem?. Kindly advice me.
with regards,
Vijayakumar A. Tag: about Wince IME Tag: 91463
Performace issue using Stream Interface Driver
Hi,
I am developing an Intermediate driver for capturing all packets. Since
OS is windows CE, I am using a stream interface driver for taking the
data from kernel mode to user mode.
This driver on NIC side uses NDIS and on application side provides
stream interface (init, read, write). But under CE, device manager runs
under user mode. So it very difficult to copy packet that comes under
NDIS in kernel mode directly under user mode buffer. The performance is
getting degraded and I think i am loosing some packets due to this.
Can anyone help me in finding an efficient method of capturing a packet
in kernel mode and taking it to application mode.
Any help regarding performnce improvement will be highly appreciated.
Thanks in advance.
Sarath Tag: about Wince IME Tag: 91461
how to make EDB9315A_WINCE500 debug platform
Hello!
I try to create a debug-version platform using cirrus-logic provided BSP for
its evaluation board EDB9315A. There is error line as follows:
BUILD: [01:0000000438:ERRORE]
c:\WINCE500\PLATFORM\Ep93xx\Src\Drivers\Ethdbg\Cs8950\cs8950.c(1014) : error
C2065: 'ZONE_ERROR' : undeclared identifier
It seems something wrong about DEBUGZONE, but I can not find where it is.
Please let me how to do with it if anybody encountered the similar problem
before.
Thanks for any help!!!
Chengshi
Emtronix
x10@emtronix.com.cn Tag: about Wince IME Tag: 91459
GWES crash when Raster font support is removed....
Hi
When I remove Raster fonts support from my build and I add fonts (Arial,
Tahoma, icluding chinese and AGFA ac3 compresiion), GWES is throwing an
exception when its is launched..!!!
I gues it cant find the nedded fonts support, but reading the PB help state
that I only can user Raster font or "normal" fonts.
I am I missing some vital component ??
/Thomas Tag: about Wince IME Tag: 91453
Device Emulator for ARM?
Dear all,
I asked many friends for How to make a Device Emulator using few
months ago QFE.
Seems no one done?
final steps: DMA transport ? <---- we don't know how to do it?
Help please Tag: about Wince IME Tag: 91443
Break point in a driver
Hi,
Is it possible to using breakpoints in a driver? I have tried setting a
normal breakpoint but the dubugger seems to ignore that - so how is it done
if possible?
Thanks
Ole Tag: about Wince IME Tag: 91442
Follow up on Platform Builder with Mac Pro and Bootcamp/XP
I just wanted to follow up on a message I posted a month ago regarding
Platform Builder 5.0 running on a Mac Pro under bootcamp and XP.
I have this setup and working great. My previous machine was a dual
Xeon 2Ghz with Hyperthread, 2GB RAM and 4 drives in a hardware SATA
RAID 0 config. My build times for a clean sysgen in retail was about
17 minutes. On my new Mac Pro running bootcamp and XP my build times
have dropped to about 5 minutes. I'm running 2GB RAM and 3 drives in a
SATA II RAID 0 config. I'm using the Mac wireless keyboard and "mighty
mouse" for input devices.
The Mac Pro has two Ethernet adapters so you have one for being
attached to your corporate network and another for KITL connections via
Ethernet. There are a number of USB Ports so you can easily use USB
KITL as well.
I now have a build machine that allows me to do testing of CE devices
with both the Mac OS and PC OS. It was about $1K cheaper than a
comparably equipped Dell and the quality is really in a class of its
own.
I have yet to install CE 6.0 on it but do have Visual Studio installed
and working.
A few gotchas:
After bootcamp was installed with XP there were a number of devices in
the device manager that wouldn't load. I went to Intel's web site and
downloaded the latest .INF's for XP for the chipsets and installed
those. This fixed a key problem in that upon first boot XP was running
the hard disks in PIO mode. After updating the INF files for the
chipsets the hard drives started coming up in DMA Mode 5
The standard CE RNDIS driver could not be loaded by XP because it
wasn't signed or was suspect by the OS as corrupt. This exact same
driver worked fine on my old XP box so I am guessing it has something
to do with the new DEP or other protection features on the new Xeon
chips using on the Mac Pro. I modified the USB8023.INF file to use
RNDISMPX.SYS and USB8023X.SYS instead of the original RNDISMP.SYS and
USB8023.SYS and everything worked fine from there.
I had to add a serial / parallel card to the box to get ports for
collecting debug serial and controlling parallel port driven test
devices. Since the expansion bus on the Mac Pro is PCIe, I found a
card from Orion (S4P1) that gave me four 16950's and 1 parallel. This
installed easily.
I ordered the machine with two video cards so I could have up to 4
displays (3 for development, 1 for aux). However, the organization of
the PCIe slots on the Mac Pro only give you one 16 channel socket so
you can only run one video card at 16 and the other must run at 8.
Now about building a BSP so I can boot CE on this thing......
Mark Moeller
markmo_at_Qualnetics _dot_com Tag: about Wince IME Tag: 91438
NK.BIN first call after launch..?
Hi all,
I am trying to get a PXA270 BSP to run on my board, and after the
bootloader receives the image from Plaform Builder and displays the message
of "Jumping to Virtual Address", I get no more messages on my HyperTerminal.
I connected a JTAG emulator to it, and I can see that the board is running
some code, but I don't know what code is that. Can I find out what's the
first thing an NK.bin image does after it is launched? Or can I find from the
map file what's the code at that address? Tag: about Wince IME Tag: 91433
Connectivity Options never opens
Hello All,
I am having a strange problem trying to configure my connectivity options in
PB 5.0. When I select "Target->Connectivity Options" nothing happens. No
errors no dialog ... nothing. I can see it thinking for a second
(hourglass), but no result. Does anyone know why this might happen. Any
help would be greatly appreciated because I cannot connect to my target and I
am stuck. Tag: about Wince IME Tag: 91426
Hi,
Could you tell me how SIP and IME works together in WinCE?