Emulator Incoming and Outgoing Network Config
I am have a problem with configuring the emulator to support both incoming
and outgoing network.
My configuration is:
I have CE 4.2 with eVC++ SP2 installed on a XP machine. The XP machine has
2 network cards with Virtual PC Emulated Ethernet Switch on both and a third
cable network connection with no Virtual PC Emulated Ethernet Switch. Only
one network card is connected to a network. My emulator is configured with
Fixed IP address and Virtual Switch. However, I am unable to connect to my
emulator. If I change to NAT Outgoing only, it works but I am unable to
have incoming network (as expected).
The same emulator configuration works on other computers that have Win2K and
one network card.
Thanks Tag: TransmitFile Tag: 41931
regarding booting of NK.bin on CEPC hardware and Exporting SDK, for custosmised platform.
Hello all,
Part 1) :
I am facing problem in booting from harddisk.for the CEPC Board.
i.e i am trying for , load CEPC NK.bin.
even, i make BOOT PARTITION AS C , and the partition as active , and i
place a BOOT LOADER, i.e bldr .
after i make a setupdisk from wince.
i run, mkdisk , which internally calls cesys.exe which assigns boot loader
at -b: 62 offset - bootsect.img bldr c:
and even i transfer the nk.bin file.., to the harddisk and if i try to
boot the disk ,
i get an error message , Unable to load the boot loader..
could u please , help me out...
Part 2):
And secondly, once i make a customized platform,
and for the platform generated, if i try to configure a SDK for the
generated platform.i am able to do that and even i can build the configured
SDK,
and now since , the SDK is build properly, i view my newly generated SDK ,
in EVC++ 4.0,but if i try to run an application for the newly generated
SDK,
my application does not run properly..i.e my application is compiled
properly but unfortunately ,if i try to download on to the device and
configure with CESH SERVER, and configuring the transport part as KITL OR AS
TCP/IP ,
i observe that , i am not able to establish the connectivity for the
download..
hope , that u may guide me out..
thanks in advance..
eagerly waiting , for the reply ..
--
Kallesh N. Patil
Sr Software Engineer
Email : kallesh@oranetech.com
Orane Technologies Pvt Ltd.
#25, 1st floor,7th cross,2nd main,
1 Stage ,Indiranagar
Bangalore 560038
India
Ph: +91 80 5252886/ 5271966.
Fax: +91 80 5252894.
Url: www.orantech.com Tag: TransmitFile Tag: 41927
Activesync connection problem on Assabet using USB
I use PB4.1 to build a CE image for the Assabet.
I have installed Activesync 3.5 to set up Activesync
connection via USB.
Problem:
When I plug in the USB cable, the host PC recognizes
it as an unknown USB device. How can this connection
problem be solved? Here are questions in detail.
1. How can I determine vendor ID and product ID
to define the three sections in 'wceusbsh.inf'
of host PC?
2. What kind of addition(or modification) is
necessary for the registry of Assabet?
3. If any, is it possible to get sample files for
'wceusbsh.inf' and the modified WinCE registry?
Thank you for any information in advance. Tag: TransmitFile Tag: 41926
Using a Compact Flash on Lubbock with WinCE
Hello,
I have a design based on lubbock (PXA250, SA-1111, etc)
with winCE 4.2.
-using the BSP that comes with 4.2.
-I can talk to the PCMCIA slot perfectly - read CIS, etc
-If I install a "compact flash" card into the CF slot and
read the "status reg" using card & socket services, it
says that only socket0 has a card.
-I did the obvious like get a 2nd CF card and check the
voltage.
Before I break out the logic analyzer, I want to make sure
I am not doing anything obviously wrong. Does CF require
a special "enabling" or is there a known issue with the CF
slot?
Thanks in advance, -Jeff Tag: TransmitFile Tag: 41924
Buy Platform Builder 4.1
Hello!
We have BSP installer for our WCE borad only for Platform Builder 4.1.
The BSP installer make error during installation (my coputer have
Platform Builder 4.2 NET)
Now on Microsoft site i found only Platform Builder 4.2 NET.
Where may buy Platform Builder 4.1.
Thank you. Tag: TransmitFile Tag: 41922
newbe to xp embedded
I am part of a senior project group who is just starting to become familiar
with xp embedded software. I was wondering where a good resource for answers
is, so I don't have to post all of my questions in this group. any
suggestions would be great!!
thanks!! Tag: TransmitFile Tag: 41920
about sources file
Hi, dear all,
in the win ce .net help doc says :
============================================
Conditional statements in sources files are not supported.
The following code example shows that Build.exe ignores
the first, second, fourth, and sixth lines, and appends
the SOURCES macro twice.
# Bad example
!IF "$(LOCALE)" == "0409"
SOURCES= $(SOURCES) us-src.c
!ELSE
SOURCES= $(SOURCES) inter-src.c
!ENDIF
====================================
However, !IF and !ELSE is used in every sample source
files. for example :
===================================
DOSYSGEN=1
!IFDEF DOSYSGEN
TARGETNAME = KBDHID_LIB
TARGETTYPE = LIBRARY
TARGETDEFNAME = KBDHID
DEFFILE=$(TARGETDEFNAME).def
WINCETARGETFILE0=$(_COMMONOAKROOT)\lib\$(_CPUINDPATH)
\$(TARGETDEFNAME).def
!ELSE
TARGETNAME = KBDHID
TARGETTYPE = DYNLINK
TARGETLIBS = \
$(_COMMONSDKROOT)\lib\$(_CPUINDPATH)\coredll.lib \
DLLENTRY = DllEntry
!ENDIF
SOURCES= \
kbdhid.cpp \
kbd.cpp \
=======================================
What is this going on?
Is this the reason that I only get KBDHID_LIB.lib, but
doesn't get KBDHID.dll?
But it seems not.
Help, I just can't get my kbdhid.dll
KY Tag: TransmitFile Tag: 41918
Application debugging using KITL
Hi eveyone,
Is it possible to use kitl to debug an application using EVC4 only (ie
no platform builder present on the system)? From what I can see, you
seed PB to start up the 3 kitl services (CESH, DBG & DBGMSG) before it
becomes of any use to EVC4.0... Is this correct or is there some way of
using KITL to acheive application debugging?
Thanks,
Glenn. Tag: TransmitFile Tag: 41908
eshell.exe where did it go?
Back in the CE 3.0 days there was a nice little gui program for downloading
images via Ethernet to a device. Great for production as they did not have
to load the full PB.
I see it is gone as of 4.0. Why?
Is the source still out there somewhere?
DV Tag: TransmitFile Tag: 41901
Newbie help requested
Hello all,
I've been experimenting with PB 4.2 with a fair amount of success. I built
the CEPC, and ran through the tutorials just fine. I've used both eboot.bin
to transfer the image via Ethernet, and copied the nk.bin to the drive and
loaded it locally. I'm now trying to venture into new waters. I want to try
and get a Fujitsu Stylus 1000 Pen tablet (486 DX 100, 340 Type III drive, 24
Meg RAM) running on CE. I've run into problems (surprise, surprise), and am
looking for some insight. I've copied the CEPC nk.bin to the hard drive of
the tablet, and select the load it locally option. I've been able to get
Win95 and Win98 running on the tablet with the pen working.
Question #1
The VESA test utility comes back with "Number of valid FLAT driver modes:
0". Does that mean that I cannot use this device at all, or I need to
get/develop a custom driver for the adapter (Chips Technologies
Question #2
When the image unpacks, it gets to the 100% mark, displays "Jumping to
0x0023AF88" and then reboots. I've looked at the debug info in
Hyperterminal, but a good portion of it doesn't make sense to me. Can
someone assist in decyphering it for me. I built 3 different CEPC platforms,
Mobile Handheld, Mobile Handheld with lots of stuff removed, and the Tiny
Kernel. I'm including the debug infor for each.
Mobile Handheld:
Debug Serial Init
SysInit: GDTBase=814580f8 IDTBase=81486160 KData=81499800
Windows CE Kernel for i486 Built on Mar 13 2003 at 22:43:26
g_PageDir = 814a1000
No PCI bus
+OEMKitlInit
Unable to initialize KITL Transports!
-OEMKitlInit
KITL Initialization Failed, No debugging support available
CEPC Firmware Init
RTC - Status Reg B - 0x02
PCIBIOS:: BIOS Address static map to addr=a00e0000
GetPicRoutingIrqTable: Start
search_pci_bios start
search_pci_bios end fails
GetPicRoutingIrqTable: FAILS!!!
Firmware Init Done.
Looking for rom chain
Rom chain NOT found
Booting Windows CE version 4.20 for
(x86
)
&pTOC = 80225408, pTOC = 814562d8, pTOC->ulRamFree = 814a1000, MemForPT =
000240
00
Old or invalid version stamp in kernel structures - starting clean!
Configuring: Primary pages: 1849, Secondary pages: 0, Filesystem pages = 924
Booting kernel with clean memory configuration:
Memory Sections:
[0] : start: 814c6000, extension: 00001000, length: 00739000
X86Init done, OEMAddressTable = 8023afa8.
Windows CE KernelInit
Tiny Kernel:
Debug Serial Init
SysInit: GDTBase=802be0f8 IDTBase=802c2c40 KData=802cd8000t: 1089,
SrcAddr.wPort: 2048
Windows CE Kernel for i486 Built on Mar 13 2003 at 22:43:26FTP link[1]:
State:3, DestAddr.wPort: 1103, SrcAddr.wPort:
g_PageDir = 802d5000
CEPC Firmware Init
RTC - Status Reg B - 0x02
PCIBIOS:: BIOS Address static map to addr=a00e0000
GetPicRoutingIrqTable: Start
search_pci_bios start
search_pci_bios end fails
GetPicRoutingIrqTable: FAILS!!!
Firmware Init Done.
Looking for rom chain
Rom chain NOT found
Booting Windows CE version 4.20 for
(x86
)
&pTOC = 80225410, pTOC = 80281c40, pTOC->ulRamFree = 802d5000, MemForPT =
000240
00
Old or invalid version stamp in kernel structures - starting clean!
Configuring: Primary pages: 6404, Secondary pages: 0, Filesystem pages =
3202
Booting kernel with clean memory configuration:
Memory Sections:
[0] : start: 802fa000, extension: 00002000, length: 01904000
X86Init done, OEMAddressTable = 802327f8.
Windows CE KernelInit
Thanks in advance,
-Jorden
--
There are 10 different types of people in the world... those who understand
Binary, and those who don't.
Remove "nospam." to reply via email. Tag: TransmitFile Tag: 41900
Creating an image with keyboard and mouse to DBPXA250
I'm having some troubles with the keyboard and the mouse (both PS2). i
created an image including the driver SA11x1 for keyboard and mouse
common. But when i load the image on cotulla, jst appear the pointer
and i can't use any of them....
Did someone have the same problem?
Thanx for the help.
Ps. I'm using winxp and plataform builder 4.1 Tag: TransmitFile Tag: 41897
About RDP Printer
Hi, all:
System: CE.net RDP5.1
I add the RDP printer in the control panel, then I connect to the
Windows2000. I can use the printer in the client to print something. But if
I shutdown the terminal then power on. I connect to the Windows2000 and try
to print something. It will give me some error message like that " can't
print to the port TS001". At this time, I have to log off and re-add the
printer in the control panel, then I can use the printer?
How to deal with it? All your answers will be highly appreciate! Thanks all! Tag: TransmitFile Tag: 41891
memory fragmentation
Hi:
Does anyone have perfomance benchmark information about the memory
fragmentaion in CE.NET?
That means when application allocated a lots of random size blocks and
release randomly, over a certain period. We want to know how bad to
cause CE.NET performance? Some one claimed, "Dynamic allocation was
killer" in embedded realtime system? Is it true if the device had
large enough memory, like 64MB or event 128MB in CE.NET device? We
known that it is a serious factor in old-time when the device did not
have large memeory. But now we are talking over 64MB device. So how
the paging influence the performance in CE.NET?
Does anyone known what kind of algorithm used on CE.NET for memory
allocation, best-to-fit or some one else?
Thanks Tag: TransmitFile Tag: 41883
Intel 82559 Ethernet using DMA
We're building a CE.NET 4.2 image and including the Intel
82559ER ethernet driver (on a Geode based platform).
Everything functions correctly, but our data transfer rate
is slow (we've seen 2X performance when running Linux on
the same platform). One thought is that DMA may not be
properly enabled (can anyone describe precisely how to
verify/correct this?). Another thought is that the port
is somehow being shared as a debug port (which is not
required), or that the interrupt is being shared with a
display driver (but we use only a flat display). Any
thoughts on the subject would be appreciated.
Thanks,
Kevin Tag: TransmitFile Tag: 41880
default web page
Hi,
I am trying to display my asp page when i type in the web address of my
device.
If i call my page default.htm, than it is displayed but if i change it to
env.asp it
comes up with an error message.
I am using the registry settings below
and i have got env.asp set as the default page.
[HKEY_LOCAL_MACHINE\Comm\HTTPD]
;"DefaultDir"="\\"
"IsEnabled"=dword:1
DefaultPage="env.asp;"
[HKEY_LOCAL_MACHINE\Comm\HTTPD\VROOTS\/]
"(default)"="\\windows\\www"
"a"=dword:0
what could be going wrong?
regards
feroz Tag: TransmitFile Tag: 41878
waveOutMessage problems in 4.2
Hi,
I am trying to pass a message from a user app to my MDD/PDD style
audio driver using waveOutMessage in Win CE 4.2. I have tried various
message ids (100+) but all I ever receive back is MMSYSERR_NOTSUPPORTED.
Tracking the problem using debug zones and various debug output, it
seems that the user message gets as far as WAVEAPI.DLL and no further,
so my driver never sees the message.
Is there something I need to do to get the message to be passed
down to my driver?
Jezz. Tag: TransmitFile Tag: 41876
Debugging PreFetchAbort and First Chance Exception 0xC000001C
In the process of trying to get a driver (object form only, no source)
running on my ARMV4-based platform, I get a "First Chance Exception
0xC000001C, Invalid System Service" window pop-up. When I click "ok"
on the pop-up, the debugger stops at a DEBUGCHK(0) on line 1167 of the
objdisp.c file, in the ObjectCall function. The stack at this point
is full of PreFetchAbort entries. When I posted about this a month
ago, Andrew Pearson said I might have a cache clearing problem, but
our platform is simply using the pbuilder-supplied version (presumably
in public\common\oak\csp\arm\sa11x0\cfw.c), as opposed to providing
our own. The rest of our application and drivers and code which run
on this same platform never run into this error, so I'm hesitant to
think it is a cacheFlush issue. Any suggestions on what to try to
figure this out?
Not quite sure how to explain the PreFetchAborts in the stack, but
another possibility is that the driver is trying to call a method in
coredll.dll which isn't there. I have looked in the coredll.def to
try to determine if the methods the driver dll needs (determined with
the use of dumpbin) are there, but am having trouble sorting through
all the conditionals there to determine if each item is actually in
the final dll. Is there some easy way to look at the coredll.dll in
the release directory to determine exactly which methods are really
included there, since a dumpbin /exports on it seems to indicate that
everything is included, which I think is incorrect?
Arthur McNair Tag: TransmitFile Tag: 41875
Remote tools pb 4.1
Hi,
I have a strange behavior with the remote tools in pb 4.1
When I download a debug image and start the kernel tracker all works
fine
until I want to save the collected data to a file. The 'save as..'
dialog comes up, but when i want to enter a filename the kernel
tracker close itself.
Then when i restart the kernel tracker, i dont get a connection cause
my system (the ce-device) hangs.
Has anybody an idea ?
Thanks
Sebastian Tag: TransmitFile Tag: 41873
Application debugging using KITL
Hi everyone,
I'd like to get application debugging going with KITL if I can. First of
all, how do i start up KITL when it's set up as PASSIVE kitl? Is there a
program I can call to trigger the KitlInit function?
Secondly, using active KITL i'm able to download the application and
launch it from EVC++4.0. As soon as CEMON is launched though, it seems
to cause an exception in coredll... has anyone been able to get this
going or come across this before.
Thanks,
Glenn. Tag: TransmitFile Tag: 41870
SDK. BSP
hi,
if i wanna integrate my SDK(source code) with a specific
BSP how can i go abt it...
are there any issues related to it..
thank u
ali Tag: TransmitFile Tag: 41868
TCL for CE.NET 4.1
Hi all,
Does anyone know where I can find a solution for TCL on CE.NET 4.1?
I found a TCLCE project on sourceforge, but it is only for CE 3.0, and
there's no source code there.
Thanks in advance!
Jack Tag: TransmitFile Tag: 41867
PB Catalog Problem
Hi everyone,
I created a project in Platform Builder using the
following BSP :"DBPXA250 Dev:Platform:ARMV4I".
Now in the Catalog view, If I try to add components under
the same BSP, I can't because they are all shadded
out..what gives?
PS
I did make sure I had the right BSP. Thanks for your help. Tag: TransmitFile Tag: 41855
USB Host - Xscale - Ce .Net 4.2
Hey everyone,
My platform is DBPXA255, SA-1111 companion chip and
Windows ce .Net 4.2. I'm trying to get the USB host
Controller running on this guy which no USB Host
Controller drivers are included in the BSP.
So I copied the USB Host Controller files from the old
SA11x0BD platform to the same location under the XSCALE
platform:
WINCE420\PLATFORM\XSC1BD\Drivers\USB\HCD\OHCD2
And I added the source file under a user feature in
Platform Builder and built the image. USB Host still
doesn't work.
Is this the right way of doig it? Is there a better way?
Any help would be appreciated.
Eric Tag: TransmitFile Tag: 41854
Sending URL String From IE to Taskbar
This seams kind of stuped but how can i send the URL in the IE
"DISPID_BEFORENAVIGATE2" message to the taskbar window. I tryed posting a
message with WPARAM =
SysAllocString(((*pdparams).rgvarg)[5].pvarVal->bstrVal), but no go. I
posted under custem message i created from WM_USER+200 to TaskBar window
handler. I get wat appers to be same pointer but empty. Any ideas? Am i
missing somthing simple hear?
Platform Builder 4.2 with syste generated from IA wizard. Testing in
Emulator for CEPC Tag: TransmitFile Tag: 41853
Commercial USB Mass Storage class function driver?
Hi,
Sounds like what I'm looking for might not exist, but I thought I'd check
anyway.
We need our Windows CE .NET device to be a USB Mass Storage class device
when attached to a PC. I.e., it needs to show up as a drive in My Computer.
The USB function hardware is the USB controller built into the XScale.
If anyone knows of a USB Mass Storage class function driver that either
already runs on or can be ported to the XScale running Windows CE .NET I
would sure appreciate the tip. This product could either integrate with or
replace the BSP sample function driver.
If no pre-developed/pre-tested solution exists we would be interested in
contracting with someone that has done this specific task previously.
Please post contact info or email me.
Thanks!
Ryan Melville
rm<REMOVE_THIS>@mn.rr.com Tag: TransmitFile Tag: 41852
Wince USB mass storage driver limitations?
Hi,
Some USB mass storage devices are not working with winCE.NET, any official
explainations from Microsoft?
Thanks
Y/ Tag: TransmitFile Tag: 41851
Adding Stream Interface to NDIS driver in CE 3.0
We are trying to add a stream interface to a PC card's
NDIS driver on a HPC 2000 system (CE 3.0).
I have modified the registry as such...
created key
HKEY_LOCAL_MACHINE\Drivers\BuiltIn\ACGPRS
under which I have placed these entries
"Prefix"="SWI"
"Dll"="acgprs.dll"
"Index"=dword:00000001
"Order"=dword:00000000
However upon soft booting the system, my SWI_INIT
function is not being called and the Active key does not
have an entry for my stream iterface. It does however
load the NDIS interface when the card is inserted. Any
ideas? Thanks! Tag: TransmitFile Tag: 41847
Remote Registry access to CEPC
I have a CEPC set up cloned from the default CEPC. I can download the OS
image to the CEPC and run apps., etc. I have added my own driver to the
platform. I want to check the registry and the file system to make sure it
was included in the platform.
I have run remote registry editor and remote file viewer but it does not
allow me to select my CEPC device. All I can select is STANDARDSDK_420 and
Windows CE.NET default platform.
How do I add my CEPC or get PB to detect it.
Thanks,
Nick. Tag: TransmitFile Tag: 41843
How to compile MIPSIII?
Hi,
I have a platform with MIPS NEC VR 4131 and WCE4.1.
Until now I build it with MIPSII, but I found it too slow and not using the
whole instruction set.
Also, in MS Help it is written that 4131 uses MIPS III ISA.
So, I changed compiler options to:
CDEFINES=$(CDEFINES) /QMmips3
ADEFINES=$(ADEFINES) /QMmips3
But, then I got error:
Command line error D2016 : '/QMmips3' and '/QMmips2' command-line options
are incompatible.
So, I installed support for MIPSIV (there is no MIPSIII option in installing
PB4.1), made new BSP, platform and rebuild everything.
Now I got:
Command line error D2016 : '/QMmips4' and '/QMmips3' command-line options
are incompatible
So, how can I compile MIPSIII?
Thanks for any help,
Dusko Tag: TransmitFile Tag: 41831
InjectDLL in Smartphone 2003
Greeting, All
As we know, InjectDLL was supported on WinCE since
4.0+, and I have successuflly tried this feature on both
base WinCE 4.0+ emulator/hardware and PocketPC 2003
simulator, and my test dll can be loaded into address
space of most processes. But recently, I found this
feature is not fully support on the newly released
Smarphone 2003 SDK emulator.
My problem is my test dll can only be loaded into
home.exe of Smartphone 2003 emulator and some my own made
applications. I guess SP2003 security model may not allow
my dll loaded into other trusted/privileged apps.
Please anybody who knows this give me some kind
clarifications. Thanks in advance.
Bill Tag: TransmitFile Tag: 41830
[Q] Problems with NDIS_802_11_STATUS_INDICATION/NDIS_802_11_AUTHENTICATION_REQUEST on PPC 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0015_01C380E6.8AD600E0
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
We are porting a WPA miniport from XP SP1 to PPC 2003. We are able to =
duplicate MIC failures for testing and are seeing something strange when =
the miniport makes an authentication status indication. It appears that =
once this media-specific indication is made, all activity through the =
stacks halts (i.e., pings are no longer sent through the miniport). This =
does not appear to be an ARM alignment issue since the desktop is still =
active.
As mentioned, this driver is being ported (with no source changes =
required) from XP SP1/NDIS 5.1. We do not see the same issue on XP with =
the driver and the same tests.
Has anyone seen this?
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Peter Gibson
Seabright Consulting, Inc.
peter.gibson@sbcglobal.net
(831) 477-7735=20
------=_NextPart_000_0015_01C380E6.8AD600E0
Content-Type: text/html;
charset="Windows-1252"
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=3Dwindows-1252">
<META content=3D"MSHTML 6.00.2800.1226" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>We are porting a WPA miniport from XP SP1 to PPC =
2003. We are=20
able to duplicate MIC failures for testing and are seeing something =
strange when=20
the miniport makes an authentication status indication. It appears that =
once=20
this media-specific indication is made, all activity through the stacks =
halts=20
(i.e., pings are no longer sent through the miniport). This does not =
appear to=20
be an ARM alignment issue since the desktop is still =
active.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>As mentioned, this driver is being ported (with no =
source=20
changes required) from XP SP1/NDIS 5.1. We do not see the same issue on =
XP with=20
the driver and the same tests.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Has anyone seen this?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT =
size=3D2>=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D<BR>Peter Gibson<BR>Seabright=20
Consulting, Inc.<BR><A=20
href=3D"mailto:peter.gibson@sbcglobal.net">peter.gibson@sbcglobal.net</A>=
<BR>(831)=20
477-7735 <BR></DIV></FONT></BODY></HTML>
------=_NextPart_000_0015_01C380E6.8AD600E0-- Tag: TransmitFile Tag: 41827
need more accurate date -time update
Hello,
I am working on a product where I must display the date and
time accurately on an LCD display and an attached video
monitor. The video monitor has the date and time super-
imposed on the screen via special hardware.
Here is what some have recommended:
while (1)
{
startTickCount = GetTickCount();
GetLocalTime(&Time);
UpdateHardware(); // take value and write to hardware
endTickCount = GetTickCount();
Sleep(1000 - (endTickCount- startTickCount);
}
This worked ok until I start writing data to the harddisk.
As a result, the Sleep time was no longer accurate.
Is there a way to hook the system time update software so
I can run my code consistently on a system time change?
Thanks,
Brian Tag: TransmitFile Tag: 41816
Compiling with emVc++ 4.0 question.
Coming from the regular VC++ and VS.NET world with the NT DDK, I am
acustomed to using the command line to build drivers. VCVARS.BAT and all
that sets up the DDK environment so I can run 'build -cef' and voila, my
driver is built.
I don't see anything like that in PB.
As I understand it, since there is no 'kernel mode' in CE, a driver is
nothing more than a DLL, some registry entries, and an exposed interface. I
expected that I could then use either PB or emvc++ to compile the dll.
I seems that the dll can be compiled either from PB as part of the platform
build or from r-clicking the feature and choosing build selected features.
I would prefer to use emvc++ as the environment because I can use all the
class, file, resource, features of this tool to help visualize the code
architecture during development.
So, can emvc++ be used in this way?
Do I need to manually convert the sources file to an emvc++ project file?
Is there any benefit from using emvc++ over PB (or vice-versa)?
Does PB and emvc++ use the same compiler or do they each have a compiler?
Thanks,
Nick. Tag: TransmitFile Tag: 41812
.NET program and serial port
Hi,
I'm working on a program written in .NET 2003 for a CE.NET 4.2 device, which
was built with PB. That program must use serial port COM1. During
development I noticed that something (CE.NET or maybe .NET itself!!!) write
additional strings on serial port COM1 while my program manages a valid
handle!
For example, if write on serial port "this is my message" what I receive
from the other end of the cable is:
Exception 00d Thread=83847bf0 Proc=e38f2fa2 'Compass.exe'
AKY=00000801 PC=000536c5 ESP=1803f69c EA=00000000
this is my messageAKY=00000801 PC=00067552 ESP=1803f69c EA=00000000
Exception 00d Thread=83847bf0 Proc=e38f2fa2 'Compass.exe'
'Compass.exe' is the program that I'm writing. The messagges appear to be
tracing message but I'm not notified of that exception from VS.NET. Maybe
same tracing tools should be disabled during platform generation!?
Someone can help me?
Thanks in advance! Tag: TransmitFile Tag: 41807
Emulator locks up
Morning all,
In house we have built an emulator image that our QA
group is loading to run tests against our software with.
This works great most of the time. We have had 2
instances though where we've uninstalled the Platform's
SDK and reinstalled it only to find that the emulator
will not come up afterwards. It comes up to a black
screen.
I've tried 'cleaning' the registry of any potentially
left over entries, looked for rouge files left around
from previous installs, etc. Nothing can bring the
emulator back up on that machine.
What am I missing? What can I do to get the emulator
to come back up?
Regards,
Greg
. Tag: TransmitFile Tag: 41805
Launch a kernel problem
Hi,
I have a kernel nk.bin, and wanna to launch it.
After the nk.bin is downloaded from PB to the target,
it is written to the flash and the OEMLaunch function
is called. Subsequently, the boot loader is waiting for
a Host connection in function "EbootWaitForHostConnect".
But it seems that the boot loader doesn't receive any
information (EDBG_OS_CONFIG_DATA structure) from the PB.
Does this mean that the boot loader is polling, while the
PB is not sending EDBG_OS_CONFIG_DATA structure?
How can I fix this problem?
Thx!
PN Tag: TransmitFile Tag: 41804
WNetOpenEnum fails
Hi am stuck with this problem for quite a while now. Has
anyone used WnetOpenEnum on Windows CE .NET?
My code look like follows and GetLastError always returns
87 (Parameter is incorrect.) Can someone point out as to
what am I doing wrong?
Thanks in advance.
BV
int main (void)
{
HANDLE hEnum = NULL;
// first call, enumerate all resources (including
containers)
// starting at the root of the network
if (WNetOpenEnum (RESOURCE_GLOBALNET,
RESOURCETYPE_PRINT, 0, NULL, &hEnum) != NO_ERROR)
{
_tprintf (L"Error enumerating resources: %
d\n", GetLastError());
return -1;
}
// Initiate recursive enumeration through all
containers
DisplayResources (hEnum);
// Close enumeration
WNetCloseEnum (hEnum);
return 0;
} /* main */ Tag: TransmitFile Tag: 41802
[Q] PXA255 & WinCE.Net 4.2 : IrDA has problem?
Hello anybody,
I am porting WinCE.Net 4.2 to PDA.
PDA spec.:
CPU : PXA255
OS : WinCE.Net 4.2(Platform Builder 4.2)
But, I have problem in IrDA(using STUART : SIR mode).
When I send data(anyone), receiver(proved the other device) received one
more character(0xff) at last.
At HW_XSC1_TxIntrEx(...) in xsc1_16550.c, I inserted RETAILMSG in front of
OUTB(...).
RETAILMSG displayed correct message I sent. Absolutely, function doesn't
send '0xff'.
Who does send '0xff'?
Does serial driver(about Ir mode) in PB4.2(XSC1BD) have probelm?
Let me know where do I modify?
Thanks. Tag: TransmitFile Tag: 41801
Remove/Disable NetUI from eVC++
Hello
I am trying to develop an application using eVC++, that will create an
802.11 network.
At the moment I have winCE 4.0 (Image created by 3rd Party suppliers)
that creates and controls(?) the NetUI.dll and the Systray Icon and
associated dialogs - Zero Config etc...
Is it possible from within eVC++ to disable, or even remove, the NetUI
such that WinCE will not try to join WLAN's.
At present I have an app that allows me to select adapters, scan
networks, select a network, but whilst no errors are reported I cannot
join a new network using my application, I have to use the NetUI dlgs.
For the future I will need to determine and create a network as
opposed to searching for and joining a network.
Is this possible from eVC++ or will I need to go back to our HW & PB
Image suppliers and get an upgraded image that will allow me to do
what I require?
I hope the question is not to vague.
Thank you
Chris Tag: TransmitFile Tag: 41799
ras-file for usb activesync connection
Hi,
I'm trying to get ActiveSync over USB on WinCE 4.2 running. When I try to
create a new connection using connmc.exe all controls are disabled. So I
tried to create a rasbook-entry using rasentry.exe from
PUBLIC\COMMON\OAK\DRIVERS\NETSAMP\RASENTRY
How would a working .ras-file for rasentry.exe look like for an USB
ActiveSync connection? What should be used as values for DeviceType and
DeviceName?
Thanks,
Christian Tag: TransmitFile Tag: 41793
What is special about address 0xCCCCCCCC?
Hi,
I'm investigating some boot-up problems with a Tiny Kernel CE.NET 4.2
platform. I get an access violation when some code in shell.exe (shell.c
line 1129) tries to access a memory location 0xCCCCCCCC, which looks like a
special address value to me.
Can anyone tell me what significance this value has? The exception occurs
in a loop, but it is looking for NULL as its termination condition.
Thanks for your help.
Matthew
Senior Software Engineer
IRIS Corporation Bhd Tag: TransmitFile Tag: 41792
SDK..platform builder
hi,
i hace a third party SDK and i wanna use it with my
platform builder4.2..
how can i use it , to develop appplications on platform
builder
thanx
ali Tag: TransmitFile Tag: 41791
How to lose the desktop?
I didn't want to see the desktop when system start,and I will run the other
Dialog.How to hide the disktop or don't boot the desktop when system
start?My platform = wince.net + pxa255 Tag: TransmitFile Tag: 41789
[isph] Bootloader with bin file in Flash.
I'm modifying my bootloader so that it will copy a bin file from FLASH to
RAM, and then jump to it. However, I've found that just jumping to the bin
file doesn't work. (It did in the case of an nb0 file. Of course, that makes
sense, but is there an easy way to parse the bin file so I can use my image
this way..??
From reading the posts, I guess I probably need to use a bin file to
license my image. Hmm.. Any suggestions for creating a bootloader would be
welcome.
Thank you..^^
PCE.. Tag: TransmitFile Tag: 41784
transcriber not compatible with ChangeDisplaySettingsEx()
Hi,
We see that the transcriber of CE.NET 4.2 does not adjust to changed
rotation settings issued via the ChangeDisplaySettingsEx() function. When we
write on the screen it still draws according to the old screen orientation
that we booted with. Transcriber should be fixed for this in our opinion by
MS.
Does anyone have a quick patch available ? I'll go study the source now but
if someone already encountered the problem, it would be cool if you could
share that with us.
Thank you,
Ronald Tag: TransmitFile Tag: 41782
Bridging Issue
My setup is follows:
1. Netgear MR814 802.11b router connected to comcast directly.
2. Notebook with 802.11b configured to use the above router
The notebook is also Bluetooth enabled.
I wanted to bridge the 802.11 and BT (IP over BT- PAN) connection).
After I enable bridging, I couldnt access the Internet any longer.
Even when the BT IP connection didnt exist.
Any ideas?
Thanks
/kmk Tag: TransmitFile Tag: 41777
Why project must be "rebuild" but not "build" when the content of config.bib is modifed?
Why project must be "rebuild" but not "build" when the content of config.bib
is modifed?
I think PB4.1 use the content of config.bib during making image phase. So if
I modify the config.bib, I just rebuild or make image the project.
At fact, when I changed the sentence below:
RAM 8208D000 01BFFFFF RAM
to:
RAM 8008D000 03BFFFFF RAM
I must rebuild the project to produce a new result. Tag: TransmitFile Tag: 41776
Is this supported in CE 4.2? If so, what are the libraries and include
files.