Forcing Application to RAM without Paging
I'm working on a device that has NAND, so no XIP. Unfortunately, at
this point, the FMD for the NAND is extremely slow, with a maximum
throughput of around 2.5MB/s, and optimizing it is not an option (for
non-technical reasons at this point). Because it is so slow -
application startup and paging operations are very slow (relative to
similar devices).
Because of this, I'm looking for some ways to make critical
applications XIP out of RAM. At the lowest level conceptually - at boot
time I want critical applications and DLLs copied into RAM so they
don't have to be demand paged from the slow FLASH. Has anyone tried
this - any helpful hints on how to accomplish - or other thoughts?
Thanks,
-Chris Tag: TUI for CS call Tag: 80735
LAN91C111 on XSC1BD
Hi,
I'm porting Windows CE 4.2 XSC1BD BSP to a board based on Lubbock. This
board has all features of Lubbock (It has an FPGA that maps all Lubbock
Peripherals). The main difference between this board and Lubbock is
the Ethernet Controller. The board I'm working has a SMSC LAN 91C111
Ethernet Controller.
I'm trying to port the Eboot to this board.
I already have the LAN 91C111 ETHDBG driver ported to Windows CE 4.2.
And it is working in another board.
The Ethernet Controller is mapped on nCS3 (0x0C00_0000), like Lubbock.
And I gave a offset of 0x300 the access it (The registers offset for
SMC 91C111). Without this offset the driver didn't detect the
Ethernet Controller.
To put this detecting the Ethernet Contoller I change the MSC1 register
from 0x3FF1A441 to 0x3FFCA441, changing from SRAM to VLIO.
But when I try to apply it the driver in the board I am working now it
appears to start ok, but it does not communicate well. The driver
detects the Ethernet Controllet ok on SMCInit() routine, but It appears
to fail on SCMSendFrame() or SMCGetFrame() routines.
For example:
If I put DHCP Enabled on the bootloader, the board gets the IP from
server. Then it starts to send BOOTME messages, but Platform Builder
does not detect it.
So, if I put DHCP Disabled and configure IP Manually, when the board
starts do send BOOTME messages, Plaform Builder detect it. But does not
download the image.
I know that this board is working with all features ok on a Linux
Kernel 2.6.11 based on Lubbock Configuration, just changing the driver
for Ethernet Controller.
Thanks,
Marcelo Fornazin Tag: TUI for CS call Tag: 80729
PB 5.0 BSP Export Wizard error
In the Export Wizard I get to see following missing when pushing the
'Finish' button of the wizard:
"Unable to initialize the .msi generator because a required component
might be missing or damaged. Please reinstall Platform Builder"
Anyone an idea which components PB is talking about?
Thanks,
Wesley Tag: TUI for CS call Tag: 80719
a strange issue about smdk2410
Hi, I have a Sumsung 2410 evaluation board, and I use smdk2410 BSP. When I
use touch screen to suspend os , after resume, the system will die. If I use
mouse or key to suspend os, everything is OK. Have somebody meet this issue?
Can somebody give me some advice?
Thank you.
Andy Tag: TUI for CS call Tag: 80716
How to add resource information (FileVersion, Productversion, etc.) to nk.bin
Hello,
is it possible to add a resource script file (.rc file) to the platform
builder project in order to add FileVersion, ProductVersion etc. information
to the nk.bin built? I have a PB (WinCE 4.20) project including a user
feature dll project. When I add a resource script file the information
entered in this file are attached to the dll built by the user feature
project and not to the nk.bin file. How can I get these information into the
nk.bin?
Thanks in advance.
Gunnar Tag: TUI for CS call Tag: 80710
RDP sound playback (WinCE5.0)
Hi,
I'm developing a thin client in CE 5.0. When I start a .WAV sound file
playback
in an RDP session (Windows XP host, Media Player 9) and bring
it to the client (AudioRedirectionMode=0), using a 10 Mbit/s connection the
song will play, but sometimes it will stop for a few seconds and then
continue to play.
Using a 100Mbit/s connection, I will hear one or two beats of music after
some time or nothing at all.
Does anybody have an idea, how to overcome this behaviour and play the sound
continuously especially using the 100 Mbit/s connection.
Anne Tag: TUI for CS call Tag: 80708
insertion of a 32-bit cardbus card get a detection of a 16-bit card
Windows CE 5.0 with a TI1520 PC card controller.
I have two 32-bit cardbus cards being workable on PC. However, when I
inserted any of them into one of the TI sockets, the "Present-State"
register associated with the socket showed a value of dwPStateReg =
0x30000910. According to TI's manual, this value indicates that the
socket supports 3/5 voltages and detected a 16-bit card in the socket.
After that, the MDD showed the following messages.
pcc_serv.DLL : CreatePCCardEnabler 16 Bit PCMCIA Card !!!
and
CPCPcmciaCard::GetConfigureRegisterBase: Can't get PCMCIA register
address. return FAILS
Does anyone experience the same? Tag: TUI for CS call Tag: 80707
USBSerialFn : dwMaxTransferSize only set to dwMaxPacketSize because of WCEUSBSH bug ?
Hi,
In the \wince500\public\common\oak\drivers\usbfn\serial\usbfndrv.cpp
file, in the USBSerialFn::CableAttached function we see the source code
mentioning a "WCEUSBSH Bug". See the code snippet below.
Code Snippet :
>> >>
void USBSerialFn::CableAttached()
{
..
DWORD dwBulkSize = (m_CurrentSpeed == BS_HIGH_SPEED?
g_HighSpeedEndpoints[BULK_IN_DESCRIPTOR_INDEX].Descriptor.wMaxPacketSize:
g_FullSpeedEndpoints[BULK_IN_DESCRIPTOR_INDEX].Descriptor.wMaxPacketSize);
..
OpenBulkOut(m_hDevice, m_pUfnFuncs,uEdptAddr,TRUE,dwBulkSize,
dwBulkSize, 4); // WCEUSBSH Bug. Only can usb MaxPacketSize
..
<< <<
The result is that the PDD has to complete transfers more frequently.
I wondered if this was a bug of WCEUSBSH that had gotten fixed already,
so I tried changing the call to OpenBulkOut to specify a larger
dwMaxTransferSize parameter (4K buffer) :
OpenBulkOut(m_hDevice,
m_pUfnFuncs,uEdptAddr,TRUE,dwBulkSize,/*dwBulkSize*/4096, 4);
The result is that it more than doubles our bulk out transfer speed.
(simply because the MDD doesn't have to complete so many transfers any
more I guess)
I am wondering now if others have seen the same thing ? Can you try ?
And better yet, can Microsoft confirm whether or not this indeed is a
bug in WCEUSBSH that got fixed ? I do not seem to have any issues with
my ActiveSync 4.1.0 (Build 4841).
Let me know.
Thanks
-- Ronald Tag: TUI for CS call Tag: 80701
where is the source file of btd.dll and btdrt.dll
Hi everyone:
Does somebody know where is the source file of btd.dll or btdrt.dll ? I
use platform builder for WinCE 5.0.
Best regards
Sam Tag: TUI for CS call Tag: 80697
USB Serial not working on WinCE 5.0
XSCALE Lubbock-based version of WinCE 5.0 is finally running, but I'm not
able to get my USB Functional port working.
In version 4.2 I had USB Functional without serial client working. It turned
up as a "Windows CE device" on my PC.
The USB structure has changed considerably from 4.2 to 5.0, but fortunately
I had the Lubbock 5.0 version as a good starting point. In 4.2 version I
didn't have to do any changes to the USB driver part, only change the
GPIO-pin for USB attach/remove in the interrupt handler.
In 5.0 version I have added the catalog item USB Functional from my BSP, but
now it requires me to add the item: Device Driver -> USB Function -> USB
Function Clients -> Serial (colud choose Mass Storage or RNDIS Client).
When I plug my device into the PC it stops and I get unknown device on my PC.
Need some advice, anything I have forgotten or should be awear of?
; @CESYSGEN IF CE_MODULES_USBFN
IF BSP_PXA25XUSBFN
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\xsc1bdusbfn]
"Dll"="xsc1bdusbfn.dll"
"Prefix"="UFN"
"Priority256"=dword:73 ; must be lower-priority than RndisFn's transfer
thread
"EndpointCount"=dword:10
"SupportedSpeeds"=dword:2
"IoBase"=dword:a6800000 ; UDC_BASE_U_VIRTUAL
"IoLen"=dword:1000 ; Needs at least 0xE04. Round up to 1 page.
"Sysintr"=dword:1e
"BusIoctl"=dword:2a0048
"IClass"=multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
ENDIF BSP_PXA25XUSBFN
; @CESYSGEN ENDIF CE_MODULES_USBFN
/trond Tag: TUI for CS call Tag: 80694
Fast Infrared Driver CETK testing
Hi,
I have developed a Fast IR driver for ARM platform. I am able to transfer
the files between my desktop and development board. Though I am not able to
transfer bigger files(since I am not using DMA yet), I am successfully able
to transfer files of small size.
while trying to run the CETK test cases, I found that, all the connection
oriented test cases are skipping, and I am just getting the result as
SKIPPED: Unable to establish connection to IRTestServer.
Following is the procedure I follow.
I am running one board as server and I run the following commands
s services stop obx0:
s irapisrv22
It shows
Creating AF_IRDA endpoint
IRSRV waiting for connect...
Another board I am using as client and I am running the following commands
s services stop obx0:
s tux -o -d irapi22 -f cesh:irapitest.log
Following components are added SYSGEN_IRDA, SYSGEN_WINSOCK,
SYSGEN_OBEX_INBOX(file transfer)
I have got the same code, passing all the test cases. The only difference
is, more components are added to the platform, power management is also
introduced. Wrt to the code I didn't do any modifications.
Is there anything I missed out.
Any help will be greatly appreciated
Thanks in advance Tag: TUI for CS call Tag: 80687
How to boot form DiskOnChip on Mainstone?
Hi,
Does anyone know how to set the Mainstone jumper so that the device can
boot from DiskOnChip rather than internal flash?
Thanks very much~ Tag: TUI for CS call Tag: 80677
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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call 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: TUI for CS call Tag: 80516
1. Can the Telephony User Interface framework be used for CS call and not
VoIp call.
2. Is there any default Dialer application on WinCE-5.0