item Deactived on "CE Debug Zones" Dialog
As metioned in the last post, My os image was hanged on loaded symbol of
xsc1bd_serial.dll.
By "Target>CE modules and symbols", I can see that the "Status" of
"xsc1bd_serial.dll" is Loaded.
But I cannot see any debugmsg. so I checked the DEBUG ZONE set from
"Target>CE Debug Zones", but I see nothing list in the listbox, the only
text "Getting Data" is deactived.
What's the problem?
thank you! Tag: Virtual Memory Page size Tag: 58691
Booting Windows CE.NET 4.2 from 32 MB IDE FLASH DISK
hi,
i am facing a problem with my 32 MB IDE FLASH DISK. When i attach
FLASH DISK to my IDE Channel and start the PC to boot from the floppy nothing
happenns. but if i remove FLASH DISK and replace it by my HARD DISK and try
the same procedure my OS boots and the NK.BIN is successfully copied.
please help me.
thank you in advance
regards,
vinay s trivedi Tag: Virtual Memory Page size Tag: 58690
MmMapIoSpace() v.s. VirtualAlloc() + VirtualCopy()
What's the difference between MmMapIoSpace() and VirtualAlloc() +
VirtualCopy(),
since both of them seemed to convert a physical io address to a virtual
address.
Thank you! Tag: Virtual Memory Page size Tag: 58689
CE.NET training courseware
I here the official MS CE.NET courseware may finally be updated to CE.NET
5.0.
Any truth to this? Any ideas as to when? Tag: Virtual Memory Page size Tag: 58687
Falcon MIPS vr4121 platform....
I am trying to bring a Falcon (MIPS 4121) BSP from 4.1 to 5.0.
Since the falcon is not officially supported anymore and I am normally not
doing any kernel work, I was wondering if somebody has done that before or
can help me a little with some fundamentals:-):
I read through the CE5 docu and it says "All MIPS platforms have been
migrated into one".
(no more NKMIPSIIb.lib for example).
Well - does that mean the I can use the mips NK.lib for my BSP?
Next there are tons of cool nice little libraries under
"\platform\common\lib\mipsii\"
But which ones to use for the 4121?
For example: One of the migration steps I have to do is to create the
OEMCacheRancheFlush function.
THe docu says I can simply use one form the common\libs directory ....but
which one to use?
There are
oal_cache.lib
oal_cache_mips.lib
oal_cache_mips32.lib
oal_cache_vr4131.lib (not exactly the same as my CPU but very close ... I
hope:-( )
This library confusion continues with "oal_intr...lib" and other libs...
I do have a 4.1 kernel but it does not expose all functions/methods/apis
that CE needs...
Does anybody have a good hint how I should start and what I should use?
Chris Muench
(Embedded MVP - but normally above the kernel:-)) Tag: Virtual Memory Page size Tag: 58686
**REPOST** ATA problem with multi PCI-IDE cards.
I have tried only with two PCI-IDE s with one disk connected to each of them
(as masters)...which doesn't work......any problems with this configuration?
--
cheers,
Joseph Garibaldi.
B'lore, India.
################################################################
"Ten" <nospam@nospam.net> wrote in message
news:ugeZuretEHA.2876@TK2MSFTNGP14.phx.gbl...
> Are you using multiple drives on each PCI IDE card or only masters on each
> card?
>
################################################################
talking about ATA driver, has anybody tried the driver with multi-PCI IDE s
?? (WinCE 4.2)
I am facing a peculiar problem here with the upper byte of every word read
from the data register being 0 (which obviously is a problem for both
Identify Data and PIO modes)..This happens only when I work with multi (have
tried it only with two) PCI-IDE s and this corruption happens only with the
pci IDE card which has a greater PCI Device number. The pci IDE card with
lesser PCI Device Number works just fine.
With one PCI - IDE device, it works fine.
--
cheers,
Joseph Garibaldi.
B'lore, India. Tag: Virtual Memory Page size Tag: 58678
Failed to add project in PB4.2
Hi,
I tried to add an existing project to my workspace in PB 4.2, through
project->Insert->Existing project, but did not get any result.
Does anyone know the reseaon?
Thanks
JWU Tag: Virtual Memory Page size Tag: 58677
"?ASP Support" in PB 4.2 Platform Feature view and ASP no longer w
I have had Web Server + ASP support in and working for awhile in my platform
but now I can't open an ASP page (Error 501/505). The CE device will serve
html files but refuses to open the simplest ASP file.
Also my Platform Feature View shows question marks as follows:
!Web Server (HTTPD)
?Active Server Pages (ASP) Support
?Device Management ISAPI Extension
?Web Server Administration ISAPI
any seen this? what do the question marks mean? Platform builds with no
warnings or errors and runs otherwise... Tag: Virtual Memory Page size Tag: 58674
USB Client Driver Development
I'm doing development on the PPC 2003 environment. I'm trying to develop a
client USB driver for PPC 2003 to communicate with our host device. The
development environment that we use is MS EVC++ 4.0, the specific device this
is being attempted with is the HP IPAQ 6315. Does anyone here have any
experience with doing USB development with the PPC 2003? Some of the issues
of come up against is it appears from the Win CE 4.2 SDK that it only
supports host functionality while the Hp device itself and most PDA's only
have client controllers. The device enumerates fine, I was wondering how I
could go about getting access to endpoints to send and receive data?
--
Jeremy T.
Software Engineer Tag: Virtual Memory Page size Tag: 58673
CE 5.0 pcibus registry question
Hi all,
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI]
"Dll"="PCIbus.dll"
"Order"=dword:20
"Flags"=dword:8
"BusIoctl"=dword:2a0048
What doest the Flags=dword:8 mean ?
In CE 4.X the Flags is equal to "1".
I use "1" in CE 4.x and my USB HID works fine,
but I have to use "8" to make it work in CE 5.0.
I can not find the document about the Flags.
Please tell me what doest the flags mean?
Thanks,
Bryan Tag: Virtual Memory Page size Tag: 58670
WinCE QFE releases for the weeks of October 11 - October 22, 2004
The following updates for Windows CE have been recently released and are
available for download. More information for each update is provided in the
Readme document available after the individual update(s) has been installed.
Windows CE .NET 4.2
Update name: Windows CE .NET 4.2 Platform Builder QFE 041001_KB883650
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=BE2FC0C5-1688-499E-91C3-260501748B64&displaylang=en
Component: DirectShow
Description: The audio driver does not allow ring tones to be played through
Windows Media Player DirectShow engine and may cause the device to cease
responding.
Update name: Windows CE .NET 4.2 Platform Builder QFE 041008_KB885418
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=1BDD6BE4-1B5A-4A11-8B36-212606EA90B3&displaylang=en
Component: PPP
Description: PPP Server reads incorrect data from the registry at startup
and may get improperly configured.
Update name: Windows CE .NET 4.2 Platform Builder QFE 041015_KB887538
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=1A9E1A71-262D-4928-8110-2BD13FE09F5B&displaylang=en
Component: WMP Control
Description: A buffer overrun may occur when trying to open a URL of greater
than 248 characters.
Update name: Windows CE .NET 4.2 Platform Builder QFE 041015_KB886682
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=BDE84C75-764D-4690-95B1-D68385EFA801&displaylang=en
Component: HTTPD
Description: A Windows CE .NET 4.2 device configured as a Web Server may
timeout and fail large file uploads.
Update name: Windows CE .NET 4.2 Platform Builder QFE 041015_KB867779
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=4EED36EE-9F6D-4DF8-B1E4-AA348463CC98&displaylang=en
Component: EAP
Description: Windows CE .NET 4.2 devices using PEAP over 802.11 may leak
memory with every reauthentication request.
Download Link - directs you to the Microsoft Download Center page
associated with each update. Each update is contained in a self-extracting
compressed file.
Component - displays the module(s) updated in each QFE
Description - provides more information on the issue(s) fixed
**DO NOT REPLY - THIS E-MAIL IS BEING SENT TO YOU FROM AN UNMONITORED
ACCOUNT. Due to Microsoft's security requirements, the hyperlink(s)
contained in this e-mail may not automatically open your browser. If you
experience any difficulty, please copy the link and paste into your browser.
** Tag: Virtual Memory Page size Tag: 58666
Version Control for Platform Builder
Hello Experts,
What are some of the effective ways to do version control with Platform
Builder? Right now I have the code under:
PLATFORM\<myplatform>
PLATFORM\COMMON\SRC\ARM\INTEL\<mycommon>
Then, there comes the project, and the .cec file.
What do you think would make sense and be easy to maintain? Is there way we
can change the setting so that we can get the files from the same common
root directory?
Thanks,
Nguyen Tag: Virtual Memory Page size Tag: 58663
WinCE hang on load symbol for serial
Any advice will be high appreciated!
I have struggle with it for several days. Another working weekend will come
:(
First, I assume that there maybe something wrong with the PDD part, eh?
Because my BSP was cloned from "lubbock" for PB4.0, and I updated it to
PB4.2,
maybe there was something changed.
But I am confused by the drvier source, XSC1_SER16550, XSC1_SerialPdd,
COM_MDD, COM_MDD2. Is there anyone so kind to give me a clue to understand
them?
I know the layered drive is divided into MDD and PDD, but why here are 4
modules?
btw, how to find the definition of SSDI between MDD and PDD for a special
driver like this serial comm-port?
I am full of gratitude to you for any help.
************************************************************************************************************************************
************************************************************************************************************************************
My OS image startup process is stalled on loading symbols for _SERIAL.DL
the latest messages from debug output window are:
========================================================================================================
4294773656 PID:23c4948e TID:23c76eb6 0x83c49000:
DEVICE!ActivateDeviceEx(Drivers\BuiltIn\Serial) entered
4294773670 PID:23c4948e TID:23c76eb6 0x83c49000: >>> Loading module
xsc1bd_serial.dll at address 0x02EC0000-0x02EE4000 (RW data at
0x01F46000-0x01F46608)
Loaded symbols for 'D:\MYWORK\LINDA\RELDIR\SITSANGDEBUG\XSC1BD_SERIAL.DLL'
=========================================================================================================
The serial driver was cloned from lubbock.
the PDD source should be
D:\WINCE420\PLATFORM\Sitsang\drivers\SERIAL\XSC1_SER16550\
and ...\SERIAL\XSC1_SerialPdd\
MDD source should be
D:\WINCE420\PUBLIC\COMMON\OAK\DRIVERS\SERIAL\COM_MDD
and ..\SERIAL\COM_MDD2
Am I right? I am not sure why there are two MDD's ?
In the DllEntry of MDD file ((SerialDllEntry() of MDD; DllEntry() of MDD2))
there is a statement:
---------------------------------------------
{
if ( dwReason == DLL_PROCESS_ATTACH ) {
DEBUGREGISTER(hinstDll);
DEBUGMSG (ZONE_INIT, (TEXT("serial port process attach\r\n")));
---------------------------------------------
But why I can not see the debug messagae "serial port process attach";
What should winCE do before call into DllEntry?
Thanks a lot!! Tag: Virtual Memory Page size Tag: 58655
Priority of connection used to access Internet
I have an issue that hope to get help from someone here
and I will appreaciate that.
I am using Windows CE 4.2, I just wondering
that if both connection GPRS and WiFi are available at the
same time.
- Windows CE will use which one to access Internet?
- Could we configure the priority of connection? if yes,
how??
I am really hope some one may helping me to verify the
issue above.
Thank you very much!
Best regards,
Lamberto Tag: Virtual Memory Page size Tag: 58654
Book about Platform Builder
Hi Guys,
since Windows CE 3.0 there are a lot of changes in Windows CE (5.0), but
all i can find about PB is the good ol' reference 'Building Powerful
Platforms with Windows CE'. In the time of 3.0 it gave me a lot of
informations about how PB internaly works and how to write drivers and
applications. Also under CE 4.x it was a great source although there are
several changes (e.g. creating BSPs). Now with CE 5.0 further changes came
into platform builder including a lot of changes about directory
structures and how all the files are organized. Due to the fact that i
already got 'some' experience from the 'older' OSes i'm able to came
through the new version and find everything needed. But you can't memorize
everything all the time and writing everything onto several papers (or my
own documentation about PB) isn't also the best way.
So when will there be a new book about Platform Builder??? (Maybe
'Developing Windows CE.net Devices' will be published some lovely day)
Regards,
Oliver Münchow
--
---------------------------------------
Gesytec GmbH eMail:
52076 Aachen omuenchowATgesytecDOTde
http://www.gesytec.de Tag: Virtual Memory Page size Tag: 58653
NDIS: Adapter PCI\XXX1 - NOT using OPTIMIZED RX handler
What does this debug message mean?
NDIS: Adapter PCI\XXX1 - NOT using OPTIMIZED RX handler
This message appears in the debug window, i think it comes
from the pb 5.o, who know this message? Tag: Virtual Memory Page size Tag: 58644
how to set BSP_NO variables in .cec file?
Dear gurus,
I'm using CEPB 5.0. In cec files, I set BSP_NO variable as following:
Variable( "BSP_NOUSB", )
so when I add the USB driver into my platform, I got
BSP_NOUSB=
but when I remove the USB driver from the platform, how can I get
BSP_NOUSB=1?
I know I can set BSP_NOUSB=1 in command line, .bib file, or other
places. But what I really wanted is the variable is set automatically
when I remove the driver. Can you help me? Tag: Virtual Memory Page size Tag: 58643
Windows CE .NET 4.1 Autodial with LAN connectivity
Hi to all the CE gurus
I'm trying to set up a CE platform that can do auto dial-up while
having a local LAN connection when the IP address cannot be resolved.
According to CE's documentation, the autodial does not try to make a
connection when there is any form of connectivity.
Unfortunately this is my situation. I have a local private LAN
(10.0.0.xxx) using fixed IP addresses for local devices, but I also
need to dial up when some third party software wants to connect to an
ISP somewhere else.
Is there anyway to set up CE 4.1 to force a connection on the modem
port?
All helps are appreciated.
Cheers
Weili Tag: Virtual Memory Page size Tag: 58638
error in oemioctl.c for standard x86 platform (PB 4.2)
I am using the standard x86 based BSP and i am getting this error on
oemioctl.c
I cannot trace anything relating to this, anyone has any ideas what
this
could be related to. Hardware platform I am using is EPIA x86 based.
Thanks in advance for your replies.
c:\wince420\platform\viacepc\kernel\hal\.\oemioctl.c(1200) : error
C2196: case value '16859236' already used
c:\wince420\platform\viacepc\kernel\hal\link() : error LNK1181: cannot
open input file 'obj\x86\retail\oemioctl.obj'
NMAKE : U1073: don't know how to make
'C:\WINCE420\platform\VIACEPC\lib\x86\retail\hal.lib'
NMAKE : U1073: don't know how to make
'C:\WINCE420\platform\VIACEPC\lib\x86\retail\hal.lib'
NMAKE : U1073: don't know how to make
'C:\WINCE420\platform\VIACEPC\lib\x86\retail\hal.lib' Tag: Virtual Memory Page size Tag: 58630
How do I route standard output to serial port
Hello experts,
I have a headless device. How do I route stdout messages to serial port
(Debug port)?
Thanks,
Nguyen Tag: Virtual Memory Page size Tag: 58618
Link warning in my Device Driver
Using PB 4.2
Why Am I getting this error when my device driver (.dll) is linking?
MyDriver.dll warning LNK4060: entrypoint '__DllMainCrtStartup' is not __stdcall with 12 bytes of
arguments; image may not run
LINK : WARNING lnk4096: /base VALUE '0X100000' is invalid for Windows 95 and Windows 98; image may
not run.
I'm doing a CE device driver. How do I get rid of the above warning message.
Do I need a __DllMainCrtStartup entrypoint?
The above only happens in release. In debug, I don't get these warning errors.
Thanks.
John Tag: Virtual Memory Page size Tag: 58605
Warning: Unable to do imports from my.exe to Kernel32.dll - will late bind
Lets try this post again
Using PB 4.2 to compile myapp.exe
I'm trying to add some of my applications to the image and I keep getting this warning message,
"Warning: Unable to do imports from myapp.exe to KERNEL32.dll - will late bind.
The feature that will add my applications will be given to our customers so they can added our
applications and driver to their image. I would really like to get rid of this warning so I wouldn't
have to explain it to our customers when they build their image.
John Tag: Virtual Memory Page size Tag: 58601
What's "Native" in "native wireless LAN"?
I'm considering the benefits of migrating from 4.1 to 4.2. We have some
ethereal desire for supporting wireless LAN. I noticed that 4.1 supports
some wireless LAN capability but 4.2 boasts "native" wireless LAN. Can
anyone explain what native wireless is? I know very little about wireless
networking. Tag: Virtual Memory Page size Tag: 58597
"Add Driver" catalog/BSP dependency issue
I'm using the PXA27x developer's kit (WinCE 5.0) and have cloned the
MainstoneII platform. Using the BSP wizard I've added a NDIS driver for
the LAN91C111 Ethernet controller. In the catalog, the driver seems to end
up in the right place, i.e. in the cloned BSP under "Device
Drivers\Networking\Local Area Networking (LAN) devices\LAN91C111".
Inspecting the generated cec-file entries for my added driver, these look
(as expected) very similar to the corresponding entries for the global LAN
drivers (defined in netcard.cec). I can't e.g. find any added dependencies
for my added driver.
However, when I add my added driver to my OS design, the driver ends up
with a red cross in the driver list, indicating that it will not be
included in my build. When inspecting why my driver is excluded I'm told
to add any of the following features;
- USB Flash Config Tool
- RNDIS client
- Wireless LAN (802.11) STA - Automatic Configuration and 802.1x
- USB Remote NDIS class driver
If I include one of the global LAN drivers instead, e.g. RealTek RTL8139,
I get no dependency errors (i.e. no red cross).
Since the cec-dependencies look the same, why am I getting these
dependencies for my own added BSP driver when I don't get them for a
global driver ? Where can I find (and change) these dependencies when
adding my driver to the BSP ?
Regards,
Leif O
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/ Tag: Virtual Memory Page size Tag: 58595
CE image for Freescale i.MX1 doesn't run user apps
We produced a CE.NET 4.2 image for the Freescale MC9328MX1ADS/B board
platform, using the "Mobile Handheld" profile of Platform Builder. The image
ran on the board and we could also run built-in CE applications like file
viewers, etc. Then we loaded our own "Hello World" app compiled with eVC++,
but it didn't run. Neither did it crash! There was no response at all when we
clicked the icon of this application. And the debugger also didn't function.
But when we use a pre-compiled CE image provided by Freescale, the same
application runs.
What is wrong with our CE image??? Tag: Virtual Memory Page size Tag: 58590
Direct 3D at half speed
Hi,
I have 2 platforms (CE 4.2) that run on the same hardware with the same
Direct 3D video driver. Both are release kernels.
On one platform I get about 20 fps on the other one I barely get 10 fps with
the exact same 3D app.
Anybody has a clue where this could be coming from ?
Thanx!
Mike Tag: Virtual Memory Page size Tag: 58589
Desktop PC mainboard for Windows CE .NET 4.2
Hi all,
I was asked if desktop PC mainboards are eligible to use with Windows CE
.NET 4.2 . I made a quick research at www.microsoft.embeddedoem.com about
the supported processors and drivers and BSPs. So far as I understand if a
board has one of the supported processors and there are drivers for certain
chipsets on it (such as audio, video, LAN/WAN, serial, parallel, USB ports,
etc.) , I can use that board with Windows CE .NET 4.2. However I will
probably not get a bsp support since the configurations may vary or the oem
manufacturer may not support embedded operating systems on driver basis.
I will accept opinions about this subject. Any experiences or
recommendations are also welcome. Thanks in advance,
--
Selin Metin
selinm_at_esit_dot_com_dot_tr Tag: Virtual Memory Page size Tag: 58588
Kernel Tracker / CeLog issues
Hi All,
I have an issue which I've been looking for a solution for a couple of
days (CE .NET 4.2).
The problem is that Remote Kernel Tracker displays the following when
I connect to our device (Kitl stream):
"Remote Kernel Tracker detected invalid timestamps on some data while
reading from the file or connection stream. Remote Kernel Tracker has
corrected the timestamps to the best of its ability. Would you like to
continue data collection?"
It manages to get a few samples but these all seem to occur at the
same time-instance.
I've installed a patch from Microsoft which should fix a similar
problem (Timestamp error in Remote Kernel Tracker KB826381), but it
made no difference.
There also seems to be a problem with the CeLog (I've tried to compile
it and managed to get something out of it (.lib's) but it's seemed to
make no difference either). I've tried to build the OS with different
settings (such as "Flush Events To Release Directory", "Enable
Profiling" etc.) but I get no output file called celog.clg in my
release directory and I cannot connect using Remote Kernel Tracker.
"CeLogFlush.exe" is present on the device and in the Registry/Init but
I cannot se it in the active processes after I start.
Could there be a problem in CeLog which results in no log/Remote
Kernel Tracker not working? Anyone got any ideas on what it could be?
What are the CeLog dependencies which could give these errors (Timers
or...)? What can I do to test if CeLog is working properly?
Best Regards,
Henrik Tag: Virtual Memory Page size Tag: 58586
Fail to load symbols for ..._SERIAL.DL
My OS image startup process is stalled on loading symbols for _SERIAL.DL
the latest messages from debug output window are:
========================================================================================================
4294773656 PID:23c4948e TID:23c76eb6 0x83c49000:
DEVICE!ActivateDeviceEx(Drivers\BuiltIn\Serial) entered
4294773670 PID:23c4948e TID:23c76eb6 0x83c49000: >>> Loading module
xsc1bd_serial.dll at address 0x02EC0000-0x02EE4000 (RW data at
0x01F46000-0x01F46608)
Loaded symbols for 'D:\MYWORK\LINDA\RELDIR\SITSANGDEBUG\XSC1BD_SERIAL.DLL'
=========================================================================================================
The serial driver was cloned from lubbock.
the PDD source should be
D:\WINCE420\PLATFORM\Sitsang\drivers\SERIAL\XSC1_SER16550\
and ...\SERIAL\XSC1_SerialPdd\
MDD source should be
D:\WINCE420\PUBLIC\COMMON\OAK\DRIVERS\SERIAL\COM_MDD
and ..\SERIAL\COM_MDD2
Am I right? I am not sure why there are two MDD's ?
In the DllEntry of MDD file ((SerialDllEntry() of MDD; DllEntry() of MDD2))
there is a statement:
---------------------------------------------
{
if ( dwReason == DLL_PROCESS_ATTACH ) {
DEBUGREGISTER(hinstDll);
DEBUGMSG (ZONE_INIT, (TEXT("serial port process attach\r\n")));
---------------------------------------------
But why I can not see the debug messagae "serial port process attach";
What should winCE do before call into DllEntry?
Thanks a lot!! Tag: Virtual Memory Page size Tag: 58575
Retail/Debug
Hi,
my bootloader works fine in retail build, but it is not working in debug
build.
let me make it clear.
if it is a debug build, then the debug output is
Microsoft Windows CE Ethernet Bootloader Common Library Version 1.0 Built
Mar 13 2003 22:52:25
Windows CE Serial Bootloader Version 1.1
System ready!
Preparing for download...
Sending boot request...
Waiting for boot ack...
received non-download packet type
Sending boot request...
Waiting for boot ack...
Received boot ack
Received boot request ack... starting download
received non-download packet type
received non-download packet type
immediately I get a message like download failed. review your download
selection and configuration.
but the same, under retail build works perfectly fine.
any comments?
regards
Sujith Tag: Virtual Memory Page size Tag: 58574
Building Device Drivers in Platform Builder
Hello everybody,
Using Platform Builder 5.0, can one develope only device drivers and
test it on hardware device without building os design.
I just want to build usb device driver and not the os/bsp part. Is it
possible to write, debug/test drivers part only. Also what are
hardware supported by Platform Builder for testing purpose.
Is it possible to write driver dll or an application through "Platform
Builder 5.0" that should work on Windows CE 4.2?
Thanks in advance
Sunny Tag: Virtual Memory Page size Tag: 58573
How to enable 13M mode on PXA27x
Dear experts,
Have you enabled CPU 13M mode on PXA27x? I tryied it by referring to
Intel's spec. It seems that the CPU can enter and exit 13M mode. But after
several times, the system halts. Could you give me some info or share me
the sample code? Thanks! Tag: Virtual Memory Page size Tag: 58571
[Q]: Steve & Mike
Hi Steve & Mike,
With reference to your article [Understanding the File System Architecture
in Windows CE .NET]:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnembedded/html/embedded01012002.asp
You said in the above article that you may cover TFAT in the future[!]
article. I am not able to find any article on TFAT under
columns\GetEmbedded.
regards
sajid Tag: Virtual Memory Page size Tag: 58565
Can't get file server to work
Hello,
I've created an OS image which contains the following components:
- File Server (SYSGEN_SMB_FILE)
- File Server Customizable UI (SYSGEN_SMB_UI)
- NTLM (SYSGEN_AUTH_NTLM)
I also added the following to platform.reg:
----------------->
[HKEY_LOCAL_MACHINE\Services\SMBServer]
"AdapterList"="PCI\\RTL81391;VMINI1"
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares]
"UseAuthentication"=dword:0
[HKEY_LOCAL_MACHINE\Services\SMBServer\Shares\HardDisk]
"Type"=dword:0
"Path"="\\Hard Disk"
[HKEY_LOCAL_MACHINE\Ident]
"Name"="QcomSniffer"
"OrigName"="WindowsCE"
"Desc"="QCom Network Sniffer Board"
<-----------------
After downloading this image to my device, i open up IE on my dev PC and
type \\qcomsniffer on the address bar, but i get the error:
"Windows cannot find "\\qcomsniffer". Check the spelling and try again, or
try searching for the item by clicking the Start button and then clicking
Search.".
I can however ping the device from my dev PC. Am i missing something here?
In 4.2, the file server was setup very easily... has there been some major
changes made in CE 5.0? Thanks.
Michael--J. Tag: Virtual Memory Page size Tag: 58563
RDP Problem in CE
Hi all,
I connect to the TSE(RDP server) with the serial port
mapping of RDP 5.1/5.5(CE 4.2 & 5.0) function.
But the Serial port applications does not work except the
hyperterm.
I use a VB application with com port function and it does
not work either.
Is this a bug of RDP?
Thanks. Tag: Virtual Memory Page size Tag: 58562
Warning: Unable to do imports from my.exe to Kernel32.dll - will late bind
I'm trying to add some of my applications to the image and I keep getting this warning message,
"Warning: Unable to do imports from myapp.exe to KERNEL32.dll - will late bind.
The feature that will add my applications will be given to our customers so they can added our
applications and driver to their image. I would really like to get rid of this warning so I wouldn't
have to explain it to our customers when they build their image.
John Tag: Virtual Memory Page size Tag: 58555
ActiveSync Connection Process
Hello - I have a PXA55 based system that I am attempting to get ActiveSync
working over the USB Device Controller so that applications can be debugged.
We have the usual serial ports and USB device controller onboard the PXA255.
On the host PC side I can see the Windows CE Device / Microsoft USB Sync
under the Device Manager when I plug in the USB cable. The driver there is
as I expect it to be. ActiveSync on the Win CE device side however does not
establish a connection. I believe it is because the DeviceType is not
properly set somewhere in my registry of the Win CE device.
The following are loaded at startup: NDIS, Asyncmac, AFD, TAPI, unimodem,
ppp autoras, winsock and the Serial stream driver interface for the USB
Device Controller.
At the time of the cable plug in I see the following sequence (see attached
dump of the KITL debug messages - I enabled all debug zones on the
following: Afd, Asyncmac, Autoras, NDIS, PPP, TAPI and Unimodem):
1. The RS232 notify is sent and REPLLOG.EXE gets launched as expected.
2. REPLLOG sees the [HKCU\ControlPanel\Comm] registry entry.
3. REPLLOG spawns the RAPISERV process with the entry it found in #2. For
some reason RAPISERV thinks it is to use a DeviceType 2 (which I believe
according to unimodem.h is a DT_INTERNAL_MODEM)
4. RAPISERV finds the default entry and calls the Autoras which spawns the
RNAAPP process (a dialer, because of the [HKLM\Comm\Autoras] registry entry)
with the entry found in #2.
5. RAPISERV tells Autoras to start dialing and waits for a connection from
RNAAPP.
6. RNAAPP gets the RasBook entry as defined in #2 and does something with
the TAPI / Unimodem and PPP (I imagine attempting to establish a
connection).
As far as I know the RAS phone book entry does not have an indication of the
DeviceType to use. How do I force this to use the USB Function Driver
(SA_USB_SER)? Is it the "index" sub-key of the [HKLM\Comm\Autoras] registry
entry? That registry entry is actually in the COMMON.REG which is in the
PUBLIC/COMMON files so it's generally not a good idea to modify it. That
would mean that to use the ActiveSync you pretty much have to use COM1 for
the USB Function Driver. Just for testing purposes I modifed the COMMON.REG
file to change the "index" sub-key to 5 (since my USB Function Driver is
named COM5:). That did not work as I had hoped.
Do I have to create my own telephony service provider (TSP) for the TAPI to
call for that USB Function Driver (see the "tsp" sub-key) ?
Am I on the wrong track?
I have the following relevant registry entries on the Win CE device side:
[HKEY_CURRENT_USER\Comm\RasBook\Default RAS]
"DevCfg"=hex:\
10,00,00,00,05,00,00,00,00,01,00,00,00,4b,00,00,00,00,08,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00
"Entry"=hex:\
08,02,40,00,00,00,00,00,00,00,00,00,00,00,e1,01,00,00,00,00,9c,44,36,02,e8,\
ef,03,0e,00,00,00,00,00,00,00,00,08,ee,03,0e,a5,01,00,00,4f,01,00,00,b4,01,\
00,00,87,00,00,00,cc,cc,00,00,00,00,00,00,00,00,00,00,01,00,00,00,ad,00,00,\
00,4f,01,00,00,d3,01,00,00,50,01,00,00,88,2a,36,02,70,18,0e,00,30,f0,03,0e,\
00,00,00,00,00,00,00,00,50,ee,03,0e,48,f4,03,0e,90,f0,03,0e,fd,00,00,00,04,\
00,00,00,cc,cc,00,00,00,00,00,00,00,00,00,00,01,00,00,00,01,00,00,00,d8,70,\
e1,01,00,00,00,00,00,00,00,00,30,6c,e1,01,00,00,00,00,a0,f0,03,0e,d8,e5,0f,\
00,30,18,0e,00,00,00,00,00,48,f4,03,0e,68,f4,03,0e,10,44,36,02,00,00,00,00,\
30,18,0e,00,88,2a,36,02,70,18,0e,00,e8,ef,03,0e,00,00,00,00,00,00,00,00,f8,\
f3,03,0e,01,00,00,00,00,00,00,00,30,18,0e,00,00,00,00,00,30,f0,03,0e,00,00,\
00,00,00,00,00,00,01,00,00,00,01,00,00,00,00,79,e1,01,d8,e5,0f,00,00,00,00,\
00,88,2a,36,02,70,18,0e,00,60,17,0b,00,ae,55,9f,d4,00,00,00,00,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,64,00,69,00,72,\
00,65,00,63,00,74,00,00,00,00,00,89,01,00,00,44,e8,07,00,00,00,00,00,09,00,\
00,00,00,00,55,00,53,00,42,00,20,00,43,00,61,00,62,00,6c,00,65,00,3a,00,00,\
00,00,00,00,00,18,00,00,00,0c,00,00,00,0c,aa,21,91,68,b8,9a,94,00,00,00,00,\
3c,13,36,02,41,00,00,00,41,00,00,00,00,00,00,00,00,00,00,00,9a,04,c9,d4,50,\
f8,ff,01,00,c8,ff,ff,58,63,f7,03,c8,e2,07,00,60,17,0b,00,ae,55,9f,d4,00,00,\
00,00,f8,ef,03,0e,c8,e2,07,00,c8,e2,07,00,b0,ca,03,00,00,00,00,00,3c,13,36,\
02,00,00,00,00,00,00,00,00,00,00,00,00,9a,04,c9,d4,c8,e2,07,00,ad,00,00,00,\
76,00,00,00,0a,00,00,00,91,00,00,00,ad,00,00,00,30,f0,03,0e,3c,13,36,02,ca,\
13,04,0e,00,00,00,00,02,00,00,00,89,01,00,00,00,00,00,00,00,00,00,00,00,00,\
00,00,01,00,00,00,6c,f0,03,0e,ca,13,04,0e,00,00,00,00,60,de,0f,08,0a,00,00,\
00,bc,78,01,00,ca,13,04,0e,00,00,00,00,00,00,00,00,0a,00,00,00,30,7a,10,00,\
ca,13,04,0e,89,01,00,00,00,00,00,00,00,00,00,00,00,00,00,00,4f,01,00,00,d3,\
01,00,00,50,01,00,00,d3,01,00,00,4f,01,00,00,ad,00,00,00,4f,01,00,00,d3,01,\
00,00,50,01,00,00,02,00,00,00,89,01,00,00,60,17,0b,00,ae,55,9f,d4,d4,f0,03,\
0e,78,54,01,00,60,17,0b,00,0a,00,00,00,60,84,01,00,00,00,00,00,00,00,00,00,\
00,00,00,00,01,00,00,00,04,f1,03,0e,01,00,00,02,00,00,00,00,ca,13,04,0e,ca,\
13,04,0e,02,00,00,00,1c,f1,03,0e,b8,97,07,00,30,7a,10,00,89,01,00,00,02,00,\
00,00,ca,13,04,0e,0d,00,00,00,0d,00,00,00,81,00,00,00,ca,13,04,0e,00,79,10,\
00,01,00,00,00,60,76,10,00,28,f2,03,0e,40,7a,07,00,00,ce,0f,00,bc,ee,04,00,\
60,17,0b,00,ae,55,9f,d4,90,81,10,00,20,00,00,00,00,ce,0f,00,00,00,00,00,90,\
81,10,00,01,00,00,00,00,00,00,00,f4,c5,0e,00,00,00,00,00,a0,f2,03,0e,f4,c5,\
0e,00,da,1f,a5,d4,50,f8,ff,01,00,c8,ff,ff,40,50,f7,03,81,00,00,00,0d,00,00,\
00,00,00,00,00,e0,cb,03,00,50,f8,ff,01,00,c8,ff,ff,ca,13,04,0e,60,79,07,00,\
60,17,0b,00,ae,55,9f,d4,00,00,00,00,c4,f1,03,0e,60,79,07,00,60,79,07,00,b0,\
ca,03,00,d0,f1,03,0e,d4,f1,03,0e,00,00,00,00,00,00,00,00,00,00,00,00,9a,04,\
c9,d4,60,79,07,00,ca,13,04,0e,e0,01,00,00,0a,00,00,00,34,ec,04,00,e0,01,00,\
00,00,00,00,00,00,00,00,00,ca,13,04,0e,00,00,00,00,81,00,00,00,0d,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,38,f2,03,0e,ca,13,04,0e,60,\
17,0b,00,ae,55,9f,d4,60,17,0b,00,ae,55,9f,d4,44,f2,03,0e,78,54,01,00,60,17,\
0b,00,80,f2,03,0e,00,00,00,00,00,00,00,0e,6c,86,20,91,0f,00,00,00,00,00,00,\
00,c4,b3,00,f0,00,00,00,00,64,f4,03,0e,00,c8,ff,ff,00,00,00,00,00,00,00,00,\
30,0c,04,00,d0,4e,10,00,90,5c,20,91,f1,ec,ff,ff,00,00,00,00,1f,00,00,00,90,\
0d,00,00,4c,65,f9,03,00,00,00,00
[HKEY_CURRENT_USER\ControlPanel\Comm]
"AutoCnct"=dword:00000001
"Cnct"="Default RAS"
[HKEY_LOCAL_MACHINE\Comm\AsyncMac]
"DisplayName"="AsyncMac NDISWAN Miniport"
"Group"="NDIS"
"ImagePath"="AsyncMac.dll"
[HKEY_LOCAL_MACHINE\Comm\AsyncMac\Linkage]
"Route"=hex(7):\
41,73,79,6e,63,4d,61,63,31,00,00,00,00
[HKEY_LOCAL_MACHINE\Comm\AsyncMac1]
"DisplayName"="AsyncMac NDISWAN Miniport"
"Group"="NDIS"
[HKEY_LOCAL_MACHINE\Comm\AsyncMac1\Parms]
"BusNumber"=dword:00000000
"BusType"=dword:00000000
"DisablePowerManagement"=dword:00000001
[HKEY_LOCAL_MACHINE\Comm\Autoras]
"Dialer"="rnaapp.exe"
"NoPromptOpt"="-p"
"RasEntryOpt"="-e"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\autoras]
"Prefix"="ARS"
"Dll"="autoras.dll"
"Index"=dword:00000001
"Order"=dword:00000004
(I tried changing "index" to 5, with no luck)
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"Tsp"="Unimodem.dll"
"Dll"="serial.Dll"
"IoBase"=dword:ad800000
"Irq"=dword:00000015
"IoLen"=dword:00000024
"DeviceArrayIndex"=dword:00000002
"Index"=dword:00000002
"Prefix"="COM"
"Order"=dword:00000009
"DeviceType"=dword:00000000
"FriendlyName"="Right Display (HWUART) on COM2:"
"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
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial5]
"Tsp"="Unimodem.dll"
"Dll"="sa_usb_ser.Dll"
"IoBase"=dword:ad800000
"Irq"=dword:00000015
"IoLen"=dword:00000024
"DeviceArrayIndex"=dword:00000005
"Index"=dword:00000005
"Prefix"="COM"
"Order"=dword:00000009
"DeviceType"=dword:00000000
"FriendlyName"="USB Serial Function (USB) on COM5:"
"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
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TAPI]
"Dll"="TAPI.dll"
"Order"=dword:00000001
[HKEY_LOCAL_MACHINE\Drivers\Unimodem]
"DevConfig"=hex:\
10,00,00,00,78,00,00,00,10,01,00,00,00,4b,00,00,00,00,08,00,00,00,00,00,00
[HKEY_LOCAL_MACHINE\ExtModems\HayesCompat]
"Port"="COM1:"
"DeviceType"=dword:00000001
"FriendlyName"="Hayes Compatible on COM1:" Tag: Virtual Memory Page size Tag: 58552
Request for comment on my stream driver approach
I have implemented a stream driver to give access to a sensor on our board.
In the driver's init function, I start a thread to periodically average
several readings from the sensor and store the average in a variable global
to the driver code. Applications access the sensor readings through the
read function, which just copies the current sensor average from the global
variable to the buffer passed in the call. I use a mutex to protect access
to the global variable in the thread code and the read function. Does this
sound like a correct way to implement such a driver?
Thanks for any comments.
--
Frank D. Lombardo
Turning Point Technology, Inc.
Frank at TurningPointOnline dot com Tag: Virtual Memory Page size Tag: 58547
BSP driver migration from 4.2 to 5.0, OSDesignView
I am doing a BSP migration from 4.2 to 5.0 evaluation version. As our
drivers are thoroughly tested for our purposes we would in many cases
like to use them instead of the drivers included in version 5.0. I
therefore generated a BSP based on Intel PXA27x and added my drivers
to the SRC\DRIVERS directory and updated the dirs file. I then added
them to the BSP by using the BSP Wizard's Add Driver functionality. I
also modified entries in the platform.bib where applicable. The new
BSP looks as expected in the Catalog with all drivers I added present.
When I built a new Platform using this new BSP, the only item that
shows up in OSDesignView under the BSP is the bootloader. All others
are not present. I tried to add them by right clicking onthe item and
doing an Add to OS Design, but this only made some of the drivers show
up, not all.
When I compile the Platform using Build OS -> Sysgen with Clean, Copy
Files and Make Run Time Image options set, my drivers compile
(although I see they do not get cleaned unless you delete the obj
files). I also see them included in the image as dlls in the end of
the build.
What files do Platform Builder use when setting up the OSDesignView?
Is the OSDesignView view I describe expected when adding custom
drivers? Is my approach to adding the drivers correct?
Regards,
Inger Tag: Virtual Memory Page size Tag: 58541
How to Debug USB device
I want to find out why my usb disk can not be used in my
platform, so guess can make it in debug mode.
But when I built a debug one, the device did not have
response after the usb disk connected. I can not jump to
usbd.dll to find out why.
Nothing out.
Does anyone can give me a hand? thanks. Tag: Virtual Memory Page size Tag: 58535
Remote display
Hi ,
Is there a possibility to have a remote display of a Windows CE device
that has no display card ? for example is it possible to use a stub display
driver (ddi_nop.dll) and activating VNC server on the Windows CE device ?
Thanks Tag: Virtual Memory Page size Tag: 58528
WinCE 5.0 PAN NAP
Hi All,
I'm using the following registry for PAN user.
[HKEY_LOCAL_MACHINE\Comm\BTPAN1\Parms]
"BusNumber"=dword:0
"BusType"=dword:0
"AdapterType"="PANU"
"ServiceId"="{00001115-0000-1000-8000-00805f9b34fb}" ; PANU
"FriendlyName"="Personal Ad-hoc Network"
"Description"="Bluetooth PANU service"
"ConnectionTimeout"=dword:7530 ; 30000
"AcceptConnections"=dword:1
"MaxConnections"=dword:10
I want to know the registry settings for PAN network access point.
What is the ServiceId for NAP.
Thanks
Anand Tag: Virtual Memory Page size Tag: 58526
Help: extract image from set top box
I am trying to connect to a set top box with a CE 4.2 set top box on it using
Platform Builder. The image does not allow updates to its registry, so I am
trying to pull the image from the box so that I can manipulate it with
platform builder. Do I need the original image to do this? If I can just
pull the image from the box, how do I do it?
Is there a tool, within Platform Builder or otherwise, that I can use to
modify the registry on the set top box without rebuilding, etc...? How would
I connect?
Thanks for your help.
...Mike Tag: Virtual Memory Page size Tag: 58525
CE 5.0 .reg file question
Hi,
I create a .cec component,
It is included in the TAB "file view" => project.
There is a registry file in the project.
But no matter how I build the platform or make image,
the PBuserProjects.reg does not contain the registry of
my cec. And the reginit.ini does not either.
The *.pbpxmls also has the data about RegFile.
Is this a problem on CE 5.0 ?
Bryan Tag: Virtual Memory Page size Tag: 58523
Proxim Orinoco Gold PC Card dirver compatibility
I try to use the Orinoco PCMCIA Card on my 4.2 platform (Embedded System
based on Samsung 2410). I'm able to load the driver and to see the network
Card in the Network Connection, but it seems not capable to connet to the AP
(I use a D-Link DWL-700AP, the same Card works fine on a XP-PC).
Somebody has used already the Orinoco Card? Tag: Virtual Memory Page size Tag: 58522
Several questions to develop driver with eVC
Several questions to develop driver with eVC
I have read Mike Hall's aticle <<SPOT the Geek and Windows CE Drivers>> in
MSDN
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnembedded/html/embedded03042003.asp
I think this article is very clear and useful for newbie developer.
But I still have several questions:
1. What and how to link the function name in driver and application?
For example, when I call CreateFile() in application, how does wince know
what to do?
How does the function ReadFile() in applicatin map to XXX_Read() in driver?
2. What's more, If I develop a driver with other exported function
(Other than XXX_Read() XXX_Write(), such as MyExpFunc() ), what should I
do?
That is, how to establish the link between exposed driver functions and
application functions.
3. Is there any conception of user-space and system-space just like driver
in Linux, where
we should use copytouser() and copyfromuser() to transfer parameters?
4. In Mike's article, he created source file in PB. But I can create a new
dll project in eVC either.
What's more, I can build it to a DLL and export the function using eVC.
My question is: How to import my registry to make my driver work in wince
OS, if I don't edit project.reg.
(Is it enough to import the registry? )
I think it's tedious to build the whole image and download it time after
time, just after a few change in source.
Is there any tool like "regsvr32" in desktop windows?
I have googled newsgroups and found that I was overwhelmed by too much
irrelative information :(
And the help doc about drivers seems not related to eVC.
Thanks a lot. Tag: Virtual Memory Page size Tag: 58518
Boot CE from hard drive
PB 4.2
I got my driver working using CEPC and uploading the image. Now what to create
an image and put it on a hard drive so that when the PC boots up, CE is started.
How do I do this? Tag: Virtual Memory Page size Tag: 58506
How to stop running VoIP phone application ?
Hi all,
Can anybody let me know a way to stop VoIP application running in the
startup. I checked all the registry files and could not find anything
related . Can somebody help me ?
Thanks
sri Tag: Virtual Memory Page size Tag: 58501
Serial KITL on XScale Platform problem
Has anyone been able to get a serial KITL connection (polled) from an XScale
platform to Platform Builder to work with 5.0 yet?
I'm still struggling to get this to work. (I've borrowed the CEPC version,
but still can't get Platform Builder to connect.) Is there some "trick"
that I'm overlooking?
Thanks,
JMerkle Tag: Virtual Memory Page size Tag: 58500
Dear experts,
Is there a way to find out the Virtual Memory page size on an ARM and x86
platform? I will need this to do some memory optimisation.
"g" <g@discussions.microsoft.com> дÈëÏûÏ¢ÐÂÎÅ:1A6F5233-77C1-4D03-ADD6-7A28CFF52F92@microsoft.com...
> Dear experts,
>
> Is there a way to find out the Virtual Memory page size on an ARM and x86
> platform? I will need this to do some memory optimisation.
>
> Regards,
> G
Virtual Memory size setting........ for optimisation!!!!!
#include <pwindbas.h>
// MEMORIA PAGE
#define MEMORY_PAGE 1024 // only 1024MB for StorageMemory
SetSystemMemoryDivision( MEMORY_PAGE );
Mike.....
"g" <g@discussions.microsoft.com> ha scritto nel messaggio
news:1A6F5233-77C1-4D03-ADD6-7A28CFF52F92@microsoft.com...
> Dear experts,
>
> Is there a way to find out the Virtual Memory page size on an ARM and x86
> platform? I will need this to do some memory optimisation.
>
> Regards,
> G