Prefetch abort in filesys.exe
Hi all,
I'm having some problems with my BSP - I've got the OAL implemented
and mostly complete for my platform, but when booting up CE I get
a prefetch abort generated in filesystem.exe. I've checked and
rechecked the OAL code to see if I'm doing anything stupid and I
can't see anything. As its internal to filesystem.exe, I'm not sure
how to proceed to find the cause. Can anyone suggest a direction to
approach this from?
My OAL is based heavily on the CE5 SMDK2410 BSP - much of the code
is the same.
Googling showed up a previous issue someone had here due
to the Object Store not being cleaned - I've erased the Object
Store as described in the help by setting the three words at
pTOC->ulRAMFree to zero, and calling NKForceCleanBoot() in OEMInit().
Looking at the debug, I can see that when the exception is raised,
Lr resides within coredll.dll. I can also trace up nk.exe's call
stack and see that (one of its threads) is in RunApps() with the
stack looking like :
NK!SC_WaitForMultiple() line 4658
NK!SC_CreateProc(int 0x00000000, unsigned long 0x80000000,
void * 0x00000000, unsigned short * 0x00000000,
_STARTUPINFOW * 0x00000000, _PROCESS_INFORMATION * 0x00000000) line 6902
NK!RunApps() line 715 + 52 bytes
COREDLL!ThreadBaseFunc() line 568
So, I'm thinking that this is getting lost right at the start of
the filesys.exe process's birth. I'm slightly lost here as to where
to go. Any suggestions would be gratefully received!
Best Wishes,
Dave Peverley
----------------------------------------------------------------------
Debug Output :
The Kernel Debugger is waiting to connect with target.
0 PID:0 TID:0 -OALKitlInit(rc = 1)
0 PID:0 TID:0 -OALKitlStart(rc = 1)
0 PID:0 TID:0 -OEMInit
0 PID:0 TID:0 Sp=ffffc7cc
88 PID:1fdf002 TID:1fdf266 +OEMIoControl(0x1010004, 0xc201fd78, 4, 0x8155edb0, 520, 0x815607c0)
100 PID:1fdf002 TID:1fdf266 +OALIoCtlHalGetDeviceInfo(...)
101 PID:1fdf002 TID:1fdf266 -OALIoCtlHalGetDeviceInfo(rc = 1)
102 PID:1fdf002 TID:1fdf266 -OEMIoControl(rc = 1)
103 PID:1fdf002 TID:1fdf266 +OEMIoControl(0x1010004, 0xc201fd78, 4, 0x8155eba8, 520, 0x815607bc)
104 PID:1fdf002 TID:1fdf266 +OALIoCtlHalGetDeviceInfo(...)
104 PID:1fdf002 TID:1fdf266 -OALIoCtlHalGetDeviceInfo(rc = 1)
1960 PID:1fdf002 TID:1fdf266 -OEMIoControl(rc = 1)
1962 PID:1fdf002 TID:1fdf266 +OEMIoControl(0x1010004, 0xc201fd78, 4, 0x8155e9a8, 32, 0x815607b8)
1962 PID:1fdf002 TID:1fdf266 +OALIoCtlHalGetDeviceInfo(...)
1963 PID:1fdf002 TID:1fdf266 -OALIoCtlHalGetDeviceInfo(rc = 1)
1963 PID:1fdf002 TID:1fdf266 -OEMIoControl(rc = 1)
Kernel debugger connected.
The Kernel Debugger connection has been established (Target CPU is ARM).
Target name: CE Device
Probe name: KdStub
Binary Image should be loaded at 0x80100000 / Data relocated at 0x81506000
Loaded symbols for 'C:\WINCE500\RELEASE\NK.EXE'
Loaded symbols for 'C:\WINCE500\RELEASE\KD.DLL'
Loaded symbols for 'C:\WINCE500\RELEASE\OSAXST1.DLL'
Loaded symbols for 'C:\WINCE500\RELEASE\OSAXST0.DLL'
Loaded symbols for 'C:\WINCE500\RELEASE\HD.DLL'
Loaded symbols for 'C:\WINCE500\RELEASE\COREDLL.DLL'
1969 PID:1fdf002 TID:1fdf266 +OEMIoControl(0x10100b4, 0x0, 0, 0x0, 0, 0x0)
1970 PID:1fdf002 TID:1fdf266 -OEMIoControl(rc = 1)
Loaded symbols for 'C:\WINCE500\RELEASE\FILESYS.EXE'
1977 PID:61fcbbd6 TID:61fcbbb2 Prefetch Abort: Thread=81fcb970 Proc=8152f070 'filesys.exe'
1978 PID:61fcbbd6 TID:61fcbbb2 AKY=00000003 PC=00000000(???+0x00000000) RA=03fce628(coredll.dll+0x0000e628) BVA=00000000
FSR=00000035
----------------------------------------------------------------------
Modules :
Module : Image Range
coredll.dll 0x03FC0000 - 0x03FFCFFF
filesys.exe 0x04010000 - 0x04040FFF
hd.dll 0x80156000 - 0x80158FFF
kd.dll 0x80149000 - 0x80154FFF
nk.exe 0x80100000 - 0x80145FFF
osaxst0.dll 0x8015A000 - 0x80163FFF
osaxst1.dll 0x80165000 - 0x80168FFF
----------------------------------------------------------------------
Selected Regs :
Sp = 0x0405FE48
Lr = 0x03FCE628 (coredll above)
Pc = 0x00000000
----------------------------------------------------------------------
g_oalAddressTable :
DCD 0x80000000, 0x10000000, 32 ; SDRAM
DCD 0x82000000, 0x08000000, 16 ; FPGA regs / Ether device
DCD 0x83000000, 0x0C000000, 16 ; Boot RAM / Boot Flash
DCD 0x84000000, 0x00000000, 32 ; Strata Flash
DCD 0x88000000, 0x20000000, 1 ; Internal SRAM.
DCD 0x8BF00000, 0xFFF00000, 1 ; On-Chip registers.
DCD 0x00000000, 0x00000000, 0 ; End of Table.
----------------------------------------------------------------------
config.bib :
MEMORY
NK 80100000 01400000 RAMIMAGE ; 20MB for OS code
RAM 81500000 00B00000 RAM ; 11MB for RAM
FLASH 84000000 01000000 RESERVED ; 16MB Flash
ARGS 80020800 00000800 RESERVED ; 4K ARGS area
CONFIG
COMPRESSION=ON
KERNELFIXUPS=ON
PROFILE=OFF
ROMFLAGS=02 Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64564
IPSec certificate authentication
Hi,
I managed to get IPSec properly configured on my x86 device. Currently, it
uses pre-shared key authentication with a string key "testkey". These are the
settings (in my policy file):
policy=testpolicy
inaction=2
outaction=3
auth=1
info=testkey
mmhash=2
mmenc=1
qmhash=2
qmenc=1
dh=2
protocol=6
srcip=myip
With the same configurations on my dev PC, i'm able to send and receive TCP
packets to and from the device with everything being encrypted.
I'm now trying to use Certification authentication (auth now needs to be 2)
but am unsure as to how to specify a certificate. From the IPSec doc
(http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/html/wce50conipsecsamples.asp)
it gives an example. It uses a certificate by assigning info= CN=Sample Root
CA;
Since "Sample Root CA" is not installed on my device, i looked for a mutual
certificate which was installed on my device and my dev PC. I found "Class 3
Public Primary Certification Authority". I just don't know how to specify
this in the policy file. I've tried so many different combinations of "info"
values, some are listed below with none of them working:
1. info= CN=Class 3 Public Primary Certification Authority;
2. info= CN=VeriSign Class 3 Public Primary Certification Authority;
3. info= C=US, O="VeriSign, Inc.", OU=Class 3 Public Primary Certification
Authority;
Can anyone offer any advice? Thanks.
Michael--J. Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64560
Integrating MFC application with Platform Builder
Hi,
When i try to use my eVC++ to test my MFC application. It's working
fine.
Then i deployed the same MFC .exe using PB 4.2 in to my target hardware
it's not working. Raising an error.
Here, i edited the bib file. Even, i included the mfce400d.dll and
mfce400.dll files. couldn't succeed.
Please guide which OS module/ library file i'm missing.
Thanks & Regards,
Shrini. Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64556
Pointers in vb6
Hi i am building an application to read a PC/SC application in vb6. I am
having problems with one of the functions SCardListReaders.Below is the C
declaration of the SCardList Readers.
LONG SCardListReaders(
SCARDCONTEXT hContext,
LPCTSTR mszGroups,
LPTSTR mszReaders,
LPDWORD pcchReaders
);
pcchReaders
[in, out] Length of the mszReaders buffer in characters. This parameter
receives the actual length of the multi-string structure, including all
trailing null characters. If the buffer length is specified as
SCARD_AUTOALLOCATE, then mszReaders is converted to a pointer to a byte
pointer, and receives the address of a block of memory containing the
multi-string structure. This block of memory must be deallocated with
SCardFreeMemory.
My problem is with mszReaders. i have to use SCARD_AUTOALLOCATE for the last
variable.if this happens, mszReaders changers to a pointer to a byte pointer.
How can vb handle this? Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64555
integrate MFC app in platform builder
somebody pls tell me how to integrate MFC Application in Platform
Builder.Like what Dll related to MFC should be added in BIB
Waiting for ur all reply
pls help me out
thanks Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64554
Trouble with setting Hive Registry with SIS552 x86 CEPC
Hi....
I developed PB5.0 x86 CEPC SIS 552 embedded system. usb controller is OHCI
1.1
when I setting Hive Registry with debug mode ,when load usbd.dll , usb
dirver initial, the debug message is stopping
I am sure that Hive Registry setting is ok with other Embedded system
Hardware..
EXï¼?VIA EDEN .
I try to disable BIOS usb controller , usbd.dll will be disable with load
driver, Hard disk Document and setting folder be written when Hive Registry
is setting .
PS(PB 4.2 has the same problem)
TKS.
debug with Hive setting message post the following ::
Loaded symbols for
'J:\WINCE500\PBWORKSPACES\SIS550\RELDIR\CEPC_X86_DEBUG\USBD.DLL'
4294782435 PID:3f757da TID:3f754fa 0x83fa4cf0: USBD: DLL attach
4294782436 PID:3f757da TID:3f754fa 0x83fa4cf0: +USBD:HcdAttach, hcd: 0x5C1E0
4294782437 PID:3f757da TID:3f754fa 0x83fa4cf0: -CDevice::Initialize, success!
4294782438 PID:3f757da TID:3f754fa 0x83fa4cf0: +CHW::Initialize
base=0x3d0000, intr=0x12
4294783138 PID:3f757da TID:23de7f82 0x83dee000:
+OpenIFConfig(Comm\VMINI1\Parms\TCPIP Handle 0x62AFAFC)
4294783140 PID:3f757da TID:23de7f82 0x83dee000: Opened registry info for
Comm\VMINI1\Parms\TCPIP
4294783141 PID:3f757da TID:23de7f82 0x83dee000:
-OpenIFConfig(Comm\VMINI1\Parms\TCPIP *Handle 0x62AFAFC, BOOL Ret: 1)
4294783142 PID:3f757da TID:23de7f82 0x83dee000: *CloseIFConfig(Handle 0xB1600)
4294783144 PID:3f757da TID:23de7f82 0x83dee000: IPAddAddrComplete: IF 198AC0
ntecount 1, SAC 0
debug with No-Hive setting message post the following ::
4294776474 PID:43fa52f6 TID:43f48c4e 0x83fa4cf0: >>> Loading module usbd.dll
at address 0x035F0000-0x035FE000 (RW data at 0x01F52000-0x01F525C0)
Loaded symbols for
'J:\WINCE500\PBWORKSPACES\SIS550\RELDIR\CEPC_X86_DEBUG\USBD.DLL'
4294776539 PID:43fa52f6 TID:43f48c4e 0x83fa4cf0: USBD: DLL attach
4294776540 PID:43fa52f6 TID:43f48c4e 0x83fa4cf0: +USBD:HcdAttach, hcd: 0x5EB70
4294776541 PID:43fa52f6 TID:43f48c4e 0x83fa4cf0: -CDevice::Initialize,
success!
4294776542 PID:43fa52f6 TID:43f48c4e 0x83fa4cf0: +CHW::Initialize
base=0x370000, intr=0x10
4294776545 PID:43fa52f6 TID:43f48c4e 0x83fa4cf0: -CHW::Initialize, success!
4294776546 PID:43fa52f6 TID:43f48c4e 0x83fa4cf0: +CPipe::Initialize
4294776549 PID:43fa52f6 TID:43f48c4e 0x83fa4cf0: -CPipe::Initialize. Success!
4294776551 PID:43fa52f6 TID:43f48c4e 0x83fa4cf0: +CHW::EnterOperationalState
4294776552 PID:43fa52f6 TID:43f48c4e 0x83fa4cf0: -CHW::EnterOperationalState
4294776553 PID:43fa52f6 TID:43f48c4e 0x83fa4cf0: -COhcd::Initialize. Success!! Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64553
What are the difference between RNE_MDD and RNDISMINI ?
SGksYWxsDQogICBJIGhhdmUgYSBxdWVzdGlvbiBoZXJlLiBXaGF0IGFyZSB0aGUgZGlmZmVyZW5j
ZSBiZXR3ZWVuIFdJTkNFNTAwXFBVQkxJQ1xDT01NT05cT0FLXERSSVZFUlNcRVRIREJHXFJORElT
TUlOSSBhbmQgV0lOQ0U1MDBcUFVCTElDXENPTU1PTlxPQUtcRFJJVkVSU1xFVEhEQkdcUk5FX01E
RC4gVGhlIGZpcnN0IG9uZSBzZWVtcyB1c2UgaW50ZXJydXB0IGFuZCB0aGUgbGF0dGVyIG9uZSB1
c2UgcG9sbGluZywgaXMgaXQgcmlnaHQ/DQogICBJIHdhbnQgdG8gaW1wbGVtZW50IHVzYi1ybmRp
cyBjbGllbnQgZm9yIEtJVEwgYW5kIEJPT1RMT0FERVIgb24gdGFyZ2V0IHBsYXRmb3JtLCB3aGlj
aCBsaWJyYXJ5IHNob3VsZCBpIGNob29zZT8NCg0KDQogDQotLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSAgICAgDQpKLldhbHplcg0KSW50ZWxs
aWdlbnQgR3JvdXBpbmcgUmVzZWFyY2ggYW5kIERldmVsb3BtZW50IEluc3RpdHV0ZSAgICAgICAg
ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICANCkFtb2kgRWxlY3Ryb25pY3MgQ28uLEx0
ZC4NCg== Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64551
how to add link option in pb42? help, help...
am using the cepb42 with the ep9315 bsp.
It provide the floating-coprocessor .lib and .dll .
But must be using the floating function with link this
lib before the coredll.lib.
How can add I add the link option in the pb project to
make all the program to link with this coprocessor's lib
before the coredll.lib.
help, plz? Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64550
Transcriber Race Conditions & fixes
The transcriber code, contained in
PUBLIC\COMMON\OAK\DRIVERS\TOUCH\TRNSCRBR\tchstub.cpp, (for both WinCE 4.2
and 5.0) has a race conditions in it that will produce exceptions (and
possibly a white screen) at boot-up time.
The race condition is in CgrTouchStubInitialize(), at the FindWindow() call.
FindWindow should not be called at this time since the functionality isn't
necessarily available yet. If this if-statement is commented out, allowing
the code within the open and close curly brackets to always execute, this
race condition can be eliminated.
Another race condition exists in
PUBLIC\COMMON\OAK\DRIVERS\TOUCH\TRNSCRBR\tchwnd.cpp, (as a result of being
called in such an early context).
Within TchWindowThread(), execution should be held up until the widow
manager APIs are available. I suggest the following lines of code
immediately upon entry into this module:
// Before this thread proceeds, make sure that the window manager is
loaded
while(!IsAPIReady(SH_WMGR)) Sleep(1000);
DEBUGMSG(ZONE_FUNCTION,(L"TchWindowThread: done waiting\r\n"));
The following line will need to be added to supply prototypes and
definitions for the IsAPIReady() call:
#include <Windev.h.> // IsAPIReady
After making the above modifications, my touch driver can now work with
transcriber.exe without creating an exception during boot.
Jim Merkle Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64549
Activesync via Bluetooth in CE 5.0
Hi All,
I am having difficulties getting my CE 5.0 device to connect to activesync
via bluetooth. I am using two D-Link DBT-120 USB Bluetooth Dongles (1 on the
CE device, the other on my Win2K PC). I have included the following SYSGENs
on the CE build:
SYSGEN_BTH
SYSGEN_BTH_USB_ONLY
The bluetooth serial port on my PC is coming up as COM4, and on the CE
device it is coming up as "BSP2:". I am able to send and receive data across
this Bluetooth serial link, but cannot get activesync to do so.
In the registry on my CE device, I have verified the following registry
settings:
-HKLM\Software\Microsoft\bluetooth\device\activesync\<bth device address>\
\port_name = BSP2:
\name=<PC Name>(<PC bth device address>)
Any ideas as to what I am missing here?
Thanks!
Cam Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64546
Hard disk BLDR for non x86 device
Is it possible to build and use the BIOS boot loader for CE 5.0 on a non
x86 device. I have and ixp425 device and I need to boot the nk.bin from
the hard disk because it is too big for flash. If the BIOS boot loader
will not work does anyone know of another way?
Thanks,
Brad Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64545
Proper use of READ_PORT_UCHAR and WRITE_PORT_UCHAR
Hi,
I'm writing an application that needs to read from the IR port. Initially I
used ReadFile but that proved to be too slow as this application is very time
dependent. This brought me to READ_PORT_UCHAR. I figured if I could read from
the port directly I would loose the overhead of ReadFile and my timing
problems would be resolved.
However, I have not been able to get READ_PORT_UCHAR or WRITE_PORT_UCHAR to
work. Basically I went to the registry and found the iobase of my device. In
this case it is Serial_FIR on COM2:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_FIR]
"IoBase"=dword:ae700000
"Dll"="Serial_FIR.Dll"
"Tsp"="Unimodem.dll"
"Irq"=dword:00000013
"IoLen"=dword:00000024
"DeviceArrayIndex"=dword:00000000
"Prefix"="COM"
"Order"=dword:00000002
"Index"=dword:00000002
"DeviceType"=dword:00000000
"FriendlyName"=hex(7):\ 49,6e,66,72,61,72,65,64,20,50,6f,72,74,00,00,00,00
"DevConfig"=hex:\
10,00,00,00,05,00,00,00,00,01,00,00,00,4b,00,00,00,00,08,00,00,00,00,00,00
I used the IoBase and IoLen to map the physical address to a virtual one
that I can use for in my application:
ULONG len = 36;
PHYSICAL_ADDRESS physAddr = {0xAE7, 0};
ULONG addressspace = 1;
PVOID vAddr;
TransBusAddrToVirtual(Isa, 0, physAddr, 36, &addressspace, &vAddr);
Now that I have my virtual address setup I use it by calling READ_PORT_UCHAR:
UCHAR byte = READ_PORT_UCHAR( (PUCHAR) vAddr );
But I do not receive anything. No matter what I do I always get a 0 '' for
my byte. I have also tried to WRITE_PORT_UCHAR to see if I could write
something to the port, then read it:
WRITE_PORT_UCHAR((PUCHAR)0xAE70, 'K');
UCHAR readChar = READ_PORT_UCHAR( (PUCHAR) vAddr );
And again I get 0 '' for readChar. This occurs even if I loop on the read.
What am I doing wrong?
Kyle Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64541
kernel debugger and CE 5.0
I uncheck "Enable Kernel Debugger" (IMGNODEBUGGER=1) in Build Options,
and then run Sysgen. But after downloading the image, I still see "The
kernel Debugger is waiting to connect with target.".
Why is that? I use CEPC off the bat. By the way, KITL is enabled, and
it does not work either. From the serial output, it says,
"ERROR:OALKitlInit:KitlInit failed". I use RTL8139 for both
downloading and KITL by disabling VMINI. The whole project used to
works on CE .Net 4.2. Any help is appreciated.
AH Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64537
PC unusable after "installing" Platform Builder 5
I have a desktop PC running Windows XP Professional Version 2002 with
SP1, 1GB of RAM and 40GB HD with 20GB free. I tried installing the
development kit and it hung my system about 7/8th of the way through
the install. The mouse would not move nor would the power switch work.
I had to pull the power cord from my computer.
After that, the machine came up to the log in screen. Then shortly
after I logged on, I got a blue screen very breifly then the BIOS
screen as it rebooted. It did this over and over.
Another engineer had similar results on his PC also. I used the $995
s/w and he used the 120-day eval kit.
So now we are loath to try it again.
What's going on?
(Note: I searched this group _after_ these failed attempts so we do
not have a log file obtained by running the installer with command line
switches from the command line. BTW, why isn't that the preset
behavior? Sigh.) Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64535
CE4.2 Bluetooth crashes (data misalignement)
Hi,
I'm working with the WindowsCE 4.2 bluetooth protocol stack on an ARM based
board and I've just experimented a data abort when calling the
BthGetBasebandConnections function (located in the btdrt.cxx private file).
After running the code step by step, I discovered that there was a data
misalignement issue when trying to access the baAddress field of the first
element in the structure filled through the
BT_IOCTL_BthGetBasebandConnections. Actually, this field is word-aligned and
the processor expects it to be int-aligned (changing the address to an
int-aligned avoid the crash).
Has anyone ever experienced this kind of problem?
If this happen here, I think that this can happen elsewhere in the stack.
Any idea on how to avoid this?
Thanks a lot
----------------------------------------------------------------
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: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64532
SANDISK Compact FLash
Hi
I have been using a SANDISK 64MB Flash Card in a wince300 terminal without
any issues. I am now try to use it in a wince 4.20 build same hardware and
all i get is a dialog box 'Unindentified PCCard Adapter'.
Also when I run the Storage manger in the control panel, nothing appears
nothing appears in the drop down menu. This option was never supplied with
wince300.
What have I got;
a) mobile handheld build
b) SYSGEN_STOREMGR=1 (default value)
PLATFORM.REG includes the following ebtry
[HKEY_LOCAL_MACHINE\System\StorageManager]
"Dll"="fsdmgr.dll"
"PNPUnloadDelay"=dword:1000
[HKEY_LOCAL_MACHINE\Loader]
"SystemPath"=multi_sz:"\\Release\\"
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\Relfsd]
"Dll"="relfsd.dll"
"Paging"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\PCMCIA]
"Name"="PCMCIA/Compact Flash Device"
"Folder"="Storage Card"
"AutoMount"=dword:1
"AutoPart"=dword:0
"MountFlags"=dword:0
"Filesystem"="fatfsd.dll"
"PartitionDriver"="mspart.dll"
Any help would be appreciated.
Regards Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64528
BLDR crashing in decoder??
This is a bit long so please don't be put off!! Thanks!!!
I am attempting to use the BIOS loader to boot a CE 5 image from a 32Mb
partitioned HD. However, BLDR doesn't get past this call (decoder.c):
decodeStream = CeCompressDecodeCreate(NULL, CompressAlloc);
It has taken me several hours of debugging to get this far. I have
rebuilt BLDR with READ_BUFFER_LENGTH_MAX = 0x3000, so I know its not
that problem.
I have an MSDOS background and I have worked with MBR, BPB, FAT,
Partition Table BIOS, etc. etc. so I'm reasonably confident its not
down to how I've prepared the HD. In fact, if I comment out the
offending code I see this on the debug terminal:
Microsoft Windows CE BIOS Bootloader Version 2.2 (Built Mar 1 2005)
Reading root directory sector (LBA=0x81)...
0: File name 'BLDR '' File size = 0x5000
1: File name 'BOOT INI ' File size = 0x49E
INFO: Found file 'boot.ini' (start=0xC size=0x49E)
Reading root directory sector (LBA=0x81)...
0: File name 'BLDR '' File size = 0x5000
1: File name 'BOOT INI ' File size = 0x49E
2: File name 'NK BIN ' File size = 0xAF9B3F
3: File name 'SPLASH BMX ' File size = 0xDD8
INFO: Found file 'splash.bmx' (start=0x1601 size=0xDD8)
Of course it will fail at this point because I commented out the call
to initialise the decoder.
The decoder stuff is in cecompress.lib. I don't have source, not even
under the <PRIVATE> folder. However, I don't think the problem is with
the code in cecompress.lib. I think its a build problem.
Can anyone shed any light on this please? Anything else you need to
know or want to suggest then post away!
Thanks in advance.
David Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64525
Display Driver Problem
Hello All,
I am working on developing a display driver for a ARM based processor.
The display driver is working perfectly with WinCE 4.2 build.
When i use the same source for WinCE 5.0 the icons on desktop gets
duplicated. Each of the icon on the screen appear twice. The image is
also not clear.
My default resolution setting are 320x240x16
Can any one tell me what would be the problem when i change the build
from WinCE 4.2 to WinCE 5.0?
Did anyone of you face this problem?
Thanks in Advance.
Regards,
Sushma Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64522
NDIS + SDIO
Hi all,
all I could find about this was posted before CE 5.0, and I reckon
things have changed a bit.
Basically what I need to do is an NDIS driver for an SDIO device, and
I'm not sure about a few implementation details :
1- the documentation says an NDIS driver must have a DriverEntry and a
Dllmain, and SDIO client drivers must expose a XXX_Init
How would the DLL be loaded ? Upon insertion in which case I guess
XXX_Init would be called first, or manually, in which case I suppose
DriverEntry or DllMain would be called first ?
Looking at the BTSDIO sample, I guess it could work the same way, but
having it confirmed would be really nice before starting the
development.
2- If (1) is wrong, then I must get a handle to my sdio device just
from an NDIS context and not expose a Stream interface. Which argument
can I then give to SDGetDeviceHandle ?
3- how do I declare this Dll in the registry so that it's seen
appropriately ?
Thanks a lot
--
Henri Fallon Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64521
INFO: "Unable to initialize catalog" error
Hi Newsgroup Members,
I'd like to share my experience and solution to the "Unable to initialize
catalog" error. When I first began to work with Platform Builder, this error
cost me weeks. I, by trial-and-error and some chance, could solve the
problem. However, I occasionally receive e-mails from people who have the
same error and saw my name while researching the google postings. I hope
people, who look for this error in the wince* groups of google, will see
this answer from now on.
I live in Turkey and by default I install the operating system using Turkish
regional settings. There's nothing abnormal in doing this. However, if you
try to install PB using Turkish regional settings, you receive "Unable to
initialize catalog" error in the first couple of minutes of your
installation process. Although PB seems to complete the installation, it is
not installed completely and correctly and any platform build command will
result in a critical error at the very beginning of the sysgen phase. My
solution is to set the following in the Regional Settings:
Regional Options tab:
Standards and formats: English (United States)
Location : Turkey
Advanced tab:
Language for non-unicode programs: Turkish
The most important setting of the above is the "Standards and formats"
selection. Apparently PB uses only English (US) settings and gives the
mentioned error if this condition is not satisfied. The solution is simple:
Uninstall PB completely from your system, change your regional settings,
install PB again.
I can't say that this is the only cause of "Unable to initialize catalog"
error, and hence it may not be the only solution. I guess that people who
have different date-number-currency formats in their country and use that
format by default will receive this error, and can disregard it by applying
my solution. So far it worked with those whom I advised.
I could not find this error and its solution documented anywhere, so I hope
I will be helpful to those who seek for an answer in vain.
Good luck with your work,
--
Selin Metin
selinm_at_esit_dot_com_dot_tr Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64520
Reinstalling PB 5.0 Evaluation Kit
Hi,
Can we reinstall PB 5.0 Evaluation Kit.
This is so because whenever I try to run Platform Builder IDE, I receive the
message :
"NO primary processors are available.
The build system will be disabled. It is likely that a build system
'add-on'processor(.pkg), installed by Setup, failed to load'.
Regards,
Saurabh Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64519
CS8900 CrystalReset
Hi!
I am wondering why did the guys from Cirrus comment out the VchipInit
function from the CrystalReset. I had problems when resuming from suspend, my
ethernet wasn't working and now when I have put that function back, my
ethernet controller is working just fine. Where is the catch? Did I miss
something?
Thanks,
Jernej Turnsek Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64515
About CEPB wizard file(xml file)
Dear All,
I have created a xml file in C:\Program Files\Windows CE Platform
Builder\4.20\cepb\bin\IDE\Wizards as a wizard to create our
platform(pxa255+wince420). I put all components we need in this xml file. We
choose intel DBPXA250 ARMV4I BSP when we create a new platform via our
wizard.
But I found that some components such as "touch" we do not need will also
appear in the platform we created via this wizard automaticaly. We do not
put this components in our wizard at all.
I am confused.
Anyone knows why this happen? And how to solve this problem?
Thank you very much.
Lee Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64514
coprocess and link option problem?
Hi all:
I am using the EP9315 bsp,which including the floating
coprocessor. It provide one coprocess dll and the lib file.
The document tells it must be linked before the core.dll to
using the standard c floating c library function to produce the
wince system file.
How can i do this to make all the wince file to using the coprocessor's dll
and the lib before the core.lib and the
core.dll.
anyone can help? thanks. Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64511
Looking for BSP
Hi,
My company is looking for Windows CE 4.2 BSP closest to the following
platform.
- PXA255 Xscale CPU
- LCD module TFT 7"
- Transdimension TD243 USB Host
- Touch screen, AC97 etc
Also, a reliable and experience consultant company that can do the
porting to the actual hardware.
Please email me direct or post here.. Many thanks Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64508
READ_PORT_UCHAR and COM2
Hello,
For something that appears relatively simple I'm having a hell of a time
getting it to work. Basically I'm trying to read in from COM2 (Native IR)
using READ_PORT_UCHAR but so far I've never been able to get any data.
I am attempting to use TransBusAddrToVirtual to map the physical address to
a virtual one; then I use that address with READ_PORT_UCHAR to read the data.
Here's how I am going about this:
** CODE **
PVOID vAddr;
ULONG addressspace = TRUE;
PHYSICAL_ADDRESS temp = {0xAE7, 0}; // See IoBase in Reg below
if(!TransBusAddrToVirtual(Isa, 0, temp, 1, &addressspace, &vAddr))
return NULL;
if (waitRtn = WaitCommEvent(m_hIRPort, &commEvent, NULL))
{
while (bufNdx < 1000)
{
buffer2[bufNdx] = READ_PORT_UCHAR((PUCHAR)vAddr);
QueryPerformanceCounter(&time);
times[bufNdx] = time;
bufNdx++;
}
}
** REG **
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Serial_FIR]
"IoBase"=dword:ae700000
"Dll"="Serial_FIR.Dll"
"Tsp"="Unimodem.dll"
"Irq"=dword:00000013
"IoLen"=dword:00000024
"DeviceArrayIndex"=dword:00000000
"Prefix"="COM"
"Order"=dword:00000002
"Index"=dword:00000002
"DeviceType"=dword:00000000
"FriendlyName"=hex(7):\
49,6e,66,72,61,72,65,64,20,50,6f,72,74,00,00,00,00
"DevConfig"=hex:\
10,00,00,00,05,00,00,00,00,01,00,00,00,4b,00,00,00,00,08,00,00,00,00,00,00
Now, I've run the above code using ReadFile and a handle to COM2: created by
CreateFile. This works but it is too slow for my needs. This is why I went
about the READ_PORT_UCHAR method and it is much faster but I haven't been
able to get any data.
I have a few questions for you guys:
1) Is IoBase the physical address of com2? I've tried the above code using
0x2F8, 0x3E8 and 0xAE7 but none of them work.
2) Is IoLen the Length parameter in TransBusAddrToVirtual? Right now I have
Length = 1 since I am only interested in reading in the data a byte at a time.
Any insights as to why this isn't working would be helpful.
Thanks in advance,
Kyle
** Function **
BOOL TransBusAddrToVirtual(
INTERFACE_TYPE InterfaceType,
ULONG BusNumber,
PHYSICAL_ADDRESS BusAddress,
ULONG Length,
PULONG AddressSpace,
PPVOID MappedAddress
); Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64507
Creating WinCE images
I previously added a post on the 24th of February (see "Using Embedded
VisualC to debug a driver") as I was having problems debugging a driver that
is built within the 14MB binary image of the WinCE system, provided to me by
the CPU board vendor (Prolificx).
Hence, I am now left in the unenviable position of waiting for Prolificx to
debug the driver for me, else investing in the necessary software
development platform tools so that I can build and debug the driver myself.
Can anyone advise me on what I will need.
Currently, the only platform tools we have are embedded Visual C++ 4 and
Active Sync. I expect we need a full WinCE SDK or similar. Maybe there are
evaluation/trial kits evailable that would save us paying out alot of money
to simply solve one bug.
Thanks for your help,
Stuart. Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64504
environment variables set in PB5.0 not available for %_TGTPLAT%.bat !
There is this annoying thing that the environment variables that are set in
the platform builder 5.0 environment (platform->settings, environment tab)
are not available to the %_TGTPLAT%.bat batch file when it gets called.
Platform builder seems to set them AFTER it has called the %_TGTPLAT%.bat
batch file.
I consider this a bug and I would like to see it get fixed.
You can simple verify what I am saying by adding this to your
%_TGTPLAT%.bat batch file: set >c:\envdump.txt. Then, set a variable
(platform->settings, environment tab, and define HELLO=1). Select Build
OS->Open Release directory. From that command shell then "type
c:\envdump.txt". You will see that HELLO is not defined. I am sorry, but I
would expect that HELLO variable to be set so that I can use it to fine tune
certain BSP configuration settings inside the %_TGTPLAT%.bat batch file ! It
is even funny that we cannot even determine inside that batch file if we are
in a debug build (%WINCEDEBUG% is set to retail even for a debug workspace,
at the time your %_TGTPLAT%.bat batch file gets called...)
NOTE:
cc: cefdbk@microsoft.com (see if this gets any reply, normally this is a
black hole where you can send all your bug reports and comments but never
ever get any reply from. This is also annoying somehow. You will report
about 10 bugs but then after no feedback from MS at all, you just stop doing
it you know, there's time better spent, like explaining the same bug or
comment to your cat or something, at least the cat thinks it is still
amusing. Anybody ever got any feedback from that e-mail address that MS
urges you to sent bug reports and comments to ?). Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64502
video decoder errors.
Hi all
I am working on using betaplayer to test Video
Hardware decoder of 27000G.
when I use betaplay play a .avi file in resolution: 1024*576*24,
a message box always appears with "2700G decoder error". then I tried
at resolution : 640*480*16, this time, without any message, WINCE
hangs.
questions:
if betaplayer have a strict request with resolutions?
if those errors have relations with Clock of 2700G? (e.g.
"Line rate" and "Dot clock")
Best Regards
DongFang Tian Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64501
Configuring IPSec
Hi,
Can someone please help me in configuring IPSec on my Win CE 5.0 device?
What are the main steps? I've tried using policy files but i just dont know
what to do with them - i've tried using ipseccfg.exe but there's just not
much documentation to go on to. All i need to do is encrypt/decrypt all TCP
packets being sent and received to/from the device. I've added the "IPSec v4"
feature to my image, so that's a start, i just don't know what to do next.
Thanks.
Michael--J. Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64497
Gateway NAT use locking up OS
I have a Kontron ThinkIO with Kontron CE 4.2 BSP (modified CEPC) Industrial
Controller, which has been working successfully for some time. The device
has 2 Ethernet ports, and I've added the gateway components (NAT, ICS, UPNP
+ IGD, firewall, DHCP allocator, etc). the private interface is set up as
192.168.0.1, and on that side is a Rockwell L34 PLC, statically assigned at
192.168.0.2. I've configured port forwarding, so that from the public
interface port 8080 TCP forwards to internal 192.168.0.2:80, also the
EthernetIP port 44818 (TCP and UCP) are forwarded to the internal PLC.
This works, such that when I point my external web browser at port 8080 on
the public interface (DHCP allocated at 192.168.221.58), it brings up the
startup page of the PLC's http interface. However thats all I see, the CE OS
immediately locks up. I don't get ant diagnostic debug messages on the
serial port, and don't know what's happening. The lockup also happens when I
connect a laptop to the hub on the private side. It get DHCP allocation, and
I can ping devices on the public side (NAT translation works), but if I
tracert I get 3 hits on the CE interface (192.168.0.1), then one from the
device on the public side (eg 192.168.221.4) and then CE locks up again.
I suspect something in NAT if forwarding to itself in a tight loop, but I
can't diagnose with the debugger, as the BSP doesn't support KITL over
serial, or VMINI with the two Ethernet interfaces in use, as far as I can
ascertain.
Does anyone have any suggestions here, have I missed something?
One other clue, early on in bootup the CE box actually sends two DHCP
packets (the second an offer) with a source address of 192.168.0.1 out over
the 192.168.221.58 public interface, which should never happen...
Thanks for any assistance,
David Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64496
USB EXE problem need help!
Hi,
We are facing EXE problem using USB thumbdrive.
Our platform is Windows CE 4.2. CPU is Intel PXA255 and the USB OTG
chip is TD243 from Transdimension.
Basically, the USB thumb drive can be detected. Some larger >128MB mass
storage took long time to detect (~30 sec).
Once detected, launching any EXE file from the thumbdrive directly by
double click will hang the system.
Error we saw were:
drivers\otg243\otg243mdd\thcd.cpp line 190: !THCD: Exception copying
client data: 0x665008-->0xC202F568 (13)
drivers\otg243\otg243mdd\thcd.cpp line 7025: Exception copying to
client buffer 0x665008-->0xC202F568 (13)
Is it driver or OS issues? What can be done to solve this issue? Any
help in anyway would be appreciated. Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64474
How to identify the OS version of an NK.BIN
Hello,
I would like to know on which WinCE OS Version (CE4.1, CE4.2, CE 5.0) an
NK.BIN is based.
I have created a little tool which helps me to install an NK.BIN + BLDR to
an compact flash card. Because I use different BLDR files for different
Windows CE OS versions I have to know on which Windows CE OS version the
NK.BIN is based.
Is there a signature in the NK.BIN file?
Regards Peter Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64464
PB5.0 SDK build issue - Not Fixed
I have read the correspondance from last November about the PB5.0 SDK
Build issue and I thought the work around would fix my problem but it
does not. I have checked in platform.ini after I have sysgened my
platform and I get the sysgen=0 problem in the file. when I change this
to sysgen=1 and run makesdk from the command prompt nothing happens. It
just returns directly to the prompt. It doesn't seem to run the SDK
build at all. If I change the current directory away from the release
directory then I get 'CopyFile failed to copy database file to "\", Err
= 3
==> The system cannot find the path specified.'
in the SDK dialog. I have tried installing PB5.0 on a colleague's
machine and everything works fine. No problem creating the SDK at all.
I've removed and re-installed PB on my machine but still no luck. Both
machines are running windows 2000 but my machine has been in use longer
and has had other development systems installed and removed. I'm
guessing that there must be a left over registry setting which is
causing my machine to behave differently but what could it be? Before I
discovered the posting on this subject I did notice that the SDK wizard
behaved differently on the 2 machines. On the working machine the CPU
tab in the SDK configuration dialog was filled in completely and
correctly but on my machine only the CPU was present. I had to check
the tick box and use the edit key to add the configuration. Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64463
Locking a dll -- dont allow loading
Hi.
Is there a known proven standard way to stop a dll driver being loaded more
than once?
I have a SPI driver and odviously it can only be loaded one at a time, if
there is 2 instances of the driver running, then the SPI data will currupt.
Joe Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64462
Startup RNDIS.
I am new to RNDIS. I need to test RNDIS on USB function controller driver. I
have added the registry entry in the platform.reg as below:
; @CESYSGEN IF CE_MODULES_RNDISFN
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=- ; erase previous default
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="RNDIS"
Is the above entry sufficient for RNDIS functionality to start. After the
driver gets loaded, how do I test the functionality of RNDIS.
Thanks in advance for helpers.
Rgds,
Rams Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64459
sapi, tts problem?
Hi all:
I have asked for times, but no answers.
I want to use the speech sdk in wince.net 42 .
I add the speech component and mfc ,sdk ,atl to in cepb.
Then build the speech sample in the
WINCE420\PUBLIC\SPEECH\SDK\SAMPLES\CPP\SPEAK
The code listed below,the the programm run well and its printing indicate
the ISpVoice created, but it cannot listen any voice. It donnt speak the
string at all.
Does the tts engine is needed or just not config well?
Anyone can help me? Thanks advance.
#include "stdafx.h"
#include "atlbase.h"
#include <sphelper.h>
int main(int argc, TCHAR* argv[])
{
HRESULT hr=S_FALSE;
WCHAR wcBuff[MAX_PATH];
int i;
printf("Now we running the speak!\n");
wcscpy( wcBuff, L"This is a simple sample sentence." );
if( SUCCEEDED( hr = CoInitializeEx( NULL, COINIT_MULTITHREADED ) ) )
{
printf("Succeed init COM lib \n");
//--- Create the voice
CComPtr<ISpVoice> cpVoice;
hr = cpVoice.CoCreateInstance(CLSID_SpVoice);
if( SUCCEEDED( hr ) )
{
printf("Succeed create ISpVoice \n");
hr = cpVoice->Speak(wcBuff, 0, NULL);
}
if (cpVoice)
{
printf("Succeed create ISpVoice \n");
cpVoice.Release();
}
CoUninitialize();
}
if (FAILED(hr))
{
printf("Failed \n");
return 1;
}
return 0;
} Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64458
Difference between INC and GWE\INC folder
Hi
Does anyone knows what is the difference between PLATFORM\......\INC and
PLATFORM\.......GWE\INC folder.
Thanks
Rgds
Sze Wong Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64456
duplicating public code
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C51D75.E65ED180
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
the WinCe50 documentation=20
http://msdn.microsoft.com/library/default.asp?url=3D/library/en-us/wceosd=
ev5/html/wce50howhowtoduplicateapublicdirectoryasaplatformdirectory.asp
describes how to duplicate a public directory, which cannot be cloned. =
This should be done according this description in a second public =
directory under %_WINCEROOT%\PBWorkspaces\%_TGTPROJ%\Wince500\Public.
But code in this directory is not generated automatically. The =
description seems to be not complete.=20
If I define a project to insert a dirs or sources files by creating a =
pbpxml, then how to get, that DLLs being generated from link libraries =
in Cesysgen\oak\lib coming from the original public directory to be =
overwritten with the new components, which generate link libraries in =
the oak\lib in the projectroot?
What would be the better way to clone these public components?
Edgar
------=_NextPart_000_0008_01C51D75.E65ED180
Content-Type: text/html;
charset="iso-8859-1"
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=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2900.2604" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=3D2></FONT><FONT size=3D2>the WinCe50 documentation =
</FONT></DIV>
<DIV><A=20
href=3D"http://msdn.microsoft.com/library/default.asp?url=3D/library/en-u=
s/wceosdev5/html/wce50howhowtoduplicateapublicdirectoryasaplatformdirecto=
ry.asp"><FONT=20
size=3D2>http://msdn.microsoft.com/library/default.asp?url=3D/library/en-=
us/wceosdev5/html/wce50howhowtoduplicateapublicdirectoryasaplatformdirect=
ory.asp</FONT></A></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>describes how to duplicate a public directory, which =
cannot be=20
cloned. This should be done according this description in a second =
public=20
directory under </FONT><FONT=20
size=3D3>%_WINCEROOT%\PBWorkspaces\%_TGTPROJ%\Wince500\Public.</FONT></DI=
V>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>But code in this directory is not generated =
automatically. The=20
description seems to be not complete. </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>If I define a project to insert a dirs or sources =
files by=20
creating a pbpxml, then how to get, that DLLs being generated from link=20
libraries in Cesysgen\oak\lib coming from the original public directory =
to be=20
overwritten with the new components, which generate link libraries in =
<FONT=20
size=3D3>the oak\lib in the projectroot?</FONT></FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>What would be the better way to clone these public=20
components?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Edgar</FONT></DIV></BODY></HTML>
------=_NextPart_000_0008_01C51D75.E65ED180-- Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64455
Conversion of kernel mode spinlock
Hi All,
I have to port a WDM video capture driver to WinCE
4.2....i am finding frequent occurence of KeAcquireSpinLock and following
release ...How can i replace this kernel mode spinlock to a user mode lock
which will work fine in WinCE ...I would also like to get some general tips
of porting a WDM driver to WinCE .Looking forward forward for your
help..Thanks
Cheers
Satheesh Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64452
How to enable interrupts in Eboot ?
SGksYWxsDQogICAgSSB3YW50IHRvIHVzZSBSTkRJUyB0byBpbXBsZW1lbnQgYm9vdGxvYWRlciwg
YnV0IHdoZW4gaW5pdGlhbGl6aW5nIFVTQiwgSSBoYXZlIHRvIGVuYWJsZSBpbnRlcnJ1cHRzIGlu
IGVib290Lg0KICAgIEluIHRoZSBvcmlnaW5hbCBzb3VyY2UgY29kZSBvZiBlYm9vdCwgaXQgdXNl
IHBvbGxpbmcuDQogICAgSG93IGFuZCB3aGVyZSBjYW4gSSBlbmFibGUgSU5UUnM/ICANCiAgICBU
aGFua3MhDQoNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0t
LS0tLS0tLS0tICAgICANCkouV2FsemVyDQo= Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64448
How ro configure FTP username & password
Hi all,
Please tell me how how to config FTP username & password. As now i
tried to do FTP in wince platform it gives me error "cannot execute
ftp.exe
Please tell me the solution
Aniruddh
anidesh33@rediffmail.com
91-22-55916470. Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64447
How to calculate Discrete Monitor Timings?
Hi,all
I am working on display driver.
Now I want to my display working on resolution: 1024*576*16.
but current option does not support this resolution.so,I
must calculate this timing manually. could someone tell me
how to calculate Discrete Monitor Timings for different resolution?
DongFang Tian
********************************************************
Intelligent Grouping Research and Development Institute
Amoi Electronics Co., Ltd
******************************************************** Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64446
Puzzle in Ethernet Card.
Hi all:
In my platform(pxa270+CE 5.0),use an Ethernet card(CF+ LP-E & PCMCIA
Compact Flash Adapter,Ne2000 compatible) which is connected to the PCMCIA
interface.And it can be recognised correctly by the OS,that is shown in the
"System Properties-->Computer-->Expansion Slots:".However,it can not
communicate with LAN,and when I hit "ping 10.100.151.1" in the command
console,the message returned as following:(I have configured the IP address
in the "Network and Dial-up Connection-->Ne20001-->Ne2000 Compatible
Ethernet setting" )
Ping Host 10.100.151.1
PING:transmit failed,error code 11010;
PING:transmit failed,error code 11010;
PING:transmit failed,error code 11010;
PING:transmit failed,error code 11010; Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64445
Please help to answer some basic WinCE questions
Hi All,
I have some basic WinCE questions in below, could somebody please give me
any comments?
Thanks a lot.
1. Does the WinCE platform support 1.44M Floppy drive? How to load modules?
2. Does the WinCE platform support the IPX/SPX protocols? How to load
modules?
3. Does the WinCE platform support the FTP client application? How to load
modules?
4. Does the WinCE 4.2 platform support USB 2.0 devices? How to load modules?
5. I would like to implement an USB 2.0-to-Ethernet device driver on
WinCE5.0 platform,
are there any this kind of sample codes in the WinCE 5.0 Platform
Builder for my reference?
I appreciate any comments and suggestions. Thanks a lot in advance.
--
Best regards,
Allan Chou
03-5799500 ext.513
allan@asix.com.tw Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64443
IPSec
Hi,
I'm trying to configure IPSec on my Wince 5.0 OS image so that TCP packets
are encrypted when sent. I added the IPSec v4 feature and followed the
documentation on how to conifgure it at:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wcecomm5/html/wce50conl2tpipsecregistrysettings.asp.
This link says that i need to create a policy text fike and pass it to the
ipseccfg.exe sample app. This is what i did:
- i created a file "ipsecPolicyFile.txt" containing the following data:
policy=sample
inaction=1
outaction=2
auth=2
info= CN=Sample Root CA;
mmhash=7
mmenc=7
qmhash=7
qmenc=4
dh=3
protocol=0
flags=0
srcip=myip
- i opened up Command Prompt on my device
- I copied the file to my device's hard disk
- i typed "ipseccfg load ipsecPolicyFile.txt" in cmd and presed enter ->
nothing was printed to say it was successful or not.
- i typed "ipseccfg start ipsecPolicyFile.txt" in cmd and pressed enter ->
again nothing was printed.
I then ran my app on the device. This app sends data to my client running on
my dev PC. Since IPSec is not configured on my dev PC, i expected that there
would be no TCP packets being sent or received - but i was wrong, everything
was working fine and no encryption was taking place. This obviously meant
that IPSec was not configured correctly. How do i configure it? Thanks.
Michael--J. Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64441
about Buffer Manager
This is a multi-part message in MIME format.
------=_NextPart_000_0093_01C51D0C.00D158E0
Content-Type: text/plain;
charset="gb2312"
Content-Transfer-Encoding: quoted-printable
Hi,all
I am working on Display Driver and I must manage the Internal buffer and =
32M Local SDRAM of graphics accelerator 2700G.
could someone tell me the the means of "Pool", "Arena" of Buffer =
Mananger
in Display Driver? or give me some link about it?
how many management modes can I use to manage the Internal buffer and =
Local SDRAM?=20
(single,double,rapid....) when should I use one or another?
DongFang Tian
********************************************************
Intelligent Grouping Research and Development Institute
Amoi Electronics Co., Ltd
********************************************************
------=_NextPart_000_0093_01C51D0C.00D158E0
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.2900.2180" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT size=3D2>Hi,all</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>I am working on Display Driver and I must manage the =
Internal=20
buffer and </FONT></DIV>
<DIV><FONT size=3D2>32M Local SDRAM of graphics accelerator =
2700G.</FONT></DIV>
<DIV><FONT size=3D2>could someone tell me the the means of "Pool", =
"Arena" of=20
Buffer Mananger</FONT></DIV>
<DIV><FONT size=3D2>in Display Driver? or give me some link about =
it?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>how many management modes can I use to manage =
the=20
Internal buffer and Local SDRAM? </FONT></DIV>
<DIV><FONT size=3D2>(single,double,rapid....) when should I use one or=20
another?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><BR><FONT size=3D2>DongFang=20
Tian<BR>********************************************************<BR>Intel=
ligent=20
Grouping Research and Development=20
Institute<BR> =
=20
Amoi Electronics Co.,=20
Ltd<BR>********************************************************</FONT></D=
IV></BODY></HTML>
------=_NextPart_000_0093_01C51D0C.00D158E0-- Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64437
VFP Support for ARM
I hope to understand the way VFP is supported in ARM. The sample
implementation in ARMIntegrator is kind of confusing to me. Can some one
help me on the following questions? Thanks in advance.
1. I cannot find any VFP arithmatic instructions in assembly source files
under either the ARMIntegrator directory or the WinCE PRIVATE directory. Nor
did I find any compiler flag that can enable VFP instruction to be
generated. How is VFP instructions generated?
2. I am lost on whether the sample implementation is merely a software
emulation on VFP. According to document, the vfp.c is supposed to provide
support code for hardware VFP. However, I found that it seems actually calls
c statement to do float point calculations. For example, after decoding that
the VFP instruction is a FMAC instruction, it actually get the result like
this:
double dest, rhs, lhs;
switch (ptrFPStatus->opcode)
{
case FMAC: // Fd = Fd + (Fn * Fm)
rhs = lhs * rhs;
dest = dest + rhs;
...
}
3. Is WinCE working in such a way that every float point instruction will
trigger an undefined instruction exception and then kernel will handle it
either by VFP hardware or VFP software emualator?
Rui Tag: Why CEPB5.0 can not be installed on windows server 2003? Tag: 64436
Why CEPB5.0 can not be installed on windows server 2003?