Bluetooth UART transport bug CE 6.0
When the UART transport initializes, HCI_OpenConnection calls
SetupComm(hFile,&dcb) with dcb.XonLim == 3000, dcb.XoffLim == 9000.
In the serial MDD layer this call resolves to ApplyDCB
where the following check is performed ( this code was
not present in CE 5.0 ):
if (!(pDCB->XoffLim< pSerialHead->RxBufferInfo.Length &&
pDCB->XonLim< pSerialHead->RxBufferInfo.Length - pDCB->XoffLim
)) {
return FALSE;
}
Since pSerialHead->RxBufferInfo.Length will typically default to
RX_BUFFER_SIZE
( i.e. 2048 ) HCI_OpenConnection will return FALSE. Tag: Hopper test Tag: 102643
Miniport problem
Hi.
I have built a miniport driver (PB 4.2) in order to have a system that works
like a router. I have my router and two pcs connected to it, and everything
works well with ping, telnet or FTP, except when I try to transfer 2 files at
the same time from one pc to the other, the files are transferred, and I am
still able to communicate between the two computers (ping, telnet or ftp)
but with the device running my router and wce I am only able to ping, if I
try to do an FTP or Telnet it doesnâ??t work, it seems like the stack ip it is
not working well. I am sure that I am doing something wrong, but my problem
is to know what am I doing wrong. Is there any way to see what is going
wrong? I have tried to run my driver in debug mode to see if I could catch
some DEBUGMSG, but I got nothing. Could someone give any ideas on how to see
whatâ??s happening?
Thanks in advance.
Duarte. Tag: Hopper test Tag: 102639
MFC in a MUI platform
Hello
I have a WinCE 5.0 MUI platform for ARM including the MFC.
It's possible to switch the language of the user interface to languages
other than english.
The only thing that doesn't switch is the MFC. All messages of the MFC
remain in english.
I found that under E:\WINCE500\OTHERS\MFC\LIB\ARMV4I\L.DEU there are the MFC
resources for e.g. the german language.
I get the german messages by copying mfcce400i.dll to
\Windows\mfcce400.dll.0407.mui on the device.
So my question is, what is the recommended way to get the different language
versions of the MFC into my image?
TIA
--
Michael Reim
reim AT helmut-fischer DOT de Tag: Hopper test Tag: 102638
Has the DirectShow Ksproxy filter been supported in wince5.0???
The wince5.0 has not supported the video capture filter, so I want to use the
Ksproxy filter to camera capture implement .but I have not found it in ce5.0
helper.
So I want to know if the the DirectShow Ksproxy filter has been supported in
wince5.0. Tag: Hopper test Tag: 102633
Problem Installing Platform Builder 4.2 on XP SP2
I'm having a problem installing Platform Builder 4.2 on XP SP2.
The Error:
Error 1305. Error reading from file
C:\WINCE420\PUBLIC\COMMON\OAK\LIB\ARMV4I\DEBUG\kbd8042jpn1_lib.lib.
Verify that the file exists and that you can access it.
This file is installed by the installer, and is present. I cannot
view or copy the file as the result is a permission denied error. I
can only assume that something is going wrong in the install and
something that is supposed to release a lock on the file still has it
or has crashed half-way through (without giving me an error.)
Has anyone seen this before? It actually shows this file as a file a
file that it is copying when it gives there error.
Brad. Tag: Hopper test Tag: 102632
Power Applet does not get updated on wince-5.0
Hello,
On my custom board(imx31) based on wince-5.0 does not update the power
applet. It always shows charging. But in the BatteryThreadProc()
function in the battdrvr.c, I could find that the call to the function
BatteryAPIGetSystemPowerStatusEx2() returns the correct status of the
battery.That is it returns charging/not charing/external power etc.
correctly. But somehow the power applet is not getting updated. I have
commented out call to PowerPolicyNotify() when there is any change in
battery status since when I call this function it returns with error
that the "service has not been started". Does the call to
PowerPolicyNotify() required to updated the power applet? On my system
pm.dll is loaded and running. Could someone help me on this issue.
Thanks,
Shiju Tag: Hopper test Tag: 102630
How can I cretat dll out of CE components/packages
Hello All,
I would like make Windows Mobile 5.0 to have some features available on
Windows CE OS. You can choose needed packages in CE during initial making of
BSP. But can I take those components and make it into dll or some thing else
and install into Windows Mobile 5.0
For example I am interested in Supporting Httpd with ASP engine, VB, Java
Scripts engine etc. Is it Possible to get them in dll form? Tag: Hopper test Tag: 102627
Getting started with RTC API
Hi
This problem is for Windows CE 5.0 platform builder.
I need some help getting started. (I'm obviously missing something so please
help)
I want to make calls to the RTC API and even the VAIL API for that matter
from a third party application (in this case a WinDev Mobile application
~not important~).
The reason why it is not clear exactly what must be included and called from
my application is because I don't know exactly which files are used and
needed to compile the dll's that provide VoIP functionality.
So to be more specific:
Is the entire RTC API accessible through rtccore.dll?
if not, what else do I need?
And what files are used to compile this dll?
What about VAIL API, there is no dll?
Even though the documentation tells you what interfaces to call, I don't
know what I need to include in my app. (And the process of adding files to
get rid of compilation errors is driving me crazy)
I've not found anything of much help on MSDN, and I've read up on RTC etc on
Platform builder help. Not helping too much.
I can't imagine that it's too complicated, so please help me get started
with making calls to RTC and VAIL API's in its simplest form :-)
Rgds
Marcel Tag: Hopper test Tag: 102624
Can I avoid installing .Net Framework 1.1 and still install Platform Builder for CE 5.0?
I have .Net Framework 2.0 and .Net Compact Framework 2.0 installed on
my machine. It seems a little odd that I have to install .Net
Framework 1.1. First, I am already using 2.0, second I am not
installing this product to do desktop development, but Windows CE
development. Finally, that development will likely be more C++
than .Net anyway.
I assume that Platform Builder itself was written in .Net 1.1, but
shouldn't it run under 2.0?
Pat O Tag: Hopper test Tag: 102615
USB and KITL : image download often hangs
Hi everybody,
We are having problems with downloading an image through USB on our
platform.
We have implemented USB RNDIS in our bootloader (based on rne_mdd) so that
we can download (and also debug) our image through USB. During the
developments, we did not have problem with the desktop machine we used for
the download, we were able to load big NK.BIN files (tested up to 23MB).
We are now trying to download using other desktop machines and the download
often hangs after 5MB. It seems that when we have a standalone machine (not
connected to the network), the situation is better (but not perfect). When
changing USB IDs, the situation is temporarily better. Moreover, some MAC
addresses (that we can configure in our bootloader menu) make the download
impossible.
Using a USB sniffer software on our desktop, the last frame sent is an
acknowledge from the device to the desktop.
Our hardware platform is based on the S3C2412 processor from Samsung, and
the OS is CE5. Desktop PCs are all WindowsXP.
Has someone else already had such a problem? Somebody has an idea? Is there
a "magic" configuration of the desktop that could solve all our problems?
Thanks in advance
BR
--
--
--
----------------------------------------------------------------
Anthony Pellerin (eMVP)
ADENEO (ADESET)
Windows Embedded Consultant
<apellerin AT adeneo DOT adetelgroup DOT com>
http://www.adeneo.adetelgroup.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
---------------------------------------------------------------- Tag: Hopper test Tag: 102611
How to configure the environment variable like IE_MODULES_WININET
Hi all,
I have a problem here. I want to modify certain configuration for the
Internet Explorer in the Public folder of WINCE500.
I want to remove the usage of wininet. Pardon my ignorance, but i think I
need to set the enviroment variable of IE_MODULES_WININET to "" then i can
exclude it from the build. Can anyone tell me where do i set these setting?
Thanks Tag: Hopper test Tag: 102608
How to make BINFS partition mounted and visible in explorer?
Hi All,
I make two partitions on a 64MB NAND flash of my board.
MBR at Block 0
part00, BINFS, 16MB
part01, FAT32, 47MB
After Wince startup, the FAT partition is mounted and visible as a
folder named
"ResidentNandFlash".
But BINFS partition is not mounted, cause I check in Storage Manager,
part00 has no "*" mark beside and is not mounted.
The following is the relevant registry settings in platform.reg
=========================================
[HKEY_LOCAL_MACHINE\System\StorageManager\PartitionTable]
"21"="BINFS"
"0B"="FATFS" ;MS-DOS FAT32
[HKEY_LOCAL_MACHINE\System\StorageManager\BINFS]
"Folder"="BINFS"
"FriendlyName"="BIN_FS"
"Dll"="binfs.dll"
"MountFlags"=dword:0 ;MountAsROM, but not Hidden
; "Paging"=dword:1
"BootPhase"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\Nand]
"DriverPath"="Drivers\\BuiltIn\\Nand"
"LoadFlags"=dword:1 ;LoadFlags 0x01 == load
synchronously
"MountFlags"=dword:10
"BootPhase"=dword:0
; "Order"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Nand]
"Prefix"="DSK"
"Dll"="NANDDRV.DLL"
"Order"=dword:2
; "Ioctl"=dword:4
"Profile"="Nand"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"Flags"=dword:1000 .
"FriendlyName"="MSFLASH NAND Driver"
"BootPhase"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\Nand]
"DefaultFileSystem"="BINFS"
"PartitionDriver"="mspart.dll"
"Name"="NAND FlashDisk"
"Folder"="ResidentNandFlash"
"AutoMount"=dword:1
"AutoPart"=dword:1
"MountFlags"=dword:10
; "AutoFormat"=dword:1
"BootPhase"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\Nand\FATFS]
; "Dll"="FATFS.DLL"
; "Util"="FATUTIL.DLL"
"MountFlags"=dword:0
"AutoMount"=dword:1
"AutoPart"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"MountFlags"=dword:0
=========================================
Anyone can give me a hint to make BINFS visiable in WINCE explorer?
Thanks in advance.
D.H Tag: Hopper test Tag: 102599
Wince 5.0 Stress Tool
Hi,
I have run stress tool on wince 5.0 as per the procedure given at
http://msdn2.microsoft.com/en-us/library. It is running but i am not able to
see where the result log(*.xml) file will be created. Tag: Hopper test Tag: 102598
Something may be wrong with the smart device setup CAB file
Hi, all:
Recently I encountered a strange problem. I built a smart device CAB
project via VS.NET 2005. The CAB file is built successfully and the
installation is done well. But I found a big problem: the cabwiz
application seems not to recognize the same files which is placed in
different folders. I have two files which share the same name but
with different contexts. I place them in different folders in the CAB
project. After installation, these files are not placed into the valid
folder. For example, in the setup project, D1 folder contains a file
named aaa and D2 folder also contains a file named aaa. Their contents
of aaa file is different. After installation, the aaa files are
exchanged between D1 folder and D2 folder.
Do you encounter such problem ever? I think this should not
happened in VS.NET 2005. Hope you can help me. Thanks very much! Tag: Hopper test Tag: 102594
PEAP IEEE802.1x authentication on CE4.2
I have two problems with IEEE802.1X authentication (PEAP) on Windows
CE 4.2:
1) After a successful authentication to an access point with PEAP, if
I try to connect again to the AP (without disconnecting) the platform
doesn't authenticate again to the radius server: (Authenticating ...
Reauthenticating ... reauthenticating ... with no successful
authentication) and the result is the same if i try to connect again.
If i watch with a sniffer to the trame exchanged between the AP and
the platform, the following sequence occurs:
a) the platform tries to start an EAP session
b) the AP acknowledge the platform request
c) the platform sends his identity
d) the AP acknowledge the platform request
e) the transaction stops here !
Note: if i connect to another AP with no IEEE802.1X authentication
when the problems occurs, there is generally no problem to reconnect
to the PEAP AP after.
2) Exceptionnaly, after a boot of the platform or a enable/disable of
the wireless card, the connection failed like in 1) but finish after a
few time to be established (3 minutes seems to be generally good)
I don't know if my two problems are linked, but it is the 2) problem
that makes me discover the 1) problem.
The platform is an x86 based platform.
All the QFE has been applied before building the platform.
Best Regards,
R=E9mi Tag: Hopper test Tag: 102593
PowerPolicyNotify breakpoint on Wince-5.0
Hello,
On our custom board when the wince boots it keeps on breaking at the
below statement.
fOk = PowerPolicyNotify(PPN_POWERCHANGE,0);
DEBUGCHK(fOk);
Could someone help me what might be the problem and how could I resolve it.
Thanks,
Shiju Tag: Hopper test Tag: 102592
Keyboard filter driver for WM
Hi All,
i want to write a keyboard filter driver for WM devices. Do we have
any sample driver in platform builder?
I want to hook the keyboard and eat up the keystrokes. Please do not
suggest SetWindowsHookEx as it does not work with many devices.
R Tag: Hopper test Tag: 102590
Private source code
hi all,
it is illegal to change the private code of windows ce 6.0 and publishing an
article regarding the changes for solving an device specfic issue? Please let
me know.
Thank you,
--
vinoth.R
Technical Lead
e-consystems India Pvt Ltd
www.e-consystems.com Tag: Hopper test Tag: 102580
MP3 AVI DIVX MPEG SOFT = www.GEGEREKA.com
Millions files for everyone. Music, movies, soft and other media.
Check it now!! http://www.gegereka.com Tag: Hopper test Tag: 102578
Installation of Windows CE 4.2
Hi all,
I'm having WinCE 5.0 and WinCE 6.0 (With VS 2005 SP1) on separate
partitions with .NET 1.0 and 2.0 installed. Now i need to install Windows CE
4.2 in my PC. So i want to know, whether i can simply install it in a
separate partition or i've to do something before installing.
When reinstalling CE 5.0 some months back, i got some issues
regarding core con connectivity, but i have solved that.
Thats why i'm afraid whether i'll get some problems after
installation??? ( Then i've to reinstall all the three :( )What i've to do???
Regards,
Mekas :) Tag: Hopper test Tag: 102566
64 bit processor
Hi all,
O.S-Win CE 4.2.
Processor - AMD turion 64 bit
I wanted to confirm whether wince 4.2 supports the above processor, since in
the wince architecture it has been mentioned has 32-bit operating system???
or any changes required???
Thanks in advance,
Regards,
Sankarraj, S Tag: Hopper test Tag: 102564
DMA driver
Hi,
I am sort of a newbie to DMA.
But now i am supposes to make a DMA driver, basically a driver which
will talking to the DMA controler on my board.
For this I have few questions
1) What is burst size and how is it related to DMA
2) Would making the DMA driver similiar to a stream interface driver
be a correct design?
3) Do I need to modify the API's HalTranslateSystemAddress or
HalAllocateCommonBuffer etc for the same
4) What is the difference between a DMA driver and a DMA adapter?
Thanks
Anwar Tag: Hopper test Tag: 102562
How to set up multiple ip addresses on a single network adaptor?
Hi, all?
I'm finding a way to set up multiple ip addresses on a single ethernet card?
How can I build it?
Any pointers to related material would be also appreciated. Tag: Hopper test Tag: 102559
WPA2, AES
PB 5.0
Our WLAN driver supports WPA2. We have configured our access point to
support WPA2, AES.
When I connect with my laptop with WPA/AES type, it is getting
connected after I provide USERNAME/PASSWORD/DOMAIN
But If I choose the same configuration/credentials in my WINCE device
- WPA2/AES/PEAP, popup comes asking for username and password. Even if
I give the details correctly, popup keeps coming up asking for the
credentials. After few tries it says cancelled authentication.
1) Does this combination is supported in PB5.0 - WPA2/AES ?
Following are the settings we were asked to setup by the people who
configured AP.
The Radius details are as follows:
a. Data encryption - AES
b. EAP type - PEAP
c. No Certificate validation required
d. Authentication method - secured password (EAP-MSCHAP.V2)
2) I was able to do the the first three settings(a, b and c) in my
wnce device. I assume PEAP authentication always follows EAP-MSCHAP.V2
method. Is that correct ? Tag: Hopper test Tag: 102557
Surprise Remove to the USB Audio driver
Dear Experts,
I'm developing USB audio driver for the WindowsCE5.0. Until now,
everything is good execept handling surprise remove USB audio device. The
problem is i'm playing music via Media player and surprising remove device
without stop music first. Then system generates error message
"SwMixer:WaitForBuffer failed. Audio driver missed interrupt?".
For the bug, i've done experiments:
1. When get error from lpIssueIsochTransfer(), i process the data i've
received at first then return "MMSYSERR_ERROR" to OS in the WODM_WRITE
request.
2. Besides 1. i also unload our device. // via
DeactiveDevice(pUSBWave->hStreamDevice).
Both of the cases system returns the same error:"SwMixer:WaitForBuffer
failed. Audio driver missed interrupt?". I wonder is it SwMixer cannot
support surprise remove or driver has to do more?
Sincerely,
Hsiang Hua, Chao
C-Media Inc. Tag: Hopper test Tag: 102556
What is RTH.exe in the NK.bin?
Hi All,
I tried to find information with regards to RTH.exe which is part of the
NK.bin image. Pardon my ignorance, can some one please tell me what does
RTH.exe do? What is it consist of (what dlls being used) and whether is it
possible to exclude it usage.
Sincerely
Jimmy Tag: Hopper test Tag: 102555
Registry settings for RAS server
Hi,
I'm struggling with the RAS server application for an ARMV4I board with
wince 5.0 for quite a while..
The server seems to start-up well - I did not change any of the settings.
At first, I tried adding a line with the device name of "Serial Cable on Com
Port:", since this is the "friendly name" of the unimodem I had in
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial\Unimodem. when using the LineConfig
function, I received an error - 659 (device not found). I saw that when
looking for the adopter, the device name and type that mine was compared to
is
"Hayes Compatible on COM1:" with "modem" type, so I changed my device name
and type, which seemed to work, since all the result values were successful
(though I did not see any GUI to change the settings).
I added this to my project.reg as well:
[HKEY_LOCAL_MACHINE\Comm\ppp\Server\Line\"Hayes Compatible on COM1:"\]
"Enable"=dword:1
"DeviceType"="modem"
"Flags"=dword:2
I created a new connection on my PC (win-XP, which is connected with the
serial port to the board) as a guest, directly to another computer, with the
maximum speed of 119200 KB, Hardware control disabled. When I tried to
connect (after starting the RAS server), I received the following error
message:
Error 777: The connection attempt failed because the modem (or other
connecting device) on the remote computer is out of order.
which is the same error received when the board is disconnected. The serial
port surely works, since I can use the hyper terminal to control it.
Any help will be most welcome..
~Y. Tag: Hopper test Tag: 102550
sqlmobile and server 2000 question
I'm using the RDA - Pull method to download data from my SQL Server
2000 database to my WINCE5.0. I have this working fine in my
environment,
but when I try to run it on a clients network I am getting an error.
Error Code: 80070005
Message :
Minor Err.: 0
Source : Microsoft SQL Server 2005 Mobile Edition"
When I browse out to the SSCESA30.DLL file from IE Explorer, I do get
"Microsoft SQL Server Compact Edition Server Agent" returned,
but only if I enter the domain (along with UID & PWD)
when prompted from the explorer session. Do I need the domain
somewhere in the connection string of my program? All I have in it now
are the URL Login & URL Pwd. If I do, can anyone give me an example of
how I would add it to my vs2005 code. Thanks.
This is my code:
Private Sub pull()
Dim strLocalConnect As String
Dim strRemoteConnect As String
strRemoteConnect = "Provider=SQLOLEDB;Data Source=LF-
WINXP;User ID=sa;Password=jianwei;Initial Catalog=SPMS2005"
strLocalConnect = "Data Source=" + DatabaseName
Try
Dim rda As SqlCeRemoteDataAccess = New
SqlCeRemoteDataAccess()
Dim strSelectTablerToD As String
strSelectTablerToD = "SELECT * FROM dbo.issue"
rda.InternetLogin = ""
rda.InternetPassword = ""
rda.InternetUrl = strInternetURL
rda.LocalConnectionString = strLocalConnect
rda.Pull("xx", strSelectTablerToD, strRemoteConnect, _
System.Data.SqlServerCe.RdaTrackOption.TrackingOff)
Catch ex As SqlCeException
ShowErrors(ex)
End Try
End Sub Tag: Hopper test Tag: 102548
sqlmobile and server 2000 question
I'm using the RDA - Pull method to download data from my SQL Server
2000 database to my WINCE5.0. I have this working fine in my
environment,
but when I try to run it on a clients network I am getting an error.
Error Code: 80070005
Message :
Minor Err.: 0
Source : Microsoft SQL Server 2005 Mobile Edition"
When I browse out to the SSCESA30.DLL file from IE Explorer, I do get
"Microsoft SQL Server Compact Edition Server Agent" returned,
but only if I enter the domain (along with UID & PWD)
when prompted from the explorer session. Do I need the domain
somewhere in the connection string of my program? All I have in it now
are the URL Login & URL Pwd. If I do, can anyone give me an example of
how I would add it to my vs2005 code. Thanks.
This is my code:
Private Sub pull()
Dim strLocalConnect As String
Dim strRemoteConnect As String
strRemoteConnect = "Provider=SQLOLEDB;Data Source=LF-
WINXP;User ID=sa;Password=jianwei;Initial Catalog=SPMS2005"
strLocalConnect = "Data Source=" + DatabaseName
Try
Dim rda As SqlCeRemoteDataAccess = New
SqlCeRemoteDataAccess()
Dim strSelectTablerToD As String
strSelectTablerToD = "SELECT * FROM dbo.issue"
rda.InternetLogin = ""
rda.InternetPassword = ""
rda.InternetUrl = strInternetURL
rda.LocalConnectionString = strLocalConnect
rda.Pull("xx", strSelectTablerToD, strRemoteConnect, _
System.Data.SqlServerCe.RdaTrackOption.TrackingOff)
Catch ex As SqlCeException
ShowErrors(ex)
End Try
End Sub Tag: Hopper test Tag: 102547
Basic question with TCP and serial port
If I build an image that DOES NOT have an Ethernet connection but does have
your basic serial ports.
And I include things like a RAS server and/or FTP server, How can I set an
I/P address?
I know how to set the TCP/IP address parameters for an Ethernet device but
not for a serial device. Tag: Hopper test Tag: 102546
My top wish for CE6 SP next
Fix all the CE 5 and CE 6 side by side install issues and make all the
different versions of the remote tools (VS2005,PB5 and PB6) play nicely
together. Tag: Hopper test Tag: 102545
NK.bin for SMDK2410 not built
Hello,
I want to build WinCE 4.2 for an Acer N30.
Build returns without errors, Make Image runs fine, too.
But it produces only chain/core/DRIVERS/EBOOT/xip.bin.
You find the output below. postromimage.bat only demands
the NK.bin, which it can't find.
Building for Emulator x86 outputs a single NK.bin, it run's fine.
To flash the SMDK2410 image to the device I need a NK.BIN as
available from Acer for updating the device.
What do I need to get one .bin instead of five?
Please can you hint what I should look out for?
Best Regards,
Sasha
---- Make Image
...
Writing C:\Programme\WINCE420\PUBLIC\mySmallSamsung\RelDir
\EMULAT~2\NK.bin
Table of contents 812e4050 0000161c ( 5660)
Writing ROM signature and TOC pointer at 80240040
Kernel data copy section 8086af74 00000020 ( 32)
ROM Header 812e3ffc 00000054 ( 84)
First DLL code Address: 02de0000
Last DLL code Address: 04000000
First DLL Address: 01ec01ec
Last DLL Address: 02000000
Physical Start Address: 80240000
Physical End Address: 812e566c
Start RAM: 812e6000
Start of free RAM: 81325000
End of RAM: 81c00000
Number of Modules: 120
Number of Copy Sections: 2
Copy Section Offset: 8086af74
FileSys 4K Chunks/Mbyte: 128 <2Mbyte 128 2-4Mbyte 0 4-6Mbyte 0
>6Mbyte
CPU Type: 014ch
Extensions Pointer: 80245a80
Total ROM size: 010a566c ( 17454700)
Starting ip: 802ab798
Raw files size: 000d3ddd
Compressed files size: 0008099d
Compacting bin file...
Done!
makeimg: Check for C:\Programme\WINCE420\PUBLIC\mySmallSamsung\RelDir
\EMULAT~2\PostRomImage.bat to run. Tag: Hopper test Tag: 102543
Windows CE HOT Key
Hi,
In the windows ce devices hard keys like answer and hangup keys
performs only when phone is active. I have question that which part or
the driver of
the system comes to know that phone is active ( Typically it is when
Internal speaker is set) and now allow these keys to perform.
If we find any module then what is the way to communicate with that
using application level programming ?
I am expecting I'll defiantly get the answer.
Thanks,
Niraj Tag: Hopper test Tag: 102542
Duplicated NAND folder after using Hive-Based Regsitry
Hi Everyone,
I have an evaluation board which originally sets to use RAM-Based Regsitry.
This board uses one 128MB NAND flash and there is no IPSM. Therefore changes
to Registry will lose after a power cycle. I changed RAM_Based Registry to
HIve_Based Registry and modified the common.reg as the following:
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="NAND Flash\\system.hv"
"ProfileDir"="NAND Flash"
"Flags"=dword:1
"RegistryFlags"=dword:1
"Start DevMgr"=dword:1
"DefaultUser"="User"
I rebuilt the OS and the device had no problem launching the OS. But I found
in addition to "NAND Flash" folder, there is another folder called "NAND
Flash2" and contents in there two folders are the same. Is it because that I
want to store system.hv in NAND Flash folder? Why could that happen and how
to fix it?
Thanks,
James Tag: Hopper test Tag: 102534
wince 6.0 Exception in gwes hangs kernel on startup
Hello,
Am attempting to port a 5.0 device to 6.0 and have ran into an
exception I can't find the cause of.
The error message given is:
Exception 'Data Abort' (4):
Thread-Id=03b60002(pth=87df4aec),
Proc-Id=00400002(pprc=80153308) 'NK.EXE',
VM-active=00400002(pprc=80153308) 'NK.EXE'
PC=c0190620(gwes.dll+0x00050620)
RA=c0190608(gwes.dll+0x00050608)
SP=d06cfddc,
BVA=00000104
And from gwes.map I see the return address 0x00050608 falls between
MaskBlt_I and StretchBlt_I in blt2.obj.
MaskBlt_I is not referenced in the Platform code, and for an
experiment I built the device with no display, but received the same
error (???)
Any clues where to investigate the possible cause? Thanks in advance
for any input. Tag: Hopper test Tag: 102533
NDIS crash when
Hi,
I have a problem with NDIS crashing sometimes when I suspend my system
(Samsung S3C2410 CE5.0). It happens maybe after an hour if I sleep/
resume in 15 s intervall. The image has a driver cs8900.dll for a
cs8900 ethernet chip. Also, a GPRS modem is present. If I remove the
cs8900 driver the crash doesn't happen. The crash happens just after I
set the cs8900 chip in HW Suspend before suspend. This is done thru
OID_PNP_CAPABILITIES IOCTLs. This is how the debug output looks:
CS8900:: OID_PNP_SET_POWER to [NdisDeviceStateD3]
CS8900SetNdisDeviceStateD3
Data Abort: Thread=85ea3c00 Proc=8c226400 'device.exe'
AKY=ffffffff PC=03b645e4(ndis.dll+0x000045e4) RA=3b743b74(device.exe
+0x01733b74) BVA=3b743bc8 FSR=00000005
OEMIoControl: Unsupported Code 0x10100f4 - device 0x0101 func 61
Data Abort: Thread=85eacd94 Proc=8c226400 'device.exe'
AKY=00000005 PC=03ad44d8(tcpstk.dll+0x000144d8) RA=03ad44a4(tcpstk.dll
+0x000144a4) BVA=3b743b7e FSR=00000005
After this the system sleeps, then it can wake up on interrupt or RTC
alarm. But then it crashes immediately. I've tracked (ndis.dll
+0x000045e4) to function NdisInterlockedAddUlong by looking in
ndis.map.
Any ideas? Next step is to use debug version of ndis.dll
Regards,
Jojje Tag: Hopper test Tag: 102526
storagemanager registry setting...
hi, all?
I'm finding some registry value that set default filesystem format(fat16 or
fat32) when user run the format operation from 'control panel --> storage
manager'
By default, the storage manager seems to format the nand flash by fat32.
How can I change the default setting to fat16.
Isn't there any registry settings for it? Tag: Hopper test Tag: 102525
802.1x implementation over LAN
hi all,
It's a general question regarding 802.1x over LAN. My question is - can we
write device driver to implement 802.1x in wince 5.0? if it is possible,
where it can be implemented in a ndis device driver stack(i mean can this is
implemented at NDIS miniport driver level?).
thanq all. Tag: Hopper test Tag: 102519
Daylight saving time problem with PB5.0
Hi everybody,
With PB 5.0 on a PhyCore PXA-270 (BSP from Adeneo), I try to put on
Daylight Saving Time ('Paris' time zone).
I have installed all the QFE for Wince 5.0 and added the 'SNTP Client
with DST' component to my image.
In my 'Project.reg file, I've added :
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Clock]
"AutoDST"=dword:00000001
"ShowDSTUI"=dword:00000001
In the 'Paris' time zone, on sunday October 28th, 2007, when the hour
will pass of 2:59AM to 3:00AM, then the hour must be adjusted to
2:00AM...
This is my procedure to test Daylight Saving Time mechanism :
- With 'Date/Time Properties', I set the RTC to sunday October 21th,
2007 2:00AM (one week before date/time transition) and I validate.
- With 'Date/Time Properties', I set the RTC to sunday October 28th,
2007 2:55AM (5 minutes before the time transition) and I validate.
- I wait 10 minutes, but nothing happen and the time continue to be
normally incremented.
- After this time (eg 3:05AM), if I go again in the 'Date/Time
Properties' and I validate without changing anything, WinCE 'see' the
time transition and set the time to 2:05AM with displaying a dialog
box that inform me that the time has been changed automatically.
By trying to resolve this problem, I found something curious :
when I sysgen (with "clean before building" option), I see a warning
about "tsvc_dst" :
makeimg: Warning Localization FAILED: Could not find
C:\WINCE500\PBWorkspaces\PhytecDevelBoard_DEMO\RelDir\phyCore-PXA270-DK_ARMV4I_Debug\tsvc_dst.DLL|EXE|CPL
I have installed PB5.0, cleaned the folders, installed PB5.0 and all
QFE's (up to 05-2007) but I have always this warning and the Daylight
Saving Time don't work automatically.
Can someone help me ?
--
oVo
olivier vigliengo tma fr
. @ . Tag: Hopper test Tag: 102510
Hive VS RAM -Based Registry
What's the difference between Hive-Based Registry and RAM Based Registry?
(And what about hard reset with each one of them?)
Mhaxx Tag: Hopper test Tag: 102508
Dial up connection user name password in registry
In CE 4.2 ,I was able to save the user name and password for dial up
connection in the registry without any problem.
But in 5.0 ,though the user name and password are retained in the
system,I am not able to find appropriate registry where the user name
and password are stored,so that I will be able to include them in the
OS.
Can someone let me know where the user name and password are stored.
Thanks Tag: Hopper test Tag: 102495
Limitations of cmd.exe on CE
Hi,
It seems like the command processor cmd.exe on CE(4.2) is a heavily
reduced version of the "cmd.exe we know".
It looks like quite a few commands are not supported in it. For
example 'for", "find", "more", etc... are not available. The "for"
instruction is quite handy to have, actually I should say it's really
a pain in the axx to not have it.
I wonder if there is a way to add support for these commands and have
a full featured command prompt, suitable to run some batch files, or
is it hopeless and I should forget about running a non trivial .bat
script on CE.
Any experience in that domain?
Thanks.
Alex Tag: Hopper test Tag: 102492
GetGeneralIFConfig Error
Our platform is a PXA255 WinCE 4.2 with a 802.11g CF Radio Module.
Upon inserting the WIFI adapter GetGeneralIFConfig errors are reported by
our debug build of CE 4.2.
OpenIFConfig(Comm\SDCF10G1\Params\TCPIP *Handle 0x83FE4C4, BOOL Ret: 1)
+GetGeneralIFConfig(ConfigInfo 0x83FE4C98 Handle 0xA2730)
GetGeneralIFConfig:Unable to read DefaultGateway value!
GetGeneralIFConfig:Unable to read DNS value!
GetGeneralIFConfig:Unable to read WINS value!
GetGeneralIFConfig:Unable to read UseZeroBroadcast value!
All-nets boadcasts will be addressed to 255.255.255.255
What causes this type of error?
Thanks. Tag: Hopper test Tag: 102491
Why is the CE6 build process so slow ?
While doing a build, my machine gets stuck at NETCFV2_MODULES= dotnetv2 for 5
or 10 minutes.
How can I speed up this build time ? Tag: Hopper test Tag: 102488
Localisation of TIMESRV (tsrv_dst warning) CE 5.0
<<<<Apologies if you have already seen this and responded to this on
"microsoft.public.win32.programmer.wince",
I posted it to the wrong group (!!!!) so am reposting here.>>>>
The only warning I have left on my platform build is as follows:
makeimg: Warning Localization FAILED: Could not find C:\WINCE500\ ...
\tsvc_dst.DLL|EXE|CPL
This appears to be because the module "timesrv.dll" which handles
daylight saving time builds in a static library tsvc_dst.lib which
includes a localisable string table "tsvc_dst.res". So, the file that
should be being localised is "timesrv.dll" and all the localising
string tables are called "tsvc_dst.res".
The makefile in CESYSGEN is adding "tsvc_dst" to "servers.loc" so
that
when makeimg comes across this file, it can't find an executable an
executable with that name, ergo the warning.
So....
1. I am assuming that "timesrv.dll" has not been localised correctly.
(Not too much of a problem for me, but I'm sure not the best
situation
if you're German, Spanish, Italian, etc....)
2. I am also assuming that I could patch my release directory copy of
"servers.loc" in "PreMakeImage.bat" with something that fixes this
problem. But what is this? How do I get to localise "timesrv.dll"
using the resources for "tsvc_dst.dll" ????
Anyone that's got this far down such a complicated (& admittedly
boring) post deserves a prize!!!! If you can give me the answer, I
might even send you one!!!!
Thanks in advance,
Andrew. Tag: Hopper test Tag: 102486
Unicode Script Processor
Hello Everybody,
Has anyone tried adding indic or complex script support to wince 5.0. How is
the performance?
I have observed that the indic support with Mangal font based UI works
considerably slow, has anyone observed otherwise.
Also, I have observed that the months(in Marathi indic language) in the
system calender paint as fast as its US English counterpart however it paints
slowly from a DOTNET and MFC application.
Is it a issue related to Complex script if yes is there any alternative
solution???
In anticipation of a reply ASAP
Regards,
Ann Tag: Hopper test Tag: 102479
installable Interrupt
I actually have my installable interrupt routine working but I was hoping
someone could explain some things about it to me? I see how the
"instance" gets created, I call LoadIntChainHandler
then I setup ISR_INFO... and pass it via
KernelLibIoControl
now KernalLibIoControl calls the IoControl routine inside my in dll, with
an "instance" my dll also has a routine called CreateInstance How
does CreateInstance get called ? how does the kernal know how many
"instances have been created? my assumption is that the call to
LoadIntChain.. calls CreateInstance and keeps track of the number of
instances but I cant prove this...
then when an interrupt occurs, the kernal calls my isrHandler once for
each "instance" created during loadInt call until it gets a return value
other then SYSINTR_CHAIN ?,
Now I have and interrupt service thread routine that is waiting on an event,
how does this get event get created ?
Just want to make sure I understand how this really works...
Thanks,
Joe Welfeld Tag: Hopper test Tag: 102477
Hi all,
I know that the Hopper tool is for Windows Mobile environment
Is it possible to "port" this tool on Win CE 5.0?
Thank you in advance