WinCE Graphics
Hi,
Can anyone explain me the basic display operations in Wince like BitBlt etc.
Also can anyone tell me the benchmark values for time taken by a particular
display driver operation like BitBlt, DrawText etc. I mean what should be the
ideal time taken by Display Driver for a particular display operation eg.
BitBlt.
1) Are these values documented some where?
2) Are these values platform dependent?
Thanks in advance.
Regards,
Ram P Tag: How to change the Tag: 112332
Problem cloning calibrui
CE 5.0: I followed the instructions to clone the touch screen
calibration CalibrUi, but my changes in the resources and changes to
the code are not making it into the build. I don't understand how the
clone gets the resources and the compiled code into the build instead
of the original copies, so I'm having trouble tracking down why it
doesn't work.
Can anyone suggest where to look? Tag: How to change the Tag: 112321
SMDK2440 USBD suspend/resume problem
Hi all
I am working with smdk2440 bsp. The Activesync works good through usb_serial
function driver. The usb don't connect after resuming from suspend state, it
seems that the USB device controller does'nt re-initialize after resume. Any
hint will be welcome
Thanks
--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200805/1 Tag: How to change the Tag: 112319
FAT partition Backup/Restore
Hi,
I need to create a procedure that will allow the user to backup and
restore data from the FAT partition available on our CE 5.0 device's
internal NAND flash storage. I basically need to create a mechanism
that will create a bin file containing all the data- much like the one
Norton Ghost creates on a PC. The entire procedure needs to be
implemented in the bootloader.
Does anyone have any suggestion on what would be the best approach to
do the above? Tag: How to change the Tag: 112315
Block device auto format prompt
I have a problem which seems like it should be simple to solve but I can't
work it out. I have developed a block device which is designed to store a
file system on a file. This file can then be mounted and unmounted
programatically to allow the user access to the filesystem. I've used the
technique of using a dummy block device which bootstraps the normal FAT FSD,
then the block device can be activated and deactived to bring the file system
up and down. However the problem I has is that if the file has just been
created it isn't formatted, so I need the option of being able to format it.
I want a prompt to ask if the device should be formatted, then the user can
decided to format or not to format.
My registry keys are:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MyDisk]
"Name"="MyDisk"
"Folder"="MountedStorage"
"AutoMount"=1
"AutoFormat"=1
"AutoPart"=0
"PartitionDriver"=""
"DefaultFileSystem"="FATFS"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MyDisk\FATFS]
"Flags"=4
Strangly it use to prompt me before formatting, but after I added the
PartitionDriver entry to the registry the original auto format prompt stopped
appearing. But without this key the disk was not being formatted correctly
and the MBR/Sector 0 didn't appear to be correct. Previously I could set
AutoFormat to 1 and the format was silent, or AutoFormat to 0 and the prompt
appeared before mounting and formatting. Now all I get is a silent auto
format, or nothing at all.
This silent autoformat will cause a problem because the software on the PDA
is designed to operate with an existing 2K/XP driver. If this file was
created on the desktop and formatted as NTFS rather than FAT then clearly I
don't just want the PDA to silently reformat the device and lose all the data.
Another possibilty might be if I can programatically format the device. But
I don't own the fsd driver so I don't know how to ask it to format the file
system (e.g. using FSDMGR_FormatVolume), and I can't open the volume and use
IOCTL_DISK_FORMAT_VOLUME or IOCTL_DISK_FORMAT_MEDIA because until it is
formatted it won't mount so \MountedStorage\Vol: doesn't exist.
Can anyone point of a solution to the auto format prompt, or tell me what I
am missing with regard to a programatic format?
Jamie Tag: How to change the Tag: 112306
FREEZE/PXA255/WindowsCE 5.0
Hi,
I have a COMPULab CM-X255 board with a PXA255 with WindowsCE 5.0.
I encounter a FREEZE after several hours/days for abot 19 minutes.
afterwards it is running normally.
Has anyone experienced the same problem ?
Has anyone a solution ?
regards, Martin Tag: How to change the Tag: 112305
IRQ_DMAC and auido
Hi,
i have an audio and wlan driver using dma.
audio is mainstoneii wavedev driver but using i2s port to transfer instead
of ac97. using dma channels 1,4 and 2,3 (i2s).
wlan is using dma channels 13,14.
platform is Ce 5, pxa270
i made a modification in OEMInterruptHandler to seperate them.
else if(irq == IRQ_DMAC)
{
volatile BULVERDE_DMA_REG *g_pDMAReg= NULL;
g_pDMAReg = (volatile BULVERDE_DMA_REG *)
OALPAtoVA(BULVERDE_BASE_REG_PA_DMAC, FALSE);
CLRREG32(&g_pICReg->icmr, (1 << irq));
if (g_pDMAReg->dint & DMA_AUDIO_INTR)
{
sysIntr = SYSINTR_AUDIO;
}
else if (g_pDMAReg->dint & DMA_WLAN_INTR)
{
sysIntr = SYSINTR_SSPC_DMA;
}
}
they both work alone. but together when i play an audio it stucks or logs a
crash in device.exe
OEMInterruptHandler 0x2002 & DMA_AUDIO_INTR)
Data Abort: Thread=83f2e240 Proc=81c26300 'device.exe'
AKY=ffffffff PC=03fc3994(coredll.dll+0x00053994)
RA=033c32a4(wavedev.dll+0x000032a4) BVA=0650fe68 FSR=000004f6
.
do you have any suggestion to fix this.
Thanks
Alli Tag: How to change the Tag: 112303
How does code in PRIVATE folder get reflected in the final NK.bin
Hi,
I recently installed the Dec07 cumulative update. In this update
there are changes to source code in the PRVATE folder. Also I had a
look in the PUBLIC\COMMON\OAK\LIB\ARMV4I folder and found that there
are libs present correspondign to some components that have changed in
the PRIVATE folder. I could not find all the libs corresponding to all
the changed components.
So, my question is, will it be fine if I do not install the PRIVATE
source code? Is it OK if I get the updated libs in PUBLIC folder only
and then build an image?
What is the general procedure for including the PRIVATE folder
source code into the NK.bin? I dont think the PRIVATE folder would be
built ever, instead the corresponding libs from PUBLIC folder woulc be
used. Right?
- Varun Tag: How to change the Tag: 112299
pxa270 mainstone 2, ce5.0 usb host
hello,
I want to turn off the over current protection support in the usb host. I
looks like even if I turn it off in PDD, it's somehow turned back on again
in MDD. how can I tell the MDD that I am not supporting over current
protection? Tag: How to change the Tag: 112295
What is the reason that trigger the "Network and Dial Up Connections UI"?
My WINCE5 device always popped up a dialing dialog just a while after
startup. The dialog is the "Network and Dial Up Connections UI".
If I set following item in register:
[HKEY_CURRENT_USER\ControlPanel\Comm]
"AutoCnct"=dword:0
then the dialing dialog will not be showed, but another dialog popped up.
The tilte is "communication error" ,and the dialog said that it can not
start the communication with PC, and the error number is 608 ...
The device did not show the dialog before, and I have not changed the
components of OS for a long time. Yes ,there is IE component in the OS which
is the dependency of .NET2 , but there is no network service should be
started at startup, and I have installed all QFE .
Any advice? Thanks. Tag: How to change the Tag: 112294
pxa255 and the sdram problem
dear all,
since I posted several days ago about 128 sdram configuration,
I did not work it out anymore,there must be some mistakes i have not
found yet,so i need u help guys..
okay,the platform is following:
CPU : Xscale pxa255
OS : Windows CE .Net 4.2
Flash : 32MB
SDRAM : 128MB (32MBX4)
well,to configure my 128M sdram,I modified some files below:
F:\WINCE420\PLATFORM\XSBase255\INC
memmap.inc
F:\WINCE420\PLATFORM\XSBase255\INC
memdefs.h
F:\WINCE420\PLATFORM\XSBase255\FILES
config.bib
F:\WINCE420\PLATFORM\XSBase255\INC
xsc1.inc
xsc1.h
xsc1bd.inc
xsc1bd.h
F:\WINCE420\PLATFORM\XSBase255\KERNEL\HAL\ARM
fwxsc1.s
when all of modifies had done,I download the NK.bin,
and the debug information shows:
rom_offset=0x0.
Found pTOC signature.
ROMHDR at Address 800B8044h
RomHdr.ulRAMStart=81C50000h RomHdr.physfirst=800B8000h.
Done.
Writing 0x80076BD8 to flash address 0xB8340000 (length=0xA40).
Sector=0x200 (Length=0x6) Block=0x1 (Length=0x1).
Handling non-block aligned data...
FlashErase: Unlocking flash block(s) [0x1, 0x1] (please wait): Done.
Erasing flash block(s) [0x1, 0x1] (please wait): .Done.
Writing to flash (please wait): Done.
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
Download successful! Jumping to image at physical 0xA00B9000...
Begin
******************************************************
******************************************************
******************************************************
******************************************************
******************************************************
OEMInitDebugSerial using UART2
Windows CE Kernel for ARM Built on Mar 13 2003 at 22:54:19
ProcessorType=02d0 Revision=6
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
800b9ef4
as u see,my system hung at last,
if in normal,sp=ffffc7cc should be printed behind
OEMAddressTable = 800b9ef4
but now,system hung there....
could u give me some suggestions?
thank u in advance. Tag: How to change the Tag: 112292
Help with PartitionTable
Hello, I have an x86 WinCE50 system that uses the ATAPI IDE driver for
a system CF card.
Currently, I have the CF card partitioned into 2 parts:
*Partition1 = Fat16 bootable partition with CEPC Nk.bin
*Partition2 = TFAT formatted partition for WinCE use.
I am currently trying to mount the partition 2 as root, but having no
luck at all. I have tried the following approaches.
1) Use MountAsRoot and AutoMount keys for partitions to set which
should mount as root, making sure to set Part1 MountAsBootable=0 so it
does not think system/hive files are on the drive.
Result: Partition 1 still mounts to root. This seemed to have no
effect. Maybe I am messing up the way I use the Profile? (HDProfile
\Part00\ see my reg below)?
2) Use the 'cheating' method to set the PartitionTable key 0x04 to
invalid FS. (suggested here:
http://groups.google.com/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/e122bf548aab3c7c/c61f11d3a810184f)
[HKLM\System\StorageManager\PartitionTable]
"04"="SYSBOOT"
Result: Both partition 1 and 2 do not mount and the system halts after
storage manager. To my understanding, the first partition formatted
in FAT16 is 0x04. However, shouldn't my TFAT partition be type x0B
(MS-DOS 32 bit FAT)? Perhaps I am wrong in my assumptions of how the
PartitionTable works.
3) Setting the "PartitionDriverName" to blank in an attempt to load
null partition driver
[HKLM\System\StorageManager\Profiles\HDProfile\Part00]
"PartitionDriverName"=""
[HKLM\System\StorageManager\Profiles\HDProfile\Part01]
"PartitionDriverName"="MSPART"
Result: Both partitions still loaded.
Here is where I am at stuck. Can anyone offer advice or help? Thanks
in advance
-t
Below are my current registry settings - some may have been enabled/
disabled per the 3 steps above (which I tried one at a time).
[HKLM\System\StorageManager\Profiles\HDProfile]
"MountAsRom"=dword:0
"MountAsRoot"=dword:0
"MountAsBootable"=dword:0
"MountPermanent"=dword:0
"Flags"=dword:00080064
[HKLM\System\StorageManager\Profiles\HDProfile\FATFS]
"MountAsRom"=dword:0
"MountAsRoot"=dword:0
"MountAsBootable"=dword:0
"MountPermanent"=dword:0
"Flags"=dword:00080064
[HKLM\System\StorageManager\Profiles\HDProfile\Part00]
"AutoMount"=dword:0
"AutoFormat"=dword:0
"AutoPart"=dword:0
"DefaultFileSystem"="FATFS"
; "PartitionDriver"="mspart.dll"
"PartitionDriver"=""
"MountAsRom"=dword:0
"MountAsRoot"=dword:0
"MountAsBootable"=dword:0
"MountPermanent"=dword:0
"Flags"=dword:00080064
[HKLM\System\StorageManager\Profiles\HDProfile\Part01]
"AutoMount"=dword:1
"AutoFormat"=dword:0
"AutoPart"=dword:0
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"MountAsRom"=dword:1
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountPermanent"=dword:0
"Flags"=dword:00080064 Tag: How to change the Tag: 112290
Help with PartitionTable
Hello, I have an x86 WinCE50 system that uses the ATAPI IDE driver for
a system CF card.
Currently, I have the CF card partitioned into 2 parts:
*Partition1 = Fat16 bootable partition with CEPC Nk.bin
*Partition2 = TFAT formatted partition for WinCE use.
I am currently trying to mount the partition 2 as root, but having no
luck at all. I have tried the following approaches.
1) Use MountAsRoot and AutoMount keys for partitions to set which
should mount as root, making sure to set part1 MountAsBootable=0.
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile
\Part00\FATFS]
"AutoMount"=dword:0
"MountAsRoot"=dword:0
"MountAsBootable"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile
\Part01\FATFS]
"AutoMount"=dword:1
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
Result: Partition 1 still mounts to root. This seemed to have no
effect. Am I messing up the way I use the Profile? (HDProfile
\Part00\FATFS)?
2) Use the 'cheating' method to set the PartitionTable key 0x04 to
invalid FS. (suggested here:
http://groups.google.com/group/microsoft.public.windowsce.platbuilder/browse_thread/thread/e122bf548aab3c7c/c61f11d3a810184f
and by others as well):
[HKEY_LOCAL_MACHINE\System\StorageManager\PartitionTable]
"04"="SYSBOOT"
Result: Both partition 1 and 2 do not mount and the system halts after
storage manager.
To my understanding the first partition formatted in FAT16 is 0x04.
However, shouldn't my TFAT partition be type x0B (MS-DOS 32 bit FAT)?
Perhaps I am wrong in my assumptions of how the PartitionTable works.
3) Setting the "PartitionDriverName" to blank in an attempt to load
null partition driver
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\Part00]
"PartitionDriverName"=""
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\Part01]
"PartitionDriverName"="MSPART"
Result: Both partitions still loaded.
Here is where I am at stuck. Can anyone offer advice or help? Thanks
in advance
-t
Below are my current registry settings:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"MountAsRom"=dword:0
"MountAsRoot"=dword:0
"MountAsBootable"=dword:0
"MountPermanent"=dword:0
"Flags"=dword:00080064
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\FATFS]
"MountAsRom"=dword:0
"MountAsRoot"=dword:0
"MountAsBootable"=dword:0
"MountPermanent"=dword:0
"Flags"=dword:00080064
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\Part00]
"AutoMount"=dword:0
"AutoFormat"=dword:0
"AutoPart"=dword:0
"DefaultFileSystem"="FATFS"
; "PartitionDriver"="mspart.dll"
"PartitionDriver"=""
"MountAsRom"=dword:0
"MountAsRoot"=dword:0
"MountAsBootable"=dword:0
"MountPermanent"=dword:0
"Flags"=dword:00080064
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile\Part01]
"AutoMount"=dword:1
"AutoFormat"=dword:0
"AutoPart"=dword:0
"DefaultFileSystem"="FATFS"
"PartitionDriver"="mspart.dll"
"MountAsRom"=dword:1
"MountAsRoot"=dword:1
"MountAsBootable"=dword:1
"MountPermanent"=dword:0
"Flags"=dword:00080064 Tag: How to change the Tag: 112289
USB Wireless Network Adapters for WinCE?
I am currently trying to added wireless support to an existing WinCE
OS image.
I have added the components to my OS image to support Wi-Fi in
Platform builder.
I need help trying to find a compatible USB wireless network device
that works with WinCE 5.0. My current WinCE OS image is working with
the RNDIS USB driver, and I have read the previous posts on the
USR5421 Wireless MAXg USB Adapter that is RNDIS complient. The
problem is that I don't won't to limit the my customer to using only
one type of USB Wireless Network manufacture.
Does anyone have a list of USB wireless network devices that is
compatible with WinCE 5.0? Tag: How to change the Tag: 112286
running Microsoft Device Emulator from "Device Emulator Manager"
I used PB 5.0 to build an emulator using Microsoft Device Emulator, then I
built the SDK. Now I am trying to run it from "Device Emulator Manager" in
Visual Studio, I can see it - but its more like a category - the devices I
can click are sub items in the category "Pocket PC 2003" for example, but I
cannot right click on it to connect. Please help, thanks
patrick Tag: How to change the Tag: 112283
ndis miniport wakeup filter
Hi everybody,
is there any way to control the wakeup packet filter ?
Currently my miniport receives a OID_PNP_ADD_WAKE_UP_PATTERN with a filter
pattern.
I don't know where it comes from; I presume from protocol driver.
I would like to configure or explicity send my specific wakeup packet filter.
Best regards,
PaoloC Tag: How to change the Tag: 112280
CreateEvent and SetEvent in WinCE6.0
Hi,
I am a newbie to Windows Embedded CE. Try to understand Embedded :)
I have a wince 5.0 based Application which creates a unnamed event and sends
an IOCTL to driver.
Upon completion of requested IO, driver uses setevent on event handle passed
by APP.
The whole thing works fine on WinCE 5.0
Now I have this driver in wince6.0 for a different platform, when i run the
APP (built using wince 5.0), i see exception "Abort data" in driver
(setevent, driver built using wince 6.0)
using unnamed events is not allowed in WinCE6.0?
If so, is there a work around for this instead of using named events?
Any information on this would be of great help
--Thanks in advance
Vikranth Tag: How to change the Tag: 112272
DDKReg_GetWindowInfo() returns ERROR_INVALID_PARAMETER
Hi all,
I have written a simple device driver that is loaded at boot time. The
driver needs to read MemBase and MemLen from the registry when
initialised.
I use the pointer that I receive in XXX_Init( PVOID Context) to open
the device key ( hnd = OpenDeviceKey( (LPCTSTR)Context ); ) and that
seems to work.
However, when I call DDKReg_GetWindowinfo() with the returned handle
it returns ERROR_INVALID_PARAMETER. According to MSDN this "Indicates
a problem with the populated DDKWINDOWINFO structure." What does this
mean?
My registry entry looks like this:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\GDU]
"MemBase"=dword:40100000
"MemLen"=dword:40
"Prefix"="GDU"
"Dll"="gdudev.dll"
"Order"=dword:22
Any ideas are much appreciated.
Thanks,
Rickard Tag: How to change the Tag: 112271
Wi-Fi Authentication Test...
hi!
I was checking the wifi authentication test.(I am using WinCE 6.0)
Here when i checked the Prerequisites for authentication tests, it
requires.
Tux.exe
kato.dll
Authmatrix.dll
Enroll.exe
Netall.dll
Apcontrol.exe
I am able to find every thing except Apcontrol.exe
Can any one say where i can find this application.
Thanks. Tag: How to change the Tag: 112270
Ethernet Throughput Too Slow for Wince 5.0
I am running wince 5.0 with an AMD AU1100 processor running at
396MHz. I am integrating a RTL8305SC ethernet switch within the
hardware platform. I am currently getting around 16.5 Mbps throughput
uploading a 40Meg file to a server, and 23.5Mbps downloading a file
from a server. This seems extremely slow for WinCE 5.0. On the
desktop I can get almost 80% of the 100MBps link speed. Is the
ndis.dll driver at a low priority such that it is not able to buffer
up packets and send them out faster than the current rate I am
experiencing? How can I speed up the throughput? Tag: How to change the Tag: 112250
WLAN sample code
Hi all,
Is any WLAN Driver Sample code is available on net? or any body know from
where i take reference for WLAN Driver.
I am using Wireless CF card on WINCE 5.0. I required sample code for that.
So please if any body know then help us.
Thanks in advance
Swapnil Tag: How to change the Tag: 112244
How to strip down image of headless device (no display)?
Hi,
I would like to get rid of many unneeded components for a headless
device. However, I cannot uncheck many catalog items because the
Platform Builder thinks it is needed. For example: how can I get rid
of the Tahoma fonts? Is there any method for this or do I have to
apply brute force such as modifying common.bib?
Thank you,
Peter Tag: How to change the Tag: 112241
ConnMgrRegisterForStatusChangeNotification - #include <connmgr_status.h> problem
Hi all,
I have subroject where I would like to use
"ConnMgrRegisterForStatusChangeNotification" which is declared in
connmgr_status.h (according to MSDN). Ther is no such file in WINCE600
folder structure. None of files contains declaration of
"ConnMgrRegisterForStatusChangeNotification". I see that it is delay loaded
from cellcore.dll (public\cellcore\simtkit\dllload.cpp).
I have checked cellcore.dll (ARM emulator build) (using dependancy walker -
depend.exe) but it does not export
"ConnMgrRegisterForStatusChangeNotification" function.
I have installed "Shared source, ARMV4I and X86" OS.
Subproject build fails with error:
Error 6 fatal error C1083: Cannot open include file: 'connmgr_status.h': No
such file or directory.
How to use it in WinCE 6?
Zdenko Tag: How to change the Tag: 112234
SD card and File System in WinCE 5....?
Hi all
I am developing SD card driver (SD Host,SD Bus, SD Client), the SD Bus and
SD Client Drivers are got from \PUBLIC\COMMON\OAK\DRIVERS\SDCARD\...
Now ,I am facing a serial problem, and have no idea to solve it.
The condition is:
When system suspend and resume , we dont want unload and reload SD Cleint
Driver,the reason is if the App is running and read/write data from/to SD
card, we hope the App is keeping running, not broken by resume system.(Unload
or reload will cause system to broadcast a device changed message, we dont
want to get it)
In SD host driver,my method is when system resume ,I call the function
SDHCDIndicateSlotStateChange(m_pHCContext, 0, SlotResetRequest);
And I do a test , that is "I do a file copy/paste by File Explore", but it
always failed.
I check the data of SD card, it is integrity and identical , nothing lose.
And I do other test, that I execute a App(the App is a multimedia tool) to
read/write data to SD.
When reading/writing from/to SD card, I suspend and resume the system , the
App is keeping playing.
So I am confused, what happened to it? I really have no idea about it...
Could some one help me? ...
BRs
Jack Tag: How to change the Tag: 112231
Emulator performances
I am experiencing a big difference in performances between a Windows
CE emulator image generated by me as part of an SDK and the emulator
images provided with the Windows Mobile 6.0 SDK.
To be more specific, the problem is related to the startup time of a
.NET 2.0 application. The application loads many bitmaps at startup
and has a startup time of around a minute in release and two or more
minutes in debug on my emulator image. That startup time decreases
a bit when I include in the image CF 3.5 instead of 2.0 (the
application is still CF 2.0 based) bu it's still twice or more of
the amount required to start the same application inside the WM6
emulator, provided with the Windows Mobile 6 SDK.
The overral performances of the application inside the WM os image
seem to be better than those on my own OS image, but the difference
in startup times is quite noticeable.
Both OS images use the same amount of memory inside the emulator
(256MB) and the amount of free memory before the application is
started is the same on both emulator instances and the application
allocates the same amount of memory etc. Also the screen resolution
is the same on both emulator istances (800x480).
My OS image include the .NET framework dependencies, the standard
shell and not much more. No services or other applications that may
"eat" CPU time in background and no KITL or debugging support.
I suppose that the WM6 image runs some more drivers in background
(for phone emulation, at least) and that the WM shell is, at least,
comparable to the standard shell in terms of CPU and memory usage.
My OS image is based on CE 6, while the WM6 image is 5.something,
but the new kernel should improve performances... and not having the
limit of the 32MB slot may allow the .NET application to allocate
more memory without requiring a garbage collector compacting
operation, so I expect better performances on my OS image than on
the WM6 emulator or, at least, the same level of performances...
The application executable is installed in \Program Files so it's
loaded from RAM on my OS image and does not access external data
files etc. It loads some DLLs (most of them are .NET managed code
and native code interaction is limited to some API calls).
There are some "tweaks" that can be used to enhance device emulator
performances? I used the device emulator BSP provide with CE 6
Platform Builder. There are other releases of that BSP available?
Most of my customers still use CE 5, so I don't have a direct
comparison of the same application running on the same device on the
two OS releases. Someone else noticed big performance issues using
the .NET framework on CE 6?
--
Valter Minute
www.fortechembeddedlabs.it
Training, support and development for Windows CE
(the reply address of this message is invalid) Tag: How to change the Tag: 112229
How to test parallel port in WINCE
Dear sir,
I use X86 architecture which has a parallel port to develop WINCE
platform.
Do anyone have idea to test parallel port ?
BR,
Wiles Tag: How to change the Tag: 112215
RTL 8139 is not working on Wince 5.0
Hello
Pls help me if anybody using the rtl 8139 pci card on wince 5.0. Becoz i was
tried last 3 weeks, my rtl 8139 card driver is not working.
Pls give me the fixed solution .
thank you. Tag: How to change the Tag: 112206
register dumping
I'm a begginer to device driver.
Now I'm trying to set a gpio register and check if it is set correctly.
Following is my code.
RETAILMSG(1, (TEXT("v_pIOPregs->GPBCON is %ud - %p\r\n",
*(v_pIOPregs->GPBCON), v_pIOPregs->GPBCON)));
v_pIOPregs->GPBCON = 0x155555;
RETAILMSG(1, (TEXT("v_pIOPregs->GPBCON is %ud - %p\r\n",
*(v_pIOPregs->GPBCON), v_pIOPregs->GPBCON)));
But the result is not same as my expection.
14034 PID:34c9fc6 TID:34ad6ca v_pIOPregs->GPBCON is 2202309720d - 0
14034 PID:34c9fc6 TID:34ad6ca v_pIOPregs->GPBCON is 2202309720d - 60010
Although I set 0x155555 to GPBCON, the retailmsg printed 60010.
What's wrong with my code?
Please help me. Tag: How to change the Tag: 112204
How to add WZC?
Hi all,
I am using WINCE 5.0 i am working on wireless Prism2 WLAN driver. Normally
when i downloaded image(nk.abf) on board and after that when i inserted
Wireless Compact Flash Card it ask for "Enter Driver name" when i given
"ISLP2NDS.DLL" name Then on Hyper Terminal it shows some msgs are comming and
after some time it will stop in taht msg the driver islp2nds.dll is LOADED
and after some seconds it is UNLOADED.
I don't know due to why it is unloaded driver. I read some posts in that
they written
Adding WZC support is done by adding the Wireless LAN (802.11)... item from
the catalog. All that will do, of course, is add support for it. The
second piece is a wireless LAN adapter that supports WZC. CE 5 includes
support for several: Cisco 350-series (PC Card), Intersil Prism2 (chipset,
usually PC Card), RNDIS (USB).
Is any body know how to add WZC in our BSP or in pbxml? and How it will work??
Thanks in advance
Swapnil Tag: How to change the Tag: 112199
Does HyperTerminal support CE6 RDP serial port ?
Is there anyone knows that whether HyperTerminal Applet, which is on
Windows 2003 RDP server, support RDP serial port redirection application?
I connect a RDP session with serial port redirection check box
selected, and then open HyperTerminal Applet, set COM2( redirected from
terminal device) 9600 bps, data bit:8, Parity:None, stop bits: 1, Flow
control: None. Unfortunately, it couldn't work well, it had no response when
sending or receiving data.
Be surprising, the serial port communication works well with other
serial communication tool for test.
Could you explain why? Does HyperTerminal Applet not support CE6 RDP
serial port ? Tag: How to change the Tag: 112198
CE6 R2: RDP Licenses problem.
Excuse me, I found two RDP license problem in my CE6 R2 image:
1) After RDP client connected to RDP Server (Windows server 2003, and
Windows Server 2008), I could not see the Licenses in "Terminal Server Client
Licenses" list of control panel.
I check the source code of licinfo.cpl, found that the function
InitializeLicenseInfo() failed because it called LSInitCertutilLib() and
failed.
2��In RDP server, I opened "TS Licensing Manager", the issued Licenses list
show the terminal device name is "Unkown". My terminal device has specified
name, not "Unkown".
Could you help me why they happened? How could I fix up? Tag: How to change the Tag: 112195
VS2008 PlugIn
Hi,
do you know if there will be a PB 6.0 Plugin for Visual Studio 2008?
Regards
--
Javier Grijalba
www.contendosystems.com
Embedded Systems
J.Grijalba at Contendosystems dot com Tag: How to change the Tag: 112194
CE6 R2: How to restore RDP session password?
Excuse me, my CE6 R2 image is Ram-Based, and includes RDP. I set the
registry:
[HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows NT\Terminal Services]
"DisablePasswordSaving"=dword:0[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows NT\Terminal Services]
"DisablePasswordSaving"=dword:0
I check the "Save my password" check box when connecting to RDP
server. the connection can remember the password and auto-logon next time
without reboot.
But the RDP session password couldn't be restored after reboot, and I
have to retype the password again. By the way, I am sure that I saved the
registry before reboot in my own way.
The MSDN says that "This build variable, WBT_USEAUTOLOGON, was
disabled by default to reduce security risk." So I tried set the
WBT_USEAUTOLOGON, and then build and sysgen the image, but still could not
restore the password after reboot.
Could you give me some advice? Thank you very much. Tag: How to change the Tag: 112192
Dereferencing environment variables in PB5
Hello,
In Platform Builder 5.0 you have a dialog "Platform Settings" where you can
also define environment variables. I need to dereference an existing
variable. That means I want to define something like TEMP_STORAGE that is
defined by the value of the TEMP environment variable.
If the TEMP variable is defined as "C:\tmp" the variable should be
"C:\tmp\my_storage".
You can define this in a batch file with "set
TEMP_STORAGE=%TEMP%\my_storage".
You can dereference the variable in make files and several Platform Build
files in this way: "$(TEMP)\my_storage".
But no approach works, neither in Platform Builder GUI nor when opening the
command line build window. The existing variable value is never used. How
can I use the value of an environment variable to define a new one inside
Platform Builder?
Best regards,
Helge
--
Time is an ocean but it ends at the shore. Tag: How to change the Tag: 112191
ril suspend / resume
Hi,
I am using the ril driver from the public root, and using wavecom modem...
The RIL hang the system on resume.... Any ideas?
Best regards,
J
--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200805/1 Tag: How to change the Tag: 112189
IoBase conflict in seiral port
Hi,
I test WinCE5.0 at x86 platform. One strange thing in serial port confused me.
Per my past experience , serial driver get IoBase address according to the
IoBase value in platform.reg.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial2]
"SysIntr"=dword:14
"IoBase"=dword:02F8
But, when I adjust IO address of COM2 to 3F8h (another value) in BIOS setup,
COM2 still can work. Right now, the IoBase in BIOS setup conflicts with
IoBase value in platform.reg. I didn't modify platform.reg.
Why serial port can work well ?
thanks
Rick Tag: How to change the Tag: 112187
Query on Windows CE Video Renderer related to MaxBackBuffers!
Hi All,
We developed a hw assisted decode filter which gets connected with the
video renderer.
We have enabled DirectDraw support in the display driver.
We have accelerated blitting for the RGB offscreen surfaces allocated
by the display driver.
When video renderer uses DirectDraw RGB offscreen surfaces, it is just
creating a single surface.
Setting the MaxBackBuffers registry does not seem to have any effect
on the number of RGB offscreen surfaces created by it.
Does Video Renderer use MaxBackBuffers setting at all when it is
working in DDraw mode?
If not, is there any way to increase the number of RGB offscreen
surfaces created for video render so that decoder thread does not get
blocked in m_pAllocator->GetBuffer?
Regards Tag: How to change the Tag: 112182
internal serial ports on CE4.2 vs CE5.0
I have a PC-104 RF transceiver plug-in module that requires a normal serial
port configuration in order to communicate.
I had been using the following serial port setup in my platform.reg for CE4.2:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial5]
"SysIntr"=dword:1e
"IoBase"=dword:0300
"IoLen"=dword:8
"DeviceArrayIndex"=dword:4
"Prefix"="COM"
"Dll"="Com16550.Dll"
"Order"=dword:0
"Index"=dword:5
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial5\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="RF_PORT 5"
;19,200 baud
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 00,01,00,00, 00,4B,00,00,
00,00, 08, 00, 00, 00,00,00,00
This worked fine in CE4.2, but I can't get the same trick to work in CE 5.0.
It appears that, by enabling interrupts to the CE5.0 port, I can transmit,
but I cannot receive any information back. Below is the code for the CE5.0
serial ports, COM3 and COM4. COM 3 is a serial port provided on the
VersaLogic Python board, I can communicate with a hyperterminal connection
fine. COM 4 then is my attempt to construct a serial port for my RF plug-in
device:
; COM3
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3]
"Index"=dword:3
"SysIntr"=dword:13
"IoBase"=dword:03E8
"IoLen"=dword:8
"DeviceArrayIndex"=dword:2
"Prefix"="COM"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"="Com16550.Dll"
"Order"=dword:0
; Turn on follows for Installable ISR (isr16550 supporting SOFTWARE FIFO)
"Irq"=dword:3
"IsrDll"="isr16550.dll"
"IsrHandler"="ISRHandler"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial3\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="COM3:"
; byte 9 = 0 for NONE, 10 for HDW handshake. Bytes 13-16 control baudrate
(reverse order, i.e. 00004b00 = 19.2kb)
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 00,01,00,00, 00,4B,00,00,
00,00, 08, 00, 00, 00,00,00,00
; COM4
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4]
"Index"=dword:4
"SysIntr"=dword:1a
"IoBase"=dword:0300
"IoLen"=dword:8
"DeviceArrayIndex"=dword:3
"Prefix"="COM"
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
"Dll"="Com16550.Dll"
"Order"=dword:0
"Priority"=dword:0
; Turn on follows for Installable ISR (isr16550 supporting SOFTWARE FIFO)
"Irq"=dword:a
"IsrDll"="isr16550.dll"
"IsrHandler"="ISRHandler"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial4\Unimodem]
"Tsp"="Unimodem.dll"
"DeviceType"=dword:0
"FriendlyName"="RF_PORT_4:"
"DevConfig"=hex: 10,00, 00,00, 05,00,00,00, 00,01,00,00, 00,4B,00,00,
00,00, 08, 00, 00, 00,00,00,00
I tried with and without interrupts, with and without the "IClass" statement
(what is this?), but nothing has worked. Any ideas or assistance would be
greatly appreciated.
Thanks,
Pat Harris Tag: How to change the Tag: 112179
Mouse pointer in Windows Ce 5.0
Hello,
is there a option in Windows Ce 5.0 to change the mouse pointer for the
whole system? There has to be a bitmap somewhere, that can be changed before
building my run-time-image!?! Any suggestions?
Thanks for help. Tag: How to change the Tag: 112177
new vs. LocaAlloc when determining heap memory size
Hi,
Using the ToolHelp functions and the Remote Performance Monitor I've
been trying to determine the Heap memory size in my application. This
does not seem to work when using 'new' to allocate memory from the
heap, however when using 'LocalAlloc' I can monitor the changes.
What is the difference in using new or LocalAlloc when it comes to the
functions described above? In which way can I monitor the heap memory
if I use the 'new' operator?
Many thanks!
// Nicklas Tag: How to change the Tag: 112175
Problem in WinCE 6.0 USB Composite Driver
I am Porting USB Composite Driver in WinCE 6.0,
I am using Two Composite Client Device(Composite Driver Child Device)
1. USB_Serial Client and
2. Mass_Storage_Device Client
I can able to get the Mass_Storage_Device, but I am facing problem while
using Activesync, when i Connect the USB Client Cable of the WinCE Device to
My PC, initially it is detecting the ActiveSync after 10 seconds it is
automattically getting disconnected with Error Message
AUTORAS:: Dialer notifies: [2] [Dialer Terminate]
Endpoint Zero FAILED SETUP udccsr=0x90. Sent STALL
But i can able to get both working when i do like this:
1.Disabled ActiveSync in PC.
2.Connected the USB Client Cable of Win CE Device to PC.
3.After the Mass storage Device mounted ,i have enabled the ActiveSync in PC.
In this case i am able to get both working, but
Why it is(Activesync) getting Terminated, when both(mass storage &
Acitvesync) are working simultaneously?
Please help me in solving the issue.
Thanks in advance. Tag: How to change the Tag: 112170
Unable to dismount
Hi, I am running an x86 CEPC (5.0) with PCI IDE drives configured as
follows:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\GenericIDE\Device0]
"Prefix"="DSK"
"Dll"="ATAPI.dll"
"Settings"=dword:f
"DefaultDMAMode"=dword:0
"DeviceId"=dword:0
"Ioctl"=dword:4
"DoubleBufferSize"=dword:10000
"Protection" = dword:0
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
; Uncomment the following lines if you want to enable slave device.
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\GenericIDE\Device1]
...
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfile]
"Name"="IDE Hard Disk Drive"
"Folder"="Hard Disk"
Using standard FATFS file system.
I am able to see the drives in storage manager and on my system in CE,
but I cannot dismount the volume/partition. The error message I see
via CTLPNL storage manager is "Unable to dismount store", and the body
of the error dialog is empty. Running a debug build doesn't appear to
give me any useful info either.
Any ideas or help is appreciated
-t Tag: How to change the Tag: 112168
WinCE 6.0 link failure
Hi all,
After doing a fresh install of VS 2005 w/ PB 6.0 and after carefully doing
all updates in the order listed on the March 2008 update page, I get this
error when building a new OSDesign...
-------------------------------------------
TARGETNAME: fsdmgr
makefile.def: Including
C:\WINCE600\public\common\oak\misc\sources.ReleaseType_OAK
BUILD_MARKER:LINK_DLL_START Linking
C:\WINCE600\OSDesigns\Test9261OSDesign\Test9261OSDesign\Wince600\9261TestBSP_ARMV4I\cesysgen\oak\lib\ARMV4I\retail\fsdmgr.lib
link -lib
-out:C:\WINCE600\OSDesigns\Test9261OSDesign\Test9261OSDesign\Wince600\9261TestBSP_ARMV4I\cesysgen\oak\lib\ARMV4I\retail\fsdmgr.lib
-def:C:\WINCE600\OSDesigns\Test9261OSDesign\Test9261OSDesign\Wince600\9261TestBSP_ARMV4I\cesysgen\oak\lib\ARMV4I\retail\fsdmgr.def
-machine:thumb @C:\DOCUME~1\mmoreno\LOCALS~1\Temp\nm1090.tmp
The system cannot execute the specified program.
NMAKE : fatal error U1077: 'link' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'C:\WINCE600\sdk\bin\i386\nmake.exe' : return
code '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\WINCE600\sdk\bin\i386\nmake.exe' : return
code '0x2'
Stop.
-------------------------------------------
Can anyone tell me what may be causing this?
Thanks,
Marco Tag: How to change the Tag: 112158
KDBG hangs
Hi everybody
I'm still working on my ARM platform trying to bring up the debugger.
I'm using a serial port connection for KITL with an interrupt based mecanism.
If I disable the debugger, I am able to connect the platform and run remote
tools and programs.
When I enable the debugger in the build option, the system begin to boot and
hangs during debugger initialization.
I noticed that in the kdstub source code, the interrupts are disabled during
KdSend and KdRecv calls. To avoid this first problem, I force the interrupts
to be enabled each time I write a frame in the KITL driver.
But even after doing this, the debugger hangs after having displayed this in
the VS window :
PB Debugger The Kernel Debugger connection has been established (Target CPU
is ARM).
PB Debugger Target name: Board
PB Debugger Probe name: KdStub
PB Debugger Binary Image should be loaded at 0x80000000 / Data relocated at
0x803a6000
In the debug serial port I can read :
>>KITLSend KDBG Seq:44(0x0000002C), Flags:0x00000001 (DEV ), DataLen: 43
<<KITLRecv KDBG Seq:44(0x0000002C), Flags:0x00000004 (ACK ), DataLen: 0
--KdSend: 1
--KdpSendPacket
<<KITLRecv ADMIN RETRANSMIT , DataLen: 0
<<KITLRecv ADMIN RETRANSMIT , DataLen: 0
....
The last message is then displayed indefinetly.
Someone has an idea about this issue's source ? Tag: How to change the Tag: 112151
Create partition at Run Time
Hello to all,
I am working in winCE 5.0. The BSP is SMDK2440. I want to create partition
at run time By the API CreatePartition() function.Can any body tell me that
what will be the entry point to call the CreatePartation() function, if there
is no already partition exists.
Thanx
--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200805/1 Tag: How to change the Tag: 112148
Create partition at Run Time
Hi to all,
I am working in winCE 5.0. The BSP that i am using is "SMDK2440". i have
created a partition of 23MB in the NAND -Flash. This is created before the
image is burned/downloaded. and after partition creation the image is
downloaded to the Nand flash. Now i want to create partition at run time. is
there any way to do this? can any body tell me the steps to through which i
can accomplish my work. Any help will be appreciated..............Thanks
--
Message posted via PocketPCJunkies.com
http://www.pocketpcjunkies.com/Uwe/Forums.aspx/wince-pb/200805/1 Tag: How to change the Tag: 112142
setFPEmul() missing
Hi,
I have migrated our project from CE5.0 to CE6.0 on a ICOP PC104 platform. In
5.0 there was a problem in the init part of the private kernel code that
cuased the kernel to essentially crash if power was cycled too quickly on the
device. We had a fix for it in the private code. I migrated that change to
6.0 and rebulilt the kernel in
%WINCEROOT%\PRIVATE\WINCEOS\COREOS\NK\KERNEL.
It built fine but now system build failed due to missing setFPEmul function.
I noticed that this was a fairly recent addition in a QFE. Is the private
source code out of sync with the provided binaries or?
/Daniel Tag: How to change the Tag: 112137