SNTP client
Hello ,
I am trying to implement the sntp client on my wince5.0 device. I have
followed the following steps to achieve this:
1. Added the SNTP client with DST support.(catalog items)
2. Did a sysgen.
Added the registry entries
HKEY_LOCAL_MACHINE\Services\TIMESVC]
"Server"="192.170.1.35"
;get time from server once a week
"refresh"=dword:240C8400
;if failed next try next day
"recoveryrefresh"=dword:5265C00
"threshold"=dword:5265C00
"clientonly"=dword:1
"trustlocalclock"=dword:0
However the time does not get updated.
I have tried doing it on two of my PC's and it works fine.
Does the PC support the SNTP protocol?
Is it required to run an SNTP server application on the PC?
Does the WinCE Device update the time at startup?
In anticipation of a reply ASAP.
Regards,
Roy Tag: 2410 vs 2420 Samsung vs TI Tag: 105194
Multiple BSP HowTo?
I wish to add an emulator to my workspace in Platform Builder. I want
to generate a new ARM4 emulator image. We have a workspace that has
the emulator image and that works. We have a workspace that uses the
hardwares BSP, drivers, etc and that works. I want to combine the two
so that changes made to one will effect the other. I also want the
emulator to be included in the SDK. I started to do this and realized
that I do not know how to keep the drivers for the emulator from the
hardware image and visa versa. Is there a HowTo I could look at for
having two BSPs in one workspace in Platform Builder?
Pat O
Cognex, Corp. Tag: 2410 vs 2420 Samsung vs TI Tag: 105190
Install CE6 on TabletPC
Hi,
I am looking for instructions on how to use Windows Embedded CE 6 platform
builder to create an image and install it on a TabletPC.
Any help is greatly appreciated.
Regards,
Brian K. Williams Tag: 2410 vs 2420 Samsung vs TI Tag: 105186
FontPath problem
Hi,
I'm trying to load fonts from SD-card instead of \Windows. I've added
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontPath]
"FontPath"="\\Storage Card\\Media\\Fonts"
to the registry.
Here I store sunfon.ttf. When trying to write chinese (using SC_Song
font) I only get squares. If I copy sunfon.ttf to \Windows, without
rebooting platform (only restarting the application which displays a
chinese string), I get correct chinese characters.
Any ideas? Why doesn't FontPath work?
My system is Windows CE 5.0 on a Samsung S3C2410 platform.
Regards,
Jojje Tag: 2410 vs 2420 Samsung vs TI Tag: 105180
Debug image and bootloaders
Hi,
We developped a boot loader on a Windows CE 4.2 device that allows us to
boot from a disc on chip or from the ethernet. It works perfectly in CE 4.2
and when we migrated to CE 5.0 I worked ok too. Now we try to migrate to CE
6.0.
The problem is this, I can download an image from Ethernet using our
bootloader but I can't connect to debug it. We enabled KITL and kernel
debugger in the image but it seams that Visual Studio 2005 start sending the
image and stop at some point (but only when we set debugger to kdstub, if we
set it to none the image is downloaded totally and executed correctly). Is
there something else to do to be able to connect with the debugger?
If it can help I receive trhough my KITLOutputDebugStrings the following
message when it stop sending data. According to my research proto 1 is ICMP
message so I suspect Visual Studio stopped listening or sendin messages.
!CheckUDP: Not UDP (proto = 0x00000001)
Any help on this is welcome. Tag: 2410 vs 2420 Samsung vs TI Tag: 105179
Wince OS update Utility
Hi All,
I am developing a wince OS updating utility. This utility need to update the
device OS (Windows CE) reading the NK.bin from the device SD card and update
the device flash with new OS. When the device booted with ram image the
utility is work as expected and update the device OS as expected. But when
the device boots with flash image, the utility fails. In this occasion the
device flash deleted success fully but flash writing procedure fails.
Can anyone help me on this situation?
My device is PXA270 and flash is Intel StrataFlash® Embedded Memory (P30)
Family.
Thank in advance.
Sira Tag: 2410 vs 2420 Samsung vs TI Tag: 105176
WINCE KITL problems
Hi all ,
we are trying to port WinCe on ARM versatile Board PB926 .
We have downloaded the BSP from the ARM site.
using PB we built ebbot.nbo and nk.bin
we were able to load eboot.nb0 and also able to download nk.bin image
to the board successfully using
Platform Builder-> Target Connectivity options Enabling KITL
On the Hyperterminal console got following messages
--------------------------------------------------------------------------------
Initialize DMA subsystem
Booting Windows CE version 5.00 for (ARM)
&pTOC = 880746cc, pTOC = 89a3def4, pTOC->ulRamFree = 89ab1000,
MemForPT = 00000000
Old or invalid version stamp in kernel structures - starting clean!
Configuring: Primary pages: 9259, Secondary pages: 0, Filesystem pages
= 4629
Booting kernel with clean memory configuration:
Memory Sections:
[0] : start: 89ab2000, extension: 00003000, length: 0242b000
Sp=ffffc7cc
ARMInit done.
Windows CE KernelInit
Updated eptr->e32_vsize to = 000c8000
on Platform Builder Debug Console we got following messages
--------------------------------------------------------------------------------------------
The Kernel Debugger is waiting to connect with target.
0 PID:0 TID:0 Initialize DMA subsystem
0 PID:0 TID:0 Sp=ffffc7cc
The Kernel Debugger has been disconnected successfully.
The Kernel Debugger is waiting to connect with target.
0 PID:0 TID:0 MODULE NAME: Windows CE .NET OAL (OEM Adaptation
Layer)
0 PID:0 TID:0 MODULE VERSION: $WATERMARK$
0 PID:0 TID:0 OEMInit: MainMemoryEndAddress is 0x8bee0000
0 PID:0 TID:0 Initialize DMA subsystem
0 PID:0 TID:0 Booting Windows CE version 5.00 for (ARM)
0 PID:0 TID:0 &pTOC = 880746cc, pTOC = 89a3def4, pTOC->ulRamFree
= 89ab1000, MemForPT = 00000000
-----
---
0 PID:0 TID:0 Sp=ffffc7cc
1 PID:0 TID:0 Windows CE KernelInit
4294767296 PID:bedf002 TID:bedf266 Updated eptr->e32_vsize to =
000c8000
After the above line. i do not see any messages.
can you suggest regarding this what might be the problem
vishal Tag: 2410 vs 2420 Samsung vs TI Tag: 105173
PB5.0 KITL fails to connect Emulator
Hi,
I am trying to download and run a WCE5.0 image on X86-Emulator.
Image building is smooth by following MSDN tutorial. However, when I click
"Attach device", the following error message comes out,
Failed to connect debug message service! Please check the transport settings.
Transport service failed to connect
Warning: One or more services failed to connect. Make sure that the
service is properly configured.
In "Connectivity Options", I set Download:Emulator,
Transport:Emulator,Debugger: KdStub.
I can bypass the problem by temporarily set Transport:None. Then the
Emulator window will pop out and image runs. However, in this case, PB5 will
not be able to connect to KITL and debugability is poor. PB complains
"Transport service map set to NONE; ignoring KITL connect request!".
Does any one here have the same problem before and can share with me? One of
the unusual thing I have done recently is having installed winCE6.0 tool
(vs2005 etc). Not sure if there is any compatibility issue. Tag: 2410 vs 2420 Samsung vs TI Tag: 105171
How to custom save/read calibration data?
Hi~, we are using Windows CE 5.0 and S3C2440A for GPS solution, Hive-base
registry haven't been implemented in our system. So we have to save/read
calibration data by ourself.
I have too question here:
1) How can my application know that we have successfully finish
calibration? so that I can copy the calibration data saved in registry.
2) At system startup, when should I writte my calibration data to the
registry?
Thanks in advanced. Tag: 2410 vs 2420 Samsung vs TI Tag: 105169
About GetTickCount()
Hi All
I am puzzling about the following sample excepted from C:
\WINCE600\PLATFORM\COMMON\SRC\SOC\OMAP2420_MS_V1\SDHC\BASE\sdhc.cpp
// recalculate timeout conditions
dwCountStart = GetTickCount();
dwTimeout = dwCountStart + m_dwMaxTimeout;
if( dwTimeout < dwCountStart )
fTimeoutOverflow = TRUE;
else
fTimeoutOverflow = FALSE;
..............
// check for a timeout
dwCurrentTickCount = GetTickCount();
if( fTimeoutOverflow ? ( dwTimeout < dwCurrentTickCount &&
dwCurrentTickCount < dwCountStart )
: ( dwTimeout < dwCurrentTickCount ||
dwCurrentTickCount < dwCountStart ) )
{
DEBUGMSG(SDCARD_ZONE_ERROR,
(L"CSDIOControllerBase::SDIPollingTransmit: "
L"Exit: TIMEOUT.\r\n"
));
goto WRITE_ERROR;
}
My question is:
If we assume m_dwMaxTimeout > 0, then it will be a must that
fTimeoutOverflow = FALSE.
In what condition, do we have fTimeoutOverflow = TRUE? I am puzzlled.
Thanks
Max Tag: 2410 vs 2420 Samsung vs TI Tag: 105161
Looking for POLYGONS sample
Hi,
I am looking for the POLYGONS sample from the Windows CE Embedded
Toolkit (ETK) for Visual C++ (1997 - 1998). Does anybody have this ETK
lying around by any chance?
There is also a POLYGON (singular) ATL sample, that's not the one I'm
looking for.
JB Tag: 2410 vs 2420 Samsung vs TI Tag: 105160
SDIO --> error LNK2019: unresolved external symbol SDGetDeviceHandle
Hi,
Sorry for my englsih I'm swiss. But I think you understand me...
I want use the function SDGetDeviceHandle (http://msdn2.microsoft.com/
en-us/library/ms920364.aspx). I have included sdcardddk.h in my cpp
file and I have added the path in the project preference (Linker -->
General --> Additional Library Directories). But the build give
that :
------ Build started: Project: Test2, Configuration: Debug Windows
Mobile 5.0 Pocket PC SDK (ARMV4I) ------
Linking...
Test2.obj : error LNK2019: unresolved external symbol
SDGetDeviceHandle referenced in function "public: __cdecl
CTest2App::CTest2App(void)" (??0CTest2App@@QAA@XZ)
atlsd.lib(atlbase.obj) : error LNK2001: unresolved external symbol
IID_IPersistStream
Windows Mobile 5.0 Pocket PC SDK (ARMV4I)\Debug\Test2.exe : fatal
error LNK1120: 2 unresolved externals
Build log was saved at "file://d:\My Documents\Visual Studio
2005\Projects\Test2\Test2\Windows Mobile 5.0 Pocket PC SDK (ARMV4I)
\Debug\BuildLog.htm"
Test2 - 3 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped
==========
Where is the mistake ? Thanks for you help.
Best regards
Steve Tag: 2410 vs 2420 Samsung vs TI Tag: 105159
Audio Driver
Hello all,
I am working on the audio driver in WINCE 6.0. I have created the Reg. key
entry as Audio in Drivers/Builtin with dll name as Wavdev.dll. The driver is
getting initialized, but it says the message as,
DEVICE!I_ActivateDeviceEx: couldn't activate: prefix WAV, index 1, dll
wavedev.dll, context 0xd033e690.
Whehther the driver will get activated, after the audio application turns up?
or it will be activated at the booting time itself?
Also,Iam getting this error:
SwMixer: WaitForBuffer failed. Audio driver missed interrupt?
If anyone faced this similar problem, kindly reply.
Thanks in advance... Tag: 2410 vs 2420 Samsung vs TI Tag: 105158
FMD - formatting questions
Hello
I have two questions. I've been debugging my FMD driver. I have breakpoints
in erase and write functions. I found out, that after booting the WinCE 5.0
system it writes (probably FAT table) some data in some addresses more times
(to the first block). Why? I have to erase a block before writing data at the
same address. But I can't do it becasuse of important data written before.
And second thing, at formatting it erases blocks twice. Why?
Thanks to everybody, who will answer or advice.
George H. Tag: 2410 vs 2420 Samsung vs TI Tag: 105157
Simulating an IRQ event
Is it possible to get a handle to an event which is associated with a
SYSINT, I would like to trigger an IST thread from another process when the
hardware IRQ has not triggered.
Can it be done or is it unwise?
--
Martin Tag: 2410 vs 2420 Samsung vs TI Tag: 105152
build.exe w/nmake debug output displays deps with switches.
To get nmake diagnostic information, I'm doing the following:
build -nmake /P -nmake /N
in the build.log, I see some NMAKE description blocks with dependents that
look like switches, such as -i and -n. For example:
BUILD: [01:0000000346:INFO ] WinceTargetFile0: -i -n
BUILD: [01:0000000347:INFO ]
BUILD: [01:0000000348:INFO ] WinceTargetFiles: -i -n
BUILD: [01:0000000349:INFO ]
BUILD: [01:0000000350:INFO ] PrecompiledHeaderObjName: -i -n
BUILD: [01:0000000351:INFO ]
BUILD: [01:0000000352:INFO ] all: -i -n WinceTargetFile0 PrecompiledTarget
PrecompiledHeaderObjName
BUILD: [01:0000000353:INFO ] TargetObjFiles TargetLibFiles TargetExeFiles
BUILD: [01:0000000354:INFO ] WinceTargetFiles -@echo $(BUILDMSG)
BUILD: [01:0000000355:INFO ]
BUILD: [01:0000000356:INFO ] PrecompiledTarget: -i -n
BUILD: [01:0000000357:INFO ]
BUILD: [01:0000000358:INFO ] null: -i -n
BUILD: [01:0000000359:INFO ]
BUILD: [01:0000000360:INFO ] clean: -i -n cleantgt cleanobj -@echo
$(BUILDMSG)
Does anyone know what -i and -n mean as dependents? Are they NMAKE
dependents?
I did not recall them from my direct NMAKE usage in other products, and PB's
docs don't show a special -i dependent from I can see. Additionally, the
build.exe docs didn't reveal anything. I'm left wondering if build.exe is
adding something to NMAKE's diag output. (?) Please excuse if I've missed or
forgotten something about NMAKE.
Regards,
Tom Tag: 2410 vs 2420 Samsung vs TI Tag: 105151
Device not activated
Hello All,
This is related to audio driver.
Whether the audio driver gets activated at the time of booting or it will
be booted after the app calls the driver?
In my case, the driver gets initialized and it says the message as:
DEVICE!I_ActivateDeviceEx: couldn't activate: prefix WAV, index 1, dll
wavedev.dll, context 0xd033e690
here, i have created the key in registery entry.
Does, anyone faced the similar problem, kindly reply.
Thanks in advance...... Tag: 2410 vs 2420 Samsung vs TI Tag: 105150
build.exe documentation versus reality.
Does anyone know why the PB docs for build.exe defines a whole slew of
command line options which do not appear to be supported by the actual tool
itself as it comes with PB5?
Docs: http://msdn2.microsoft.com/en-us/library/aa448614.aspx
build.exe: %_WINCEROOT%\PUBLIC\COMMON\OAK\BIN\I386\build.exe
Regards,
Tom Tag: 2410 vs 2420 Samsung vs TI Tag: 105149
Winsock calls overhead
I am using a simple application that creates a scoket and sends UDP
data on a
WinCE 6.0 BSP on 250 MHz ARM. What was observed that for different
data
rates, the measured CPU load turned out to be pretty much high as
mentioned
in the table below:
Desired | CPU load | CPU load
Throughput | (Stack Loopback) | (Send to a particular IP Address)
(Kbps) | (127.0.0.1) |
---------------------------------------------------------
10 | 10 % | 7 %
100 | 11 % | 7 %
400 | 18 % | 14 %
800 | 27 % | 23 %
1000 | 31 % | 27 %
I doubted the NDIS miniport implementation for taking so much of a CPU
load
in a send call but the Stack level loopback using IP address 127.0.0.1
(when
my NDIS Miniport send functions are not called) take much more CPU
load. In
there something wrong in the way I am sending and receiving packets in
my
application or the miniport NDIS. We are targetting an applciaiton
that sends
A/V streams at constant bitrate (varying from 100Kbps - 1Mbps) UDP
packets.
We are using blocking socket calls and our concern is the CPU loading.
The
Winsock stress tests also showed a 100 % CPU load all the time.
Will Overlapped IO, non blocking sockets will aid in lowering the CPU
utilization?
Why should a sendto() call for 127.0.0.1 should take so much of a CPU
load.
Thanks. Tag: 2410 vs 2420 Samsung vs TI Tag: 105148
Re: eboot with USB and SD Host....
Hi jonathan
i am looking for the same kind of eboot which is capable of flashing the nk.bin through SD or USB. As of now for me building a tiny os for upgarde process is only seem to be feasible.
But I would like to know about the details about how to incorporate the SD or USB driver in Eboot, if you have.
-anand
EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com Tag: 2410 vs 2420 Samsung vs TI Tag: 105147
sysgen_capture and cloning questions.
In this article: http://msdn2.microsoft.com/en-us/library/Aa459163.aspx
As well as in the PB docs for sysgen_capture, it discusses modifying public
source by first copying from public to a subdirectory within %_TARGETPLATROOT%
That's confusing to me. If the driver changes are not platform-specific, but
will be used regardless of the platform, wouldn't you want those within
_PROJECTROOT?
That brings me to another question: The term "OS Design Directory" seems
confusing to me in the way it's used within the PB docs. The PB docs say,
"... From a command prompt, in your OS design directory, create two
subdirectories for the driver..."
Once again, the docs are using %_TARGETPLATROOT% yet they are referring to
an OS Design Directory as if it's one and the same. Are they? My understand
is that the platform root is where platform BSPs are located, and I'm also
under the impression (not from any docs but common sense) that one should not
mess with those unless they make a copy (i.e., because you don't want to
botch the original platform files). Additionally, the "OS Design Directory"
seems as though it would be where any one particular design of an OS would be
located. Wouldn't that be the project root under pbworkspaces? It seems that
BSP-neutral driver modifications of public sources, changes that one wants to
have apply to any targeted platform, would go within the project root, not
under the original root of one of the many possible platforms.
Thanks. I want to make mods to a public driver, and while the mod will be
used on a CEPC build, and most likely not elsewhere, it's not really tied to
CEPC. My guess is that I need to either copy to the project root as I'm
thinking, or I need to copy the platform CEPC to something like MyCEPC, and
then copy the driver files there because that's "just the way it's done."
This isn't major but I'd like to gain any clarity so I do things the right
way. Am I under the wrong impression with any of the above, and/or can anyone
clarify anything here?
Regards,
Tom Tag: 2410 vs 2420 Samsung vs TI Tag: 105141
registry import app ?
Hi,
Is there an app that I can (commandline-)call to import a reg-file into
registry ?
I can write it, but I guess it is probably already done.
I have a local regedit.exe, but as far as I know it only imports through the
menu.
Greetings,
Rob. Tag: 2410 vs 2420 Samsung vs TI Tag: 105132
CE6.0 Release2 / Driver
Hi,
Is there any reason why a (lan-)driver which is working under CE6.0 would
not work under CE6-release2 (beta) ?
(aside from BETA-apects, so I mean structurally...)
Greetings,
Rob. Tag: 2410 vs 2420 Samsung vs TI Tag: 105131
Windows Mobile 6.0 NDIS IM Driver issue
Hi,
I am trying to port wince 6.0 PASSTHRU IM driver sample on Windows
Mobile 6.0 OS.
I am using HTC Touch elf 100.
I am able to succesfully load the PASSTHRU Driver and successfully
working with WiFi Adapter.
When I am trying to make GPRS UP it is not able to do that.
Can anybody shade some light on that.
Regards,
Niraj Tag: 2410 vs 2420 Samsung vs TI Tag: 105119
I still can't see my internal flash
Hello
I'm desperate, please help.
I have my own FMD, all functions tested, everything without any error. And I
still can't see it in my OS. I don't know, what to try.
And second point, I found out, that the OS tries to write to first block
many times at the begining (probably it's writing FAT). But in SG NOR flash
it's not possible to write data at one address more times without erasing the
block. And after erasing it, system will loose data writen before. Probably
bad file system. So which one I should use?
If anybody will have any idea, please give it to me.
Here is my registry settings:
IF BSP_SGFLASH_FMD
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SGFlash]
"Dll"="tse_fmd.dll"
"Order"=dword:0
"Prefix"="DSK"
"Ioctl"=dword:4
"Profile"="SGFlash"
"IClass"="{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"MemBase"=dword:A2000000
"MemLen"=dword:02000000
; Override names in default profile
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\SGFlash]
"Name"="MSFLASH for SGFlash"
"Folder"="Internal Flash"
"AutoMount"=dword:1
"AutoPart"=dword:1 ; here I tried to set 0 a as well
"AutoFormat"=dword:1 ; here I tried to set 0 as well
;[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\SGFlash]
; "DriverPath"="Drivers\\BuiltIn\\SGFlash"
; "Dll"="tse_fmd.dll"
; "LoadFlags"=dword:2
; "Order"=dword:0
; "BootPhase"=dword:2
; "mount"="Flash"
; Support XIP in IMGFS
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\MSFlash\IMGFS]
"XIP"=dword:1
"MountAsRoot"=dword:0
"MountAsBootable"=dword:0
"MountPermanent"=dword:1
ENDIF Tag: 2410 vs 2420 Samsung vs TI Tag: 105113
CE6.0, how to reset system variable?
Dear all,
In CEC file of CE5.0, I can use Variable( "BSP_NOSERIAL", ) to set
BSP_NOSERIAL is 0,
because CEPC.bat has set BSP_NOSERIAL=1, so my cec file can set
BSP_NOSERIAL=0 again,
In CE6.0, how to carry this point same as CE5.0?
BTW, in CE6.0, how to set variable is 0 in pbcxml?
thanks! Tag: 2410 vs 2420 Samsung vs TI Tag: 105112
Problem performing CETK with SERIAL DRIVER
Hi All,
I have worked on Serial Driver(OMAP board+WINCE600) and its working
fine.
I can throw the characters on to the Hyper Terminal as well as when I
am writing something on to the Hyper I am getting that recieved in my
driver.
Now I want to do a CETK for this.
When I am doing CETK I found out an Exclaimation yellow mark for the
Serial Port .
Can any body tell me Why is this when my serial driver is working
perfectly?
And what does this Exclaimation mark exactly tells us.
Thanks Tag: 2410 vs 2420 Samsung vs TI Tag: 105102
source code of WINCE6.0
Does MS release all of the source code of WINCE6.0?
I want to see the source code of waveapi, but nothing is found. Is the
source code of the OS kernel still private? Tag: 2410 vs 2420 Samsung vs TI Tag: 105097
Problem Ethernet Driver
Hi all,
I use a dm9000a chip in my WinCE 5.0 platform(smdk2440). And I want to
establish two different bootloader for a same NK.bin. One could use
the USB cable to download the nk.bin into my nandflash(I call it as
atboot.bin). The second one use the ethernet to do the same thing(I
can it as eboot.bin).
The problem is like this, the atboot.bin could boot the WinCE and
drive the dm9000a ethernet chip to work successful. But when I use my
eboot.bin to startup the Nk, the WinCE OS also could startup. But the
ehternet chip hang up after the first correpsonding interrupt issue. I
think the chip is configurated successful because I could use it in my
atboot.bin.
I appreciate that if someone could help me and give me some advices
for this issue. Please let me know if the description for this problem
is not enough.
Thanks in advance!
Peica Tag: 2410 vs 2420 Samsung vs TI Tag: 105093
Platform Builder 6.0 build fails at NETCFV2_MODULES= dotnetv2
Hi,
I'm having a hard time with this, on one specific system, whenever I try to
build a project, even a clean PDA Device project, it fails at
"NETCFV2_MODULES= dotnetv2" and the build.log file only says the following:
"NMAKE : fatal error U1065: invalid option '-'
Windows CE Version (Release) (Built on Jun 30 2006 16:52:46)
Stop."
This system is an Intel Core 2 Quad running Windows XP SP2. On a Core 2 Duo
system that has the same software configuration, this builds just fine. .Net
1.1, 2.0, and 3.0 are all installed on both systems.
Anyone have any ideas? I uninstalled and re-installed Visual Studio 2005
and CE PB 6.0 on the problem system with no change.
Thanks. Tag: 2410 vs 2420 Samsung vs TI Tag: 105090
CE 5.0 IExplorer Memory leak
I am using CE 5.0 and I have an application which launches IE as a
control. This application currently swaps between to html pages. i.e.
the JavaScript on these 2 html pages navigate to one another. When
this swapping occurs I see a gradual increase in "In use" memory in
the System properties dialog box. Similar memory leak occurs using the
CE IESample.exe with the same html pages.
Are there any known issues with CE 5.0 IESample browser leaks? Is
anyone else seeing similar problem?
I was going through these known issues and was wondering whether these
were fixed in CE 5.0
http://support.microsoft.com/kb/916819/zh-cn
http://support.microsoft.com/kb/812941/
http://support.microsoft.com/kb/885410
http://support.microsoft.com/kb/872807/
Thanks,
VJ Tag: 2410 vs 2420 Samsung vs TI Tag: 105085
a0014 error
Hi,
i want to make a test file to run instead of eboot, i copy eboot folder to a
test folder but when i try to compile i get an A0014 error message at line
add r11, pc, #g_oalAddressTable - (. + 8)
src\bootloader\TEST\startup.s(191) : error A0014: '-' can not be applied;
different sections or different base registers
but eboot compiles without error. what could be the problem ?
Thanks Tag: 2410 vs 2420 Samsung vs TI Tag: 105083
SendMessage Marshalling code on Embedded CE 6?
Hi,
I am now working on Windows Embedded CE 6 but found some behavior
curious to me about SendMessage()
As you may know, some of the Win32 API's are just a wrapper for
sending message.
For example SetWindowText(hWnd, String) is similar to
SendMessage(WM_SETTEXT, 0 String)
But when I introduce my own message like WM_USER + 0x123, and string
argument, I could not receive the string body while the pointer value
is still the same.
I imagine there should exist some string marshalling mechanism (like
COM) then WM_SETTEXT used. But for my USER message there's no such
mechanism I wrote.
At this point, I would like make sure following :
1. This is unique to CE6? or older version of CE also don't support
passing string by user defined message?
How about desktop WIn32?
2. How I can implement SendMessage argument marshalling which is
similar to WM_SETTEXT?.Is there any recommended method? (I don't want
to implement COM like thing for such a little piece...)
3. Is there any other good idea passing string argument between
processes? (I intend passing string argument to the same program
instance which is invoked earlier.)
Thanks for reading. -- Hiroyuki Tag: 2410 vs 2420 Samsung vs TI Tag: 105080
auto connect to wifi
Hello,
I am working on WinCE 5.0. Could an one guide me how to auto connect to a
wifi network . How do i set the SSID , network key programatically
(apllication or registry key and connect to wifi on system launch?
Thanks in advance
Regards,
Anurag Tag: 2410 vs 2420 Samsung vs TI Tag: 105072
SDK installation
Hi,
I have generated an SDK (for custom iMX27 platform) thanks to Visual
Studio 2005 (with PB 6.0 plug-in), but it fails when it is installed
on my PC, with the following error:
"ToolsMsmCA(Error):Setup package issue: Xml file not found:"
It seems to be a generation problem, due to my PC configuration, since
another SDK, generated on another PC, correctly installs here ...
Does someaone has an idea ???
thnaks a lot,
Mike Tag: 2410 vs 2420 Samsung vs TI Tag: 105069
Via CN700 board porting....
hi,
I have been trying to port ce 5.0 (6.0) to my via board.
The chipset is CN700 + VT8237R and via provides a bsp for the assembly.
In my understand, the 8237r has built in ethernet MAC component in it. But
my board seems not to use the built in module but use external ethernet
controller RTL8100C.
Unfortunately, realtek doesn't provide a ce driver for 8100C.
Then I can't use the ethernet function at ce os?
Is there any way to work the 8100C chipset within CE ?
I tried to port it by adding 8139 driver to os design but it even can't boot
well. Tag: 2410 vs 2420 Samsung vs TI Tag: 105068
The choices of wavedev implementation for multiple audio interfaces
Hello all,
I'm facing a choice problem when trying to implement the wavedev
driver for multiple audio interfaces.
Software - WinCE 6.0
Hardware - There are totally three separate audio interfaces, stereo,
multichannel and S/PDIF.
I guess two options are availbe to implement the wavedev driver.
Option A: Three wavedev drivers (WAV0, WAV1 and WAV2) could be
implemented for these three interfaces respectively. These three
drivers are pretty self-governed and will be loaded by device manager
one by one.
Option B: Only one wavedev (WAV0) will be implemented, but it will
return 3 when responding to WODM_GETNUMDEVS. It's saying that the
driver contains three group of Hwctxt / Devctxt / Strmctxt
implementation, and each interface has its own group.
My humble understanding is that the audio application will not be
aware of this kind of different wavedev implementation, because
WaveAPI will enumerate all these interfaces to application using
uDeviceId , no matter they are implmented in one wavedev or several.
In another word, WaveAPI will make this driver level difference
invisible to applications. Till now, I do not see any outstanding
problem to implement Ringo audio driver with either of these two
options. But to be honest, I do not know WaveAPI well due to its
privacy, so I'm not sure about which option is WaveAPI's preference.
Please share your opinions to help me on the choice. Any comments or
advices are appreciated.
Regards,
Shawn Tag: 2410 vs 2420 Samsung vs TI Tag: 105064
2D Display Driver - Help
Hi,
I have some general questions in the WinCE display driver. I wanna
write 2D display driver for AMD's NB RS690T. So can u people suggest me
which driver in WinCE 4.2 i can take as referrence and i can start. There are
GeodeLX drivers present in WinCE but the VGA is currently working properly in
the board. But i want to write a specific driver for the display controller
in Rs690T.
Whats the difference between the direct draw display driver and just a
display driver(In PB help)? Why they having two types. I want some
suggestions how to study for writing? Whether i've to start with display
hardware registers or i can study driver? What are the things i have to more
concentrate.
I searched in net but i cant find good links, i'm studying in PB help
only. So i need some links.
Thanks in advance.
Kumar.S Tag: 2410 vs 2420 Samsung vs TI Tag: 105061
WinDBG and WinCE 6.0
Could you confirm that is not possible to use WinDBG with WinCE 6.0
dump file ?
Or maybe I have done something wrong and in this case I would like to
know how that is possible.
What I have done upto now :
1. Capure Dump file (I have tried with context dump and system dump)
2. Open this file with WinDBG (6.7.0005.1)
-> error message : "Could not find the e:\CEDump.kdmp Dump file, Win32
error 0n1392. The file or directory is corrupted and unreadable."
My kdmp dump exists, 860Ko size. I have got Platform builder for CE
6.0.
I can open dump file with VS8 and have traces.
Regards,
Olivier Tag: 2410 vs 2420 Samsung vs TI Tag: 105059
CEC
Hi,
I have the CEC file for the Samsung2440 for wince4.2....... How do I create
the BSP for this HW ?
Thanks... for all
Miky Tag: 2410 vs 2420 Samsung vs TI Tag: 105054
Using NdisCacheFlush
In some hardware, using uncached access to DRAM can be very expensive in
terms of bus cycles, particularly where the use model may be to parse through
bytes and words where each read or write would generate a memory access
cycle. In our particular case the time to access a single DWORD uncached
could be the same as the time to access 256 bytes through the cache.
The handling of network packet data is just such a case. However, the CE 6.0
documentation for NdisFlushBuffer - a call which would be made with some
frequency as buffers are handed off to or read from the DMA hardware - notes:
"NdisFlushBuffer is an expensive operation on Windows Embedded CE, because
it flushes all data caches, not just the one for the affected page. For
better performance and resource utilization, use non-cached memory instead."
Is this true?
Does the code really call teh big hammer -CacheSync() - instead of the more
surgical CacheRangeFlush() introduced in 4.2 for just such purposes?
--
Richard R. Lee eMVP Tag: 2410 vs 2420 Samsung vs TI Tag: 105045
PB 5.0 and 6.0 together on same PC side-by-side
Hi,
My PB5.0 IDE does not work anymore since I installed PB6.0 on the same
PC. I followed the instruction to install 5.0 before 6.0 (tried it out
twice!).
Any tips to make PB5.0 IDE work again?
Thank you,
Peter Tag: 2410 vs 2420 Samsung vs TI Tag: 105044
pbxmlutils.exe help
Hi,
I am investigating capabilities of pbxmlutils.exe but I found that help is
not quite complete.
Does any one where I can get some detailed help and examples of use?
Can I generate a OSDesign project automatically with pbxmlutils.exe?
Thanks for your help. Tag: 2410 vs 2420 Samsung vs TI Tag: 105043
Host interface LCM update in WM display driver
Dear all,
I'm trying to write a display driver in WM6 and have some question
about
screen update with Host interface.
In RGB interface, screen update is HW-triggered.
HW would periodically scan the frame buffer and send RGB signal to the
panel.
But in Host interface, screen update is SW-triggered.
Display Driver should decide when to update the frame buffer to LCM.
Method (A):
Of course, we can creaet a thread with a timer to update LCM
periodically just like RGB interface.
But it may consume bandwidth and power since the update is not always
necessary.
Method (B) with problem:
Or maybe we can maintain a frame buffer dirty flag to help decide
update or not.
If AP modify frame buffer through GDI functions,it's fine, we can
totally catch it in Display Driver.
But if AP get frame buffer address through GETRAWFRAMEBUFFER escape
code
and modify its content later, we never know when should we update the
LCM.
That's my question.
For Host interface, is method (A) the best way to implement LCM
update?
Or any other practical way to achieve it ?
Thanks a lot. Tag: 2410 vs 2420 Samsung vs TI Tag: 105032
Booting from CF card fails on some models
Hello,
I have a WindowsCE 4.2 system that runs on a VIA Prosavage-Twister based
single board PC that uses a compact flash card as its primary hard disk and I
need to switch to a new compact flash card.
My problem is that my Windows CE build doesn't boot on some compact flash
devices. The NK.bin file appears to load into memory OK, but then appears to
hang when trying to initialize the ATAPI drivers. I've tried using the
default ATAPI drivers instead of the VIA ones thinking they may be the issue,
but that fails to boot too. Everything is the same in the two cases except
for the compact flash device the system is booting from.
I created a debug version of the system, these are final 10 lines of the
serial dump when the boot fails:
0x877b39a8: PNP interface class {A4E7EDDA-E575-4252-9D6B-4195D48BB865}
(DSK1:) ATTACH
0x877b30x877fcc54: >>> Loading module mspart.dll at address
0x03D10000-0x03D18000 (RW data at 0x01FD5000-0x01FD54A4)
0x877fcc54: Loading partition driver mspart.dll hModule=87790A50
0x877fcc54: Driver mspart.dll loaded
9a8: PNP interface class {CDDC3621-3512-4b3f-BB6F-B4DD5E061795} (IDE1:) ATTACH
0x877b39a8: DEVICE!StartOneDriver RegisterDevice(<nil>, 0, PCIbus.dll,
0x602ee70) failed
0x877fcc54: ATAPI:ResetController entered
0x877fcc54: ATAPI:ResetController: Controller reset done
0x877fcc54: CStore Destructor(00093FD0)
0x877fcc54: <<< Unloading module mspart.dll at address 0x03D10000-0x03D18000
(RW data at 0x01FD5000-0x01FD54A4)
Indicating that there was some sort of problem encountered in mspart.dll
that caused an ATAPI reset after which it was unloaded and the boot process
stops.
I have compared the debug logs of a couple of devices that work to those
that fail and a common difference is the ones that fail support ATAPI DMA
transfers and the ones that boot successfully don't. Is it possible to
disable or not allow ATAPI DMA? Though it would be nice to allow DMA since
it should improve disk performance.
The loading of the module mspart.dll seems to come in at an odd time, as
it's log entry is sort of inserted inside another. Could it be getting
loaded too soon? if so, how do I delay it?
Thanks for your help,
Bruce Tag: 2410 vs 2420 Samsung vs TI Tag: 105028
GetNetworkParams: DNS server is 0.0.0.0
Has anyone seen this before?
The CE5.0 DHCP client gets a dynamic IP address from a DHCP server (in
this case, a Linksys router, though it's been happening with other
equipment, too).
My UI is strangely not showing any DNS address for my DNS server(s).
It always shows 0.0.0.0. This happens in the UI portion of the
adapter interface (Details...) and with telneting in and running
ipconfig /all. It looks like GetNetworkParams() is returning null for
the p->DnsServerList.
I took a look at network traffic during a DHCP request and the
standard Discover/Offer/Request/Ack protocol is being followed.
Furthermore, the CE client is correctly sending DHCP option 6 (DNS)
and receiving "Option 6: Domain Name Server = 10.16..." in reply. I
have the capture file is anyone is interested in looking at it.
Also, the registry value for DhcpDNS is being correctly written to HKLM
\Comm\<adapter>\Tcpip\Parms\, so I don't understand why the IP helper
functions aren't picking it up.
So it looks like everything is working correctly, but
GetNetworkParams() isn't returning the DNS server info. Has anyone
else seen this problem?
As always, thanks in advance,
Dan.
(A newsgroup search turned up one other post, but no answers:
http://groups.google.com/group/microsoft.public.windowsce.app.development/browse_frm/thread/2025c4dc8967b2d2/9d89bf0d08eba752#9d89bf0d08eba752) Tag: 2410 vs 2420 Samsung vs TI Tag: 105027
NANDIMAGE section in config.bib
I'm posting here a question sent first privately to Travis Hobrla
(Microsoft) so that other people can benefit from his and others
answers:
Hello,
I enjoyed your article called "Understanding Memory Sections in
config.bib, boot.bib, and OEMAddressTable in Windows CE 5.0 and 6.0".
Things are a lot clearer for me thanx to your post but I'm still not
sure about some details:
1) you don't precise in your post that the virtual addresses used in
both OEMAddressTable and config.bib are not chosen freely but _must_
be between 0x80000000 and 0xA0000000 to fall in the kernel virtual
memory space reserved to access physical addresses (through cache). Am
I correct?
2) I want to understand the "NANDIMAGE" meaning
I've seen on the web elsewhere that it defines a virtual memory zone
that will be demand paged to RAM from NAND. So that it consumes less
RAM. Unfortunately I don't understand a word about this part of
platform builder doc:
"[NANDIMAGE]Specifies that RAM should overlap these regions when
building an run-time image that uses BINFS.
The overlapping regions are stored in NAND but are fixed up to
virtually appear as though they do not overlap"
What is this "overlapping" thing?? From what I've read NANDIMAGE and
RAM don't have to overlap. So why is "RAM should overlap these
regions"? I can think of several scenarios to understand that they
could overlap: a) the mapping defined in config.bib is not the
definitive real mapping. The real mapping will move both RAM and
NANDIMAGE regions appart (and use more virtual adresses). b) the
mapping defined in config.bib is the real definitive mapping.
Overlapping regions are hence physical memory reserved for the demand
mapping of the NAND flash.
I thank you again for the light you shed on this obscure subject!
Gildas Tag: 2410 vs 2420 Samsung vs TI Tag: 105023
Is the Samsung 2410 line and the TI line OMAP 2420 family of ARM processors
related or second sources.
"Skin Diver" <me@home.com> wrote in message
news:uAFEJT3$HHA.4324@TK2MSFTNGP02.phx.gbl...
> Is the Samsung 2410 line and the TI line OMAP 2420 family of ARM
> processors related or second sources.
>
> Or is the numbering just a coincidence?
>