newbie question: bootable OS image
Hi,
I built a platform builder project for "PDA or Mobile Handheld", then I
downloaded the 'nk.nb0' file (from release directory) to my development
board (DBPXA250), but my development board didn't started the Windows CE.
How could I create a bootable WCE image?
I would like to use the JTAG cable to write my OS image and then restart my
development board and then see the WCE running.
thanks in advance.
--
Edgard Lima Tag: QFE question Tag: 38840
WMI
This is a multi-part message in MIME format.
------=_NextPart_000_0019_01C355A4.9C790440
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Is WMI supported on any CE/PPC platform? If not, are there any plans to =
support it in the future?
------=_NextPart_000_0019_01C355A4.9C790440
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.1170" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Is WMI supported on any CE/PPC platform? If not, are =
there any=20
plans to support it in the future?</FONT></DIV></BODY></HTML>
------=_NextPart_000_0019_01C355A4.9C790440-- Tag: QFE question Tag: 38836
PB 4.2 ignoring BOOTME requests
So I've finally got my bootloader sending bootme broadcasts over the network
(tested with a packet sniffer and contents look sane) but PB 4.2 just says
"Waiting for BOOTME" . The device name appears in the list of Available
Devices for download, but PB seems to be ignoring the bootme requests. The
network setup is reasonably simple - the dev board and the second network
card in my PC are connected via a hub. Is there any extra logging
information that might help me locate the source of this problem?
Many Thanks,
James Tag: QFE question Tag: 38834
NDIS EnterCriticalSection DEBUGCHK in CE 4.2 - HELP!
Hey guys. I've been dealing with this problem for a while now, hoping that
it would somehow get fixed. Unfortunately, it's still a problem for me, and
it's getting more annoying and more troublesome as time goes on.
Here's my original post on the subject:
http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&threadm
=3f030f26%241%40news.microsoft.com&rnum=8&prev=/groups%3Fq%3DMurawski%2Bgrou
p:microsoft.public.windowsce.platbuilder%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe
%3DUTF-8%26safe%3Doff%26scoring%3Dd%26selm%3D3f030f26%25241%2540news.microso
ft.com%26rnum%3D8
Here's a post from Steve Maillet where he lists it as bug #7 in his list of
known CE 4.xx bugs:
http://groups.google.com/groups?q=Maillet+group:microsoft.public.windowsce.p
latbuilder&start=90&hl=en&lr=&ie=UTF-8&oe=UTF-8&safe=off&scoring=d&selm=eB72
YpWQDHA.2316%40TK2MSFTNGP12.phx.gbl&rnum=97
Basically, what's happening is this. When I have a PCMCIA card in my device
at cold boot, NDIS occasionally hits a DEBUGCHK in the kernel when trying to
enter a critical section that has never been initialized. Since I don't
have access to NDIS code, I can't really tell what's going on, but the call
stack looks like this:
<stack dump>
COREDLL!EnterCriticalSection(CRITICAL_SECTION * 0x01fd98c0
PcmciaMemListLock) line 90 + 76 bytes
NDIS!mapAllWindowsForHSock(_CARD_SOCKET_HANDLE {...}, int 0x00000001, int
(_NDIS_PCMCIA_WINDOW *)* 0x03d6a954 npwMapToDevice(_NDIS_PCMCIA_WINDOW *))
line 478
NDIS!PcmciaCallBack(unsigned int 0x00000040, _CARD_SOCKET_HANDLE {...},
_CARD_EVENT_PARMS * 0x080afdf0) line 620
PCMCIA!CallClient(unsigned int (unsigned int, _CARD_SOCKET_HANDLE,
_CARD_EVENT_PARMS *)* 0x00000000, unsigned int 0x01fa8aa0,
_CARD_SOCKET_HANDLE {...}, _CARD_EVENT_PARMS * 0x00000000, _CLIENT_DRIVER *
0x2dfa5fda) line 600 + 24 bytes
PCMCIA!CallbackThread(unsigned int 0x00000000) line 910 + 56 bytes
COREDLL!ThreadBaseFunc(void * 0x03a6aecc CallbackThread(unsigned int),
unsigned long 0x00000000) line 418 + 16 bytes
</stack dump>
Unfortunately, this problem is probably much more serious for me than it is
for most CE platforms. Our device ALWAYS has a PCMCIA card in it, and it
goes through a cold boot quite often. I seem to hit this problem almost
every time my platform boots. To make things worse, about 50% of the time
when it happens, and I try to run past the DEBUGCHK, I hit another critical
access violation in NDIS. (I guess there's a critical section somewhere for
a reason!)
Does anyone have any new information on this problem? Any suggestions on
what I should do? I've been dreading trying to call Microsoft about it
directly. I haven't had much luck trying to describe problems of anything
beyond trivial technical complexity with the first one or two levels of
technical support. Should I suck it up and put in a call on this one?
Thanks in advance guys.
Mark Murawski
Vocollect, Inc. Tag: QFE question Tag: 38827
Batch build makeimg wince300
Hello,
I am trying to configure a command line build for our project under WinCE
3.0. I want to be able to make an image of my platform (from the build
directory) without having Platform Builder installed. We want this
particular configuration, so that the application programmer in our firm
will be able to build new images without having to install PB (since they
won't use it anyway).
To realize it, I copied the build directory of my project (which have the
files generated after the the buildrel phase) and I've created a bat file
which contains set all the necessary variables and path. I also copied the
C:\WINCE300\PUBLIC\COMMON\OAK\BIN\I386 (to be able to use makeimg.exe and
the programs needed to create the image).
To use this package, I copy all the files in c:\wince300Img and then I run
my batch file to set the variable and then I called makeimg to build the
image.
I test it and it works great on a computer with PB 3.0 already installed,
but It doesn't work on my test machines which don't have PB installed (which
is my goal!)
On my test machines, the makeimage build stop always after the InitRegistry
phase, and before it copies nknodebug.exe to nk.exe (I know that before I
compared it with a "working" make image).
Here's a snapshot:
(...)
InitRegistry Finished (875 lines).
MAKEIMG: localization SKIPPED since COUNTRY is unchanged
Windows CE ROM Image Builder v3.0 Copyright (c) 1995-2000 Microsoft
Corporation
Failed romimage c:\WINCE300Img\rev_5_16\release\ce.bib
Failed romimage c:\WINCE300Img\rev_5_16\release\ce.bib
I really don't understand what I am doing wrong. I must be forgetting a
setting somewhere. I checked and re-checked all the system variables
between my test machines and my machine with PB and everything is the same.
I also try to copy the PB directory (and adding it to my path and CEPBDir
variable) to one of my test machine to check if maybe a file was needed
there... but I also had no luck.
Here's the list of the system variable that I am setting in my batch file.
rem -----------------------
rem Environment Settings
rem -----------------------
SET DRIVE=c:
Set ComSpec=C:\WINDOWS\system32\cmd.exe
Set COUNTRY=USA
Set IMGNODEBUGGER=1
Set _HOSTCPUTYPE=i386
Set _TGTCPUTYPE=MIPS
Set _WINCEROOT=%DRIVE%\WINCE300Img\rev_5_16
Set _PUBLICROOT=%_WINCEROOT%
Set _FLATRELEASEDIR=%_WINCEROOT%\release
Set BIRCH=1
Set BUILD_DEFAULT=-e -w -nmake -i
Set CEPBDir=C:\Programme\Windows CE Platform Builder\3.00
Set COUNTRY=USA
Set HOMEDRIVE=C:
Set HOMEPATH=\
Set IMGFLASH=1
Set IMGNODEBUGGER=1
Set MAXALL2_NOCURSOR=1
Set USE_DBGSER=NONE
Set WINCECOD=1
Set WINCEDEBUG=retail
Set WINCEMAP=1
Set _CURSLMTREE=pnt
Set _DEPTREES=winceos msmq ie wceshell wceshellfe wceapps wceappsfe
Set _PLATFORMDRIVE=C:
Set _TGTCPU=R3000
Set _TGTCPUTYPE=MIPS
Set _TGTOS=CE
Set _TGTPLAT=puvplat
Set _TGTPROJ=puvprog
Set _WINCECALLED=1
Set _WINCEDRIVE=C:
Set _WINCEEXTERNAL=1
Set _WINCEOSVER=300
Set MYPATH=%PATH%
SET PATH=%PATH%;c:\WINCE300Img\rev_r5_6\release\bin\i386\;
This solution already work for the wince212 version of our project, the
batch file was greatly inspired from there (maybe this is the problem...)
If someone has any clue, I would apreciate it!
Thanks,
Jean-François Thibeault Tag: QFE question Tag: 38824
How PDA Defence works?
Hi,
I downloaded win ce 3.0 PDA Defence evalution software and installed in my
device. I would like to know the implementation logic of safe folder bcoz i
tried to look into the registry setting any FSD is assosiated to the safe
folder, but couldn't find any such entry.
I would be glad if someone tell me how the PDA Defence safe folder been
implemented.
rgds
GP. Tag: QFE question Tag: 38807
Multicast problem (high Packet loss)
I am using windows CE 4.2. I am testing Streaming Media using Windows Media
Player which is Multicasted from a media server. I am testing on 2 types of
X86 targets, one was build by our hardware engineer (lets say embedded
bord)and other was VIA make. Both had exactly same components. When i am
testing (playing) a multicast media on embedded board there is a packet loss
of 20% with in the same network. But when i am testing on VIA board which is
also on the same network these is a packet loss of 70%.( a bit surprising).
In the case of TCP (unicast) both are working fine.
I know it is not good to ask you all, What is the exact problem. But i need
all of your suggesions in regard, where can be the problem.
IS it the software problem? OS is same, all the drivers are same and of the
same version. The only difference is on the target board i am using VIA CEPC
and on the VIA board i am using MS CEPC.
IS it the hardware problem? Both have the same Ethernet and more over in the
case of Unicast (TCP) they r working fine.
Is it the problem related to buffers? is there any way to increase the
datagram buffers in CE 4.2. If i am developing my own application to play
the media i can increase using some APIs. But i need a genaric one.
Can all of you please give ur sugg. in regarding this problem. Tag: QFE question Tag: 38803
Future of Data Access on Windows CE?
Hi all,
I have been reviewing articles on this newsgroup with regard to the
use of ADOCE and CE.NET platform.
The result of this review is that Microsoft recommends that for future
development that ADO.NET be used for data access.
I find this position problematic for headless devices.
Currently, we use ADOCE to access an OLEDB driver for a third party
from ASP pages on a headless device.
Microsoft's stand is that we should move to ADO.NET.
There are two problems with this for our targeted system.
1) ADO.NET requires the .NET Compact Framework and this is only
available on devices with display.
2) The addition of the .NET Compact Framework to the OS takes valuable
resources when it is really not needed for anything else.
I understand that Microsoft have a strategy for rolling out .NET
Framework and incorporating Windows CE into this framework, but I
think that they may have dropped the ball on this one.
When embedded devices are being developed there are many tradeoffs
made between cost and functionality - this is true whether the device
has a display or not. But being forced to add the .NET Compact
Framework because we wish to have database access from the Web Server
(for example), seems a bit heavy handed IMHO. It also (currently)
mandates a device with a display.
I think that some thought needs to be put into the realm of headless
devices and the functionality that they require.
What do others think?
Maybe we can get Microsoft to re-assess this situation for the future.
Regards,
Brian Tag: QFE question Tag: 38801
migrate from 3.0 to 4.2
Now that I have finished work on wince 3.00 and is working on our platform
and is stable :0)....We are moving to wince.net 4.2.
Our BSP is based on the intel_sa1110_assabet. From what I have read
The Intel SA1100/SA1111 (Assabet) Development Kit is no longer available for
purchase. Therefore, the BSP for this hardware platform is not included in
Platform Builder 4.2 and is no longer supported. If your development
platform requires the Intel SA1100/SA1111 (Assabet) Development Kit and the
platform directory for testing or other purposes, you can use the BSP for
the Intel XScale DBPXA250 Development Platform, which has been enabled to
support ARMV4 builds, or you can use another suitable BSP from a third-party
vendor. However, Platform Builder 4.2 still supports the Intel SA1100/SA1111
(Assabet) Development Kit CSP drivers for the integrated peripherals on the
SA1100 CPU or the SA1111 CPU companion chip. Refer to
%_WINCEROOT%\Public\Common\Oak\CSP for these drivers.
I'm confused, as far as I understand from the above once I have installed
wince 4.2 (I am doing this tomorrow) I can install the ARMV4I option (I'm
not installing ARMv4) I can build code for the SA1110 StrongArm.
Can I copy the Intel_sa1110_assabet BSP from wince 3.00 and build an image
to run on the assabet, it would be useful and would provide immediate
feedback.
Or will I have to take the Intel Xscale DBPXA250 and integrate/cobble in our
drivers, oal, bootloader etc..
I don'y have a feel for how much work is involved, is it weeks or months....
Any advice would be appreciated
Regards
Tariq Tag: QFE question Tag: 38799
SIP disable
Hi,
On our platform, the user will typically have a keyboard. Usually, this
keyboard is a full ASCII and numeric unit, so there's no need for a SIP.
However, there are situations where a user might have only a numeric
keyboard and want the SIP for rare alpha input (an operator's name, maybe,
entered once per day).
So, I don't want the SIP popping up, by default, any time an EDIT field is
selected, but I don't want to completely remove SIP support. My initial
strategy for this was to implement my own SIP, which would be the default.
This default SIP would do nothing (no window popup, no resizing of dialogs,
etc.) When this SIP was selected, then, it would be very much like having
no SIP at all in the system (design goal #1 met). However, the user (or the
user's application), could change the active SIP, if it wanted SIP input,
and could then easily pop the SIP up or down at the right times (design goal
#2 met).
However, it turns out that none of the logical ways I tried to implement
this SIP will cause this to happen. I've tried having the SIP return E_FAIL
from its Select() method. This causes the SIP not to have a UI, but also
seems to disable the other SIPs from doing anything. I've tried returning
error codes from other methods, also. I've tried having the Showing()
method call various of the APIs available to the SIP, asking that it be
closed, but this doesn't work correctly (the frame window around the SIP is
still displayed, although it has no client content). I've also done this
for the Select() and other methods.
Since I don't have source for the SOFTKB component, I'm out of ideas as to
how to achieve my goals. Does anyone know of a DeviceIoControl() for the
SOFTKB driver, other API function, a registry entry, or insider's trick that
will allow me to either prevent the SIP from appearing, or cause it to
immediately pop back down without disabling SIP input completely?
Paul T. Tag: QFE question Tag: 38793
File system root on hard disk
I have a cepc nk.bin built with the RAM and ROM file
system and hive based registry storage on the Hard Disk
that works great.
I now want the root of the object store to be mounted to
the hard disk so programs, shortcuts, etc. will be
preserved though reboots.
To do this I replaced the RAM/ROM file system with the
ROM only file system from the catalog. I also changed the
mountflags for HDProfile\FATFS to the following:
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\HDProfi
le\FATFS]
"EnableCacheWarm"=dword:0
"MountFlags"=dword:E
I created the windows directory on my hard disk and
copied all of the items from the release directory that
appeared in the FILES section of my ce.bib.
This boots successfully and runs with the following
issues:
The control panel is empty.
File explorer is missing icons for some of its buttons.
The start menu is empty past the first tier.
Is there a section of files that I am failing to copy
over, or a step that I am missing? Many of the shortcuts
that are missing appear in initobj.dat is there something
that needs to be done to that file?
Is this the best way to go about this issue? I like the
neatness of copying one file to upgrade the system
instead of all the files listed in the files section like
the RAM build, however cold boot retention is a must have. Tag: QFE question Tag: 38777
how to build a stand alone CEPC? - booted from Hard Disk?
I followed the "How to ..." to build a CEPC booted from
hard disk. Everything runs OK except the last step -
Remove the boot floppy disk from the CEPC, restart the
CEPC, and then verify that the OS image boots on the
CEPC.
The CEPC hanging there - 1 cursor blinks at the top left
corner - forever!
If I disable KITL and rebuilt after the change. I can
find the nk.bin in RelDir\CEPC_X86Release.
BUT, after download, no Release directory in CEPC. So I
do not know where the nk.bin located and how to copy it
to the hard disk? Tag: QFE question Tag: 38770
Error: failed PB timebomb check
Hi,
I try to do a rebuild all (and I did also rebuild all with
enable deptree) and I got this error:
makeimg: Check for
F:\WINCE410\MIRANDA\ALTO_B~1
\RelDir\NATIONAL_GEODE_X86Debug\PreRomImage.bat
to run.
makeimg: run command: romimage
F:\WINCE410\MIRANDA\ALTO_B~1
\RelDir\NATIONAL_GEODE_X86Debug\ce.bib
Error: failed PB timebomb check
makeimg: FATAL ERROR: Command returned non-zero exit code
1 (dec).
makeimg: FATAL ERROR: Command returned non-zero exit code
1 (dec).
Error PB2505: Error executing
#(F:\WINCE410\MIRANDA\ALTO_B~1
\RelDir\NATIONAL_GEODE_X86Debug\)makeimg.exe.
The platform builder I have is not an evaluation copy. I
have a full license....
Any ideas why do I get PB timebomb check?
Thanks!! Tag: QFE question Tag: 38764
NIC lost after reboot.
I have implemented a hard reboot function like this in a
aplication
SetCleanRebootFlag();
KernelIoControl(IOCTL_HAL_REBOOT, NULL, 0, NULL, 0, NULL);
This seems to reboot the CEPC fine, exept that the two
network cards are not initialised. If I reboot by
switching off and on everyting is ok.
I use the CEPC with hive based registy on a x86 with IDE
hard drive. The NIC uses the RTL8139 driver. Tag: QFE question Tag: 38756
Urgent - RDP protocol error in CE 4.1
Dear Greats,
Already i posted one mail regarding the same below problem.
We are using Windows CE Platform builder 4.1 with RDP builded. We are
having ThinClient configuration. We leave the RDP connection for more
than 9 minutes. Then the RDP session disconnects saying the Session is
disconnected due to some protocol error.
We have checked that any server side configuration is wrong. With the
same server CE 4.0 client is working with our any problem.
If their not inputs from Client side to Server side, session is
getting closed. This is a big problem.
I think, If their is not inputs (Keyboard / Mouse ) from client to
server, that client side socket are some thing is getting closed.
Is this a bug. can any one help me. This is very urgent.
With regards,
avkumar Tag: QFE question Tag: 38748
EARN$£$600\week downloading free software
http://131695.PlugUsIn4Cash.com
We know it sounds TOO good to BE true, but it?s REAL!
Our International Technology firm will pay you hard cash
each time FREE software is downloaded.
Best of all you will only have to download ONE piece
of software ONE time for FREE and you can be on your way to earning BIG!
FIND OUT MORE BY VISITING
http://StevenBrown1.PlugUsIn4Cash.com/ Tag: QFE question Tag: 38746
whether the wince surpport hard disk
hi,
I am using the pxa255 to develop my platform.Because I want to use the
hard disk or CD-Rom as the input peripheral equipment, I am going to add a
IDE controller to my hard platform, but I am wondering if the wince4.1
support the file format of hard disk or CD-Rom? If wince4.1 supports the
function, how should I write the IDE controller driver,I mean what is the
interface of the IDE driver MDD layer and PDD layer ,and if the file system
of wince4.1 should be modify to adapt my requirment? Where can I find the
driver example of wince4.1?
thanks in advance an very much Tag: QFE question Tag: 38741
driver for data acqusition board on PCI bus works in debug kernel, but not in retail kernel
Hi, I have successfully wrote and built a stream interface driver that
interface with my data acq. board on the PCI of a CEPC. I have been doing
all the work in debug version (the driver (dll) and the test program, and
the OS). I was able to get everything working. Then I rebuilt the driver in
retail mode. And I also built the release version of the kernel. Then when I
run my test program, which subsequently tries to open my device using:
CreateFile(TEXT("DAC1:"), GENERIC_READ|GENERIC_WRITE, 0, NULL,
OPEN_EXISTING, 0, NULL);
It failed. It gives me error code 55. I have attached the system monitor
tool from eMVC, and I can see that DAC1 is one of the device on the system.
I also put in debug messages in the DAC_Init() of my dll, and I can see that
it gets called properly, and does all the IO and memory mapping properly.
However, it seems like the problem is with CreateFile(), and somehow it
thinks that the device does not exist on the system.
Any help would be appreciated. Oh, btw, I'm relying on the PCIbus driver to
load my board. It worked perfectly in the debug version. Just when I switch
to retail version, it fails.
Joseph Tag: QFE question Tag: 38734
CEPC on Secondary IDE
Good day,
The motherboard I have has a 40pin IDE interface for primary IDE Channel. I
have a 44 pin IDE interface on the secondary IDE Channel. How do I configure
the CE.Net image to recognize the secondary IDE as a Harddisk inorder for
the user to store persistent data?
Please advice
Thanks
Brandon Tag: QFE question Tag: 38725
Problem mapping physical address (0xC0000000) on Arm Integrator
hi,
I posted this message before (through google) but it's seem like it's
appears only on google I can't see it using my newsreader so I repost it
again
here it's go :
I have a device with memory registers in physical address 0xc0000000,
for which I am porting a driver from Linux to CE 4.2 using PB. The
device is connected to the logic module stack on an Arm Integrator
board running ARM920T CPU.
I have tried mapping this memory into virtual address using the
following:
....
addr = 0xc0000000;
PHYSICAL_ADDRESS mapped, port = {addr, 0};
ULONG inIoSpace = 0;
PUCHAR ioPortBase;
if (!TransBusAddrToVirtual(Internal, 0, port, size, &inIoSpace,
&mapped))
printf("Error translating I/O Ports.\r\n");
...
Debugging into TransBusAddrToVirtual showed that the debugger was
disconnected inside the call for VitualCopy (in MmMapIoSpace).
The Linux driver maps (by ioremap) and uses this address successfully.
Does anyone know what could be causing this problem?
I tried also to statically map this address by modifying
OEMAddressTable (after finding out that CreateStaticMapping function
isn't implemented on Arm), but couldn't access VA_TEST.
...
VA_TEST EQU 0xa5000000 ;first availble after VA_SC_BASE
EXPORT OEMAddressTable[DATA]
OEMAddressTable
...
DCD VA_TEST, 0xc0000000, 1
...
;
; End of Table (MUST BE ZERO!)
;
DCD 0, 0, 0
AFAIK, there is no need for static mapping, using
TransBusAddrToVirtual should do the job for any user-mode driver.
Any help will be appreciated,
Ilya. Tag: QFE question Tag: 38713
Unexpected GPEBltparms
I'll throw this out to see if anyone has comments. The two
arrows use for forwards and backwards in the windows
explorer generate 1bpp-source blts on my 16-bpp video
driver.
What tripped me up was that they generate a rop4 of 0xb8b8
which is PSDPxax but the brush pointer is NULL. I was
thinking that checking the brush pointer for NULL would
limit me to the rop4 codes that don't involve a brush, but
evidently not.
What is the assumed brush if one is not given as part of
the GPEBltParms structure ? Tag: QFE question Tag: 38705
SOURCES Linker
HI
I have built a dll using the platform builder wizard (pbp file).
Project-Settings then select the Link Tab, and in the box labeled Project
Options I have the following
commctrl.lib coredll.lib bcrapi.lib /nologo
/base:"0x00100000" /stack:0x10000,0x1000
/entry:"_DllMainCRTStartup" /dll /incremental:no
/pdb:"sa1100rel/BCRhandler.pdb" /debug
/nodefaultlib:"$(CENoDefaultLib)"
/out:"sa1100rel/BCRhandler.dll"
/implib:"sa1100rel/BCRhandler.lib"
/subsystem:$(CESubsystem) /align:"4096"
/MACHINE:ARM /SECTION:shared,rws
I can now build the same dll using Sources file. I can't figure out how to
add /SECTION:shared,rws to my sources files, this is absoulutly necessary
if the code is to work.
I have tried adding the following to the sources but it doesn't have the
desired affect
CDEFINES= $(CDEFINES) /DBCRHANDLER_EXPORTS SECTION:shared,rws
or
CDEFINES= $(CDEFINES) /DBCRHANDLER_EXPORTS /DSECTION:shared,rws
Regards
Tariq Tag: QFE question Tag: 38679
SOURCES
HI
I have built a dll using the platform builder wizard (pbp file).
Project-Settings then select the Link Tab, and in the box labeled Project
Options I have the following
commctrl.lib coredll.lib bcrapi.lib /nologo
/base:"0x00100000" /stack:0x10000,0x1000
/entry:"_DllMainCRTStartup" /dll /incremental:no
/pdb:"sa1100rel/BCRhandler.pdb" /debug
/nodefaultlib:"$(CENoDefaultLib)"
/out:"sa1100rel/BCRhandler.dll"
/implib:"sa1100rel/BCRhandler.lib"
/subsystem:$(CESubsystem) /align:"4096"
/MACHINE:ARM /SECTION:shared,rws
I can now build the same dll using Sources file. I can't figure out how to
add /SECTION:shared,rws to my sources files, this is absoulutly necessary
if the code is to work.
I have tried adding the following to the sources but it doesn't have the
desired affect
CDEFINES= $(CDEFINES) /DBCRHANDLER_EXPORTS SECTION:shared,rws
or
CDEFINES= $(CDEFINES) /DBCRHANDLER_EXPORTS /DSECTION:shared,rws
Regards
Tariq Tag: QFE question Tag: 38675
DLL build problem
hi all,
I'm trying to make a DLL having a couple of methods and
returning an integer value to my caller application. It
should work in my Win CE.NET 4.2 device under ASP web
pages.
I haven't been able to make this work. Thus need help.
First I used eVC++ 4.0 to create the DLL and downloaded
it to my device, after which the LAN drivers mystically
disappeared from my device and I was not able to test the
ASP site. Additionally, the device hung after a few
seconds.
I also tried to reconstrct the DLL project in Platform
Builder 4.2 by inserting a new empty DLL project and
recreating the same files that I used in my eVC++
project. This however gave and error message like
...
oleidl.idl
Error PB2505: Error executing midl.exe.
and I have no idea of how to fix this. It must have
something to do with the .idl file, but dunno what.
Please help me with one of my problems.
Mike Tag: QFE question Tag: 38665
SOURCES
Hi
I am building a retail build, but it would be useful if I could modify the
SOURCES file for one of the components to force it to build a debug version
of itself.
Is there any way I can do this. I have tried using the following CDEFINES=
$(CDEFINES) -D_DEBUG in the sources file but it still builds a retail
version of the dll.
Any advice would be appreciated
Regards
Tariq Tag: QFE question Tag: 38660
SYSGEN_STOREMGR disappearing from environment
This problem happens with both CE 4.1 and CE 4.2
We have a platform (based on Residential Gateway) that includes the Storage
Manager component. When the project is first created it builds fine. At
some point after the projects builds a few times the build will break being
unable to find FSDMGR.LIB. This FSDMGR.LIB component requires the
SYSGEN_STOREMGR environment variable to be defined. When I open a build
command prompt and do a SET SYSGEN_ the STOREMGR is no long part of the
defined environment. Yet, if I look at the project window the Storage
Manager is listed as being included in the project. Sometimes I can just
delete the Storage Manager from the project and drag it back over from the
catalog, this fixes the problem for a while. Other times, it says the
Storage Manager is in use and won't let me delete it. In either case if I
try to define SYSGEN_STOREMGR in the Settings.../Environment dialog it says
that the environment variable already set and won't let me set it.
Something is clearly broken and is costing us huge in down time for our
developers.
Any ideas what might be happening here?
Mark Moeller Tag: QFE question Tag: 38655
Is there any usabel WTL port for Windows CE .NET 4.x?
Hi!
I am trying to build my application with WTL.
But I cannot find any stable WTL port for Windows CE .NET.
Is there one in the world? Tag: QFE question Tag: 38651
Problem mapping physical address (0xC0000000) on Arm Integrator
hi,
I have a device with memory registers in physical address 0xc0000000,
for which I am porting a driver from linux to CE 4.2 using PB. The
device is connected to the logic module stack on an Arm Integrator
board running ARM920T CPU.
I have tried mapping this memory into virtual address using the
following:
....
addr = 0xc0000000;
PHYSICAL_ADDRESS mapped, port = {addr, 0};
ULONG inIoSpace = 0;
PUCHAR ioPortBase;
if (!TransBusAddrToVirtual(Internal, 0, port, size, &inIoSpace,
&mapped))
printf("Error translating I/O Ports.\r\n");
...
Debugging into TransBusAddrToVirtual showed that the debugger was
disconnected inside the call for VitualCopy (in MmMapIoSpace).
The linux driver maps (by ioremap) and uses this address successfully.
Does anyone know what could be causing this problem?
I tried also to statically map this address by modifying
OEMAddressTable (after finding out that CreateStaticMapping function
isn't implemented on Arm), but couldn't access VA_TEST.
...
VA_TEST EQU 0xa5000000 ;first availble after VA_SC_BASE
EXPORT OEMAddressTable[DATA]
OEMAddressTable
...
DCD VA_TEST, 0xc0000000, 1
...
;
; End of Table (MUST BE ZERO!)
;
DCD 0, 0, 0
AFAIK, there is no need for static mapping, using
TransBusAddrToVirtual should do the job for any user-mode driver.
Any help will be appreciated,
Ilya. Tag: QFE question Tag: 38648
DirectX in EVC++
Is it possible to do DirectX programming in EVC++ 4 with
it's Standard SDK 410?, if it's possibe, why the library
file (d3d8.lib) doesn't come with the Standard SDK 410? Tag: QFE question Tag: 38641
How to generate CAB files that are sub-processor specific?
Hi
I am developing app for CE .NET 4.1 devices.
How can I generate CAB files that are sub-processor
specific, like I need different cab file for different
sub-processors w/ a Processor family like ARM (ARMV4,
ARMV4I, ARMV4T). The cab files seem to distinguish only
between major processor family i.e it has only one
identifier for the whole Xscale/SA. But the targets are
different for different sub-processors within this family.
In CE 3.0 I used to have only SA1100 BSP for devices both
SA/Xscale (ipaq, toshiba e740 etc).
Does that mean for CE.NET I should have a separate
installer for each sub-processor. I think I missed
something?
Plkease provide any hints.. thanks... Tag: QFE question Tag: 38638
CE.NET 4.1 device - which SDK to use?
I need to develop a control app for my CF card on CE .NET
4.1 devices (Fujitsu iPAD). I installed eVC++ 4.0 w/ SP2
and PPC2003 SDK. But when I start eVC++ it says "no CE
Platform SDK installed".
what else should I install?
Can I use PPC2003 w/ evC++ 4.0?
For CE 3.0 app development I could do that by having
evC++ 3.0 and PPC2003 SDK. Why is it different for
CE .NET 4.1?
Please let me know.
--thanks Tag: QFE question Tag: 38636
CEC Editing question
Hello,
I understand that defining custom directory structures is handled via
the .DAT file. Is it possible to specify this in a .CEC? I.e.
myfile.exe should be "installed" to /Windows/MyDirectory?
It seems as though most of the cec build commands are only concerned
with where the files are stored during the build, not the end
directory structure to install them to.
Thank you,
- Paul Tag: QFE question Tag: 38628
Field test/Beta testing - replacing device driver dll
What is the suggested procedure for updating a built in device driver
on a target device assuming the device is not portable and far away?
Of course, I am talking about replacing a single DLL, not redownloading
whole operating system image with a driver.
One idea which comes to my mind is to make device driver loadable
by the test application with RegisterDevice, but how is it done
in real life if we are talking about non-portable Windows CE devices?
Is there a way to gracefully shut down the driver and instruct
DM to load/initialize one section of \Drivers\BuiltIn again? Tag: QFE question Tag: 38623
Bug in CE4.2::WaveAPI.dll?
Hi all, in migrating our platform from CE3.0 -> CE4.1 -> CE4.2 I have
found something very strange, I think it is in waveapi.dll
When we moved to CE4.2 we noticed that all sounds were being played at
full volume. The volume app in control panel would let you move the
slider, but as soon as a noise was played, the slider would return to
full & the sound played at full volume. After some debugging we found
that the sndPlaySound call that the volume app makes was working its
way into waveapi.dll. Waveapi.dll was then setting the volume to full
(traced by breaking at volume set in our wavePDD driver). As a hack
to confirm my suspicions I copied waveapi.dll from our WINCE410 branch
& made a new image - the volume bug went away.
We are still using the old (CE3) audio driver model, and would like to
keep using it. Does anybody else have this problem?
Our hardware is based off the Assabet reference platform, we use the
UCB1300 for audio output.
Cheers
Brad Tag: QFE question Tag: 38621
PCMCIA reader driver problem
I have a ActionTec PC750 PC (PCI)Card reader which is
compatible with Windows CE - it is on the hardware
compatible list. I try to build a CEPC platform and add a
feature PCMCIA(TI1250). Build run OK - no error and
warnning. But when I try to download to target. It gives
error and target hanging. The error show:
"Loaded symbols for 'C:\WINCE420
\PUBLIC\MYCEPCPLATFORM\RELDIR\CEPC_X86DEBUG\TI1250ISR.DLL'
4294772011 PID:63fca8fa TID:63fefd82 0x83fca3d0:
PCMCIA:Unable to initialize STSCHG int 16 (error 87)"
If I use PCMCIA(i82365-compatible) feature. I can build
and download to CEPC. But when I plug-in my PC card into
the slot. Nothing happened. The PCMCIA reader using the
TI chipset. Tag: QFE question Tag: 38613
beginner question: Build options
when I need use build? rebuild? clean? make image?batch
build? give the best case to use each option.
Thanks, Tag: QFE question Tag: 38610
PB 4.2: NDIS startup problems
During bootup, with a radio-based network card in the PCMCIA slot, the NDIS driver for this card fails to load. I have verified that the key shown in
the ActivateDeviceEx line is definitely in the registry. I'm quite certain of this, since the driver loads and runs fine if I insert or reinsert the
card after the boot sequence has completed. This seems to imply some problem with the NDIS startup sequence.
Here is what I see in the Platform Builder debug window when this fails during bootup:
DEVICE!ActivateDeviceEx(Drivers\PCMCIA\Lucent_Technologies-WaveLAN/IEEE-C908) entered
PNP interface class {f8a6ba98-087a-43ac-a9d8-b7f13c5bae31} (NDS1:) ATTACH
NDIS:ndisAddPCCardDevice INdisOpenDeviceKey failed
NDIS: ERROR - NdisPCIBusDeviceInit no BusNumber for Comm\PCI\NDIS\Parms
DEVICE!StartOneDriver RegisterDevice(NDS, 0, NDIS.Dll, 0x802ee6c) failed
I'm guessing that it is default behavior in NDIS, that when if fails to open the registry key passed in, that it falls back to trying to see if the
device might be on the PCI bus. In my case, there is no PCI bus or PCI dlls in my platform, or any Comm\PCI key in my reginit.ini. I do, however,
end up with the following Comm\PCI entry in my registry after this bootup failure:
[HKEY_LOCAL_MACHINE\Comm\PCI\NDIS\Parms]
"BusType"=dword:00000005
"IClass"="{A32942B7-920C-486b-B0E6-92A702A99B35}"
"Order"=dword:00000001
"Index"=dword:00000000
"Prefix"="NDS"
"Dll"="NDIS.Dll"
Another confusing bit of info is the fact that the \Drivers\Active entry does show an entry for the card, but does not have a drivers\active\04 entry
for NDS0:, which I see when I boot up without the card installed.
[HKEY_LOCAL_MACHINE\Drivers\Active\03]
"Hnd"=dword:000305a0
"Name"="COM1:"
"Key"="Drivers\\BuiltIn\\Serial"
"InterfaceType"=dword:ffffffff
[HKEY_LOCAL_MACHINE\Drivers\Active\05]
"Hnd"=dword:00031c90
"Name"="NDS1:"
"Key"="Drivers\\PCMCIA\\Lucent_Technologies-WaveLAN/IEEE-C908"
"Sckt"=dword:00860000
"PnpId"="Lucent_Technologies-WaveLAN/IEEE-C908"
"RegenumParms"=hex(7):\
53,63,6b,74,00,50,6e,70,49,64,00,52,65,67,65,6e,75,6d,50,61,72,6d,73,00,00,\
00,00,00,00,00,00
"InterfaceType"=dword:00000008
I have scoured the help files to little avail.
One other bit of information to note is that if the card has a \Drivers\PCMCIA\detect entry in the registry, then it will successfully load and run on
bootup, but if I have to rely on a PNP id, then that same card will fail like all the others.
Has anyone else seen this kind of problem where a PCMCIA network device fails on startup, but works fine on a card insert?
Can anyone suggest a next step to try to get these drivers (it happens on multiple vendor's radio cards) working properly without a card insert?
Arthur McNair
Vocollect, Inc.
Pittsburgh, PA Tag: QFE question Tag: 38599
Do's any one now how to Add LIB to EXPLORER build
Sary, probably dome question. We have extension we are adding to explorer
code and its building it, but its not including it as lib when it builds the
EXPLORER code and the linker is telling me it knows nothing about my class.
What have I missed in configuration?. Do's anyone have any ideas? Tag: QFE question Tag: 38588
shadow in \windows
Hi,
I want to create a File System Block Driver that can give
a stream interface to the FAT file system driver.
Can someone give some info on how to do this?
Thanks in advance.
BV Tag: QFE question Tag: 38577
unable to delete feature?
I added a feature PCMCIA(i82365-compatible) and want to
delete it now. But I can not delete it. I found there is
down arrow on the icon. What that mean? Howcan I delete
the feature?
I can delete other feature though. Tag: QFE question Tag: 38567
WCE Dynamic-link Library
hello,
I developed a simple DLL library, first in eVC++ 4, but
was not able to download & register it to Win CE.NET 4.2
device.
I wrote the "same" DLL in PB 4.2 (WCE Dynamic-link
library) and was able to include that in my image file
(nk.bin). But it was not registered.
How can I find out what information I should write to
registry and where to do it? Detailed How-to would be
appreciated.
Thanks
Mike Tag: QFE question Tag: 38563
delete the platform?
I built my platform for learning. Now I want to delete
it. Just delete myplatform directory? what else I need to
do for clean deletion. Tag: QFE question Tag: 38560
Corrupt database
Hi everybody,
Since I migrated to 4.20, I encountered "corrupt database" problems while
building my platforms. In Platform Builder, this shows red lines like:
BUILD: g:\wince420\platform\nce\build.dat(120): corrupt database (File
error)
Can anybody tell me how to fix it?
Thanks in advance.
Rémi Tag: QFE question Tag: 38553
About "Platfrom Setting" in Platfomr Builder...
Now I am working with Platform Builder 4.2.
Three selection items, "Build and inclue image", "Build,
but exclude from image", "Exclude from build and image" is
appeared in "General" tab of "Platform Setting".
Some components in "Catalog" is applicable to all cases
but the oters is not.
What should change or add to be applicable to these cases? Tag: QFE question Tag: 38550
Found bug in PB 4.2
Hi All,
1. Build a platform for thin-client style.
2. Insert a 802.11 Wireless card
3. The CE of desktop style can show the wireless config
UI.
4. The CE of thin-client style can not show the UI.
Because the *.rc file does not include the dialog.
5. PB 4.1 has no problem about the wireless building a
CE of thin-client style. Tag: QFE question Tag: 38549
PCMCIA interrupt question
I am confused and get lost. Hope my question is not as stupid as it
seems.
Each i/o pc card requests a IRQ and be assigned one. The PCMCIA bridge
also assigned a IRQ. When the card has a functional interrupt, which
IRQ will be set? If it is the IRQ assigned to pc card, assume Card
Status Change use polling, does the PCMCIA bridge still need a IRQ?
In MDD it seems all card functional interrupts are processed by IRQThread.
How does it be signal when functional interrupt happens?
Can anyone explain the interrupt architecture in PCMCIA for me? Please
help.
Li Yefei Tag: QFE question Tag: 38548
If I installed current QFE(April - June 2003). Do I need
to install old QFEs?