data file compression
I'm developing a project which needs to store compressed files for uploading
to a central server. Some of these files can get pretty large (video), so I
will need compression on my CE device. Additionally, the device must be
configured to receive compressed files for updating (also very large).
What types of file or folder compression/decompression will run on a CE
environment? I will most likely need a dll, since this project will be
essentially headless. Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103765
Serial communication on USB 2.0 losing characters when using WaitCommEvent
Hello!
I'm adapting a USB 2.0 driver to work with a PXA270. When using this driver
as a serial driver (usbfndrv.cpp and mdd.c) together with WaitCommEvent, I'm
losing 1 character for each 2048 charter.
It's working fine when WaitCommEvent is not used.
It's also working OK with the internal USB device on PXA27. The reason is
that the page size is 64 byte on the internal USB device, but 512 on USB 2.0
device. And the FIFO in mdd is 2048 byte. The character is tossed in the
SerialEventHandler in mdd.c. Is there someone who has worked out this
problem earlier?
Regards
Amund Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103750
FILESYS: Waiting for bootable file system to be mounted.
Hi All,
I am playing with wince60 device simulator, i select "Binary Rom Image
File System" as my filesystem and ROM-only File System,
however, when reboot, I got "FILESYS: Waiting for bootable file
system to be mounted." many many times.
How can i do?
Thanks Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103746
how can I play hive-registry on WINCE6.0 device simulator?
Hi ALL,
Can you tell me whether or not I can play hive registry on WINCE60
divice simulator? If can, can you tell me how?
Thanks a lot
max Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103745
kill build task
Hi ALL,
i am calling my application through makefile during build
command(build -c) in WINCE . So is there any way to stop the build
through my perl application?
Build ->makefile->perlapps .So i want to come out from the build
process after my application finished the work .
Any input is welcome
Thanks
Chinmoy Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103741
WINCE Hangs
PXA270, PB5.0
Our product will reside in a truck. For longer duration testing, I
left the system running and at some point of time it hangs. I'm not
able to findout where it hangs.
The same system in the test bench works fine for days.
How do I findout why the WINCE hangs and where ? I wont be able to
capture debug output continuosly as I cannot keep a laptop connected
always. Is there any log I can take ?
Any advice would be really helpful to me
Thanks,
Venkatesh Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103739
EAP-TLS with windows CE
Hi,
I was wondering how EAP-TLS authentication is performed with windows ce 5.0.
I have loaded the necessary private key and certificates (they work with
other devices such as laptops) onto my device and they appear to be going to
the correct stores. When I go to connect to an EAP-TLS enabled network, I
get a prompt for a User Name and Domain Name. What exactly is it looking for
here? The Active Directory user name that the certificate was issued to? Or
the subject name as on the certificate?
After entering the user name and the domain, the username dialog goes away
but then authentication fails and it reappears. What are possible causes of
this authentication failure?
Also, is there a good description somewhere out there about how EAP-TLS
works with Windows CE5.0? I'd really like to be able to troubleshoot these
types of problems...
Thanks,
Jon Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103734
pm.dll / RequestPowerNotifications
Hi,
I have a WINCE5.0 image with full power mngmnt.
An application needs to be notified of a user pressing the power button.
I call RequestPowerNotifications() for this, with correct parameters.
I get Error 1060 : The specified service does not exist as an installed
service.
After this I noticed that pm.dll does not seem to be loaded.
Can this be the cause ?
I cannot find ANY regfile in the entire CE source-tree that references PM.dll
How is this dll supposed to be loaded ? there is a lot of docu on
powermanagement, but the docu assumes it works :-( and doesn't mention any
settings.
Any tips are welcome...
Greetings,
Rob. Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103721
how to call CPP functions from a C files?
I see some ms code do it, but i don't see any special calling conversion
define in source or in make files? Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103716
Help about COM Thread Models!
In my opion the STA COM server only run in one thread and the data is
thread-safety ,
To verify my opions, I did one test.
But from my test result, the two opions are not verified.I can't know
what problem in this.
Any help would be really appreciated!
The follow is to my step to do test, include key code-section and
result content:
The COM Server is only to print the caller's parameter and its
threadid, the code is posted follow:
--------------------------------------------------
STDMETHODIMP CHello::LogTrace(SHORT Caller, SHORT Inc, DWORD Client)
{
FILE* fp;
//szPrint is one member of CHello, it used to check whether the COM
server data is thread-safety.
sprintf(szPrint, "C = %d, Inc = %d, Serv = %x, Client = %x", Caller,
Inc, GetCurrentThreadId(), Client);
Sleep(1);
fp = fopen("Test.txt", "a+");
fprintf(fp, "%s\n", szPrint);
fclose(fp);
return S_OK;
}
--------------------------------------------------
The COM Client have three steps:
1.The main thread create a server thread which build STA thread, the
code is :
--------------------------------------------------
DWORD WINAPI ServPorc(LPVOID lpv)
{
pDlgParam pParam;
DWORD dwInterface;
bool bContinue = true;
IHello* pHello = NULL;
pParam = (pDlgParam )lpv;
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED);
CoCreateInstance(CLSID_StdGlobalInterfaceTable, NULL,
CLSCTX_INPROC_SERVER, IID_IGlobalInterfaceTable, (void **)&gpGIT);
CoCreateInstance(CLSID_Hello, NULL, CLSCTX_INPROC_SERVER, IID_IHello,
(void **)(&pHello));
pHello->LogTrace( -1, -1, GetCurrentThreadId());
gpGIT->RegisterInterfaceInGlobal(pHello, IID_IHello, &dwInterface);
PostMessage(pParam->hDlg, WM_USER + 2, 0, (LPARAM)dwInterface);
MSG msg;
while(GetMessage(&msg, NULL, 0, 0))
{
DispatchMessage(&msg);
}
if (pHello)
pHello->Release();
CoUninitialize();
return 0;
}
--------------------------------------------------
2.After setup COM server thread, the main thread create some COM
client threads.
--------------------------------------------------
for (int i= 0; i< PARAL_THREAD; i++)
{
LogParam[i].ICookie = dwCookie;
LogParam[i].Child = i;
hTestServer[i] = CreateThread(NULL, 0, LogPorc, &LogParam[i], NULL,
&dwTestHandle[i]);
}
--------------------------------------------------
3.The child thread call the pHello->LogTrace.
DWORD WINAPI LogPorc(LPVOID lpv)
{
pLogChild pParam;
IHello* pHello = NULL;
HRESULT hr;
pParam = (pLogChild) lpv;
gpGIT->GetInterfaceFromGlobal(pParam->ICookie, IID_IHello,
reinterpret_cast< void** >( &pHello ));
for (int i = 0; i < 20; i++)
{
pHello->LogTrace(pParam->Child, i, GetCurrentThreadId());
Sleep(1);
}
pHello->Release();
return 0;
}
The section of test.txt file is :
....
C = 0, Inc = 0, Serv = 61b000e, Client = 61b000e
C = 0, Inc = 1, Serv = 61b000e, Client = 61b000e
C = 2, Inc = 0, Serv = 620000e, Client = 620000e
C = 1, Inc = 1, Serv = 61e000e, Client = 61e000e
C = 0, Inc = 2, Serv = 61b000e, Client = 61b000e
C = 2, Inc = 1, Serv = 620000e, Client = 620000e
C = 1, Inc = 2, Serv = 61e000e, Client = 61e000e
C = 1, Inc = 2, Serv = 61e000e, Client = 61e000e
C = 0, Inc = 3, Serv = 61b000e, Client = 61b000e
C = 2, Inc = 2, Serv = 620000e, Client = 620000e
C = 1, Inc = 3, Serv = 61e000e, Client = 61e000e
C = 1, Inc = 3, Serv = 61e000e, Client = 61e000e
C = 1, Inc = 3, Serv = 61e000e, Client = 61e000e
....
The serv fields have three threadids, and these have some repeated
lines. Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103715
Wave Driver registry settings
Hi,
I am trying to build a wave driver based on the Unified Audio model.
For this I created a normal stream interface driver with all WAV_xxx
functions required.
The registry entry for the driver was done under
HKEY_LOCAL_MACHINE\Drivers\Builtin\FILTER
When I try to call the wave api "waveOutGetNumDevs" the 0 is returned.
Also the waveOutOpen return "NO DRIVER" found.
What i fail to understand is that how do the wave api know which are
the audio drivers available.
Under what registry settings should the audio driver be put?
Thanks in advance
Mohammed Anwar Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103714
FATFS CacheSize - is it "overridden" by profiles, or ... ?
Hello all,
How does the CacheSize setting for FATFS interract between the base
setting and the profiles?
You can set the cache size for FATFS by setting the registry value
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"CacheSize"=dword:1000
like the other FATFS parameters, you can supposedly override this with a
value under the profile, e.g.
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ramd\FATFS]
"CacheSize"=dword:1000
But what does override mean here?
Does it mean that FATFS allocates a separate cache of that size for the
profile (ramd here), in addition to it's base cache? Does it use the
larger or smaller of all the profiles for a single cache?
Or is the base setting really just a default, and every mounted FAT
filesystem gets a separate cache that big?
Thanks
Aaron Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103712
Problem building debug version of a driver (LNK4204)
Hi!
Trying to build a debug version of a driver under eVC gives the warning
"LNK4204: 'ccrthelp.pdb' is missing debugging information for
referencing module; linking object as if no debug info".
The driver DLL is build, but during a debug session the debugger jumps
raher randomly through the source code. The PDB in question is from a
Platform Builder directory (\PUBLIC\COMMON\OAK\LIB\ARMV4I\DEBUG).
Any suggestions?
Regards
Max Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103709
CE5 ASP - strange error message on Response.Flush
Hello all,
Is John Spaith out there ? :)
In one of my ASP pages, I'm trying to use Response.Flush. Elsewhere, it
has seemed to work OK, but here my script just stops with this message:
------------------------------
Buffering must be turned on to complete that action
ASP scripting compilation error: '80020009'
Description:
In file: /Journal.asp
On line: 54
------------------------------
Even this simple test case now fails:
<%@ language="VBScript" %>
<%
Response.Write "cake<br>"
Response.Flush
%>
Any ideas?
Regards
Aaron Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103708
NAND flash fmd dirver performance
Dear all,
I'm developing nand flash fmd driver using FAL library. I
printf the 'dwNumSectors' parameter in function FMD_ReadSector(...)
and find it is still 1 .
So, FAL only read 1 sector one time? and if so, the
performace is not good, any one can give me some idea? thanks. Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103707
Unidentifed USB Device
I have a HID-compliant USB device and I have written a custom driver for it.
(And removed usbhid (SYSGEN_USB_HID) from the catalog for testing purposes).
The driver is loaded correctly if I plug the device in AFTER startup.
But ... if the device is already plugged in at startup, I get the
Unidentifed USB Device dialog. If I cancel the dialog, unplug the device
and plug it back in, the driver loads OK. Or if I just enter the driver
name in the dialog, it loads OK. (With SYSGEN_USB_HID included, it is
recognized at startup by the default HID settings).
I have tried adding all sorts of registry entries under USB\LoadClients and
other keys, using Vendor ID, VendorID_ProductID, Default or whatever,
without success.
What is different about the bootup procedure from that when I plug the
device in? Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103700
DLL test tool
Hi ALL ,
I am trying to make a tool which will test the all DLL
and EXEs are present are not in the platfrom target tree. So i am
caling my perl application tool through makefile from my own created
directory in platfrom tree with modify the dirs file and this test
tools is checking all DLLS and EXEs.I am comparing with my
platfrom.bib file
and if i not found any DLL or my required EXE which will be used in my
makeimg ,so soon i want come out from build .SO i dont know how to
stop the microsoft build program through perl script and program
should terminate gracefully also?
Any ideas are welcome to open my locked door.
Thanks
Chinmoy Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103699
Subtle bug in MIPS assembler - missing definition ignored
Here is a potentially nasty behavior in at least the Windows CE MIPS
assembler. It may be present on other as architectures as well.
The following code is compilable:
#include <kxmips.h>
#define PATRICK_STARFISH 0x12340000
LEAF_ENTRY(this_is_bogus)
lw t0, SPONGEBOB_SQUAREPANTS(PATRICK_STARFISH)
...
even though there is _no_ definition for SPONGEBOB_SQUAREPANTS!
The assembled code generated reads:
Proc: this_is_bogus
lw t0, SPONGEBOB_SQUAREPANTS(PATRICK_STARFISH)
0000000000 0x3c011234 lui at,0x1234
0x00000004 0x24210000 addiu at,at,0
0x00000008 0x8c280000 lw t0,0(at)
...
in other words,
SOMETHING(defined_symbol)
is evaluated as if SOMETHING had an empty definition (as opposed to being
undefined).
The assembler correctly handles the case where the macro includes a literal
instead of a symbol. Building the code:
lw t0, SPONGEBOB_SQUAREPANTS(0x12340000)
fails, with an error: unresolved external symbol SPONGEBOB_SQUAREPANTS
referenced in function this_is_bogus
--
--Richard R Lee, eMVP Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103698
paired/unpaired Flash components and FMD
Hi,
I am facing a problem with the FMD located in:
WINCE500\PUBLIC\COMMON\OAK\DRIVERS\BLOCK\MSFLASHFMD\FASL
After creating my local copy of it, I got it working in one of our
devices using NOR Flash (Spansion) with 2 paired chips.
Also my Booloader is using the PQOAL flash library. I used it to flash
the NK.bin and it works fine.
Now I am using a non-paired architecture (only one 16-bit Flash chip).
I thought that setting the bPairedFlash variable to FALSE should be
enough, but it is not working, while the bootloader still works
without problems.
After some debugging, I found that the driver fails in the following
line:
pStorageDesc->pFlashDevDesc->stDeviceID.u32MfgID = RD_FLASH_REG
(lpvBaseVirtualAddr, CYCLE_4_ADDR_MFG_ID) ;
That is, it cannnot get a correct manufacturer ID. As the Flash
manufacturer is the same for both devices and the bootloader is
working, I am thinking that some is wrong with the WR_FLASH_REG/
RD_FLASH_REG macros in the driver for unpaired chips (or that I'm
getting some alignment problems with the virtual address mapping
[MmMapIoSpace]).
Has anybody find the same situation?
Thanks for your feedback,
Alex Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103690
How to disable ActiveSync from monitoring serial lines?
I have a strange situation. I have a PXA255 dev board and I use the
processors USB client for ActiveSync.
I also have a serial modem port that I use for remote communication.
When I click the Modem off, I get a brief "USB status" connect system status
screen that pops up.
At first I thought the USB +D line must be glitching and briefly triggering
a USB "attach".
I eliminated this as a posibility by disabling the "USB Client" subsystem on
the Xscale chip.
and via hardware.
I narrowed it down to the "CD" (carrier detct) signal glitching which must
result in CE poping up the status screen as it must not
discern a USB vs a serial port ActiveSync attach.
This screen is very annoying and I can not ship product with this. I could
totally remove the ActiveSync component but I don't want to give
up the functionality.
Is there a way to prevent ActiveSync from monitoring the serial ports (and
just monitor the USB client connection)?
I believe you can do this on the desktop side of ActiveSync, is this
available in CE somehow?. Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103687
cloning driver
Dear all,
I wanted to clone USB driver, i am getting the following error
BUILD: [01:0000000467:ERRORE] LINK : fatal error LNK1104: cannot open file
'E:\WINCE500\PBWorkspaces\XXXXX\WINCE500\XXXXX\oak\lib\x86\retail\hcdlib.lib'
What settings as to be changed to rectify this error?
Below is the sources file
TARGETTYPE=LIBRARY
TARGETNAME=hcdlib
CONDITIONAL_INCLUDES=macwin32.h
SOURCELIBS= \
$(_TARGETPLATROOT)\lib\hcdlib.lib \
TARGETLIBS= \
$(_TARGETPLATROOT)\lib\hcdlib.lib \
SOURCES= \
cphysmem.cpp \
sync.cpp \
cdevice.cpp \
hcd.cpp \
hcddrv.cpp \
Regards,
Sankarraj Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103685
keyword __interface in PB30
Hello,
I need to compile a project in Platform Builder (3.0). The PB30 online help
says, that the keyword __interface is supported but the keyword interface
needs a 'pragma keyword("interface", on)'.
But compiling this code in a .CPP file gets an error:
#include <windows.h>
__interface foo
{
void bar() = 0;
};
error C2146: syntax error : missing ';' before identifier 'foo'
The same occures when I use 'interface' instead of '__interface'. Is there
any command line argument that enables the support of __interface, or do I
really need the ugly for with the virtual keyword at each methdod?
class foo
{
virtual void bar() = 0;
};
/Helge
--
Time is an ocean but it ends at the shore Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103680
IR
Hi,
I am working on FIR driver for Windows mobile. When I run the IRPort tests
I am
getting a debug message "SKIPPED: Unable to establish connection to
IRTestServer"
AND ALL THE TEST CASES WHICH REQUIRE CONNECTION TO IRServer are getting
skipped. This is happening eventhough I am using another board to run
irapisrvxx.
One more thing is when I try to stop obexsrv it is not happening and I get a
message that unable to stop obexsrv. If anybody has faced this issue and know
why this is happening, Please help me.
Regards,
Raman Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103676
Filesystem filter ENCFILT fail load
Hi all,
I'm testing the ENCFILT sample on Windows Mobile 6 Emulator. I change
the name to myfilter.dll. I build it in PB and deploy on WM6 Emulator
added filesystem filter registry for Storage Card. When I try to attac
the storage card (by setting storage location in emulator), followin
message shown in debug console:
CertVerify: myfilter.dll trust = 2
I can't see other functions of the filter being called when I try t
access the storage card, even DllMain (I added debug msg in DllMain).
I tried the same things with fsdspy.dll and everything works find (ca
see the DllMain function called) so I think it's shouldn't be registr
problem.
Do I missed something with the ENCFILT sample? Thanks a lot!!!
Just Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103674
How to load bluetooth driver manually ?
Dear all:
I want to active my bluetooth driver manually when I need it, other time
I will shutdown it.
how to do it?
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\AFD.DLL'
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\PPP.DLL'
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\TCPSTK.DLL'
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\DHCP.DLL'
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\NETBIOS.DLL'
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\WS2.DLL'
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\IPHLPAPI.DLL'
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\WINSOCK.DLL'
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\AUTORAS.DLL'
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\IRDASTK.DLL'
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\BTHUNIV.DLL'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\BTD.DLL'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Loaded symbols for
'D:\WINCE500\PBWORKSPACES\S1\RELDIR\STORM_ARMV4I_RELEASE\BTHBCSP.DLL'
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~` Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103670
wehre is performance monitor in VS.NET 2005
Hi,
I have isntalled VS.NET 2005 and Microsfot Remote Tools Framework 1.0.
I am looking for a tool I used in WinCE 5.0 and it is called "Performance
Monitor" but it seems does not shipped with VS.NET.
I only have: registry editor, file viewer, process viwer, and so on... and
all of them work perfect using Remote tools framework 1.0, Activesync
connection works OK and remote tol is launched OK in my WinCE 6.0 device...
but... I want to use remote tool... does anybody how can I get that tool and
use it with "Remote Tools Framework 1.0"
Thanks advanced. Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103662
Re: whether license dialog box show while using Windows CE 5.0.
I have done some test by changing the date , Nothing happened!
"tony" wrote :...
> We use evaluation PB5 ,and we have deployed the runtime OS image on my
> device. Of course we have bought the runtime license for every device.
> My question is whether any license dialog box will show while customers
> using the device.
> Thanks for any answer!
> Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103661
WinCE6.0 - MSFlash for Strata P30
Hi, everyone.
I have a problem need to solve.
So i did search already in this newsgroup about similar topics.
But there is no answer i need.
Now i try to post again expect good answer.
Please give your concern about my question.
I'm now working to use MSFlash driver in Windows Embedded CE 6.0 on my
PXA270 processor based platform.
my platform has Intel Stata Flash P30B product. (64MB)
So that i modified the driver to add a code to unlock at initializing step.
because P30 have a volatile lock machanism.
I think that there is no needs to modify the driver except applying the code
to unlock.
First of all, do you think that my think is right?
if my think is wrong then what shall i do more?
Next question is about applying the 'RAM & ROM file system' with 'RAM-based
Registry' in Windows Embedded CE 6.0.
I want to set RAM file system(Object Store) as Root file system and to set
External file system as sub directory in root.
external file system is FAT or exFAT file system with FMD(MSFlash).
Actually i had used same way in early version of CE. (4.2 and 5.0)
but i think that there is something change about registry setting or
anything maybe i don't know in 6.0.
I think that i did everything already as posible as i can. but still not work.
do you know how to set the registry for my expect?
Currently, i can't see the folder defined in registry for MSFlash in root
directory.
but i can see the storage manager in control panerl with MSFlash attached.
so i can do format and scan but i can't mount.
There is message 'Unable to mount partition' when is press the mount button.
Please help to solve it.
Regards
FreeJack Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103660
Storage Folder not coming in WinCE 6.0 fro RAMDISK
I have complied the RAMDISK driver in PB 6.0 and trying to run it in PB 6.0
in ARM Emulator.
The driver is loading but Storage Folder is not coming in the root or
Storage Manager.
Registery settings that I am using are:
[HKEY_LOCAL_MACHINE\Drivers\Builtin\RamDisk]
"Profile"="RamDisk"
"IClass"="{A4E7EDDA-E575-4252-9D68-4195D48BB865}"
"Ioctl"=dword:4
"Order"=dword:40
"FriendlyName"="Windows CE Ramdisk Driver"
"Dll"="RAMDISK.dll"
"Prefix"="DSK"
"FSD"="exfat.dll"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\RamDisk]
"MountFlags"=dword:0
"AutoFormat"=dword:1
"AutoPart"=dword:1
"AutoMount"=dword:1
"Folder"="StorageCardTemp"
"Name"="RAM Disk Block Device"
"PartitionDriver"="mspart.dll"
"DefaultFileSystem"="EXFAT"
As the FAT has been changed to EXFAT in WinCE 6.0. Is there any additional
registry settings required above. What are correct registries in WinE 6.0 fro
a block driver? I have taken these registries from my working block driver in
wince 5.0.
How can I know what WinCE 6.0 expects from my block driver/my driver profile
registry to make my diver properly running and showing Storage Folder. It is
not clear from WinCE docs. Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103659
Configuring Object Store Memory
Hi all,
I am trying to modify division between program memory and storage memory
when my WinCE 6.0 image is running.
In this link explain this can be done using "SetSystemMemoryDivision()".
http://msdn2.microsoft.com/en-US/library/aa917785.aspx
I click on SetSystemMemoryDivision (
http://msdn2.microsoft.com/en-US/library/aa908756.aspx ) and I found this
function is deprecated and not should be used.
Could anyone give me some info about what is the correct way to do this
(using command line application when OS is running) without using this
deprecated function, because I suppouse that this function will disappear?
Thanks advanced. Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103657
What OSDesign files need to be archived (CE 6)??
I am trying to archive just my source OSDesign files. Not the generated
output.
There are several files under
\WINCE600\OSDesign\<myosdesign>\<myosdesign>\wince600\<myosdesign>_ARM4I
namely:
__CEBASE_FEATURES.txt
PBInitEnv.bat
SysgenSettings.out
I know the SysgenSettings.out does not have to be archived as it is
generated upon a sysgen build.
I do not know about the others ???
How and what are they used for??
Do they need to be archived? Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103652
Why Write perf of FAT32 is very poor then FAT16 on SD cards for Wi
Hi MSFT folks,
This has been observed on WinCE OS.
I have different brands of SD cards like Sandisk, Transcend and Kingston.
I have run the SPB benhmark tool to measure the Read and Write performance
figures on differnt devices.
The Write speed on FAT32 was very very poor compared to FAT16 formatted cards.
Can anybody help me to know this?
And is there any way to improve the write performance on FAT32?
like any registry settings...
Thanks and Regards,
Sachin Nikam.
Pune. Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103651
whether license dialog box show while using Windows CE 5.0.
We use evaluation PB5 ,and we have deployed the runtime OS image on my
device. Of course we have bought the runtime license for every device.
My question is whether any license dialog box will show while customers
using the device.
Thanks for any answer! Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103650
June QFE broke my USB mass storage devices
I am using a PXA255 and a Oxford USB host controler and their CE 5.0 driver.
All worked fine mounting SanDisk USB drives (mass storage device).
After installing June's QFE, drives no longer mount or work at all.
Has anyone else had problems with June's QFE? Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103649
KITL Ethernet driver doesn't support interrupt sharing
I haven't been able to get the Platform Builder Download to work and the lack
of interrupt sharing seems to be the issue. Does anyone have
experience/comments about this? I seem to be stuck since my BIOS assigns all
the devices to just two interrupts. Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103639
PXA255 WinCE 5.0 FMD_EraseBlock
Why is my StrataFlash always locked when trying to do FMD_EraseBlock?
I thought FAL handled IOCTL_FMD_UNLOCK_BLOCKS before an erase.
/trond Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103634
cd rw driver for ce?
hi, everyone?
I'm finding whether there is a cd rw driver for windows ce 5.0 or 6.0.
Is there any driver for it?
Anybody know? Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103626
app download error between vs2005 and ce5.0 device
hi,
I built a ce 5.0 image with pb5.0. and I also built a sample c# app by
vs2005.
At the ce os image, I added dotnet cf 2.0, activesync related component.
I think there is no problem with my ce os image.
But when I try to download c# app from vs2005 to ce device, I have wait
about 5 minutes until the sample app is downloaded and run at the target
device.
What is problem???
Following my procedure.
1. ce device boot and configure tcp/ip network to 192.168.1.125.
2. run conmanclient2 and cmaccept at cmd windows.
3. configure the vs2005 settings to connect the ce device and the 'connect
device' is successful.
4. At the vs2005 menu, run the 'debug->start without debugging' and then
click the deply popup window by selecting windows ce 5.0 device.
5. The sample application is downloaded to target device right away. But
there need about 5 minutes to be automatically run at the target side.
I hardly to know what is problem... Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103622
USB HOST CONTROLLER SUPPORT FOR RNDIS DEVICE (USR5421)
Hi All,
I am planning to have RNDIS support for the WLAN device (USR5421) on
my newly developed host controller.
My doubt is that whether any extra support is needed from the HOST
CONTROLLER point of view to support RNDIS devices. I am raising this
question becouse the host controller what we have on our davinci board
is not complaint to any of the specifications(EHCI, OHCI or UHCI).
since this is the case, We have developed a host controller device
driver of ours own and now it is supporting all the HID devices such
as Mouse, keyboard etc and the mass storage devices such as pen
drives.
The doubt came in to my mind becouse, i can see some registers kept in
the specification of the HOST CONTROLLER specific to RNDIS. So should
i program these registers to support USR5421 up on my Host Controller
driver.
So Experts Please Open Your Eyes....
Thanks & Regards,
Noor Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103613
permenent storage
Hi all,
I am going to develop a mobile handset.My platform is intel pxa270 and
os is wince 5.0.In normal case, if we switch off the handset ,the
downloded files and contacts are kept intact..ie in a mobile, if we
switch off and switch on everything will bw there.But if we press the
'Reset to factory setting 'only the datas are lost..Can you tell me
how it is implemented in the handset or mobile.I think the contats are
stored uging the database..Is the data bse is stored in the flash..Can
you tell me.if there is any code in wince 5.0 which handles all
these.Is it anything to do with FMD(flash media driver) or rtc
driver..or what else.please help me Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103605
USB RNDIS transfer question?
Hi all
i write a usb RNDIS driver and the following is my question
when i use USB RNDIS bulk out transfer to transfer, i found there is a
couple of "keepalive" and "keepalive complete" in control channel and
after this my transfer is break, is there any relationship with these
two things?
and i have no idea about the transfer break ? everything is fine
whatevet error message or package, everything looks fine .
So please give me your comment to figure out the bug, thank you Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103604
System.SR preinstalled
I am attempting to create a test bed OS image. One of the issues that
we seem to have is that VS2005 is complaining about not being able to
deploy the System_SR_ENU.CAB file. The file exists in diagnostics as
you would expect. Still I get deployment errors. I want the file on
the image and am willing to make it part of the image as this is for
debugging and testing only. I attempted to make it part of the image
and got the following error:
Error: only 4k page alignments supported at this time, found in module
System.SR.dll
I got this dll by copying the CAB file for the ARMv4i processor to the
device and running it. I then copied the System.SR.dll and the
System.SR.ENU.gac files back to my PC. Finally I added them to a bib
file like this:
System.SR.dll C:\WINCE500\PBWorkspaces\Cirrus_Test_Bed_Support
\System.SR.dll NK C
FILES
; Name Path
Memory Type
; -------------- ---------------------------------------------
-----------
System.SR.ENU.gac C:\WINCE500\PBWorkspaces\Cirrus_Test_Bed_Support
\System.SR.ENU.gac NK C
The first line is in the MODULES section as you would expect.
I am unsure what the error message means. Has anyone had any success
getting this file installed as part of an image? Alternately any idea
why VS2005 does not deploy it?
Pat O Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103588
Analyzing a Strata Flash FS image
Hi!
On a device with Intel Strata Flash a malfunction seems to have
destroyed the part with the Windows CE image. As I hope that the part
with the TFAT FS in it is still ok I wonder if it is possible to get an
image of the bare flash section interpreted on a PC. The device has an
interface to read the flash memory. But as the Strata Flash driver is
between the flash and the TFAT driver I suspect it isn't just that easy
to salvage any data from the flash FS. Are there any known tools for
such a purpose?
Regards
Max Tag: Incorporating a 3rd party driver into a BSP/Image Tag: 103585
Linker Errors in sysgen
Hi,
I installed WINCE5.0 Fresh (X86+emulator+shared source).
After that I installed the Rollup package 2006 .
And 2 VIA EPIA BSP's ( CN / CX ).
I did a sysgen with "clean before building" switched on. ( =NOT build&sysgen
! )
The sysgen failed on quartz.lib with errors shown below.
We have had these types of problems a number of times already.
This takes lots of time, I donot understand where this problem comes from.
I would think it's safe to assume that updates donot break the build process.
Please advise....
Greetings,
Rob (see traces below, search for unresolved)
Microsoft (R) Incremental Linker Version 7.10.4017
Copyright (C) Microsoft Corporation. All rights reserved.
-nodefaultlib
-entry:DllEntryPoint
-pdb:E:\WINCE500\PBWorkspaces\VMPC_Versie\WINCE500\VIACX_x86\cesysgen\oak\target\x86\retail\quartz.pdb
/opt:ref
-debug -debugtype:cv -incremental:no
-map:E:\WINCE500\PBWorkspaces\VMPC_Versie\WINCE500\VIACX_x86\cesysgen\oak\target\x86\retail\quartz.map
-savebaserelocations:E:\WINCE500\PBWorkspaces\VMPC_Versie\WINCE500\VIACX_x86\cesysgen\oak\target\x86\retail\quartz.rel
-MERGE:.rdata=.text -ignore:4001,4070,4078,4086,4089,4096,4099,4108,4229
/STACK:65536,4096
-subsystem:windowsce,5.00
/base:0x10000000
E:\WINCE500\public\directx\oak\lib\x86\retail\quartz.lib
E:\WINCE500\PBWorkspaces\VMPC_Versie\WINCE500\VIACX_x86\cesysgen\oak\lib\x86\retail\quartz0.lib
E:\WINCE500\public\directx\sdk\lib\x86\retail\dmoguids.lib
E:\WINCE500\PBWorkspaces\VMPC_Versie\WINCE500\VIACX_x86\cesysgen\sdk\lib\x86\retail\urlmon.lib
E:\WINCE500\PBWorkspaces\VMPC_Versie\WINCE500\VIACX_x86\cesysgen\sdk\lib\x86\retail\wininet.lib
E:\WINCE500\PBWorkspaces\VMPC_Versie\WINCE500\VIACX_x86\cesysgen\oak\lib\x86\retail\quartz1.lib
E:\WINCE500\PBWorkspaces\VMPC_Versie\WINCE500\VIACX_x86\cesysgen\oak\lib\x86\retail\quartz2.lib
E:\WINCE500\PBWorkspaces\VMPC_Versie\WINCE500\VIACX_x86\cesysgen\oak\lib\x86\retail\quartz3.lib
E:\WINCE500\public\dir