Convert PB 3.0 build to PB 4.2 build?
Hello,
I have a Windows CE 3.0 custom device based on the the StrongArm
SA1110 processor. I have the BSP, OAL, and all custom drivers needed
to build a CE 3.0 image and bootloader using PB 3.0. Note that we have
never used the IDE of PB 3.0 we have always built from the command
line with the PB 3.0 tools.
I would like to move the BSP, OAL, and drivers to PB 4.0 and build a
CE 4.2 image for this device, I believe I should be able to use the
existing bootloader as is without having to rebuild or change it?
I have looked at the PB 4.0 documentation and it does have a little
porting help for doing this - but it is not clear to me the easiest
approach to take.
Can you guys help with what will probably be the easiest steps to do
this? Thanks in advance!
Neal Davis Tag: IME Candidate Windows Tag: 52680
USB Driver not loading after a softreset
Dear TechGurus
Can any one pls bring to light what this problem is.....
I am working on a USB Interface. I have a USB Device, the driver is installed properly when I connect my device for the first time. I am giving a soft reset without removing the device from the USB Port(meaning the device is plugged in when I give a soft-reset)
After a soft reset the driver doesnt get loaded for the USB Device. If at all i am making a mistake in thedriver which exposable function in the DLL shuld i peep into. Is it XXX_Powerup
My intention is that driver shuld get loaded soon after i give a soft reset
Pls suggest/clarify
Thanks a tonne
Cheers
Lakshman Tag: IME Candidate Windows Tag: 52645
Image generation
Guys
when I download an image using platform builder into a VIA motherboard everything goes fine, but when I copy the generated nk.bin to the hard disk and boot directly using this image, the Vmini ethernet driver disappears!! does anyone can explain to me what is happening?? If the image is the same, how is that possible?
thanks
Rodrigo (a new developer)
PS: i´m using CE .NET 4. Tag: IME Candidate Windows Tag: 52642
Download/Initialize problem with Platform Webpad tutorial
I have followed the instructions to create the Web pad tutorial in
Platform Builder 4.2. When I come to Download/Initialise the OS image
to the Emulator, I get a problem.
I get the Downloading OS Image dialog (saying waiting for Bootme blah
blah), followed by the warning for KITL, which I accept using the Yes
button. Then I get a Server Busy dialog followed by "Connection to
Target failed" - "Platform builder was unable to connect to the target
device"
Any ideas what's going on here? I used all the default options when
building the platform, and I can't even get it to run in the emulator!
Thanks in advance
Toby Tag: IME Candidate Windows Tag: 52639
OSBENCH
Hi all,
I am using windows CE 4.1, and I ported the OS to an ARM9 based platform.
I am facing a problem with the OSBENCH program. The program, gives me
really crazy results. The results I got for the first test is copied below-
******************************************************************************
| 0.00 | IP = NO | CS = NO | 1 IPS
-------------------------------------------------------------------
EnterCriticalSection traditional (blocking) with priority inversion :
Time from a lower priority thread calling LeaveCS to a higher priority
thread unblocking from the EnterCS call
| Max Time = 4294823.666 us
| Min Time = 1833.470 us
| Avg Time = 111.586 us
******************************************************************************
As I understand, the problem is caused by OB_PrintResults routine in
osbench.c
The line which causes the trouble is the 'dwtime' calculation line.
dwTime = (DWORD) (g_pBuffer->liPerf2[i].QuadPart -
g_pBuffer->liPerf1[i].QuadPart);
When the value computed is negative, (In the first test, the second value
is always bigger than the first) it results in a typecast problem (DWORD
is unsigned), and I get a big unsigned value as the result.
Just to confirm that my basic routines are correct- the
QueryperformanceCounter returns the no. of clockticks till the moment it
is called, and QueryPerformanceFrequency returns the frequency of counter
clock (which in my case is my Timer).
So how can I get rid of this problem? I tried copying the entire stuff to
my platform directory and rebuilding it. It works, but blocks at the first
inter-process test (It works till Event-intra process. The next test is
Event-inter process, and it blocks there. I tried swapping the tests and
confirmed that blocking occurs at the inter-process tests).
I have never modified any static libraries which is included by the build
system. How can I modify the OSBENCH program?
Or Am I in a completely wrong track. Please advice.
Thank you,
Mariam.
PS: Attached below is my new results. If any of you have run it on an ARM
platform, please let me know whether they are good enough for an ARM 922
processor running at 200MHz?
******************************************************************************
SYSTEM BUILD INFO
PLATFORM =
PROCESSOR = ARMV4I
CONFIG = TEST2
RET/DEBUG = debug
BUILD DATE = May 28 2004 @ (15:58:21)
-------------------------------------------------------------------
PERFORMANCE COUNTER INFO
Counter Frequency = 100000000 Hz
Counter tick interval = 10 ns
QPC() call overhead = 6.280 usecs
-------------------------------------------------------------------
RUNTIME OPTIONS
NUmber of samples per test = 5
===================================================================
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
===================================================================
| 0.00 | IP = NO | CS = NO | 1 IPS
-------------------------------------------------------------------
EnterCriticalSection traditional (blocking) with priority inversion :Time
from a lower priority thread calling LeaveCS to a higher priority thread
unblocking from the EnterCS call
-------------------------------------------------------------------
| Max Time = 151.560 us
| Min Time = 133.120 us
| Avg Time = 138.685 us
===================================================================
===================================================================
| 0.01 | IP = NO | CS = NO | 1 IPS
-------------------------------------------------------------------
EnterCriticalSection traditional (blocking) without priority inversion
:Time from a higher priority thread calling EnterCS (blocked) to a lower
priority runnable thread getting run
-------------------------------------------------------------------
| Max Time = 163.610 us
| Min Time = 149.310 us
| Avg Time = 155.230 us
===================================================================
===================================================================
| 0.02 | IP = NO | CS = NO | 1000 IPS
-------------------------------------------------------------------
EnterCriticalSection fastpath (uncontested)
-------------------------------------------------------------------
| Subtracting out base result of -18242 ticks
| Max Time = 0.000 us
| Min Time = 0.000 us
| Avg Time = 0.000 us
===================================================================
===================================================================
| 0.03 | IP = NO | CS = NO | 1000 IPS
-------------------------------------------------------------------
LeaveCriticalSection fastpath (uncontested)
-------------------------------------------------------------------
| Subtracting out base result of -18322 ticks
| Max Time = 0.000 us
| Min Time = 0.000 us
| Avg Time = 0.000 us
===================================================================
===================================================================
| 0.00 | IP = NO | CS = YES | 1 IPS
: -------------------------------------------------------------------
EnterCriticalSection traditional (blocking) with priority inversion :Time
from a lower priority thread calling LeaveCS to a higher priority thread
unblocking from the EnterCS call
-------------------------------------------------------------------
| Max Time = 1796.270 us
| Min Time = 175.940 us
| Avg Time = 1388.557 us
===================================================================
===================================================================
| 0.01 | IP = NO | CS = YES | 1 IPS
-------------------------------------------------------------------
EnterCriticalSection traditional (blocking) without priority inversion
:Time from a higher priority thread calling EnterCS (blocked) to a lower
priority runnable thread getting run
-------------------------------------------------------------------
| Max Time = 191.540 us
| Min Time = 188.600 us
| Avg Time = 189.397 us
===================================================================
===================================================================
| 1.00 | IP = NO | CS = NO | 1 IPS
-------------------------------------------------------------------
Semaphore signalling intra-process :Time from a lower priority thread
calling ReleaseSemaphore to a higher priority
thread in the same process unblocking from a WaitForSingleObject call
-------------------------------------------------------------------
| Max Time = 127.340 us
| Min Time = 115.590 us
| Avg Time = 120.277 us
===================================================================
****************************************************************************** Tag: IME Candidate Windows Tag: 52634
Concept fussing~
I'm newbie....
and
i'm so confused after looking through the docs, would anyone please clarify
these two concept.....thanks~
SDB operates the specified board and is built with in Eboot~. and, with
eboot.bin provided ,we need not to concern the low level drivers any more.
BSP mainly differents in processors. so in different boards but with the
same processor, we could built up OS with uniform BSP shipped with PB, and
add corresponding drivers within the image then the board would operate
well.
appreciate again~:) Tag: IME Candidate Windows Tag: 52633
Repace the Traditional Chinese font
Dear all,
I am trying to replace the Traditional Chinese font in
CE4.2 PXA255 platform. I followed the instruction of the
online help by the below steps:
1.included the ttf file under \\windows directory
2. modified the below registry
. enable font link
. indicate ttf file location
**********************************************************
[HKEY_LOCAL_MACHINE\SYSTEM\GDI]
"FontLinkMethods"=dword:1
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\FontLink\SystemLink
}
"Tahoma"="\\Windows\\mingliu.ttc,PMingLiU"
--> "\\Windows\dftc.ttf"
"Courier New"="\\Windows\\mingliu.ttc,PMingLiU"
--> "\\Windows\dftc.ttf"
"Arial"="\\Windows\\mingliu.ttc,PMingLiU"
--> "\\Windows\dftc.ttf"
"Times New Roman"="\\Windows\\mingliu.ttc,PMingLiU"
--> "\\Windows\dftc.ttf"
"Symbol"="\\Windows\\mingliu.ttc,PMingLiU"
--> "\\Windows\dftc.ttf"
**********************************************************
However, once done, all chinese characters turn to □
symbol. Am I missing something?
Now I used another way instead that modifing the bib file
to change the tahoma font source file to the new font. It
works. However, it will lose choice to pick up different
fonts for English and Chinese separately, because there
is only one font in the system now.
Thanks,
Jay Tag: IME Candidate Windows Tag: 52616
how to set 64M memory in PB
hey, I use pb4.2 builder a thin client of 64M sdram. but i can see system is
see 32M. i set the autosize=on but cant.
what can i do? thanks. Tag: IME Candidate Windows Tag: 52615
Downloading Applications Only
I Have been developing a WinCE image w/ an application. I currently
download the whole thing w/ Platform Builder & run it. I am now flashing the
WinCE image, but I want to download just the application and run & debug it.
How do I do just that? Tag: IME Candidate Windows Tag: 52611
Remote debug session hangs app
My group is getting started on app development for the system I've put
together in CE 4.2. We've encountered a hang condition that seems to
be caused by running the app through a debugger.
By tracing into the OS, I tracked down the hang into a call to
OutputDebugString(). The OS notifies the debugger that the output
buffer has a new string, then waits infinitely for the debugger to
respond with a continue event. (See the WaitForDebugEvent() function
group for reference.)
We're using the provided driver for a RTL8139 NIC. This happens with
both KITL and TCP/IP debug connections.
Is this a known problem? Is there something I can do about it?
-EN Tag: IME Candidate Windows Tag: 52607
Help me to understand the limitations in the MS Atapi driver (CF)
I've put a few posts on here now, I'm struggling somewhat
with the MS Atapi driver when using a CF card on an IDE
port.
I've looked at a 3rd party atapi driver and also the
driver within CE 5.0, both of which are a good
improvement, certainly when reading or writing large
files. However during a phase of our application it is
writing to a lot of small files and the performance at
this time is very very poor, no matter which driver we
are using.
To determine my best course of action from here I need to
understand where it is that the problem actually lies.
Within our application we are;
Writing to 19 files totaling 4 KBytes in size, writing 3
files totaling 226 KBytes and writing a small amount of
data (less than 100 Bytes) to 3 x 150 KByte files using
file seeks to get to the relevant data positions.
I haven't actually timed it but this whole process is
taking well in excess of 10 seconds, could be as long as
20. Ouch!!!!
So what bit of it is it that it is causing the problem?
Is it the opening and closing of the files? If we left
the files open would this improve matters?
Is it the writing to different files, if we developed
somesort of virtual file system within our app that meant
that all the file data was written to one big file
instead of seperate files would this likely help?
I thought about developing a cache within our app itself,
so that data is written to the cache but changes actually
written to disk in the background using a thread. The
trouble with this is with write speed being as slow as it
appears to be, the possible loss of data due to power
failure would seem immense.
I'm also considering learning how to write an Atapi
driver and then ripping to bits the MS one hopefully
leaving only what we actually need. In a lighter form
dedicated to our own use are we likely to see a
signifigant enough improvement in performance? Is the
performance problems within Atapi.dll? Or does it go
further up the chain?
My apologies if this post seems a tad 'rambly', I've
expended a great deal of time and energy on getting this
project off the ground and we have found ourselves
completely stuck on one minor(ish) issue for sometime
now. There is a little frustration begining to show
through the cracks.
All suggestions would be very greatfully appreciated.
Col
PS. Congrats on CE 5.0, we've built an image using it and
have seen some good improvements. Particulalry pleased
with the new BIOS boot loader, which has already
been 'pinched' for our CE4.2 project :) Tag: IME Candidate Windows Tag: 52606
CE image load checks?
I am curious what, if any, checks CE start up and or bootloader code does to
insure
the OS image is not corrupted? CRC etc?.
It looks like the bootloader just checks the TOC signature "CECE" after
image is moved to RAM.
Is there anything else done on kernel/bootload startup? Tag: IME Candidate Windows Tag: 52602
gperotate library support for 4 BPP
Hi,
We are involved in developing audio conferencing solution with x86 based
platform and Windows CE 4.2. I need clarification on gperotate libraries
limitations. We are using emulation library to do blt and line drawing and
our hardware Display interface is 320 x 240 x 4BPP LCD panel driven by Media
Q PCI chipset.
Question:
Is that possible to use gperotate library to do rotation for 4 BPP
configuration?
Jegan Tag: IME Candidate Windows Tag: 52597
Flash OS imageupdate application
Hi all,
I would like to write an application to update the whole OS image.
I would the final user can run the application, choose a new OS image
file from a mass storage (USB key) and then launch the update.
At the end they must turn off and on the device.
Can I use the bootpart library to reprogram the flash?
I have to parse the .bin file or can I use the .nb0?
I'm working with WINCE.NET - PB 4.2 and my platform is a pxa255
processor board with 32M NOR flash and 64M sdram.
My image is non-XIP.
I have reghive registry and a persistent flash partition.
I need a lot of tips!
Thanks in advance.
FabioMelandri
ElettronicaGF Tag: IME Candidate Windows Tag: 52594
How is RAS suppose to handle multiple devices with the same name?
Hi All,
I have discovered an issue with RAS and connmc (Network and Connection
Manager). I am testing a USB to serial dongle on my device. If I connect
multiple dongles to my device using a USB hub I will have multiple RAS
devices (RasEnumDevices), all using the same name. How can I differentiate
between them? Whenever I try to create a connection (in connmc) it only uses
the name, which is the same for all of them. How can RAS tell them apart? It
seems to me, whatever entry I choose, the last one always gets used. This is
a major problem. This must have been noticed before by someone. Any tips on
how I can solve or work around this issue?
Cheers
Danny Tag: IME Candidate Windows Tag: 52591
Problem with eboog
I have found my date on my computer is 2003,and I have changed it to 2004.
but the same problem still appears.
No Server Process Associated With File Name bg
Error in TFtpReceiver
****** Data record 52 corrupted, ABORT!!! ******
how can i resolve it ?? Tag: IME Candidate Windows Tag: 52590
Launch application that it isn't in the image
I need to launch and application that it is in the hard drive (compact
flash)
not in the image. Any idea ? Tag: IME Candidate Windows Tag: 52578
SDK exported from PB and used in EVC
Hello all,
i created (in PB 4.2) a nk.bin OS image to be used on my hardware. I
specifically added the SAPI module to let the computer speak in behalf of
me! Im lazy :P I also generated the SDK, and installed onto my WinXP machine
(im not so lazy).
Now Im compiling my speech application using EVC 4.0 and i'm getting the
usual error that says that the file "sphelper.h" cannot be found. Indeed in
the SDK i just created that file does NOT exist. But i searched more and i
found that file IS in the following directory:
C:\WINCE420\PUBLIC\SPEECH\SDK\INC
Now what i'm missing here? How to incorporate the libs/includes for the
speech system into EVC in the ordinary manner? I simply added the right path
to EVC to those libs/include directory and i got my app compiled&working,
but i would like to do the right thingys instead of my own hacks.
Greetings,
Luca Tag: IME Candidate Windows Tag: 52575
How to reconfigure image without BSPs?
Greetings everybody and thanks for taking a look at my topic:0
my device is PXA255-400 based Sitsang board with 640*480 resolution, the os
is wince.net 4.2. Intel provided us a nk.bin, but no BSPs is shipped along,
How could i do the modifications since there is no BSP? The applications are
not so complete and the drivers are running sluggish.
So , i 'm wondering if i can duplicate out the files in image BIN, through
sync cable while the board is running~ and do some replacement and adds,
then rebuilt them into a whole~ I know, this might be a naive newbie idea,
just want a verification of my idea and some suggestions to my
situation.....
If, my method debacle at all, what should i do to continue my project?
Create BSPs? would it be easy in limited time , say, one month?
I do appreciate you so much to end up with my awkward description, expect
your recommonation:)) Tag: IME Candidate Windows Tag: 52571
audio driver cause problem
This is a multi-part message in MIME format.
------=_NextPart_000_0015_01C44401.E771D6B0
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Hi,all:
=20
In PB4.1Net,if I removerd the audio driver from the BSP,the OS can =
run smoothly,but if I added the audio driver into the BSP,the OS can't =
work.why?who konw the reason would be?
------=_NextPart_000_0015_01C44401.E771D6B0
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi,all:</FONT></DIV>
<DIV><FONT size=3D2> </FONT></DIV>
<DIV><FONT size=3D2> In PB4.1Net,if I removerd the audio =
driver from=20
the BSP,the OS can run smoothly,but if I added the audio driver into the =
BSP,the=20
OS can't work.why?who konw the reason would =
be?</FONT></DIV></BODY></HTML>
------=_NextPart_000_0015_01C44401.E771D6B0-- Tag: IME Candidate Windows Tag: 52570
Customize Touch Calibration
Hi
I would like to write an application with the integrated touch
calibration feature instead of customizing "calibrui" or calling
"TouchCalibrate()". Is it possible that I can directly call the
TouchXXX() APIs exported from touch.dll? I tried it but it didn't
work. It seems related to process address space problem because my
application will have another set of the global variables for the
touch.dll instead of the touch driver's own copy
Is there a way to solve it? Tag: IME Candidate Windows Tag: 52569
Can Flash Image print message to HyperTerminal when OS running
This is a multi-part message in MIME format.
------=_NextPart_000_000A_01C443FF.CB63BFD0
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
If can do,how to do?
Thank you!
------=_NextPart_000_000A_01C443FF.CB63BFD0
Content-Type: text/html;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dgb2312">
<META content=3D"MSHTML 6.00.2800.1400" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>If can do,how to do?</FONT></DIV>
<DIV><FONT size=3D2>Thank you!</FONT></DIV></BODY></HTML>
------=_NextPart_000_000A_01C443FF.CB63BFD0-- Tag: IME Candidate Windows Tag: 52568
Automatic App Execution after a soft reset
Dear TechGurus
I want an application to run soon after a soft-reset is given to a PDA
Can any registry entries be set so that this happens. In the case of Win2k there is key in Registry under Microsoft called "RunOnce". When a entry is present there, soon after a restart the app path given in the registry starts executing. Similarly is there any registry paths in WInCE where an application would start executing after a soft-reset
Thanks a tonne
Cheers
Lakshma Tag: IME Candidate Windows Tag: 52565
Question About the interrupt of Pocket PC 2003
I am migrating PCMCIA & CF card device driver from Pocket PC 2002 to Pocket
PC 2003 using Platform Builder 4.2.
But the ISR is not called, when hardware interrupt is generated.
I'm sure that the hardware has generated the interrupt.
And this device driver works well in Pocket PC 2002.
CardRequestIRQ return CERR_SUCCESS, however isr was not called.
What is changed in the Pocket PC 2003 ?
And, What is mean "NoIntrPend=dword:1" ?
Is this only solution? Tag: IME Candidate Windows Tag: 52564
makeimg: FATAL ERROR:
Hi All
I am trying to build french an spanish language from command line using platform builder 4.2. If i build english version from command line it builds fine. If i try to build spanish or french language i get the following error
makeimg: FATAL ERROR: Must set a supported 4-digit locale code
makeimg: FATAL ERROR: Must set a supported 4-digit locale code
I had verified that LOCALE variable is still defined correct
Need help Tag: IME Candidate Windows Tag: 52562
Kitl connection doesn't..
Hello all.
I have a headless SH4 platform, and am attempting to get CE4.2 running
on it. The hardware is brand new, so it could be a hardware problem of
sorts.
Basically, I get to a point in the debug where everything just stops.
Don't get error messages at all and looking into the device with an
ice it appears to still be running (it does not appear to totally step
into the weeds).
The following is the last portion of my debug dump.
What would be a good place for me to look into? I am not positive on
how the interrupts are tied from the 91c111 to the processor, but I
don't think it is using interrupts at this point yet (they appear to
be enabled later in the game)
Appreciate any help.
Regards,
Remco
/// debug dump from serial port
Host connected
Host IP: 165.88.81.123, port 2588
KeyIndex 0 = -1
KeyIndex 1 = -1
KeyIndex 2 = -1
KeyIndex 3 = -1
KeyIndex 4 = -1
KeyIndex 5 = -4194305
KeyIndex 6 = -4194305
KeyIndex 7 = -1
+KITLRegisterDfltClient, service:0
+KITLRegisterDfltClient, service:1
KITLGlobalState == 0x61
KITL Initialized
Waiting for service 'DBGMSG' to connect..., fUseSysCalls = 0
ProcessAdminMsg: Receive Config message for service DBGMSG
ProcessAdminMsg: Receive Config message for service PPSH
ProcessAdminMsg: Receive Config message for service DBGMSG
SH3Init done.
//// ethernet debug on platform builder
My PC's debug shows:
<only latter part shown>
0 PID:0 TID:0 IntrPrio[109] = 00000001
0 PID:0 TID:0 IntrPrio[110] = 00000001
0 PID:0 TID:0 IntrPrio[111] = 00000001
0 PID:0 TID:0 DMAUCR = 0x00020000
0 PID:0 TID:0 PHCR (before)= 0x003c
0 PID:0 TID:0 PHCR (after) = 0x0000
0 PID:0 TID:0 Booting Windows CE version 4.20 for (SH-4)
0 PID:0 TID:0 &pTOC = 8c057680, pTOC = 8d483ad4, pTOC->ulRamFree
= 8d4bd000, MemForPT = 00000000
0 PID:0 TID:0
Old or invalid version stamp in kernel structures - starting clean!
0 PID:0 TID:0 Configuring: Primary pages: 11071, Secondary
pages: 0, Filesystem pages = 5535
0 PID:0 TID:0
Booting kernel with clean memory configuration:
0 PID:0 TID:0 Memory Sections:
0 PID:0 TID:0 [0] : start: 8d4be000, extension: 00003000,
length: 02b3f000
1 PID:0 TID:0 Windows CE KernelInit Tag: IME Candidate Windows Tag: 52551
Porting English application to Chinese
Hello all.
I have a custom XScale board and WinCE 4.1 in a kiosk application.
Basically, dialogs are displayed listing options and the user presses
buttons to make selections. Right now, my interface is in USA
English. I have been asked what it would take to support Chinese.
Man, I don't even know where to begin! Can someone point me at any
resources I can study - something like "programming a Chinese GUI for
dummies"? Are there any books or articles about migrating an
application from English to Chinese?
Any help would be appreciated,
Matt Tag: IME Candidate Windows Tag: 52547
BIOS boot loader splash screen, invalid image
Can anyone help resolve a problem with a BIOS boot loader?
I am trying to display a splash screen from a BIOS boot loader (BLDR) on a Geode based SBC running Windows CE .NET (4.2). I have explored the posts in the newsgroup on microsoft.public.windowsce.platformbuilder. In a post dated 8/21/2003 (see URL below) code to perform this task was graciously provided. I have added the code to main.c and verified the statup.asm (x86 based SBC) initalizes the video. The BLDR builds with no errors or warnings. The BLDR is then transfered to a Compact Flash card using MKDISK and the CE .NET OS is copied to the CF card
I converted a BMP file to a raw image file (as suggested by a previous post) with a simple convetor (bmp2raw.exe) found on the internet.
When the SBC is powered on the system boots properly, except no image is displayed when the BLDR is executing. The system was powered down and I then modifed main.c by changing SPLASH.IMG to SPLASH.BMP. A new BLDR file was built and flashed to the CF card. The SPLASH.BMP file was also added to the CF card. When the system boots two lines across the top of the screen display multi-colored pixels until the OS starts, indicating to me that an image is attempting to load but is in the wrong format
I think I am close to making this work but can't get the image converted correctly. Any help is greatly appreciated
URL for previous post containing BLDR code
http://groups.google.de/groups?hl=de&lr=&ie=UTF-8&oe=UTF-8&threadm=044b01c3599e%24f1295af0%24a401280a%40phx.gbl&rnum=2&prev=/groups%3Fq%3DErik%2Bboot%2Bsplash%2Bgroup:microsoft.public.windowsce.platbuilder.*%26hl%3Dde%26lr%3D%26ie%3DUTF-8%26oe%3DUTF-8%26group%3Dmicrosoft.public.windowsce.platbuilder.*%26selm%3D044b01c3599e%2524f1295af0%2524a401280a%2540phx.gbl%26rnum%3D2 Tag: IME Candidate Windows Tag: 52546
IE 6 context menu
Hi All,
Does any one know how to make change to the Context menu for the
Vertical Scroll bar in IE6. It displays wrong items. It displays the
following:
Scroll Here --> This is correct
Left Edge --> It should read "Top Edge"
Right Edge --> It should read "Bottom Edge"
Page Left --> It should read "Page Up"
Page Right --> It should read "Page Down"
Scroll Left --> It should read "Scroll Up"
Scroll Right --> It should read "Scroll Down"
Thanks Tag: IME Candidate Windows Tag: 52543
Hard disk problem
I've got a problem with my hard disk. I tried the procedure found in MSDN. I
added the driver as explained, but it's not working. Does anybody have a
link to a walkthrougth or a website. Thanks
Jeff Burroughs
Autolog Tag: IME Candidate Windows Tag: 52535
Bluetooth : how to get started?
Hi there,
Let me first explain what I want to achieve. I have a custom Xscale device
with a bluetooth module. This bluetooth module should function as a cable
replacement. In the end, I want to be able to TALK to the device through a
desktop computer using hyperterminal.
To achieve this, I have included the Bluetooth - Uart only driver in my
image. In my debug trace, I can see eveything is going fine. On my IPAQ I
can even see the device through the bluetooth manager. This leads me to
believe that this is all going according to plan. However, when I try to
connect to my custom device, no bluetooth services are exposed. This seems
logical as no profiles have been loaded just yet.
I'm a bit at loss now. Where do I go from here? Is there an easy way to
include the serial port profile on the device? I have gone through the
samples that are included in platform builder (especially the sdp ones) but
I have no idea what to do next.
Do I first try to add an SDP record to advertise the serial port?
Is this necessary and if so, how to do it? I can't seem to find a lot of
samples or feedback. Any pointers would really help...
After that, I would probably need to set up the pairing procedure? After
that, I should probably be able to emulate a serial port on the device
(using the comtest sample).
Does anyone know the procedure to set this up?
Kind regards,
Jean Tag: IME Candidate Windows Tag: 52533
including WPA support for cisco radio
I am trying to get WPA included in my image with all the sysgen parameters as found in "Creating a WPA-enabled Wireless Configuration for a CEPC" doc found on the Microsoft site. For some reason WPA is not included in the image when I install. I have even included the QFEs for WPA roaming with no avail. I have all 7 sysgen parameters in the document set and do have the cisco driver included in the image but just cannot set WPA. The only options available for authentication are "Open" and "Shared"
I have PB 4.20 and a xscale CE device
Any help would be appreciated. Tag: IME Candidate Windows Tag: 52532
Runnig built sample
Hi,
I have built bluetooth samples for ARM by platform builder, but I'm
unable to run it on real PPC. It tells "'phoneiu' is not a valid
PocketPC application (it has GUI , not console). What should i do for
running it?
------
Saman Tag: IME Candidate Windows Tag: 52531
Migrating from Windows CE 4.0 to 4.2
Hi ALL,
I am migrating Hitachi PFM-DS11 windows CE 4.0 platform builder to
windows CE 4.2 according to the guidelines given on following URL
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcedsn40/html/cghowhowtomigratebsp.asp.
On above URL there is mentioned that KErnel page size is to be
incresed to 4K from 1K.
"Enlarge the page sizes for SH3 and SH4 kernels from 1 KB to 4 KB, and
then rebuild any application or device driver binary builds with a
1-KB page size.
When you rebuild the binary builds, you enlarge the builds to a 4-KB
page size. By performing this procedure, you ensure that the kernels
load and run correctly on Windows CE .NET 4.2.
Note In previous versions of Windows CE, the default page size for
SHx kernels was 1 KB. If you do not enlarge the page size, any binary
builds with a 1-KB page size will not run on the current version of
Windows CE."
I am not able to find any document/help on how to increase the kernel
pagesize from 1K to 4K. Can anybody help me on this topic ???
Thanks in advance.
regards,
Rajesh Tag: IME Candidate Windows Tag: 52528
How to modify the resource of File Open Dialog?
Dear all
I have a problem about the File Open Dialog in WinCE 4.20. It is bigger than my screen, so I want to modify its resource to fit the screen size
I have finished the same thing to cplmain.rc. But I can not find the resource of File Open Dialog. Where is it
I find a fileopen.res. It has the dialog. But I need its source code
Help!!! Thanks!!
Best Regards
Jacky Tag: IME Candidate Windows Tag: 52527
To Microsofts Support Team (Linksys WPC 11 driver question)
Dear eMVP's and all other fellows,
I know Windows CE4.2 supports the Linksys WPC11 v3.0 card.
(Just by setting BSP_NIC_ISLP2NDS = 1)
1) But does this driver also support the Linksys WPC11 v4.0 card?
2) And if not, where can I found such a driver?
Linksys tells me they don't support Windows CE and tell me to
ask Microsoft itself.
So here I am.
3) Will the final release of Windows CE 5.0 also support these 2 cards?
Thanks for your support,
Peter. Tag: IME Candidate Windows Tag: 52524
how convert function address to physical address
To guru
how to convert address of my function to Physical Address and Virtual
Address of smart phone
best regard.
Mr. Ni Tag: IME Candidate Windows Tag: 52523
Handling GetTickCount wrap
Seems like GetTickCount will wrap around after 49.7 days.
What is the normal way to handle if it wraps around?
Suppose I compare timestamps like this:
DWORD dwStarted = GetTickCount();
DoLongRunningTask();
// Suppose GetTickCount has wrapped around here
DWORD dwStopped = GetTickCount();
DWORD elapsed = dwStopped - dwStarted;
Then this would fail if GetTickCount wraps around,
since dwStopped<dwStarted, so elapsed would become
"negative".
I would like my platform to handle running longer
than 49.7 days, so I guess I would need to cope
with this.
I guess the correct thing to do would be something
like:
DWORD elapsed;
if (dwStopped >= dwStarted)
{
elapsed = dwStopped - dwStarted;
}
else
{
elapsed = MAXDWORD - (dwStarted - dwStopped);
}
Am I thinking right here?
Do you people in general handle this, or simply ignore
the problem? Tag: IME Candidate Windows Tag: 52522
Display functionality during boot
Hi,
our current platform (based on ARMV4I) doesn´t have any functionality
to let the user know that the OS is loading during boot time.
Now we want to implement it and this is my task. :-)
I took a first (dirty) approach trying to include all the display
driver code into our boot routines and creating an instance of the
class which implements the driver:
static GPE *gpGPE = (GPE *)NULL;
.
.
.
gpGPE = new Epson();
The idea was to try to eliminate the code that did not work while
booting (reading the registry and so on).
Well, my first question is, it is a good approach? I mean, I have
spent a lot of time trying to compile the code and I´m still receiving
errors without knowing if without compilation errors is going to work.
For example, the driver is written in C++, so I´m not sure if I can
use the new operator, virtual functions and so on in my bootloader; I
have read that I have to enable the MMU (?) or I have to implement my
own heap (override the new and delete operator in the class code(?) ).
At the end, basically my problem is that I am not sure the limitation
(software) that I have while booting.
The second question is, if the above approach is wrong, what would be
the best way to implement it? Maybe some basic display functionality
during booting and after that to let that the OS loads the real
display driver?
Thanks in advance for your help!
Alexander Tag: IME Candidate Windows Tag: 52521
Using SetPassword to change the system password
Is it possible to use SetPassword in an application built with embedded Visual C++? Or does it have to be used in a function as part of the operating system (Win CE 4.2)
I have tried adding the fspass component and create a SDK for embedded Visual C++, but I still don't have access to the SetPassword API
Thx. Tag: IME Candidate Windows Tag: 52517
Firewall
I´m trying to make a Firewall rule that blocks all OutBound traffic, but it isn´t workin
I´m using Platform Builder 4.2 and I´m adding this key to Platform.re
[HKEY_LOCAL_MACHINE\COMM\Firewall\Rules\BlockOutbound
"Mask"=dword:1 ; FWM_POR
"Flags"=dword:11 ; FWF_BLOCK | FWF_OUTBOUN
"PrivateHost"=hex:02,00 ;
I didn´t get how the firewall rules do work, what happens if I put two rules that conflicts (one for blocking and other one for allowing) Tag: IME Candidate Windows Tag: 52509
required smartcard driver registry entries?
I'm developing a smartcard reader driver under 4.20. So far I have not been able to successfully register my smartcard reader with the resource manager (as far as I can tell)
The driver loads as a stream interface just fine. Interrupts are working etc. But when I try to access the registered reader list using SCardListReaders, it returns SCARD_E_NO_READERS_AVAILABLE
The driver on startup calls SmartcardInitialize, which is successful, and prints this debug output
SCI!SmartcardInitialize: Enter. Version 150, Mr1 032:24 2:2
SCI!SmartcardInitialize: Exi
Shortly there after this debug output is printed
PNP interface class {f8a6ba98-087a-43ac-a9d8-b7f13c5bae31} (SMC1:) ATTAC
(SMC1 being the device name) So, it seems like it successfully registered. But no such luck
I read in the documentation that the following registry entry needs to exist
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\SmartCardDriver
"Start"=dword:
"Type"=dword:
"Group"="Smart Card Reader
"ErrorControl"=dword:
The "SmartCardDriver" bit was italicized, so I assume it means to replace that with the name of the smartcard driver as exists under HKEY_LOCAL_MACHINE\Drivers\BuiltIn. (I've tried both ways) So here is my complete registry setup for this driver
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\smc
"Prefix"="SMC
"Dll"="smc.dll
"Order"=dword:
"Index"=dword:
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\smc
"Start"=dword:
"Type"=dword:
"Group"="Smart Card Reader
"ErrorControl"=dword:
Is that all I need in the registry to get the driver to register correctly with the resource manager? Or am I missing some initialization steps? I've been searching for quite a while on this, and haven't come up with anything. Any insight on where I should focus my debugging efforts would be greatly appriciated. Thanks Tag: IME Candidate Windows Tag: 52507
Installing and binding NDIS IM Driver in Windows CE
h
I have written an NDIS intermediate driver that is to be placed below the protocol driver and above the miniport driver. Please tell me how can I install my IM Driver in the Windows CE environment. I do not know the registry entries that have to be created and the files in which these entries and the linkages are to be written. How do I tell the location where my IM Driver is to be placed
regards
Varun Varshne
IIT Guwahati, India Tag: IME Candidate Windows Tag: 52503
Remote Ip configuration
I have a Geode Motherboard with an ethernet port. I need an TFTP to downloa
files in a specific directory. My idea is modify the inital registry in the platform builder
and change DHCP to static IP (ex: ip: 10.0.0.1 , mask: 0.0.0.0 gateway: 10.0.0.1
I am thinking in telnet service to modify the default static address by the "ip address
that the client need for their local network. Somebody can explain me how to enabl
the telnet service and how can i change the static ip remotely
Thanks in advance
Oscar Tag: IME Candidate Windows Tag: 52502
Dear all
Is that possible to remove candidate window from Chinese IME? We are trying to have a application to retrieve the list from candidate buffer