WinCE: Problems including OEM help (.chm) files into Platform SDK
Hi all,
Having a bit of a problem that that has come up in the newsgroup
archives (without any solution suggested) a couple of times before back
in 2003-3.
I'm trying to include a custom .chm help file into a SDK installer
build via. the "Configure SDK..." dialog "Help" tab, as described in
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcepb40/html/pbtskaddingcustomhelpfilestosdk.asp,
my file is included in the installer OK and written out with the other
help files as part of the install, however it does NOT appear to be
linked in to the SDK help presented in eMbedded Visual C++.
Any ideas??
Thanks
Richard Lang. Tag: How to boot form DiskOnChip on Mainstone? Tag: 80675
HELP: Debug causes exception but release is fine
I am creating a Property Sheet test application for my device. When I
copy the debug a2test.exe to the device and run it all is well! But,
when I use PB and download entire image and try to debug, I get a
First-chance exception in NK.EXE (0xC000001C: Invalid System Service)
when calling PropertySheet() The pertinent lines from the Debug are
PID:bd99fb2 TID:bd9eeae 0x8bd815c4: ObjectCall: Failed(1): 15
PID:bd99fb2 TID:bd9eeae 0x8bd815c4: RaiseException: Thread=8bd815c4
Proc=8a14de30 'a2test.exe'
PID:bd99fb2 TID:bd9eeae 0x8bd815c4: AKY=00000081
PC=8822f668(NK.EXE+0x0002f668) RA=88229280(NK.EXE+0x00029280)
BVA=00000000 FSR=00000001
And I am in
RETADDR ObjectCall (POBJCALLSTRUCT pobs)
When I try to pull up the call stack for my application it shows
NK!ObjectCall(_OBJCALLSTRUCT * 0x1002ed88 {method=0xffffeae5
prevSP=0x00000000 mode=0x0000001f ...}) line 1231
NK!PrefetchAbort + 324 bytes
NK!PrefetchAbort + 324 bytes
NK!PrefetchAbort + 324 bytes
.
.
.
I set break points in all of my DialogProcs and it is croaking before
reaching any of them. I don't even know where to go from here?
Any help / suggestions appreciated.
gerrit Tag: How to boot form DiskOnChip on Mainstone? Tag: 80673
NAND FMD with 10 byte ECC
Hello,
I am trying to determine if it is possible to create a NAND FMD driver
that uses a 10 byte ECC algorithm for each 512 byte sector. Based on
the WinCE 5.0 sample FMD drivers, I think there may not be enough room
in the 16 byte spare area to save the 8 byte SectorInfo structure, the
bad block marker, and 10 bytes of ECC data. MLC NAND suppliers
recommend a 10 byte Reed-Solomon ECC strategy for each sector. Does
anyone have an idea on how I can do this using the existing FAL?
Thanks! Tag: How to boot form DiskOnChip on Mainstone? Tag: 80672
Google rendering in IE on CE 5.0
For some reason I have trouble with some web pages text rendering in
the IE.
One of the sites that suffers from this problem is google.co. for some
reason the text looks squeezed, I tried adding all available font as
well as change encoding and text size but it does not help. Is it
possible that IE does not give the site the right screen proportions? Tag: How to boot form DiskOnChip on Mainstone? Tag: 80671
Wince device in windows network
hi,
Is it possible to have the CE device visible to other Desktop pcs while
browser the local windows network. Can the CE device share files?
What about the other way around, can the CE device display a list of
all avilable pcs in the domain/workgroup? Tag: How to boot form DiskOnChip on Mainstone? Tag: 80670
Serial Activesync connexion
Hi All,
I created my OS image using Platform Builder 4.2.
I try to make a serial activesync connection on a SH3 board. I can
connect via Ethernet or Usb cable, but i have trouble with serial
connection.
In debug mode, it works very well.
In release mode, I have a strange behaviour : on the PC side,
Activesync displays "connecting" and its icon becomes green and rounds.
On the device side, it says "User authenticated".
I dont think the cable is bad because every thing is ok in debug mode.
In release mode, I have no debug trace to easily identify the problem.
Can anybody point me in the right direction to resolve this problem ?
Thanks,
Dom Tag: How to boot form DiskOnChip on Mainstone? Tag: 80660
Ethernet problem (Realtek) on GEODE
I have built an image for CEPC with ethernet pci board (Realtek), put
the image on HD and everything work perfect. I was able to debug my
application (evc4) through ethernet.
Then i have built the same image for GEODE (i have a board with geode
and realtek inside). Put the image on HD. The Realtek is show and from
my pc a can see the "conenction led" blinking and it seems that
everything works.
But when i try to debug my application (with evc4) after connecting
with ActiveSync, i cannot use the ethernet, it goes only by serial
port!
What's wrong? Can someone help me?
P.S.
I use PB5
Thanks
Roberto Tag: How to boot form DiskOnChip on Mainstone? Tag: 80656
Changeing SYSINTR_MAXIMUM
I have a CE 4.20 Platform with a lot of Interrupt's (more then the 32
supported by InterruptInitialize()) is it possible to change SYSINTR_MAXIMUM
or SYSINTR_MAX_DEVICES ? Tag: How to boot form DiskOnChip on Mainstone? Tag: 80643
Windows CE webserver how to use ActiveX controls/.NET controls/Java applets
Hi folks,
I'm currently using the HTTPD webserver in combination with the windows
CE emulator.
My goal is to access a windows CE HTTPD webserver HTML/ASP page using
my
desktop webbrowser and add some interactive content to that page by
using
an ActiveX control or a .NET control or a Java applet in the HTML/ASP
page.
I can access the web page from my desktop webbrowser (IE6) but I can't
get any of
the webpage components (ActiveX control or .NET control or Java applet)
to be downloaded
properly to the desktop PC.
Here's some example HTML code i'm using:
// ActiveX control in a signed cabinet file:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>TestASP</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<OBJECT ID="Nlview" WIDTH=100% HEIGHT=400 align="baseline" border="0"
CLASSID="CLSID:F2C19A8B-3F1F-11D1-BEA3-008048EAD6C0"
CODEBASE="nlview.cab#version=3,3,0,103">
<PARAM NAME="_Version" VALUE="65536">
<PARAM NAME="_ExtentX" VALUE="17886">
<PARAM NAME="_ExtentY" VALUE="12347">
<PARAM NAME="_StockProps" VALUE="4">
<PARAM NAME="Font" VALUE="Courier New"></OBJECT>
</body>
</html>
// .NET control exposed from a dll file (control named 'DragListBoxCe'
in
// namespace 'CustomCeControls'):
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>TestASP2</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<OBJECT id="List1"
classid="ControlLibCe.dll#CustomCeControls.DragListBoxCe">
</OBJECT>
</body>
</html>
// Applet
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>TestASP3</title>
<meta http-equiv="Content-Type" content="text/html;
charset=iso-8859-1">
</head>
<body>
<APPLET name="javaClock" code="JavaClock.class" width=150 height=150>
<PARAM name="fontsize" value="28">
<PARAM name="backcolor" value="black">
<PARAM name="fontcolor" value="red">
<PARAM name="hHandColor" value="green">
<PARAM name="mHandColor" value="green">
<PARAM name="sHandColor" value="red">
<PARAM name="hPointColor" value="red">
<PARAM name="mPointColor" value="lightgray">
<PARAM name="analog" value="true">
<PARAM name="dst" value="true">
</APPLET>
</body>
</html>
I know that the HTML <OBJECT> tag is ignored by the CE webserver so I
cannot use these objects
in server side scripts (that's no problem for me because I only require
these objects at
the client side).
I also read that HTML <OBJECT> tag behaviour is dependant of the
webbrowser
at the client side. Since the examples described above all work when I
use 'em on
a Windows XP IIS web server I'm pretty sure that the client side
browser is ok
One last thing:
the logging of the Windows CE webserver logs HTTP status code 302
after a HTTP GET request where one of the files nlview.cab,
ControlLibCe.dll,
JavaClock.class is requested. I don't know why because they are present
in
the same virtual directory as the ASP page.
Can anyone help me out or tell me if it's even possible what I'm trying
to do?
Thanks in advance,
Greets,
Eric Tag: How to boot form DiskOnChip on Mainstone? Tag: 80642
KITL error message
Dear Sir,
I use WINCE 5.0 to develop my project which used PXA27X as main chip.
Currentlly, the PCMCIA socket work well when system bootup.
I also can connect to internet to browse information.
But I can NOT enable KITL mode.
When I download KITL-NK to SDRAM , the UART will send "
!KITLSend(DBGMSG): Reentrant call, hTh:07FC9242" .
And the message will NOT stop.
Do anyone have idea about this issue ?
BR,
dirwdirw.tw Tag: How to boot form DiskOnChip on Mainstone? Tag: 80641
on the ce initiation
Dear all,
I am new to platform builder. I want to know some details of
the windows CE startup.
Normally, when powered on, the CE will prompt you to calibrate
the screen alignment. I want to know where is the codes to control
this procedure.
in common.reg,under hkey_local_machine\init, is this the right
place to work on?
By the way, how can I know which is the file for the logo of
the windows CE startup? It should be an image file, but it seems I have
searched all the image files but cannot find it...
Please help!
Thank you!
HWB Tag: How to boot form DiskOnChip on Mainstone? Tag: 80634
Win98 boot disk?
I have a board that boots a win98 OS from a USB thumb drive but not a DOS
6.22 OS from a USB thumb drive.
USB media is much cheaper that DOM and I would like to use this as a
possible alternative to booting my CE image.
Are there any licensing issues with this? Tag: How to boot form DiskOnChip on Mainstone? Tag: 80629
the first splash screen
Dear all,
I am very new to CE platform builder. Hope my question is not
a silly one.
I want to know where (under which directory which file) I can
find the file on the load sequences. That is, where I can find the
source codes for the first splash screen?
Thank you in advance!
Best Regards,
HWB Tag: How to boot form DiskOnChip on Mainstone? Tag: 80628
.NET CF installation
How can I install .NET Compact Framework (1.0.3111.. or greater) on my
Windows CE .NET 4.20?
The main problem is that my device is ARMv4I, and I only have the .NET CF
installation package for ARMv4..
Mhaxx Tag: How to boot form DiskOnChip on Mainstone? Tag: 80623
Soft reset problem
Hello,
I am trying to implement the soft reset ioctl.
I am running from sdram, and it seems that just jumping to the begining
of the image in the ram is not enough.
The Wince kernel is re-starting, but when starting to load its dlls, it
finds that some lists are already initialized and assumes that they
are already loaded.
my guess was that wince doens't initialize its static memory at
startup.
Is there a way to over come this?
what is the proper way of doing the soft-reset?
Thanks,
Oren. Tag: How to boot form DiskOnChip on Mainstone? Tag: 80621
VFPTR missing in debug windows
Hi,
I've built my C++ dll and seems to be working ok, its just that
i can't see the VFptr pointer to vtable in the debug window.
The Cminithread class which i've inherited from is ok, i can
see the vfptr for that. Is there anything i need to setup.
Thanks Tag: How to boot form DiskOnChip on Mainstone? Tag: 80620
Battery driver get Voltage
Hi All
I am developing a battery driver for Intel XScale PXA270 module, I got
some parts sorted like setting flags (acline online, battery charging,
battery charged), but also need to read the voltage level of a main
battery, if I understand correctly it can be done via UCB1400 (AD0
analog input) controller.
Does anybody know how to do that?
Thank you,
Oleg Tag: How to boot form DiskOnChip on Mainstone? Tag: 80619
Internet Explorer 6 Temp download directory
Hi,
When I try to download a file from the web that is larger then the free
ram (object store) space. I am prompted with an error message. This
message apears even before I can set the save location. I assume there
is a default temp dir in which files are save before being copied to
the selected location. My question is where is it and how can I change
the default location (to my flash for example).
Thanks Ohad Tag: How to boot form DiskOnChip on Mainstone? Tag: 80618
San disk DOK on CE 5.0
I have problems with the recognition of all the new Sandisk doks on my
stystem. I tried to apply the suggested fix from msdn with the diffrent
attntion timer parameter (10 to 1) but it still does not work. Is it a
lost cause? Tag: How to boot form DiskOnChip on Mainstone? Tag: 80617
ARM Assembly problems
Hi I am posting about a new issue I'm having. Trying to run some
sample code but this line is giving me problems:
ldr r3, =(variable1 | variable2 | variable3 | variable4 )
where
variable1 EQU (0x00000002)
variable2 EQU (0x00000004)
variable3 EQU (0x00000008)
variable4 EQU (0x00000010)
it is giving
error A0227: syntax error in expression
=====================================================
If if i just use two variables, it works fine but any more than that
wont work. The code is from a supposingly working sample.
Thanks in advance everyone. Tag: How to boot form DiskOnChip on Mainstone? Tag: 80610
Where do you find Platform Builder 4.2?
I am new to driver development in Windows CE .NET and I read that I
needed Platform Builder 4.2 to build/debug drivers. Can someone point
me in the right direction as to where I can find Platform Builder 4.2?
Thanks!
Ryan Tag: How to boot form DiskOnChip on Mainstone? Tag: 80608
testing with ARM assembly
Hello,
I would like to test a small ARM assembly code but it is not working
properly. So I wanted to get the basics correct first.
I made a new project and chose WCE application -> Blank project
Created a TEST.S file and in it wrote:
====================================
AREA |text|,CODE,READONLY,ALIGN = 5
myfunction FUNCTION
mov r2, r4
ENDFUNC
END
====================================
Under settings for the project, set Executable Entry Point to
myfunction.
However, when I try to build this project, it says:
BUILD: [01:0000000035:ERRORE] LINK : error LNK2001: unresolved external
symbol myfunction
BUILD: [01:0000000036:ERRORE] obj\ARMV4I\retail\test.exe : fatal error
LNK1120: 1 unresolved externals
Could someone point me in the right direction? Tag: How to boot form DiskOnChip on Mainstone? Tag: 80602
CheckSentinels means?
The Code:
Created:
pDevObj->pJObserver = new CJPortObserver(pDevObj->PortName);
...
if (pDevObj->pJObserver)
{
// delete JObserver
delete pDevObj->pJObserver;
pDevObj->pJObserver = NULL;
}
Debug Output:
0x83885800: CJPortObserver dtor
0x83885800: Observer dtor
0x83885800: CheckSentinels: Bad tail signature item: 0x062EC900
@0x062EC950 -> 0x00 SHDB 0xa5
Hi MS guy:
The CheckSentinels module is a safe guard to check the object free too
much. Could anyone could tell me what cause the "Bad tail
signature" condition? What is that means?
Thanks
Lu Tag: How to boot form DiskOnChip on Mainstone? Tag: 80595
URGENT: Flash File System Trouble.
Hi
I have a strata flash present on my pxa270 board for which I am using
mainstoneII bsp. Everything works fine with the driver, but I am having one
trouble. Once the strata flash gets full, win ce doesn't let me
delete/replace files anymore. It says not enough free space available, delete
some files to make free space but it doesn't let me delete the file. I have
to format the disk if it gets full but it deletes all the other files also.
I tries to use RAMDisk just to check if I face the same thing over there.
But there after making it full, I am able to delete the files.
Another thing, once the flash gets full, I start getting compactor messages
but the file system doesn't even get into my driver.
Following are the messages I get over the serial port:
0x83d34400: FLASHDRV.DLL:CP_StartCompactor() - There aren't any DIRTY
sectors left; the compactor can't be started
0x83d34400: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to start compactor
in critical situation!!!
0x83d34400: FLASHDRV.DLL:SM_GetNextFreeSector() - Unable to reclaim any free
sectors in a critical compaction stage. Media must be full.
0x83d34400: FLASHDRV.DLL:WriteToMedia() - Unable to get next free physical
sector address for writing! The media is full...
0x83d34400: FLASHDRV.DLL:WriteToMedia() failed.
0x83d34400: Read/Write Sector failed (112) on Sector 7
I have inserted serial messages in driver all over but I am not getting any
of them.
Please suggest what to do?
--
GD Shukla Tag: How to boot form DiskOnChip on Mainstone? Tag: 80580
OAL Functions - PXA270, WinCE 5.0
Hi,
I am a beginner to Win CE 5.0, developing a board based on the PXA270 and
using the MainstoneII BSP . I am trying to develop the OAL according to the
documentation which says I need to create stubs for the OAL functions
OEMInterrupt*, etc.
Do I need to put these in the \Platform\MyPlatform\Src\Kernel\OAL directory?
I couldn't find them in the MainstoneII BSP so am I missing something?
Thanks and regards,
Simon Tag: How to boot form DiskOnChip on Mainstone? Tag: 80579
Looking for toolhelp.lib for CE .NET 4.2
Hello,
I develop an application with 'eMbedded Visual C++ 4.0 with Service pack 4'
and 'Platform SDK'.
When I compile my source, I meet the error which is related "toolhelp.lib".
Becasue I use that functions in my application.
So, I was looking 'toolhelp.lib' in the below directories which are
installed 'eMbedded Visual C++ 4.0 with
Service pack 4' and 'Platform SDK'.
C:\Windows CE Tools
C:\Program Files\Microsoft eMbedded C++ 4.0
C:\Program Files\Windows CE Tools
But, I didn't found it.
So, I search web sites and 'toolhelp.lib' file is in the platform builder.
Unfortunately, I have not "platform builder .NET 4.2".
Anyone can help me?
I need only 'toolhelp.lib for .NET 4.2'.
If you know the download location of "Platform Builder .NET 4.2", please let
me know.
Best Regards,
-Terry Kim Tag: How to boot form DiskOnChip on Mainstone? Tag: 80578
Deinstallation VS 2005 Beta causes Platform builder to defunction
Hi All,
On my development system i installed the Visual Studio 2005 beta version.
Platform Builder 5.0 was already installed and was working fine.
I deinstalled the Visual Studio 2005 beta version, via the website
http://msdn.microsoft.com/vstudio/express/support/uninstall/.
I start platform builder fine, and i am able to build any OSDesign without
any problems however when i want to download my image to the target
(emulator in this particular case) this fails with the PB error log :
(CoreCon) 10:20:37 02/03/2006 West-Europa (standaardtijd): Failed to get
debug message service!
(CoreCon) 10:20:37 02/03/2006 West-Europa (standaardtijd): Transport
service failed to connect
(CoreCon) 10:20:37 02/03/2006 West-Europa (standaardtijd): Warning: One
or more services failed to connect. Make sure that the service is properly
configured.
My colleague had the same problem, with a different machine, after
deinstalling the beta version. A complete deinstallation of Platform builder
and a clean installation resolved this problem.but,
This can't be happening!!
Is there any way to avoid a reinstallation? What happened here?
What did the deinstallation break?
Hope you can help,
Erwin Tag: How to boot form DiskOnChip on Mainstone? Tag: 80576
programmatic suspend/resume
As part of a test application, I'm trying to suspend and resume a
windows CE device. My method works great for Pocket PC 2003, but
doesn't seem to work at all for CE 4.20.
rt= (about 15 seconds in the future)
CERunAppAtTime(_T("SomeApp.exe"), &rt);
SetSystemPowerState(NULL, POWER_STATE_SUSPEND, NULL);
SetSystemPowerState(NULL, POWER_STATE_ON, POWER_FORCE);
In CE 4.20, when the device suspends, it never comes back. I actually
have to cold-boot it to get it working again.
Are there any suggestions of a better way to accomplish this?
(If anybody else is trying to do this, Cam had an excellent suggestion
about chaning the default timeout powerstate values in the PocketPC
registry, but I think this also only works in Pocket PC 2003. I didn't
find those values in CE 4.20.
http://www.tekguru.co.uk/phpBB2/mob_topic.php?t=308 )
-PaulH Tag: How to boot form DiskOnChip on Mainstone? Tag: 80563
Windows CE File System Performance
We have a folder on a HDD (FAT32) that contains numerious files (15,000)
which are long file names. A copy of this folder to another folder on the
same HDD takes 2 hours 30 minutes on Windows CE 4.2 QFEs through Q3 of 2005
+ KB909483. The processor is an x86 running at 600MHz and the HDD is 7200
RPM. The same operation using XP on the same hardware, different HDD but
still 7200 RPM and the like, takes only 11 minutes. I understand that XP is
highly optimized, but should Windows CE be taking 2 hours 30 minutes? Is
there an issue of having that many files in a single folder? Do long file
names impact the performance?
David Tag: How to boot form DiskOnChip on Mainstone? Tag: 80560
IPSM corruption.
I am working on a Windows CE 5.0 PXA255 hive-based platform with IPSM.
I have seen all sorts of data aborts and exceptions seemed to be caused by
flash activities. Running customer applications from RAM instead of flash
make the system a lot more stable.
I have found a few posts from "The PocketTV Team" talking about a confirmed
IPSM bug, which sounds like exactly what I am getting.
While I can try with a newer version IPSM, does anybody know the status of
this bug? Is it confirmed fixed in any version of IPSM?
Bug description by "The PocketTV Team" at below:
The IPSM driver from Intel has bugs preventing large applications from
running when installed in IPSM.
Basically when the IPSM bug is triggered, incorrect code-pages get executed,
causing completely erratic behavior of the applications then a crash. often
with a aberrant or garbled error message.
http://groups.google.com/group/microsoft.public.smartphone/browse_frm/thread/68e82e119db32407/81391c1b0392c7a7?lnk=st&q=IPSM&rnum=4#81391c1b0392c7a7
http://groups.google.com/group/microsoft.public.smartphone.developer/browse_frm/thread/6cd5b7597a353b5f/ce9d36feef907218?lnk=st&q=IPSM+PocketTV&rnum=1#ce9d36feef907218
--
Zhongwei Wang
Applied Data Systems
www.applieddata.net Tag: How to boot form DiskOnChip on Mainstone? Tag: 80558
Missing PCMCIA card insertion event (WinCE5)
Hi All,
In a pcmcia client driver that worked fine under earlier versions , I now
have some trouble getting it to work with WinCE 5.0.
After the CardRegisterClient function has registered the callback function,
it is called with CE_REGISTRATION_COMPLETE event code. In previous versions
of WinCE i always received a CE_CARD_INSERTION event before that.
I didn't change the parameters to CardRegisterClient.
Can anybody tell me why it is that I do not receive the CE_CARD_INSERTION
event in a pcmcia callback routine under WinCE 5 anymore?
Regards,
Antoin Janssen Tag: How to boot form DiskOnChip on Mainstone? Tag: 80543
DllMain error
Hi,
I'm getting following error : DllMain : function cannot be overloaded
when i compile below source in my cpp file. Anyone know why this
would happen. Any external settings that could cause this. I have only
used the function once so can't understand why it could be overloaded.
BOOL WINAPI
DllMain(HINSTANCE DllInstance, DWORD Reason, LPVOID Reserved)
{
switch(Reason) {
case DLL_PROCESS_ATTACH:
DEBUGMSG(ZONE_INIT, (TEXT("SPIBUS: DLL_PROCESS_ATTACH\r\n")));
DEBUGREGISTER(DllInstance);
DisableThreadLibraryCalls((HMODULE) DllInstance);
break;
case DLL_PROCESS_DETACH:
DEBUGMSG(ZONE_INIT, (TEXT("SPIBUS: DLL_PROCESS_DETACH\r\n")));
break;
}
return TRUE;
} // DllMain
Thanks Tag: How to boot form DiskOnChip on Mainstone? Tag: 80539
IPSM & P30
Hi!
I am trying to migrate from 28F256J3C flash to the 28F256P30B flash and I
have problems with the IPSM. It fails in FD_Init function after boot. I know
that P30 blocks are all in a locked state after power up and I would like to
know if IPSM is doing unlock by itself or must I unlock it for him (e.g. in
bootloader).
Has anybody migrate successfully?
PS: we have IPSM3.8 and Wince4.2, PXA255, two P30 chips in parallel.
Thanks, Jernej Tag: How to boot form DiskOnChip on Mainstone? Tag: 80523
CE4.20, changing SNTP refresh timeout
For WinCE4.20 We've had some problems when setting the SNTP registry
key "Refresh" value lower than 24 hours, which caused the SNTP services
to fail and die. I could not find any hints in the PB documentation, so
I ran a debug image to see what happened, where I found out that
"RecoveryRefresh" must be lower or same as "Refresh" value...( 5 mins
is lowest value allowed )
Later on i found out that the PB5.00 documentation have been updated
with these facts, but I'll post this anyway, in case someone still
working with CE4.20 might find this info useful. :)
/Magnus Tag: How to boot form DiskOnChip on Mainstone? Tag: 80522
Environment variable SYSGEN not defined
Hi;
I want to create new bootloader from command prompt.!My goal is to get A
basic bootloader. And Im using Platform Builder 5.0 Windows CE 5.0 for
ARM9302 development kits Im following tutorial on the msdn web site:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcehardware5/html/wce50howhowtodevelopabootloader.asp
I cannot past step 3, "At the command prompt, enter the following command:
sysgen"
I cut and paste the sample from tutorials steps code. But cannot compile it
from the command line.
previous commnad prompt steps;
--------------------
set _WINCEROOT=c:\wince500
cd %_WINCEROOT%\public\common\oak\misc
Wince.bat ARMV4I CEBASE BTE_Boot // BTE_Boot platform
directory = C:\WINCE500\PLATFORM\BTE_Boot
Sysgen
--------------------------------
Step 3 getting error.
------------------------------
C:\WINCE500\PLATFORM\PCM_4862\SRC\BOOTLOADER\EBOOT>sysgen
Starting sysgen phase for project ( common )
User selected the following SYSGEN variables
Environment variable SYSGEN not defined
Checking for uncleared variables
Done checking for uncleared variables
Report:
Environment variable SYSGEN not defined
The system cannot find the path specified.
....
Have you gota any idea?
Sincerely,
Gökhan Tag: How to boot form DiskOnChip on Mainstone? Tag: 80520
Cant find .lib files in custom SDK
After i built my own SDK and install it the eVC++ gives link error to
standart hello world application:
LINK : fatal error LNK1104: cannot open file 'commctrl.lib'
Did i make something wrong while building SDK? Because there is really no
commctrl.lib file in SDK directory. Or should i add the lib files (or
directory link) manually to built the project? Tag: How to boot form DiskOnChip on Mainstone? Tag: 80516
Environment variable SYSGEN not defined
Hi;
I want to create new bootloader from command prompt.!My goal is to get A
basic bootloader. And Im using Platform Builder 5.0 Windows CE 5.0 for
ARM9302 development kits Im following tutorial on the msdn web site:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcehardware5/html/wce50howhowtodevelopabootloader.asp
I cannot past step 3, "At the command prompt, enter the following command:
sysgen"
I cut and paste the sample from tutorials steps code. But cannot compile it
from the command line.
previous commnad prompt steps;
--------------------
set _WINCEROOT=c:\wince500
cd %_WINCEROOT%\public\common\oak\misc
Wince.bat ARMV4I CEBASE BTE_Boot // BTE_Boot platform
directory = C:\WINCE500\PLATFORM\BTE_Boot
Sysgen
--------------------------------
Step 3 getting error.
------------------------------
C:\WINCE500\PLATFORM\PCM_4862\SRC\BOOTLOADER\EBOOT>sysgen
Starting sysgen phase for project ( common )
User selected the following SYSGEN variables
Environment variable SYSGEN not defined
Checking for uncleared variables
Done checking for uncleared variables
Report:
Environment variable SYSGEN not defined
The system cannot find the path specified.
....
Have you gota any idea?
Sincerely,
Gökhan Tag: How to boot form DiskOnChip on Mainstone? Tag: 80512
Boot disk problems
I created a boot disk using the following tool.
C:\Program Files\Windows CE Platform
Builder\5.00\CEPB\UTILITIES\cepcboot.144
When I startup my CE device I get the blue menu screen with the list of
usual options.
When I select an option I get the following text on the screen
Jumping to 0x0013A388
Once my CE image loads it's gone.
How do I supress this from displaying on the screen?
Thanks Tag: How to boot form DiskOnChip on Mainstone? Tag: 80508
CE databases and registry hives on transaction safe file systems
As i understand, tfat means that the fat table will have a copy that remains
intact in case of for example a power loss on the hard drive where the tfat
partition is. But if a file gets "half"-written, say a power loss happens
while writing that file might become "broken". Right?
But what about registry hives or cedb/edb databases? Do they maintain some
kind of integrity in case of a power loss? Or do I need to have my own
backup mechanism for registry hives and database volumes?
How could I in that case make backups? For registry I could use RegSaveKey.
But what is the correponding function for cedb/edb? The file seems exclusive
locked, so I can't simply use CopyFile (although that would probably be a
bad idea anyway).
What if I use the Reliance file system? Any difference there? Tag: How to boot form DiskOnChip on Mainstone? Tag: 80498
CMOS Camera Modules and PXA270
I'm looking for a CMOS Camera Module.
Considering that PXA270 operates at 3.3V
(in my case at least) the minimum requirements
are that the module's digital IOs be 3.3V
tolerant. Frame size no less than VGA.
The manufacturers hardly sell samples in
single quantity. I was wondering
1) if you know any reseller that accepts
very small orders...I'm not a cameraman
afterall :)
2) if any SBC manufacturer has already
purchased such modules for production
and is willing to sell them separately.
3) As time goes by these modules keep on lowering
their power supplies. It's not uncommon to find
modules working at 2.8V, 2.5V and/or 1.8V.
3.3V is becoming uncommon.
This is an issue when the processor works at
3.3V. The modules are controlled by an I2C
interface. On the Module's side of the I2C lines
we see 2.8V, on the processor's side we see 3.3V.
These lines have to be pulled-up to VCC.
Which Vcc would you use? 3.3? 2.8?
Philips (the father of I2C) states that it's not
so safe to wire and pullup such lines without a
proper interface (translation).
What's your experience about that? Tag: How to boot form DiskOnChip on Mainstone? Tag: 80496
eboot.nb0 generation
I created a new platform and under
PLATORM/platformname/src/booloader/eboot, if I build that project
(after a total Sysgen), it creates a eboot.nb0 and eboot.bin file in
the release directory.
I copied the "eboot" folder to another folder and renamed it to
"testboot". I changed all references to "eboot" names in the bib and
sources file to "testboot". Once I compiled it, it did not generate a
testboot.nb0 etc... it did generate a "testboot.exe" however.
How can i generate a custom bin/nb0 file? Tag: How to boot form DiskOnChip on Mainstone? Tag: 80483
Soundcard?
Hi guys,
i'm quite new to CE 5.0 and trying to test this OS on a x86 platform.
I'm using PB to build an OS image for a PIII pc equipped with HD,CDROM,
NIC and a soundcard.
I've been able to boot the OS thanks to the MS-DOS floppy and NK.BIN
image on the HD but now i'm facing two kind of problems:
1-how may i let the OS see the HD? I've already been able to let it see
a USB stick.
2-how may i let the OS support the soundcard???
I've seen that there's just the ENSONIQ driver which is supported by
CE. Does this mean i have to use just this kind of device? It's not so
clear to me...
Is there anyone there who can help me?
Tks in advance Tag: How to boot form DiskOnChip on Mainstone? Tag: 80476
[TFAT] 2 FAT on the same block
Hi all,
I've got a question regarding TFAT. It looks like that the 2 FAT table on my
device are written on 3 blocks, so the
middle block contains the pieces of both FAT table. A problem can occur if I
have a power fail during the erase of this block (an erase can be quite
long), making both FAT corrupted.
I thought into many solutions :
- modify the size occupied by the FAT so that it occupies a full block
- modify the address where the second FAT is written (probably modifying
fatutil)
- specifically handle the middle block : I could copy this block at the end
of the flash when it is erased, and
recover this block from within the bootloader when a problem has occured
(detected by using the bootsector bit used for selecting the good FAT?)
All those solutions are not necessarily clean nor easy to code.
Has anybody ever solved this problem in an easy way or has other ideas on
how to solve it?
Many thanks
--
--
----------------------------------------------------------------
Anthony Pellerin
ADENEO (ADESET)
Windows Embedded Consultant
<apellerin AT adeneo DOT adetelgroup DOT com>
http://www.adeneo.adetelgroup.com
Tél : +33 (0)4.72.18.57.77
Fax : +33 (0)4.72.18.57.78
---------------------------------------------------------------- Tag: How to boot form DiskOnChip on Mainstone? Tag: 80466
USNFN serial
In WinCE 5.0 there exists an USB Functional class called SERIAL.
I guess this makes the USB port behave like a serial COM port?
(I will need something similar on the host side to get connected.)
Is there something similar available for the WinCE 4.2?
(Uses the XSCALE Lubbock version.)
If this has been discussed previousely please give me a reference to where.
/trond Tag: How to boot form DiskOnChip on Mainstone? Tag: 80465
EVC3 2002 edition
I downloaded embedded visual tools 3.0 2002 edition.
I installed it and now I need to use my WCE4.2 SDK ("myPlat").
After the correct installation of my SDK ("myPlat.msi") I created a new
project in EVC but unfortunately I couldn't see my platform ("myPlat") into
"Select Active WCE configuration" combo box.
So I think that EVC 3 still can't see my WCE4.2 SDK
So my question is: how to use 4.2 SDK into EVC3 2002 edition?
MS says it is possible:
looking at
http://msdn.microsoft.com/embedded/downloads/ce/default.aspx
I can read
"eMbedded Visual Tools 3.0 - 2002 Edition
Download the tools that you need to create solutions for Windows
Mobile-based Pocket PC, Windows CE 3.0, Windows CE .NET 4.1, and Windows CE
.NET 4.2."
Any help will be appreciated
Mauro Tag: How to boot form DiskOnChip on Mainstone? Tag: 80459
where to locate ..genericdeviceiocontrolcall.cpp..
hi ..
when i m trying to play an video on my VIPER board,
it is asking for the file "genericdeviceiocontrolcall.cpp" ..in the
host PC...
but its not available with me... Tag: How to boot form DiskOnChip on Mainstone? Tag: 80449
which QFE's should i install?
Hi,
How can i understand which QFE's are necessery for my platform builder? Is
there any revision or built number that defines which QFE's are
pre-installed or...?
thanks... Tag: How to boot form DiskOnChip on Mainstone? Tag: 80446
registry size for persistance storage
I would like to know an approxmate size of the registry for a typical Moble
Handheld template.
I would like to implement persistant registry storage but need to know how
many blocks in Flash to allocate for this.
any approx numbers? Tag: How to boot form DiskOnChip on Mainstone? Tag: 80439
Audio and Video support onboard...
hi guys,
i m using VIPER board, i have developed my applications on Platform
Builder 4.2 under WIN CE..
i have selected directx in my BSP....
during my platform building this warning comes..
"Warning: Unable to do imports from dsounds.dll to AUDEVMAN.dll - will
late bind"
will this affect the support for audio and video on board..
thank u Tag: How to boot form DiskOnChip on Mainstone? Tag: 80438
Hi,
Does anyone know how to set the Mainstone jumper so that the device can
boot from DiskOnChip rather than internal flash?