Problem with TFAT
We are developping a Windows CE 4.2 device that uses a disconchip . We finaly
decided to upgrade to CE 5.0. When doing this is we boot a Windows CE 5.0 OS
on a TFAT partition formatted under CE 4.2 we see that all our folders in the
root have a subroot (__TFAT_HIDDEN_ROOT_DIR__ ).
I know that we are not supposed to see this. It worked ok om 4.2. This is a
big problem because many of our clients will upgrade to Windows CE 5.0. What
can I do to make this problem goes away (or at least really hide the folder)?
I know that there is a Reg key
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Flag that when set to
FATFS_DISABLE_TFAT_REDIR should disable this but it doesn't works.
Reformating the drive is not really an option. Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83546
IME and DefWindowProc
Can someone explain me how the DefWindowProc() concept for IME unaware edit
controls work ?
Thank you
Holger. Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83527
OS version
What's the differences between all these Windows Mobile 5.0 OS versions?
- Windows Mobile 5.0 Magneto: Microsoft Windows Mobile v5.0 OS 5.1.1700
Build 14334
- FSC Pocket LOOX N500: Microsoft Windows Mobile v5.0 OS 5.1.1702
Build 14366.1.0.1
- Qtek G100: Microsoft Windows Mobile v5.0 OS 5.1.70
Build 14406.1.1.1
- Mio A201: Microsoft Windows Mobile v5.0 OS 5.1.70
Build 14406.1.1.1
- ASUS MyPal A686: Microsoft Windows Mobile v5.0 OS 5.1.70
Build 14410.1.1.3
Is there a place where I can find their description?
Massimo Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83524
Bluetooth headset registry key
Hi,
I would like to have my Windows CE device appear like a bluetooth
headset to a cellular phone. I have obviously included HS/HF profile
and see in PB help that "To enable Handset and Hands-free profiles
on the device, the OEMs must add the
HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\HandsfreeProfileOn
key in the registry. "
The help tell you only about the key but I suspect there should be a value
too... Any hints? Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83520
htmlview.dll
Hi
I've looked at a few posts and am still confused. Before I go off and
do a lot more digging does anybody know if htmlview.dll is available in
CE5.0? Some say it is part of "The Windows CE HTML-based Help system
application" (peghelp) some say it is just not available.
Thanks
Paul Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83517
Visual Basic
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/mobilesdk5/html/wce51grfSKUMatrixForWindowsMobile.asp
Under TOOLS SUPPORT there is "Visual Basic Runtimes" and it's optional for
all Windows Mobile 5.0 edition.
In your opinion, what does it mean with "Visual Basic Runtimes"?
Massimo Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83513
sd & ethernal
Hello All,
I have some questions related to the SD and ethernal card drivers under
Windows CE 4.2.
Let me first explain the behaviour that I am observing :-
The sd card works fine when i build the kernel with the ethernal component
cs8900
,i delete the ethernal cs8900 from the kernel when i rebuild the nk,the sd
card can't be found now!after i add the cs8900 component again and rebuild
the nk,the sd come out again!
need your help
enyuan sun
thanks! Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83502
System hang during interrupt
Dear all,
I am writing an application to capture the falling edge of GPIO27. The
program will enable GPIO_X interrupt and create an IST to handle it.
However, when there is falling edge on GPIO27, system hangs. It seems that
the IST is not installed properly. Would you suggest a method to verify that
the IST is installed or not? Are there any precaution for installing IST?
There are some information
-PXA270, mainstone III are used.
-IRQ number=10
-System Interrupt number=31,
getting from KernelIoControl(IOCTL_HAL_TRANSLATE_IRQ,
Thanks a lot Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83496
cerdisp bug
There's a bug in the cerdisp public code, making the "-c" option
(autoconnect) not work. When parsing the command line, the tchar
pointer is not incremented so the application keeps saying "invalid
argument". Apparently it has never been tested before release.
The file is
C:\WINCE500\PUBLIC\COMMON\OAK\DRIVERS\CERDISP\CERDISP\cerdisp.cpp
Does anyone know of a qfe? I've installed qfe's for 2004 and 2005. I've
looked for the ones released this year, but I've sadly given up, noting
that apparently Microsoft still has not found the time to create an
html page with qfe information for us. Maybe next year...
Regards,
Piet Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83493
Command line build - blddemo does not start
Hello,
I have created a simple batch file to create my image (Windows CE 5.0) at
command line. My batch file looks like this:
cls
@echo off
title Build PP/MP Image
@REM
@REM Set WinCERoot
@REM
set _WINCEROOT=C:\Wince500
@REM
@REM Navigate to %_WINCEROOT%\Public\Common\Oak\Misc.
@REM
cd %_WINCEROOT%\Public\Common\Oak\Misc
@REM
@REM Run WinCE.bat
@REM
WinCE.bat x86 BRMyImage MyPlatform
@REM
@REM We create a release image
@REM
Set WINCEDEBUG=retail
@REM
@REM Start BldDemo.bat
@REM
blddemo -clean
The problem is that blddemo is not started automatically - only a new
command shell window (Windows CE Build Environment) is opened. If I enter
blddemo manually (using my keyboard) blddemo starts ...
Any idea?
Regards Peter Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83492
PCMCIA driver in Mobile 5.0 problem
I have pcmcia drive for a CF I/O card.It is OK in Mobile 2003.
But, It is abnormality in Mobile 5.0(DELL AXIM x51v).
Problem behave at whiles a mass of data transmit from card to Pocket
PC,
m_ISRFunction is not called. I find Mobile 5.0 and Mobile 2003
registry
is differ. example: PCMCIA interrupt thread IST Priority key setting,
At Mobile 2003 Priority256 key in[HKEY_LOCAL_MACHINE\Drivers\PCMCIA]
underside,
But At Mobile 5.0 Priority256 mistiness where.
seuic@hotmail.com Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83484
PCMCIA driver in Mobile 5.0
I have pcmcia drive for a CF I/O card.It is OK in Mobile 2003.
But, It is abnormality in Mobile 5.0(DELL AXIM x51v).
Problem behave at whiles a mass of data transmit from card to Pocket
PC,
m_ISRFunction is not called. I find Mobile 5.0 and Mobile 2003
registry
is differ. example: PCMCIA interrupt thread IST Priority key setting,
At Mobile 2003 Priority256 key in[HKEY_LOCAL_MACHINE\Drivers\PCMCIA]
underside,
But At Mobile 5.0 Priority256 mistiness where.
seuic@hotmail.com Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83483
how to use GSM 6.10 Audio Codec
hi all:
now i want to use GSM 6.10 Audio Codec in wince 5.0. i look through the
wince5.0 help but i can not find any useful thing about how to do this. do i
need to write acm driver to call GSM 6.10 Audio Codec or i can use use the
acm_driver which bond with wince5.0 to do this. and in the wince5.0 help it
said" To port an ACM driver from the desktop to Windows CE, link the driver
with the Acmdwrap.lib file, which provides the driver with the appropriate
stream I/O interface. ". anyone can explain it???
regards Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83482
how can i to use GSM 6.10 Audio Codec
hi all:
now i want to use GSM 6.10 Audio Codec in wince 5.0. i look through the
wince5.0 help but i can not find any useful thing about how to do this. do i
need to write acm driver to call GSM 6.10 Audio Codec or i can use use the
acm_driver which bond with wince5.0 to do this. and in the wince5.0 help it
said" To port an ACM driver from the desktop to Windows CE, link the driver
with the Acmdwrap.lib file, which provides the driver with the appropriate
stream I/O interface. ". anyone can explain it???
regards Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83481
.Net Support in OS Image
Hello
I want to includ .NET Support in my OS image so that i can use C# or
Vb.NET for Application development.
I am using Platform Builder 4.2
i have included following component in OS image
1. .NETcompact frameWork1.0
2. OS dependencies for .NET compact FrameWork
3. SmartDevice Authentication
NOTE: I did not included SQL server..because i don't need .
After this i rebuild my OS image ,also generated new SDK with .NET language
support . But After downloading this OS image when i tried to run "Hello
World" application developed on VS 2005 .NET . It is not working (Showing
Time Symbole)
Special Point is : PB version is 4.2 ..and VS is 2005 .NET
Q1 . What can be the reason ...?
Q2. Is any thing wrong in my procedure ..?
Q3. How much RAM does compact frame work consume while runing ..?
Please reply ...
waiting
Regards
Manish Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83471
NIC with KITL
All,
I am trying to download a 5.0 CEPC image via KITL but PlatformBuilder never
receives a bootme message. I have tried the following two NICs:
D-Link DFE-530TX and Linksys LNE100TX. Has anyone used these cards with
KITL? Does anyone have suggestions for cards to try? I have read the
compatiblity guide but I am unable to obtain boards like RealTek RTL8139 and
Linksys LNEPC12T.
Kind regards,
Dale Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83467
Display Orientation
The Platform Builder BSP that I have by default is designed for
QVGA Portrait Display.
However, I am using a QVGA Landscape Display.
I encountered problems that quite many applications (eg. SYSTEM
and Volume Control in Control Panel) will appear out of the screen
(i.e. the bottom part of the application is out of the screen.)
Kindly advice how this problem could be resolved.
Thank you & Best Regards,
Francis Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83466
pxa255 in ce4.2 uart driver
i wrote a driver to external uart based on the 16550 uart. i want to add it
in addition to the original uarts thet are in the pxa255 platform.
if i add asecond uart from the catalog, hoe to i implement my driver changes
insidewithout modifying the common code?
thanks Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83460
new device driver and common code
i added a new project to act as a device driver
i want to use calls to xllp libraries in the csp of the pxa270
i want to use som include file in thr platform.
how can i make them available to my new project
how can i add new device driver that can use the pklatform resources like
defined irqs and system interrupts
thanks Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83459
Warning messages and MIPS assembler
I ran into a nasty surprise when I tried to turn of some irrelevant compile
time warnings using
CDEFINES=$(CDEFINES) -wdXXXX
in the platform SOURCES.CMN file.
Through the magic of COMMON\OAK\MISC\MAKEFILE.DEF, everything in CDEFINES
gets passed on to the assembler command line. The MIPS assembler (MIPSASM)
does not recognize the -wdXXXX option, nor does it complain about it.
Rather, it appears to discard the remainder of the command line. Since
SOURCES.CMN is processed before the particular module SOURCES file, this
meant that all of the definitions made within the SOURCES file were
discarded. Examining the log files, everything looks to be in perfect order,
with no warnings either to the log or console. It's just that the code
produced is not what was expected, give the set of definitions on the
command line.
(Note: this applies only to the building of .S files. C and C++ sources are
build using the CL front end which understands '-wdXXXX' and does not
truncate)
I do not see any simple way to pass a command line argument to all C code,
and not have it delivered to the assembler. In MISC\MAKEFILE.DEF, the .s.obj
rule reads
$(ASSEMBLER) $(ASSEMBLER_CMD_LINE) $(MAKEDIR)\$< $@
where
ASSEMBLER_CMD_LINE=$(AFLAGS)
AFLAGS=$(CFLAGS) $(ADEFINES)
CFLAGS=-c $(CINCLUDES) $(CDEBUG_FLAGS) $(CDEFINES)
In other words, every thing handed to the C compiler command line goes to
the assembler as well. The assembler can add via ADEFINES, but it cannot
remove command line options.
I'll give $1 to anyone with a clean solution to this problem, payable at
MEDC in Las Vegas!
--Richard R. Lee eMVP Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83454
Corrupt platform?
I created a new platform in PB4.2 the other day and it was working very
well. But since I rebooted my PC today I can't get back into it. (I
can load other platforms just fine.) Has anyone else seen this
succession of error messages?
---------------------------
Platform Builder
---------------------------
Unable to initialize feature information. The feature handler is not
available or the data is corrupt. Feature implementation information
will be reset to the default state and some features may need to be
resolved.
---------------------------
OK
---------------------------
[PB loads the platform up to the "Loading workspace: 100%" point]
---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Runtime Error!
Program:
This application has requested the Runtime to terminate it in an
unusual way.
Please contact the application's support team for more information.
---------------------------
OK
---------------------------
---------------------------
cepb.exe - Application Error
---------------------------
The exception unknown software exception (0x40000015) occurred in the
application at location 0x7c37380c.
Click on OK to terminate the program
Click on CANCEL to debug the program
---------------------------
OK Cancel
---------------------------
---------------------------
cepb.exe - Application Error
---------------------------
The instruction at "0x77f8206b" referenced memory at "0x02e109d4". The
memory could not be "read".
Click on OK to terminate the program
---------------------------
OK
---------------------------
0x77F8206B = cmp dword ptr [edx+14h],0
EDX = 02E109C0
but for all intents and purposes it's probably all garbage at this
point.
If anyone has any ideas I'd sure appreciate it. I don't want to have
to recreate the platform, but it looks like that's where I'm headed at
this point.
TIA,
Dan. Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83452
InputMethodEditor IME
Hello,
I'm trying to write my own triple tap input method editor (IME). As a
starting point i use the freely available source code of the SmartPhone
PhoneIME.
Now I'm in the state, that the IME is working within cmd.exe. In all other
windows nothing happens.
I debugged the IEM and see, that at the end of conversion the composition
string is updated and the message WM_IME_COMPOSITION followed by
WM_IME_ENDCOMPOSITION is send with function ImmGenerateMessage() to the IMM.
For me it looks like the DefWindowProc() of the normal edit window does not
interpret the WM_IME_xx messages and so the messages are ignored.
My Question:
If I want to write IME that works with IME unaware windows, what must be
done ?
Please help me. I'm totally confused.
Thank you
Holger Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83450
About PICGetCurrentInterrupt (x86)
Hi All,
There is a piece of code in fwpc.c (CEPC BSP) that I systematically replace
with my own code each time a new version of CE appears. Since I have been
working on Windows CE (2.0 as far as I remember), I never had problem with
this code, who proved to work with many x86 processors / chipsets.
The first reason why I changed genuine code is that I can save a few
processor cycles each time an interrupt is processed. I agree that the gain
is almost nothing with modern x86 processors but it was significant (few
microseconds) when a low-speed 486 was used. The other reason why I still
use this code is that it is more efficient and more elegant (IMHO) than
original code.
So my version of PICGetCurrentInterrupt does exactly the same job as
genuine PICGetCurrentInterrupt does, but uses the BSF instruction (available
since 386 processor) instead of the sequence:
for (ucCurrentInterrupt = 0; ucCurrentInterrupt < 8;
ucCurrentInterrupt++)
if (ucActiveInterrupts & (1 << ucCurrentInterrupt))
break;
#pragma warning(disable:4035)
__declspec(naked) UCHAR PICGetCurrentInterrupt()
{
__asm
{
xor eax,eax
in al,020h ; master's In Service Register
bsf eax,eax ; get set bit position
jz short retm1 ; no interrupts pending: really strange!
cmp al,2 ; slave interrupt?
jne short retal ; no, return this INTR
in al,0A0h ; slave's In Service Register
bsf eax,eax ; get set bit position
jz short retm2 ; no interrupts pending: really strange!
add al,8 ; correct INTR value (8..15)
retal:
ret
retm1:
mov al,-1
ret
retm2:
mov al,-2
ret
}
}
Any comments before CE 6?
Remi Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83443
Getting a handle to a kernel driver (IISR)
Hi!
Due to lesser overhead on IOCTLs i.e. faster calls, I plan to implement a
driver as an IISR. As it doesn't actually need to handle IRQs the ISR is a
dummy. To get a handle to do IOCTLs it seems I have to use
LoadIntChainHandler. As several processes may need to communicate with the
driver, LoadIntChainHandler may be called several times. Does this also
mean the dummy ISR is also hooked multiple times? And if so, is there an
other way to obtain a handle to the driver without hooking the ISR?
Regards
Max Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83440
Error Pop-up
I am using CE 5.0 on X86 hardware with FDTI USB to serial adapters and
everything works great "under normal conditions". However, when I physically
disconnect a USB to serial adapter that software has opened as a COM port and
that is currently being communicated over, then bad things happen. When the
image is ethernet downloaded, an error pop-up with "Device not installed -
free index not found" is displayed. I have searched the shared code base for
this message but have not found it. Any ideas where it is?
Also, when I perform the same test with a standalone image, the application
freezes with no pop-up or other indication.
Ideally I would like to prevent this but don't know how - any ideas? Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83438
Error Installing USB driver
We are using CE 5.0 on a IXC1100 (XScale) platform.
It seems like we cannot install usb drivers from the dialog
"Unidentified USB device" that pops up.
The strange thing is that if I set the keys and values for the driver in
the registry under [HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\....] then the
driver loads without any problem.
I've tried this with an USB WLAN adapter and a Bluetooth transceiver.
What's even more strange is that we get the same behaviour when trying to
install an USB device on a CE 5.0 PXA270 platform where the image is
pre-built.
Theese two platforms are very different except that they are XScales.
Because 2 different platforms behaves the same I suspect I'm doing something
fundamentally wrong.
I've traced the error on the IXC1100 platform:
LoadOneLibraryW(...) (line 4356) -> CopyRegions(...) (line 3789) ->
VirtualAlloc(...) (line 1051 failure)
if (dwSlot0Addr) {
/* The client has asked to reserve a specific region of memory.
* Verify that the requested region is within range and within an
* existing memory section that the client is allowed to access.
*/
/* adjust lpvAddress to 64K boundary. */
dwAddr &= 0xFFFF0000l;
/* Verify that the entire range is available to be reserved. */
cPages = (dwEnd - dwAddr + PAGE_SIZE-1) / PAGE_SIZE;
for (cNeed = cPages, ix = ixBlock ; cNeed > 0
; ++ix, cNeed -= PAGES_PER_BLOCK) {
if ((*pscn)[ix] != NULL_BLOCK)
line 1051 goto invalidParm;
}
} else {
.
.
.
}
Thanks in advance
Göran Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83437
Priniting Internals
Hi,
Here's another printing related query.
I want to know what happens when we say print a file, in terms of GDI and DC
etc.
I mean how the OS uses the GDI to get data on the surface, creates another
surface where it puts the data to be printed and then finally send it to
printer.
Actually in pocket PC there is no printing support. So if we have to do the
printing job, what are the functionalities required that need to be taken
care of.
Please suggest.
--
GD Shukla Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83427
FAL in NAND Flash Driver
Hi all,
In Windows Mobile 5.0 documentation, "NAND Flash Block Driver Overview
(SP Only)" , it mentions that "The FAL is responsible for handling all I/O
requests from the upper-level file systems, implementing all of the
necessary wear-leveling operations, maintaining data integrity, handling
power-failure situations etc. The FAL also handles the conversion between
logical and physical sectors and bad block remapping".
However, does FAL need a bad block table to remap, and where does the
table locate. And if meet a bad block during read operation, which the
kernel partion locate on, what will happen? The OS will be collapsed?
Any suggestion maybe helpful.
Thanks,
Knight Lin Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83423
customize calibrui without modifying public root
Hi,
I would like to clone calibrui to my own platform (e.g.
wince500\platform\MyPlatform\drivers\calibrui) and then modify the codes from
there. However, since sysgen phase is done before my platform gets built, I
will have to do "sysgen -p common" and "makeimg" again manually in order to
make the changes effective. Is there a way that I can make the change to the
calibrui module under MyPlatform gets included in final image automatically?
My project is built on wince 5.0.
Thanks in advance.
Jane Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83419
WM5 Magneto, Premium Edition..
Are there differences between the various Windows Mobile 2005 i.e. Magneto,
Premium Edition, etc?
Massimo Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83416
Localized version
I created a localized version of CE 5.0 for Chinese.
For some reason the final nk.bin is much bigger then the English
version with the same components. The other problem is that even after
I remove some of the components the final nk size is still the same
(the estimated size in PB is reduced by 4MB).
I made chinese the only Local (without english). That had no effect
either.
Any ideas? Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83414
Printing Support on Pocket PC
Hi,
I need to provide printing support on pocket PC. I understand that there is
no printing support on Pocket PC by default. The link between printer and
pocket pc is going to be wifi, bluetooth or IrDA. I also need to provide
print preview type of functionality for image and doc files.
Could anyone guide me in the right direction, like how to approach this. I
think I need to develop a printer driver and an application which would
connect with the printer and send the data to it. How to provide print
preview support. I think there is no direct api available.
Also, this printer driver, Is it a monolithic driver or layered, I saw some
printer releted files in the public folder, so I guess it is layered driver.
from there I guess I need a PDD also.
I dont have any info about the hardware or which BSP to use right now.
Please suggest how to approach this.
--
GD Shukla Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83407
Disabling Activesync in Registry - Co-existence with other NW drivers.
Hi all,
In one of the recent MEDC conferences, I heard that when Activesync is
connected, the Connection Manager disables all the other network
connections.
He also mentioned that this feature can be disabled by some registry
settings.
What is the registry setting ? Can someone please share that
information.
thanks
Barani. Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83404
In general, what kind of situation would I use "HalAllocateCommonBuffer( )"
When I try to write a driver with DMA access, I find the function:
PVOID HalAllocateCommonBuffer(
PDMA_ADAPTER_OBJECT DmaAdapter,
ULONG Length,
PPHYSICAL_ADDRESS LogicalAddress,
BOOLEAN CacheEnabled
);
But I do not clearly comprehend how to use it!
1. What is the concept about DMA adapter object?
2. Does the function provide a physical address for manipulating the
allocated DMA Bufefer by the 3rd parameter?
Thanks in advance. Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83402
Links to Authorized Distributors Broken?
Hi,
I am trying to find a distributor from whom I can purchase a copy of
Platform Builder, but all the links on this page:
http://msdn.microsoft.com/embedded/howtobuy/default.aspx are broken (they
take me to the same page again).
Any suggestions?
Thanks,
Hector Obregon Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83398
Windows CE Binary Image Data Format: What are records?
I read the "Windows CE Binary Image Data Format" section in MSDN's
Windows CE 5.0 help. According to that section each binary file is
composed of several records. What is each record? Is it a file
contained in the binary or does it have another purpose? Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83396
SysgenMake
Hi:
Does anyone know the usage of "SysgenMake"? In the sysgen.bat, set
MAKE=SysgenMake, however, I could not found any infomation about it.
Thanks
Lu Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83391
Clone SipSelect
Hi,
Does anyone know how I can clone sipselect? It used to be an .exe,
which is easy enough to clone.
If I read the common makefile correctly, it now seems to be a part of
commctrl; but I don't want to clone that too. So I would like to
overwrite the sipselect.lib at the correct moment in the build process.
The way it is now, I only have sipselect.lib files under the
public/common tree, and I don't want to overwrite those files. I want
to overwrite them in the cesysgen folder, but how can I tell commctrl
to use my lib and not the public one?
Regards,
Piet Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83384
QFE removal
Hello Everybody,
Is there any means via which i can undo a qfe that i have installed i.e can
i revert back to my earlier settings. Does the back up folder in
wince500\updates serve any such purpose?
In anticipation of a reply ASAP.
Thankyou Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83382
Problem with hot unplugging USB mass storage device
Hello,
I have an application that is writing data to USB mass storage devices
under Windows CE 5.0 on a Kontron ETX-P3T platform. When the
application tries to write data to the storage device and it's not
present, I get an exception which I catch and everything is fine. But
when the storage device is unplugged while the application is writing
data to the device the whole Windows CE freezes and doesn't come back
to life without reboot. So there seem to be problem with the drive when
it get's a write command in the one or two seconds between unplugging
the storage device and removing the the devices name from the Windows
Explorer drive list. I don't have any experience with the underlying
USB or ATAPI driver and because I didn't get any exception I can't
catch this error in the application that tries to write the data. Does
anyone has experience with this problem and can give me a (as detailed)
hint (as possible) where to look for the problem in the drivers?
Thanks in advance.
Gunnar Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83380
CE 5.0 Layout Manager: Dead Again
This is a multi-part message in MIME format.
------=_NextPart_000_0046_01C65CB5.27860B90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi All,
There is a big problem with dead keys handling in the Layout Manager of =
CE 5.0.
The problem comes from the logic in the GetCharacters function =
(laymgr.cpp), wich forgets previously entered dead keys.
if (wch =3D=3D WCH_NONE) {
.=20
.
}
else if (wch =3D=3D WCH_DEAD) {
.=20
.
}
else if (wch =3D=3D WCH_LGTR) {
.
.
}
else {
//+FIX
if ( (pili->il.pDeadKey !=3D NULL) &&
(pili->wchDeadChar !=3D 0) ) {
cchValid =3D ProcessDeadKeys(&pili->wchDeadChar, =
pili->il.pDeadKey,=20
wch, pChars, cChars, ShiftFlags);
}
else
//-FIX
WriteToCharBuffer(wch, cChars, pChars, &cchValid);
}
}
I fixed the bug by duplicating a code that reside in the "if (wch =
=3D=3D WCH_DEAD)" branch. I suspect one can do a better fix but this one =
works, at least for my French Keyboard.
Remi
------=_NextPart_000_0046_01C65CB5.27860B90
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.2900.2802" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=3D2>Hi All,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>There is a big problem with dead keys handling in =
the Layout=20
Manager of CE 5.0.</FONT></DIV>
<DIV><FONT size=3D2>The problem comes from the logic=20
in the GetCharacters function (laymgr.cpp), wich forgets =
previously=20
entered dead keys.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT face=3D"Courier New" size=3D2>if (wch =3D=3D WCH_NONE) =
{</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>
<DIV><FONT face=3D"Courier New" size=3D2> .=20
<DIV><FONT face=3D"Courier New" size=3D2> =20
.</FONT></DIV></FONT></DIV></FONT><FONT face=3D"Courier New" =
size=3D2>}</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>else if (wch =3D=3D WCH_DEAD) =
{</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>
<DIV><FONT face=3D"Courier New" size=3D2> .=20
<DIV><FONT face=3D"Courier New" size=3D2> =20
.</FONT></DIV></FONT></DIV>}</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>else if (wch =3D=3D WCH_LGTR) =
{</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>
<DIV><FONT face=3D"Courier New" size=3D2> .
<DIV><FONT face=3D"Courier New" size=3D2> =20
.</FONT></DIV></FONT></DIV></FONT><FONT face=3D"Courier New" =
size=3D2>}</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>else {</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>//+FIX</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2> if (=20
(pili->il.pDeadKey !=3D NULL) &&</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2> =
=20
(pili->wchDeadChar !=3D 0) ) {</FONT></DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2> =20
cchValid =3D ProcessDeadKeys(&pili->wchDeadChar, =
pili->il.pDeadKey,=20
</FONT></DIV>
<DIV><FONT face=3D"Courier New"=20
size=3D2> &nbs=
p; wch,=20
pChars, cChars, ShiftFlags);</FONT></DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2> }</FONT></DIV>
<DIV><FONT face=3D"Courier New" =
size=3D2> else</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>//-FIX</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2> =
WriteToCharBuffer(wch,=20
cChars, pChars, &cchValid);</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>}</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2>}</FONT></DIV>
<DIV><FONT face=3D"Courier New" size=3D2></FONT> </DIV>
<DIV><FONT size=3D2> I fixed the bug by duplicating a code that =
reside in the=20
"if (wch =3D=3D WCH_DEAD)" branch. I suspect one can do a better fix but =
this one=20
works, at least for my French Keyboard.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Remi<BR></FONT></DIV></BODY></HTML>
------=_NextPart_000_0046_01C65CB5.27860B90-- Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83378
Boot Wince in harddisk and Enable the Network Debugging
I have a NK.bin in IDE and I can able to boot the Wince image
successfully using Loadcepc with below command.
Loadcepc nk.bin
Now I want to enable the network debugging feature.What should I do for
this? How to pass the arugument in the loadcepc? At the same time I
want to load the NK.bin from the IDE, not from network.
Do I need to change anything in the paltform builder also? if so please
let me know what do I need to change?
Thanks. Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83372
platform builder 5.0 re-install problem
While I re-install the platform builder 5.0, there is a interrupted dialog
pop-up and stop the install procedure.
The dialog shows as below: The wizard was interrupted before Microsoft
Platform Builder for Windows Mobile 5.0 could be completely installed. To
install this program at a later time, please run the installation again.
Does anyone help me to solve the problem, I don't want to re-install my OS. Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83365
ndis over usb
dear all!
i start to develop a ndis driver over usb, but i don't know how to get the
USB_HANDLE from DriverObject passing by DriverEntry function, so i can use
the USB client functions. i have studied the rndis sample, but i don't know
how to control the data flow, because the device i am developing is not a
ethernet device.
anybody can help me to tell me how to get the USB_HANDLE or how to modify
the rndis sample?
regards,
iintsy
the following is the usb device's interface's info:
Device Descriptor:
bcdUSB: 0x0200
bDeviceClass: 0x00
bDeviceSubClass: 0x00
bDeviceProtocol: 0x00
bMaxPacketSize0: 0x40 (64)
idVendor: 0x7565
idProduct: 0x6301
bcdDevice: 0x0100
iManufacturer: 0x01
iProduct: 0x02
iSerialNumber: 0x03
bNumConfigurations: 0x01
ConnectionStatus: DeviceConnected
Current Config Value: 0x01
Device Bus Speed: Full
Device Address: 0x01
Open Pipes: 7
Endpoint Descriptor:
bEndpointAddress: 0x81
Transfer Type: Interrupt
wMaxPacketSize: 0x0040 (64)
bInterval: 0x01
Endpoint Descriptor:
bEndpointAddress: 0x01
Transfer Type: Interrupt
wMaxPacketSize: 0x0040 (64)
bInterval: 0x01
Endpoint Descriptor:
bEndpointAddress: 0x82
Transfer Type: Bulk
wMaxPacketSize: 0x0200 (512)
bInterval: 0x01
Endpoint Descriptor:
bEndpointAddress: 0x02
Transfer Type: Bulk
wMaxPacketSize: 0x0200 (512)
bInterval: 0x01
Endpoint Descriptor:
bEndpointAddress: 0x85
Transfer Type: Bulk
wMaxPacketSize: 0x0200 (512)
bInterval: 0x01
Endpoint Descriptor:
bEndpointAddress: 0x06
Transfer Type: Interrupt
wMaxPacketSize: 0x0040 (64)
bInterval: 0x01
Endpoint Descriptor:
bEndpointAddress: 0x87
Transfer Type: Interrupt
wMaxPacketSize: 0x0040 (64)
bInterval: 0x01 Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83362
CETSC
i use windows ce 4.2
How to use CETSC line to windows 2003 server, and can save the password in
CE Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83359
David Liao (MS) ask for PCMCIA driver in Mobile 5.0
First, Thanks for you all along help! I have pcmcia drive for a CF I/O card.
It is OK in Mobile 2003. But, It is abnormality in Mobile 5.0(DELL AXIM
x51v). Problem behave at whiles a mass of data transmit from card to Pocket
PC, m_ISRFunction is not called. I find Mobile 5.0 and Mobile 2003 registry
is differ. example: PCMCIA interrupt thread IST Priority key setting, At
Mobile 2003 Priority256 key in[HKEY_LOCAL_MACHINE\Drivers\PCMCIA] underside,
But At Mobile 5.0 Priority256 mistiness where. Sorry, I don't speak clear!
--
seuic
seuic@hotmail.com Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83357
Launch(UINT32 pFunc) function at startup.s
Hi,
in Wince5.0, after download the Nk.bin , Launch(physicaladdress) function
from main.c call the Launch(UINT32 pFunc) which one is in startup.s . but i
dont feel it is calling the startup.s's launch function.because, i add led
with this Launch(UINT32 pFunc) function, but led not glowing after dowload
the image. i tired to solve this problem to launch the image. please help
me.
Thanks,
m.sathiya Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83355
Boot Windows CE without Yamon
I have au1200 dev board with Windows CE 5.0 (Bsquare BSP). On the
development board, I have Yamon running. When the board boots up, It first
boots up on Yamon and then it jumps to eboot.
I want the board to boot up without Yamon. In the final product, I need to
boot up the board without Yamon.
I am new to Windows CE 5.0.
Thanks
Adeed Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83350
Camera Driver
Hi all,
I'm trying to develop a camera device driver using Platform Builder.
The camera should stream live video to my PDA.
(camera with a USB)
1).what is the best driver sample to start with?
2).do i need a to implement USB driver or Stream Driver from the samples ?
3).does "PUBLIC\COMMON\OAK" has a relevant sample to start with ?
thanks. Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83334
virtual alloc
Hi
I have written a driver code for accessing SRAM registers of a pxa
processor. I am not clear about virtualalloc API functionality.
preg=VirtualAlloc(0, PAGE_SIZE, MEM_RESERVE, PAGE_NOACCESS)
what is the purpose of using PAGE_NOACESS.
Iam having a problem of writing and reading to SRAM registers. The
writing and reading to SRAM registers is not consistent. what could be
the reason. Is it correct to use virtual alloc function as above?
Please clarify.
Thanks
Meribha Tag: Report device.exe or gwes.exe error, When test legacy PCMCIA driver on Mobile 5.0 Tag: 83331
My mobile 2003 PCMCIA driver is tested on Mobile 5.0. Some time,report
device.exe or gwes.exe error, prompt send mail to microsoft.