shell.exe is not loading
Hi all,
I am building a GATEWAY platform on INTEL XSCALE processor on Win ce
5.0.
When the runtime image is downloaded,the system does not load
"shell.exe".I dont know why it is happening.
The registry settings are
; @CESYSGEN IF CE_MODULES_SHELL
IF IMGNOKITL !
"Launch10"="shell.exe"
ENDIF IMGNOKITL !
; @CESYSGEN ENDIF
; @CESYSGEN IF CE_MODULES_DEVICE
"Launch20"="device.exe"
; @CESYSGEN IF CE_MODULES_SHELL
IF IMGNOKITL !
"Depend20"=hex:0a,00
ENDIF IMGNOKITL !
in common.reg.
When the system starts loading the \init applications ,the first
application loaded is device.exe after filesys.exe.The debug messages
are
4294772700 PID:3cb7002 TID:e3c9e642 0x83c9ea64: InitMUI: DISABLED
(-1039729896)
4294772702 PID:83c9c3da TID:83c9c3b6 0x83c9c174: FS: Creating signal
event SYSTEM/ShellAPIReady
4294772703 PID:83c9c3da TID:83c9c3b6 0x83c9c174: FS: Creating signal
event SYSTEM/GweApiSetReady
4294772704 PID:83c9c3da TID:83c9c3b6 0x83c9c174: FS: Creating signal
event SYSTEM/PowerManagerReady
4294772704 PID:83c9c3da TID:83c9c3b6 0x83c9c174: FILESYS: Launching
apps
4294772706 PID:83c9c3da TID:83c9c3b6 0x83c9c174: FILESYS: Launching
device.exe
4294772716 PID:e3c79dce TID:e3c9c152 0x83c6f760: >>> Loading module
coredll.dll at address 0x03F40000-0x03FFB000 (RW data at
0x01FFE000-0x01FFF3C5)
4294772733 PID:e3c79dce TID:e3c9c152 0x83c6f760: >>> Loading module
pm.dll at address 0x03EF0000-0x03EF9000 (RW data at
0x01FF6000-0x01FF6574)
How is this possible.Can you solve it out
regards
Nitin Tag: New SDK option fails Tag: 73464
A little experiment
Hi guys,
could someone please try this out:
On the wince 5.0 display based platform which has
KernelDebugger/KITL/CESH/VMini enabled, boot in debug
mode (with KernelDebugger/KITL/CESH/VMini on) and then
try to debug a GUI based app from eVC4 SP4 using KITL transport
and CESH startup server. Just leave it to run and see if it will close
without exceptions.
I've tried that on three different platforms (ARMV4I and x86) using
different templates and corresponding Platform SDKs for eVC. The result
is always the same, when the GUI app is closing (WinMain execution finishes
and control is retured to the caller) this cause first-chance exeption in PB
debugger and eVC debugger shows that app jumped to some absolutely
crazy address (like 0xCCCCC on X86). Once You try to "Pass exception
to debugger" eVC will hang completely and die with "Program performed
an illegal operation and will be closed".
The problem seems to be connected with GUI apps only (both plain API
and MFC), for example apps generated by the eVC app wizard show
this behaviour verry well.
Another thing, the same app that caused exception during closing
in debug mode can be launched and closed without any exception
in non-debug mode (means normal execution).
Absolutely no problems with non-GUI apps, they close just nice
in both debug and non-debug modes.
Is this a known issue for wince 5.0? As far as I remember there
were no such problems in 4.2 and earalier versions.
Btw, there are no problems with debugging GUI apps
from BP itself, only eVC shows this behaviour. And it seems
the problem is KernelDebugger or KITL related. Tag: New SDK option fails Tag: 73462
warning is not shown in the PB4.20
hi all,
when I include my driver and give a build, the number of warnings is
increased by 1. But I couldn't find warning in the log. Is there any way to
find out what is the warning. Tag: New SDK option fails Tag: 73453
Two WAV drivers , how to use WAVE_MAPPER ?
Hi all:
In my platform,CE5.0,there are two wave drivers(WAV0 and WAV1),so in
my APPs,how do I use WAVE_MAPPER parameter to play sound stream out? In this
case, what does the WAVE_MAPPER equal to ? Tag: New SDK option fails Tag: 73435
CE_MODULES_DEVICE
This variable CE_MODULES_DEVICE is used in a number of places with PB files.
For example, in the dirs file of the driver section.
I have the problem whereby some of my drivers are not being compiled. and it
is those that are enclosed with a conditional on this var......
DIRS=\
DRVLIB\
# ETHDBG\
BLOCK\
# @CESYSGEN IF CE_MODULES_DEVICE
DISPLAY\
KEYBDDR\
KEYPAD\
SDHC\
AUDIO\
SERIAL\
EMMA\
BACKLIGHT\
PCCARD\
PWM\
ONEWIRE\
ATAPI \
USB
# BATTDRVR\
# @CESYSGEN ENDIF CE_MODULES_DEVICE
My question is why? What sets this var to TRUE? what am I doing (or not)
that causes this?
I have done a sysgen with "Clean before building" as well.
Thanks in advance, Stewart. Tag: New SDK option fails Tag: 73433
Using dash (-) and @ symbols as a prefix of statements in makefiles??
Hi community.
I am a new in Windows CE world, and recently started to learn this new
cool thing. Trying to understand targets and destinations of the
various files copied to the image, I wanted to print out some
environment variables used in makefile.
I found that a lot of statements there start from either -@ or just
from @, like these lines:
-@xcopy /D /I $(SG_INPUT_ROOT)\oak\files\*.2bp
$(SG_OUTPUT_ROOT)\oak\files
or
@echo Copying $@.* or
@set TARGETTYPE=DYNLINK
but sometimes, I can find statements without -@ as a prefix such as
set CPLMAIN_RES=%%CPLMAIN_RES%% $@P.res
Could anybody explain usage of these "special symbols"? Or just simply
point me to the appropriate RTFM?
Thanks,
Alex Tag: New SDK option fails Tag: 73429
screen resolution & LOADCEPC & BIOSLOADER
Hello,
I am puzzled trying to understand relationship between
target system (x86) Display VGA and LOADCEPC
and
target system (x86) Display VGA and BIOSLOADER
Although I set screen resolution in platform.reg
[HKEY_LOCAL_MACHINE\Drivers\Display\Via]
The screen resolution *never* changes when I boot my test system with
LOADCEPC.
Could someone please explain me disply resolution setting difference among
these situations
booting with LOADCEPC (EBOOT)
booting with BIOSLOADER
setting in platform.reg
TIA Tag: New SDK option fails Tag: 73427
Driver registry info
Hi,
I have been putting together the pxa25xusfn (PXA255 USB function driver). I
borrowed registry
settings from the pxa270 version. However i've noticed that the pxa255 pdd
code expects Iobase
and Iolen as reg keys but the pxa270 driver i based it on uses Membase and
Memlen. I would
have thought reg settings for USB function drivers would be consistent.
There doesn't seem to be any doc saying what a USB function driver should
have as reg settings. I have worked
out what the pxa255 pdd needs by analysis of the code. Why is this
inconsistent? Tag: New SDK option fails Tag: 73426
How to export a WCE.NET4.2 SDK for VS.NET 2003
Hello,
I am new to the develop of WCE.NET. The hardware platform manufacturer
provides me with a BSP and a SDK for EVC4.0. But I want to develop the
application using
VS.NET 2003. Then I tried to build a SDK for VS.NET using PB4.2 by setting
.NET Compact Framework checkbox true in its Export SDK Wizard, and installed
the SDK.
But nothing new added in the VS.NET suportted devices. Would anyone give me
some
clues please?
Thanks in advance Tag: New SDK option fails Tag: 73421
invalid pointer inside a called function under kernal debugger
Under kernal bdebugger, a pointer is looked fine. However, it becomes invalid
once it is passed into a called function. Why? I am using Platform Builder
4.2 with lastest update. Tag: New SDK option fails Tag: 73415
object store compaction
A quick (and possible "no-brainer") question about the object store
compaction thread:
Does the object store compaction thread run, even if there are no
registry settings for it (i.e. -
[HKLM\System\ObjectStore\CompactionPrio256])? We are trying to
determine if this thread can be included/excluded and if it even runs
if there are no registry settings for it.
I have searched the threads but have not found a definative answer
yet...
Thanks. Tag: New SDK option fails Tag: 73412
windows xp hq filter
In windows xp with windows media player 10, there is a filter option if
you go to tools, options, performance, advance, and click on "use high
quality mode" instead of "use overlays", it manages to filter out videos
that have blockyness and rings in them.
In windows ce 5.0, I tried turning the post processing to level 4 in the
registry, which is the highest one and it doesn't seem to make a
difference where as the windows media player 10 option in windows xp
does. Is there such a filter built into windows ce 5.0 that I can use?
I know the technical name for it is VMR9 or video media renderer 9,
which uses directx 9. Tag: New SDK option fails Tag: 73411
Porting to 5.0, bad libraries
I just downloaded Windows CE 5.0 Evaluation Edition. I'm trying to build
for a Geode platform, so that is what I selected. I then did a build and
sysgen, created an empty project, and inserted the "hello" sample app into
the project. When I build the project, I get "Wininet.h not found". I
defined "_WIN32_WCE_NO_ WININET" in stdafx.h to get past that. I then got
about 80 linker errors on various MFC classes, none of them directly from my
code.
I didn't do anything fancy, this must be a common problem, but I've seen
nothing on the newsgroups.
Can anybody help?
-Russ Tag: New SDK option fails Tag: 73403
suspend process in driver
Hi,
I try to understand the suspend process. We have to create a stream driver
to drive a custom hardware on our platform. The problem is that hardware can
be replace when the platform is on suspend mode.
We created a GUI application to communicate using the driver to our
hardware. So, when a suspend occurs, what are the differents states before
the CPU will go to OFF.
Does it possible to our application to be stop in an IOCTRL of our Driver?
Does the PowerDown will occurs? On the resume State, Does the powerUp
function will be call before RESUME the application? if Yes, what the driver
can do in this situation because when the application will be resume, it will
continue the IOCTRL, so if the hardware as changed, How the driver can do to
be safe in all case?
Thank you very much
Alan Tag: New SDK option fails Tag: 73402
WinCE Update releases for the week of August 22, 2005 - August 26, 2005
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 5.0
Update name: Windows CE 5.0 Platform Builder Update 050819_KB905405
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=3018576A-7BB9-47E9-B635-F76EE49272AA&displaylang=en
Component: DirectX
Description: Windows Media Player may not be able to play ASX files.
Update name: Windows CE 5.0 Platform Builder Update 050824_KB904242
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=3F97A81E-E634-4A41-BC52-F45BDD978235&displaylang=en
Component: DirectX
Description: When a video is paused, pressing and holding FF/REW button may
cause the display to go black.
Windows CE 4.2
Update name: Windows CE .NET 4.2 Platform Builder Update 050819_KB901021
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=F9430951-B21F-44C2-835A-D7D5417BA819&displaylang=en
Component: MSHTML
Description: An exception may occur when browsing certain web sites.
Update name: Windows CE .NET 4.2 Platform Builder Update 050819_KB905202
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=8E048F8A-A2E7-40F5-B557-5802882BC4F3&displaylang=en
Component: Software Mixer
Description: When two or more threads use the mixer system resources, one
may get blocked by others and time out. This may result in software mixer
deadlock.
Update name: Windows CE .NET 4.2 Platform Builder Update 050822_KB900092
Download link:
http://www.microsoft.com/downloads/details.aspx?FamilyId=ECCDF5CB-7DC1-4678-BD8C-14926A1E51AC&displaylang=en
Component: COMM
Description: Winsock connections may get blocked after 256 connect/shutdown
cycles.
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 update
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: New SDK option fails Tag: 73397
Driver load error
Hi,
My usb function driver pxa25xusbfn.dll fails to load. It reaches
DLL_process_attach in the MDD and then
goes into Dllentry in PDD (not sure why there are 2 dllentry's ) then
returns to DevMgr code which later calls
DeleteDevice on which the driver unloads.
I get the following debug output:
DEVICE!CreateDevice: illegal entry point combination in driver DLL:
pxa25xusbfn.dll
To save me some debugging time, does anyone know why this error ocurs. Is it
something to do with the fact there
are 2 dllentry points.
Regards Tag: New SDK option fails Tag: 73394
Where do you go for updates?
Hi,
I am a new user of Platform Builder for WinCE 5.0, looking for updates and
fixes. On MSDN, I found a "Windows CE Updates" page:
http://msdn.microsoft.com/embedded/downloads/ce/wince/
It contains the quarterly updates for platform builder and, if you click on
the latest, it displays "What Others are Downloading" which shows additional
Platform Builder updates that are not listed on the "Windows CE Updates"
page. Where should I go for the complete, up-to-date list of updates to
Platform Builder (and embedded Visual C++)?
Thanks,
Michel Tag: New SDK option fails Tag: 73391
NdisMRegisterInterrupt DEBUGCHK in Wince 4.2
Hello,
I am writing an NDIS driver for a PCI NIC (Intel Pro Wireless 2200) on a
CEPC, for CE.net 4.2.
The platform is equiped with another Ethernet chip on the PCI bus. The
driver for this chip comes from Intel (E100CE.DLL, for 8255X network chips.)
Both NICs are wired to the first available PCI interrupt, which is IRQ6
(INTA) in my configuration.
When I enable the E100CE driver in my project, it is initialized before my
IPWL2200 driver and NdisMRegisterInterrupt produces this output:
Loaded 'G:\WINCE420\PUBLIC\EBB615EX\RELDIR\DEBUG\E100CE.DLL', no matching
symbolic information found.
4294778928 ==>NdisInitializeWrapper
4294778929 <==NdisInitializeWrapper
4294778931 ==>NdisMRegisterMiniport: NdisWrapperHandle 0004BBA0
4294778932 ==>ndisRegisterMiniportDriver: NdisWrapperHandle 0004BBA0
4294778933 <==ndisRegisterMiniportDriver: MiniBlock 0004BC10
4294778935 NdisMRegisterMiniport: MiniBlock 0004BC10
4294778936 <==NdisMRegisterMiniport: MiniBlock 0004BC10, Status 0
4294778940
4294778942 ndisMInitializeAdapter: Miniport 0004BE28,
4294778944 ==>ndisQueueMiniportOnDriver: Miniport 0004BE28, MiniBlock
0004BC10
4294778945 <==ndisQueueMiniportOnDriver: Miniport 0004BE28, MiniBlock
0004BC10, rc 1
4294778946 ==>NdisMSetAttributesEx: Miniport 0004BE28
4294778948 ==>NdisMMapIoSpace
4294778950 ***NDIS*** (a, 514)
4294778951 ==>NdisMRegisterInterrupt: Miniport 0004BE28 Vector 6
4294778953 0x8fbadbb8: NDIS:: CeConnectInterrupt() --> IRQ[6] SYSINTR[34]
4294778954 ***NDIS*** (a, 719)
4294778956 <==NdisMRegisterInterrupt: Miniport 0004BE28, Status 0
Then my driver initializes and a DEBUGCHK is issued by
NdisMRegisterInterrupt code:
Loaded symbols for 'G:\WINCE420\PUBLIC\EBB615EX\RELDIR\DEBUG\IPWL2200.DLL'
4294783878 ==>NdisInitializeWrapper
4294783879 <==NdisInitializeWrapper
4294783881 ==>NdisMRegisterMiniport: NdisWrapperHandle 000539A0
4294783882 ==>ndisRegisterMiniportDriver: NdisWrapperHandle 000539A0
4294783883 <==ndisRegisterMiniportDriver: MiniBlock 00053A10
4294783885 NdisMRegisterMiniport: MiniBlock 00053A10
4294783886 <==NdisMRegisterMiniport: MiniBlock 00053A10, Status 0
4294783889
4294783890 ndisMInitializeAdapter: Miniport 00053C28,
4294783892 ==>ndisQueueMiniportOnDriver: Miniport 00053C28, MiniBlock
00053A10
4294783893 <==ndisQueueMiniportOnDriver: Miniport 00053C28, MiniBlock
00053A10, rc 1
4294783899 ==>NdisMSetAttributesEx: Miniport 00053C28
4294783906 ==>NdisMMapIoSpace
4294783951 ***NDIS*** (a, 514)
4294783965 ==>NdisMRegisterInterrupt: Miniport 00053C28 Vector 6
4294784133 0x8fbadbb8: NDIS:: CeConnectInterrupt() --> IRQ[6] SYSINTR[33]
4294784154 0x8fbadbb8: Unknown: DEBUGCHK failed in file
d:\mckendric\private\winceos\comm\ndis51\sys\.\timerm.c at line 688
4294784187 ***NDIS*** (a, 719)
4294784197 <==NdisMRegisterInterrupt: Miniport 00053C28, Status 0
The call to NdisMRegisterInterrupt succeeds but my system hangs when the
2200 fires its first interrupt.
Both drivers use giisr.dll for their interrupt handling:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\E100CE]
;PCI Bus Enumeration Information
"Class"=dword:02
"SubClass"=dword:00
"ProgIF"=dword:0
"VendorID"=multi_sz:"8086","8086","8086"
"DeviceID"=multi_sz:"1209","1229","2449"
"Dll"="NDIS.dll"
"Entry"="NdisPCIBusDeviceInit"
"Transceiver"=dword:3
;Installable ISR Handler Information
"IsrDll"="giisr.dll"
"IsrHandler"="ISRHandler"
"PortIsIO"=dword:0
"PortOffset"=dword:0
"PortSize"=dword:4
"PortMask"=dword:20F0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\IPWL2200]
"Dll"="NDIS.dll"
"Class"=dword:02
"SubClass"=dword:80
"ProgIF"=dword:0
"VendorID"=multi_sz:"8086"
"DeviceID"=multi_sz:"4220"
"Entry"="NdisPCIBusDeviceInit"
;Installable ISR Handler Information
"IsrDll"="giisr.dll"
"IsrHandler"="ISRHandler"
"PortIsIO"=dword:0
"PortOffset"=dword:8
"PortSize"=dword:4
"PortMask"=dword:C5311832
As far as I could debug, after a sucessful call to CeConnectInterrupt,
NdisMRegisterInterrupt puts in a table indexed by the IRQ Vector
(InterruptVector, i.e. IRQ number) the handle of the calling miniport
(MiniportAdapterHandle).
The first time NdisMRegisterInterrupt is called, this table entry is NULL
upon entry so the first calling MiniportAdapterHandle is written at
Table[InterruptVector]; in addition a variable local to
NdisMRegisterInterrupt ([ebp-228h]) is set to TRUE.
The second time NdisMRegisterInterrupt is called, Table[InterruptVector] is
not NULL anymore so the DEBUGCHK is called, previously-mentionned local
variable is set to FALSE and the new MiniportAdapterHandle overwrites
previous Table[InterruptVector] value.
Please note that the [ebp-228h] variable is no used anymore.
I have 2 questions:
1) Is this DEBUGCHK really useful?
2) Does anybody here have an idea of what happens when the interrupt hangs
the system?
Thanks for your future answers.
--
Remi de Gravelaine
gravelaine at aton dash sys dot fr Tag: New SDK option fails Tag: 73385
Endless loop in serial driver when debugging with platform builder
Hi,
My configuration:
PB 4.2, x86 target.
I have a image that always loops endless in ser16550.c in the function
ClearPendingInts(..). The image is running fine on my colleagues PC's
and targets.
any ideas, thanks in advance
Reinhold Tag: New SDK option fails Tag: 73372
Mixer API - Need to modify my wavedev PDD to add mixer "mode" setting
I am trying to modify the mixer implementation in my wavedev pdd to
reflect some custom HW modifications. I have a audio jack that can be
used as the headphone output via an amp from the codex or by changing
some GPIO lines it can serve as a line input or mic input. Also I can
redirect the input to an internal speaker by putting the device in a
"bypass" mode. So I need to set a couple of "modes" if you will for my
audio device. This certainly seems like a mixer feature but doesn't
seem to fit in any of the predefined WPDMX_ type of messages? Any
thoughts about what makes sense? Tag: New SDK option fails Tag: 73362
Monolithic, non stream-interface, onboard Device Driver
I would like to create a Monolithic, non stream-interface, onboard
Device Driver. It doesn't fit any of the Device Classes that exist
for CE, and so I would like to provide a simple interface (non
stream-interface). How do I go about it and how do I provide the
interface for application developers? Is this essentially a "service"?
Even so, how do I export an API as part of a custom SDK via the SDK
export capability? I am having difficulty finding references to doing
this.
Thanks Tag: New SDK option fails Tag: 73359
File close event?
I got a file created handle from other application, But I can't know
the CloseHandle event, How do I know the file handle already closed?
Any ideal? Thanks.
-
Strickland Tag: New SDK option fails Tag: 73356
NDIS Protocol Driver?
I have read this paragraph 5 times and I'm still not sure what it means
"An NDIS protocol driver can support Transport Driver Interface (TDI) at its
upper edge, or it could export a private interface to a higher-level
kernel-mode driver, possibly through a transport stack of drivers, including
one that supports TDI at the top of the stack. For example, an NDIS protocol
driver can be the lowest module of a multi-module transport implementation
of a standard protocol, such as TCP/IP, with TDI support in the highest
module"
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wceddk40/html/cmconprotocoldrivers.asp
I know exactly what TDI is in win2000/XP and I thought winCE doesn't have a
TDI support... in 2000/xp and others TDI is the interface above TCP/IP stack
but it seems that in wince is bellow the TCP/IP....
could somebody please explain a bit on the paragraph... what would be a
scenario that one would want an NDISProtocol with upper edge of TDI?? Tag: New SDK option fails Tag: 73349
Management of flash by Win CE 5.00 filesystem
Hello,
I implemented a FMD to use FileSystem on a flash component.
It works fine but now I want to store important data in a file. So, I use
TFAT to prevent loss of data. I observed that sometime the FileSystem need
to erase a complete sector of the flash and this operation is long (between
0,2s and 0,5s) due to the component timing.
Is-it possible to predict when the FileSystem will have to erase a complete
sector ?
Is there any information available about the "garbage collector" of the
FileSystem ?
Is there an API available to order the FileSystem to erase now ?
Thank you for your help.
Laurent Tag: New SDK option fails Tag: 73344
howto enable calibration in control panel
PB 5.0
I added "Touch Screen (Stylus)" to my configuration, but there is no
calibration utility in control panel.
What do I need to get it ?
TIA Tag: New SDK option fails Tag: 73338
Persistent registry (Hive)
Hi there...
I'm currently working on a Windows CE 5.0 platform and were looking at
persistent registry possibilities.
Currently we have 32MB of flash and were wondering if it's possible to have
both an OS image and persistent registry in the same flash block ?
Does anyone have a hint to where I should start and how to get this working ?
Thanks in advance,
Mads. Tag: New SDK option fails Tag: 73325
minimal graphical desktop
I am trying to configure a CE OS using PB5.0 with a minimal graphical UI. I
want to start one App (written using embedded visual c++ without MFC) that
opens one window (no boarders, menu etc), so has the full CE screen available
for display of ICONS, and bitmaps. I also require keyboard input to the App
(but no mouse or Touch Screen).
Do I select "Standard Shel" under Grapgical Shell or can I ignore all this
as long as I have "Minimal GWES Config"?
Thanks in advance, Stewart Tag: New SDK option fails Tag: 73323
Pretec CF-cards and FAT!
Hello all,
I've having problems with Pretec's industrial grade CF-cards and CE 3.0.
Processor is PPC823. Cards are found but and initialized but CE cannot
understang the filesystem. CE always says asks to format the card. I click
'format', no error comes to screen. Explorer founds 'Storage Card', but it
cannot be write. I've tried to format the cards with XP (FAT16, I even tried
FAT32), it won't work either in CE.
Other question: Is there any other industrial grade flash card amnufacturers
than Pretec? Sandisk doesn't make industrial grade cards anymore.
Thanks, Janne
Some debug information:
<...>
0x80f17cbc: PCMCIA:CallClientISR - returned from Client ISR
0x80f17cbc: PDCardReadAttrByte Address: 410200 Offset: 1 Data: 80
0x80f17cbc: PDCardWriteAttrByte Address: 410200 Offset: 1 Data: 80
0x80f17cbc: PCMCIA:IREQInt - Calling InterruptDone
0x80ea24dc: ATADISK:ATAWaitForDisk - ata_status = 0x58
0x80ea24dc: ATDISK:DoDiskIO done - status=0
0x80ea24dc: FATFS!MountDisk: BPB_HiddenSectors(-973207947) != 0
0x80ea24dc: FATFS!InitVolume: sector 0 byte 0 suspicious (0xfa)
0x80ea24dc: FATFS!InitVolume: invalid BPB, volume deemed invalid
0x80ea24dc: No cache has been setup !!!
0x80ea24dc: ATADISK:GetFolderName - RegQueryValueEx(Folder) returned 87
0x80ea24dc: FATFS!GetDeviceValue(DSK2:): DriverKey='Drivers\PCMCIA\ATADisk',
ActiveKey='Drivers\Active\20'
0x80ea24dc: FATFS!GetDeviceValue(DSK2:):
RegQueryValueEx(HKLM\Drivers\PCMCIA\ATADisk\Folder) failed (87)
0x80ea24dc: FATFS!RegisterVolume: successfully mounted volume 0x000c3848 as
Storage Card
0x80ea24dc: FATFS!FATUIEvent(0x50134): Would you like the system to format
the Storage Card folder so that the system can use it?
WARNING: If you select Yes, any files in the Storage Card folder will be
erased!
0x80eb6e28: NOTIFICATION::XCeEventHasOccurred
0x80eb6e28: NOTIFICATION::HandleSystemEvent 7 /ADD DSK2:
<...> Tag: New SDK option fails Tag: 73320
strange DHCP problem with wireless LAN driver!!!!!!!!!!!!!!!!!!!!!!!!!
Hello all,
I am working on windows ce 4.2 image having my WLAN driver for
atheros 5212 chip set.
Driver loads fine and associates too with the AP.But it fails to
get IP when DHCP is enabled.
---->When i build DEBUG IMAGE(with KITL and DEBUGGER enabled) it
works fine it gets IP add form DHCP server
?--->BUT in RELEASE IMAGE it fails. I tried with static ip but it
fials to ping another machine ("in the same SUBNET").
I couldnt find the cause of problem , please help me..
Darshan Tag: New SDK option fails Tag: 73316
one device driver calling another device driver?
I am developing a battery driver. Since this battery driver has to go
through a I2C bus to get info from a battery monitoring chip, I need to call
a I2C bus driver.
This I2C driver uses standard file interface (CreateFile, DeviceIOControl,
etc). When I calls CreateFile(...) to open this I2C driver, I got error
saying "device not exist". Does WINCE5.0 allow such calling? If it does, can
someone advise what I should check?
Thanks a lot.
Fan Tag: New SDK option fails Tag: 73315
sourcelibs vs targetlibs
This may be an easy one, I may have even asked this before, but could
someone (clearly) explain the difference between the SOURCELIBS and
TARGETLIBS statement and when to use one over the other in the sources
files. Tag: New SDK option fails Tag: 73304
USBMSFN dll
Hi,
In the public\common\oak\drivers tree the USB function mass storage
sources file builds a static
library USBMSFN_LIB. How does this become a dll which it does as i've seen
in my image. Sources file below
It doesn't have DYNLINK set, although def file is created for Import
library as would expect for dll.
TARGETDEFNAME=USBMSFN
DEFFILE=$(TARGETDEFNAME).DEF
PREPROCESSDEFFILE=1
TARGETNAME=USBMSFN_LIB
TARGETTYPE=LIBRARY
WINCETARGETFILE0=$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)\$(DEFFILE)
INCLUDES= \
..\inc; \
..\..\inc; \
SOURCES= \
bot.cpp \
Regards Tag: New SDK option fails Tag: 73298
System slowdown during file download w/WinCE 4.20
We have customers and testers reporting that they are seeing a system
slowdown when downloading files to out WinCE 4.20 device. Basically if
a fast baud rate is used (e.g. -USB, COM @ 115k) and large amounts of
data are DL'd to RAM, the OS slows down during the download - screen
updating, application switching, RAM ascess, etc.
I remember reading an older newsgroup thread that mentioned that WinCE
performs a type of "real-time defragmenting" of RAM during file
download to optimize memory usage. Unfortunately, I cannot find my
printed copy nor the thread on the newsgroups...and now I'm starting to
doubt the contents of what the thread discussed.
Can anyone confirm if the OS really is doing this "defragmenting", or
point me in the direction of the thread(s)? We are trying to determine
if this is behavoir inherent to the OS or to our design/code. Any help
would be greatly appreciated!
Cheers!
Rodney Pearson Tag: New SDK option fails Tag: 73295
SMB Server Problem on Windows CE .NET 4.2
Hello there,
In my Windows CE.NET 4.2 image the SMB Server connection was working
ok. I was able to access the PUblic folder on my Windows CE device.
But now I have updated my Windows XP OS with some new securtiy updates
(probably Windows Genuine Advantage Validation Tool (KB892130) ) and
now my access to the public folder on my CE Device takes a large amount
of time. After clicking the public folder in Explorer the contents are
shown after about 1-2 minutes.
Can you please let me know what I should do to speed up my access to
the Public folder on my Windows CE .NET 4.2 device.
Wishing you great day. Tag: New SDK option fails Tag: 73288
Re-Build unimodem.lib with debug changes
I have encountered a problem activing RAS server on a GSM modem , and I have
make some changes in the private code:
%_WINCEROOT%\private\winceos\comm\tapi\unimodem\modem.c
that resolve the problem.
Now, I'd like to know how can I re-build the changed code.
Can anyone explain me how can I make an OS image that reflects the
changes I have made to the modem.c module?
Please, it'very important !.
Thank you. Tag: New SDK option fails Tag: 73286
Hive-based Registry / release image / boot fails
I am creating a 5.0 BSP. I want to persist the registry on our On-Board
flash which is a 64M Disk-On-Chip. I got this to work in about ten
minutes (well, close) which was of course too good to be true. When I
built the release image, it didn't boot.
Before you ask, the filesystem mounts perfectly in debug and release
when I use RAM-based registry. And the changes to use Hive-based
registry do not distinguish between Debug/Release.
I wanted to debug this a bit, put debug fatfs.dll and filesys.exe in
release image and tadaaa... release image boots. Fatfs.dll seems to be
making the difference. With debug filesys.exe and release fatfs.dll, it
hangs again.
At the bottom is some debug output from release image with debug
filesys.exe.
Notice the "Could not create volume. Out of Memory."
Normally about 45M of program memory is available in a release image,
so I've no idea why I receive this.
I don't have the source for coreos\filesys\heap\heap.c, maybe someone
could check this (MS?). The code around line 454 might be helpful.
Anyway, I'm a bit puzzled, I've tried a lot of things but I can't get
this release image to boot.
Regards,
Piet
BTW. The TrueFFS driver for the DiskOnChip is the one we used in CE
4.2. But I have no reason to believe the problem is with this driver.
Debug output:
(...)
Loaded symbols for 'C:\...\DZINE_ZINEON_3_0_ARMV4I_RELEASE\TRUEFFS.DLL'
Loaded symbols for 'C:\...\DZINE_ZINEON_3_0_ARMV4I_RELEASE\MSPART.DLL'
Loaded symbols for 'C:\...\DZINE_ZINEON_3_0_ARMV4I_RELEASE\FATFSD.DLL'
Loaded symbols for
'C:\...\DZINE_ZINEON_3_0_ARMV4I_RELEASE\DISKCACHE.DLL'
1696 FS: Registering file system DiskOnChip, index 7, flags
0x00000002
1698 FS: Mount complete (DiskOnChip, index 7, flags 0x00000002)
1700 FILESYS: Device started. Boot file system ready.
1700 FSREG: Unable to read value "SystemHiveInitialSize" under
HKEY_LOCAL_MACHINE\init\BootVars
1703 FSVOL: Opening existing volume
1705 FSVOL: Volume heap already initialized
1705 FSREG: Mounted ROM portion of system hive
1706 FILESYS: Loading system hive from DiskOnChip\system.hv.
1711 FSVOL: Opening existing volume
1712 ERROR: c:\macallan\private\winceos\coreos\filesys\heap\heap.c
line 454:
1713 CreateFileMapping failed: 5
1714 FSVOL: Failure in FSMapMemory
1715 FSREG: Mounting clean system hive
1715 BuildPath: DiskOnChip
1717 FSVOL: Opening existing volume
1718 FSVOL: Creating new volume (size=49152 bytes)
1719 ERROR: c:\macallan\private\winceos\coreos\filesys\heap\volume.c
line 532:
1720 FSVOL: Could not create volume. Out of Memory
1721 ERROR:
c:\macallan\private\winceos\coreos\filesys\reg\reghive\registry.c line
981:
1722 FSREG: Unable to mount clean system hive
1722 FSREG: Unable to load system registry! Registry will be
unavailable.
1723 FileSys: DEBUGCHK failed in file
c:\macallan\private\winceos\coreos\filesys\reg\reghive\registry.c at
line 1041
1729 FSREG: Unable to read value "RegistryFlags" under
HKEY_LOCAL_MACHINE\init\BootVars
1729 FSREG: Unable to read value "NoDefaultUser" under
HKEY_LOCAL_MACHINE\init\BootVars
1730 FSREG: Logging in default user.
1731 FSREG: Unable to read value "DefaultUser" under
HKEY_LOCAL_MACHINE\init\BootVars
1731 SetCurrentUser: Logging out (nobody), logging in default
1734 BuildPath: DiskOnChip
1735 BuildPath: DiskOnChip\Profile
1735 FS: BuildPath failed on DiskOnChip\Profile\default (error=19)
1736 SetCurrentUser failed!
1738 FSREG: Unable to read value "RegistryFlags" under
HKEY_LOCAL_MACHINE\init\BootVars
1739 FSREG: Unable to read value "DBFlags" under
HKEY_LOCAL_MACHINE\init\BootVars
1761 Initializing Database
1768 DB:Validation: Name already exists DB_notify_events
1769 DB:CeCreateDatabase failed
1771 Filesystem initialized!
1773 FILESYS: Waiting for kernel to be ready to launch apps
1775 FS: HKLM\System\Events not available, no signal events created.
1776 FILESYS: Launching apps
1777 ERROR: c:\macallan\private\winceos\coreos\filesys\main\fsmain.c
line 4101:
1777 Unable to locate init key for starting apps!
1778 FILESYS: Done launching apps
1779 This device has booted 0 times !!! Tag: New SDK option fails Tag: 73283
Once more copy Hive Based Registry
Hi Newsgroup,
some times ago I asked about creating a copy of our hive based Registry
Settings to use them like a backup from our device.
We want to save all the registry entries users made on our device and
want to restore them in case of a hardware failure on an alternative
device. The ce devices always base on the same ETX-Processor X86
Module.
We save the hive files on our CompactFlash card and work with PB4.2 on
X86 platform.
1. So, why isn't it possible to simple copy the Registry Hive Directory
from one device to another?
2. Why isn't it possible to save the registry with "RegSaveKey" and
Restore it on the alternative device with "RegReplaceKey"?
In both cases the "new" Device did not boot. Tag: New SDK option fails Tag: 73277
Once more copy Hive Based Registry
Hi Newsgroup,
some times ago I asked about creating a copy of our hive based Registry
Settings to use them like a backup from our device.
We want to save all the registry entries users made on our device and
want to restore them in case of a hardware failure on an alternative
device. The ce devices always base on the same ETX-Processor X86
Module.
We save the hive files on our CompactFlash card and work with PB4.2 on
X86 platform.
1. So, why isn't it possible to simple copy the Registry Hive Directory
from one device to another?
2. Why isn't it possible to save the registry with "RegSaveKey" and
Restore it on the alternative device with "RegReplaceKey"?
In both cases the "new" Device did not boot. Tag: New SDK option fails Tag: 73276
SetCapability issue
I have developed a Host controller driver on a custom board and is working
well with all the devices. But after suspend device and connecting the usb
plug, the board comes up but the host controller driver doesnt waker up. I
found that GetCapability is returning 0 even though it has resume capability.
I even found that the SetCapability is not been called. Let me know why is it
not been called.
As per my doubt I saw "RegQueryValueEx(hKey, HCD_CAPABILITY_VALNAME, 0,
&dwType, (PUCHAR)&dwCapability, &dwLength) == ERROR_SUCCESS)" in
public\common\oak\drivers\USB\HCD\OHC\system.c is not succeeding. Is it
related to some registry entry? Let me know where can there be a problem.
Thanks & Regards,
-Rams Tag: New SDK option fails Tag: 73268
Audio driver help
Hi,
My I2S audio driver is not able to play a wave file .After I debug
and compare with a working driver(evaluation board) I find that in the wave
header parameter "lpnext"(passed the MDD layer) is NULL most of the times
when I try to play a wave file and this leads to the driver not calling
WPDM_Continue in the pdd layer and finally calls WPDM_ENDOFDATA. It looks
like the wave data is broken.What could be the reason ?
Thanks in advance.
Krishna. Tag: New SDK option fails Tag: 73266
[Q]: Ship build [Urgent]
This is a multi-part message in MIME format.
------=_NextPart_000_000E_01C5A8C3.D3C21C10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Dear all,
Can anyone/someone tell me, what exactly is 'Ship build' in Windows CE ?
Is it just similar to retail build with RETAILMSG nulled ?
Any reply is appreciated.
warm regards,
Sajid
------=_NextPart_000_000E_01C5A8C3.D3C21C10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1515" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Dear all,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Can anyone/someone tell me, what exactly is 'Ship =
build' in=20
Windows CE ?</FONT></DIV>
<DIV><FONT size=3D2>Is it just similar to retail build with RETAILMSG =
nulled=20
?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Any reply is appreciated.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>warm regards,</FONT></DIV>
<DIV><FONT size=3D2>Sajid</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV></BODY></HTML>
------=_NextPart_000_000E_01C5A8C3.D3C21C10-- Tag: New SDK option fails Tag: 73265
Urgent: SDIO Driver
Hi
I am trying to write a Windows CE 5.0 Client Driver for a SDIO card that my
company is developing. I wonder if anyone can help me with the following
questions:
Am I correct in thinking that the SDIO Host Controllers in the Pocket PCs
only support the 1-bit and 4-bit data transfer modes and do not support SPI?
How can I find out about the SD_API_STATUS, SD_DEVICE_HANDLE and
SD_INTERRUPT_CALLBACK structures? The MSDN website does not go into as much
detail about them as the other SDIO structures, such as SD_COMMAND_RESPONSE.
What would I need to do to process a request coming from the card to the
host and not the other way around? We are using a piece of wireless
technology in our SDIO cards and it may need to relay information to the Host
after communicating with one of the other wireless devices. I immediately
thought of using an interrupt from the card. However, the
"SDIOConnectInterrupt" function definition in MSDN confused me, as there
wasn't a link to a page detailing the SD_INTERRUPT_CALLBACK structure.
Any help in these matters would be incredibly useful.
Thank you.
Oliver Tag: New SDK option fails Tag: 73259
Using Environment variables
I want to compile code depending on the Environment variable. If I use the
same declaration as #ifdef <env var> it doesnt work. How do I go about it?
Any other ways where in I can do the compilation depending on the Environment
variable.
-Rams Tag: New SDK option fails Tag: 73243
Bluetooth OBEX File Transfer Service on CE 4.2
Hi,
I have a question regarding Bluetooth connectivity in Windows CE 4.2
I am working on a project where one of the requirement is to have Bluetooth
connectivity between a headless device (using XScale PXA255) and a PC. The PC
needs to be able to browse the content of the storage system in the headless
device.
Can anyone give me some suggestions as to what I could use to perform this?
I was thinking of using OBEX File Transfer service, but I keep getting error
message saying "Could not create a File Transfer connection with the device
Windows CE". This error message occurs whenever I attempt to browse the
content of the headless device using Bluetooth.
Thanks in advance. Tag: New SDK option fails Tag: 73239
About XXX_Init
Hello everybody,
I need to develop a stream interface driver. In PB, the help said that
XXX_Init like this: Dword xxx_Init( LPCTSTR, LPCVOID) , but in many example
it like this: DWORD xxx_Init(DWORD). So I'm be puzzled by it, can somebody
explain it for me?
Thanks a lot.
Andy Tag: New SDK option fails Tag: 73236
MTTF Tool - HOPPER.exe testing and memory leak?
I am working on BSP drivers for PocketPC 2003. After running HOPPER.exe 48
hours, I found that there are about 3M memory leak, and 90% consumed by
gwes.exe, shell32.exe, goutlook.exe. Maybe my BSP drivers have some
problems, such as display/touch/keypad drivers. Did anyone meet this kind of
problems before? And how to narrow down the memory leak to my BSP drivers?
Thanks a lot.
Thomas Tag: New SDK option fails Tag: 73235
Exporting C++ methods
Hi,
I'm porting some code from CE 4.2 to CE 5. In particular, I have a
collection of DLL files that I'd like to have PB5 build when I'm building
the OS. These DLLs export various interfaces, including some C++ classes.
The header files from these DLLs should be included in the device SDK, so it
would be most convenient to have them automatically copied to the right SDK
folder during the build process.
In building the DLLs themselves, I can get everything to build as a
subproject of PUBLIC (building firstdll_all.lib, and then trying to link it
into firstdll.dll), but I can't figure out a reasonable way to get the C++
stuff, mangled names and all, exported properly. I have no desire to try to
copy the mangled names into the DEF file, but the import library created for
the DLL appears to be generated only from the DEF file.
Is this just a lost cause and should I forget about using PB to build this?
I've looked for DLLs already shipped with PB which might export C++
interfaces, but can't find any.
Thanks!
Paul T. Tag: New SDK option fails Tag: 73229
I was trying to create a new SDK with Platform Builder 5.0
When I select the menu option Platform / SDK / New SDK
nothing appears.