wceshellfe build
Hi , Everyone
I want to modify CPLMAIN folder into wceshellfe directory.
I want to know best way to modify CPLMAIN folder.
and then how to compile it in detail ?
thanks in advance. Tag: a question about SQL install at the WInCE system Tag: 48273
Cant reconnect... Connect Issues
Thanks for the help on my previous threads..
I am new to everything here so bare with me. I have a working platform and I am able to run the OS and the application on my target device with kernel debugging (I hit break points and everything succesfully). However, after stopping the debugger and then disconnecting, I cannot reconnect to the target device. Advice? Thanks for your help, in advance
Also, after I stop the debugger and disconnect can I edit my application code and expect the changes to be reflected on the target device
Is the same true with device drivers? Tag: a question about SQL install at the WInCE system Tag: 48263
Shell_NotifyIcon: how to obtain handle to the icon?
Hello,
I'm building an application in C/C++ in WindowsCE.Net 4.2 and would like
to add an icon to the system tray.
I know that the Shell_NotifyIcon is able to do that. However, looking at
the PBLibrary documentation, I couldn't find out how should I set the
NOTIFYICONDATA.hIcon field (which should contain a handle to the icon to
add, modify, or delete).
What type of handle is this? Do I have to open an icon file using
CreateFile and use the resulting file hadle (I don't think so)?
How can I obtain the handle to the icon?
Thank you in advance.
Joao Barreto Tag: a question about SQL install at the WInCE system Tag: 48260
Connecting to a Local Image
I have a locally booted image (i.e. not using eboot). I want to be
able to connect to the device from Platform Builder to get the system
information.
What build options do I have to set to allow me to connect to the
device.
Thanks,
J Tag: a question about SQL install at the WInCE system Tag: 48256
Bluetooth Clients and Services
Background:
Windows CE.Net 4.2
Processor: XScale PXA255 with two CF slots
CE Image includes the full Bluetooth stack: SYSGEN_BTH=1
Added: SYSGEN_BTH_GATEWAY=1 and SYSGEN_OBEX_SERVER=1
CF cards: Brainboxes Bluetooth card BL565, Socket Bluetooth Card
Host computer: XP Professional with Belkin F8T001 USB to Bluetooth adapter
After adding the Belkin adapter, my host machine claims to support the
following clients/services:
HID
Printer
Audio Gateway
Bluetooth Serial Port
Dialup Networking
Fax
File Transfer
Headset
Network Access
PIM Item Transfer
PIM Synchronization
When I plug in either Brainboxes Bluetooth CF card or Socket Bluetooth CF
card, the Bluetooth Manager (bthpnl.cpl) displays several services being
offered by my host computer. I can drag them from the "untrusted" group to
the "trusted" group. The only service my host sees on the CE device is the
OBEX Object service. I can push PIM objects onto the CE device, but I would
like to perform file transfers and use the Serial Port for streaming data
from the CE device to the host device. I would also like to print from the
CE device via the Bluetooth connection. Are any of these clients/services
delivered as part of Platform Builder, or do they need to be purchased from
Microsoft or a third party? Does Microsoft has these clients and services
available for sale? (The only service that I found was the OBEX service...)
Thank you,
Jim Merkle Tag: a question about SQL install at the WInCE system Tag: 48255
Windows CE browser performance problems (very detailed)
We are having a problem and hopefully someone in this
newsgroup with some internals of WinCE experience can
help.
Platform: National Semiconductor's SC1200 Geode (actually
an SC1200UCL-266, now owned by AMD), 266 MHz, 64MB SDRAM,
NTSC video out, no hard drives, USB network.
Executive summary: Browser performance of Windows CE.NET
4.2 is 50% of the performance of Windows ME. While there
are smaller contributing factors (temp files and the CE
filesystem compression, USB network drivers a bit
slower), the largest factor appears to be the division of
the CPU between running the browser and spending time in
various threads of drivers.exe.
This characteristic will impact any application that
interacts with the screen.
According to the folks that actually build the image, the
platform is setup in release mode, not in debug mode.
The root question is "How can this be fixed or tweaked?"
Details (of which I've eliminated a lot in an effort to
cut to the chase):
One critical question: "Is the CPU running as fast in
both environments?"
To answer this, the Sieve of Eratosthenes Benchmark
program was located on the web, compiled and put into the
CE build. Calculating primes up to 28 million was the
value used in all the sieve tests.
On Windows ME, it ran in 16 seconds.
On Windows CE, it ran in 20 seconds.
If you pipe the output to a text file:
On Windows ME, it ran in 16 seconds.
On Windows CE, it ran in 9 seconds.
If you telnet into the WinCE system and run the Sieve to
the telnet session's output, it runs in 9 seconds.
The output of the sieve is a message every time it finds
2000 primes totaling about 20 KB of text, almost all of
it is on one line that overwrites so the screen does not
scroll during the calculations.
When this piped to text file output is sent to the screen
via the cmd.exe prompt's type command, it takes less than
2 seconds to display the entire file.
The sum of the parts (9 to crunch, 2 to display) is
significantly less than the whole (display and crunch)
even though the first case has extra work that is
happening not present in the case where both happen at
once -- opening up the file, writing data, compressing
the data, closing the file, opening the file, reading &
expanding)
There is something about WinCE and how it interacts with
the screen that makes a program that is both crunching
data and displaying information iteratively cost nearly
twice as much time as a program that first does all the
crunching and then all the displaying in one burst.
The iterative nature of a browser (get the HTML, display
some text, spawn two threads getting two graphics, #1
arrives so render it while #2 is still arriving, #1 is
done, start downloading #3, #2 is now here so render
it, ...) follows the same compute-display-compute-display
pattern the sieve is going through and pays the same
penalty for this behavior.
To further prove and attempt to isolate, both the sieve
to a file (fast), sieve to the screen (slow), and
browsing (slow) were run and thread activity captured
with the Windows CE Remote Kernel Tracker.
With sieve printing to the screen, the CPU alternates
between sieve.exe and device.exe, looking like a square
wave with 70% of the time in device.exe and 30% of the
time in sieve.exe. I have the actual screen captures and
data files if anyone is interested.
When the output is piped to a file, 95% of the time is
spent in sieve with what look like very short "clicks"
(viewing audio on an oscilloscope) of CPU time up to
device.exe.
Curiously, a modified version of sieve that doesn't print
anything until the final number of primes is found
visually looks the same as when the output was piped to a
file.
It almost looks like when a process wants to do something
to the screen, it calls some CE driver that formulate the
screen activity into chunks of commands which are then
queued up into another process' input queue. When that
other process wakes up, it takes the messages off its
input queue and actually renders the screen data. That
message passing overhead and scheduling between the two
processes seems absent when the whole screen activity is
sent out all at once, as when sending the saved output
text file to the screen.
Device.exe has > 50 threads -- if someone can explain how
to translate thread ID into something more meaningful
(like a .DLL name, or driver name, or anything) I'd love
to answer exactly where lots of the CPU time is spent and
have further clues as to where to look. But it bounces
all around ~8 of device.exe's threads with lots of "Wait
for multiple objects" synchronization icons according to
the kernel tracker.
WinCE's internet explorer exhibits similar though much
more complicated patterns as it is getting data off the
network and has many internal threads (12) bouncing all
around. Bottom line is IE looks like it is suffering from
lack of CPU due to drivers.exe just like sieve is.
Performance was measured by comparing the download of the
same data repeatedly over time from the same server
confirms it runs at 50% of the speed Windows ME is
running at on the same platform.
I really expected WinME on a hard drive to be slower, not
faster than WinCE running entirely out of RAM.
If anyone has any ideas on how to make things work
better, any assistance is greatly appreciated.
Thanks in advance!
David Soussan
My Email is the first two letters of my first name, the
first letter of my last name, at yahoo dot com.
-------
Other interesting performance characteristics found
during this investigation:
The impact of WinCE's filesystem compression as applied
to network throughput were measured by downloading /
uploading both a very large .zip file [expensive to run
compression on] and a file filled with 00 bytes [very
cheap to run compression on].
Pushing data into WinCE, we measured 353 KB/s for a zero
filled file and 211 KB/s for the big .ZIP file. The cost
of compression hit the network bandwidth down to 65% of
its maximum potential.
The reverse was not true; for pulling data out of WinCE
we measured ~253 KB/s no matter which file was pulled.
-------
It makes no difference to either ME or CE if the graphics
are easily compressed or actual graphics that aren't as
easily compressed on the net throughput browser speed. It
also makes no difference if the image is actually fully
rendered to the screen or not -- shrinking the window so
the image doesn't have to be displayed did not improve
the page refresh rate by a significant amount.
------- Tag: a question about SQL install at the WInCE system Tag: 48248
RAS/TAPI problem
Hi
I am trying to make a very simple thing : building an Internet connection to
my ISP.
To do so I just build a CEPC configuration with PPP/ RAS and TAPI includes
with generic modem. My modem is connected on COM1
Once I defined my connection and when I try to connect I have a message
(after a while)
Imposible to open the port (I use WinCE in french so the traduction is
aproximative), the port is occupied or bad configurated.
Wich port ? Com 1 ? A TCP port. Serial port is not open because I can use it
in applications.
Any suggestions ? Tag: a question about SQL install at the WInCE system Tag: 48247
USB Mass Storage driver V4.2
Hi all,
I have a USB Host driver and try to use a USB disk on key. I use a
Extrememory V1.1 USB memory stick. I have seen in the NG what is necessary
to include, but Windows CE V4.2 doesn't detect the card corretly. It reads
the VID and PID correctly.
VID: TinyDisk
PID: 2003-12-06
PRL: 1.89
Than it goes to does DSK_Init and than I get the following messages.
USBDISK6<ScsiInquiry:0
USBDISK6>ScsiUnitAttention
USBDISK6>ScsiTestUnitReady
USBDISK6<ScsiTestUnitReady:0
USBDISK6<ScsiUnitAttention:0
USBDISK6>ScsiModeSense
USBDISK6>ScsiGetSenseData
USBDISK6>ScsiRequestSense
USBDISK6<ScsiRequestSense:1460
ScsiGetSenseData error:1460
USBDISK6<ScsiGetSenseData:1460
ScsiModeSense ERROR:1460
USBDISK6<ScsiModeSense:1460
And there it seems to loop for ever. Has anybody seen this messages and know
what they mean? I have seen that it waits in ubcclient.c at
IssueBulkTransfer() for a synchronisation, but always leave with a time out.
Is something wrong in my USB Host driver? The driver works with mouse and
keyboard fine.
Many thanks for all of your help.
Best regards,
Mike Engel Tag: a question about SQL install at the WInCE system Tag: 48244
Bootloader Nightmare
Hi
I have a bootloader for wince 3.0 c:\wince300\platform\sa11x0bd\ebootne2k,
this compiled and built for wince 3.0 (had to set up a special command
prompt).
I am trying to build the bootloader under wince.net 4.2 and am overwhelemed
with he amount and type of errors being generated. Running build -cfs in
c:\wince300\platofrm\sa11x0bd\ebootne2k generates the following, this is
only a small fraction of the messages
D:\WINCE420\PLATFORM\SA11X0BD>SET REVCPLUS_MAINBOARD=1
D:\WINCE420\PLATFORM\SA11X0BD>rmdir /S /Q
D:\WINCE420\platform\sa11x0bd\ebootNE2K\obj
D:\WINCE420\PLATFORM\SA11X0BD>if exist D:\WINCE420\ebootNE2K.release\eboot.*
del /Q D:\WINCE420\ebootNE2K.release\eboot.*
D:\WINCE420\PLATFORM\SA11X0BD>if exist D:\WINCE420\ne2k.bat attrib -r
D:\WINCE420\ne2k.bat
D:\WINCE420\PLATFORM\SA11X0BD>if exist D:\WINCE420\ne2k.bat del /Q
D:\WINCE420\ne2k.bat
D:\WINCE420\PLATFORM\SA11X0BD>cd D:\WINCE420\platform\sa11x0bd\ebootNE2K
D:\WINCE420\PLATFORM\SA11X0BD\ebootne2k>build -cf
Build for Windows CE (Release) (Built on Dec 17 2002 13:28:33)
File names: Build.log Build.wrn Build.err Build.dat Build.con
BUILD: Checking for D:\WINCE420\sdk\bin\i386\srccheck.exe.
BUILD: SrcCheck exit code: 0 (dec)
srcgen D:\WINCE420\PLATFORM\SA11X0BD ATLANTA_8000
D:\WINCE420\PUBLIC\ATLANT~1\WINCE420\Intel_SA1110_Assabet\cesysgen
Access is denied.
Access is denied.
BUILD: Compile and Link for ARM.
Master db name is: D:\WINCE420\PLATFORM\SA11X0BD\Build.dat
BUILD: Loading D:\WINCE420\PLATFORM\SA11X0BD\Build.dat... - old version -
recomputing.
BUILD: Computing Include file dependencies:
BUILD: Examining d:\wince420\platform\sa11x0bd\ebootne2k directory for files
to compile.
d:\wince420\platform\sa11x0bd\ebootne2k - 15 source files (4,400 lines)
Master db name is: D:\WINCE420\PLATFORM\SA11X0BD\Build.dat
BUILD: Unable to save the dependency database:
D:\WINCE420\PLATFORM\SA11X0BD\Build.dat
BUILD: Compiling d:\wince420\platform\sa11x0bd\ebootne2k directory
Compiling - d:\wince420\platform\sa11x0bd\ebootne2k\arm\oemboot.c for ARM
d:\wince420\platform\sa11x0bd\ebootne2k\arm\oemboot.c(20) : error C1083:
Cannot open include file: 'windows.h': No such file or directory
\kernel\hal\arm\fwsarm.s(21) : error A0044: can't open file: kxarm.h
D:\WINCE420\PLATFORM\SA11X0BD\kernel\hal\arm\fwsarm.s(68) : error A0051:
unknown opcode: STARTUPTEXT
D:\WINCE420\PLATFORM\SA11X0BD\kernel\hal\arm\fwsarm.s(89) : error A0051:
unknown opcode: LEAF_ENTRY
D:\WINCE420\PLATFORM\SA11X0BD\kernel\hal\arm\fwsarm.s(90) : error A0064:
code inside data section
D:\WINCE420\PLATFORM\SA11X0BD\kernel\hal\arm\fwsarm.s(91) : error A0064:
code inside data section
D:\WINCE420\PLATFORM\SA11X0BD\kernel\hal\arm\fwsarm.s(93) : error A0064:
code inside data section
Its a nightmare, it can't seem to find any of the .h files, and there are
code inside data section errors, my head is about to explode. Any help
advice would be very much appreciated
Regards Tag: a question about SQL install at the WInCE system Tag: 48238
WceLoad problems
Hi everyone,
We have some problems with the wceload program to install CAB files on our
platform.
We use the Windows CE 4.2 OS for our ARMV4I platform using the pxa255 CPU.
We can't install cab files meant for the armv4i platform, Wceload simple
rejects them. And when we use the x86 CAB files he installs them, but off
course these can't work since we have an ARM processor.
How is it possible that the wceload program thinks he is running on a x86
platform? In the Platform builder help files I found that wceload uses the
GetSystemInfo() API to determine which platform it is running from but this
API returns the ARMV4I platform??? Then why doesn't wceload accepts these
ARMV4I CAB files?
Does anyone have a clue? Or what steps to follow to make this work?
Thanks in advance,
Peter. Tag: a question about SQL install at the WInCE system Tag: 48230
Set Environment Variable through .xml Configuration File
Hi NG,
does anyone know if there is any possibility to set an environment variable
(Platform Builder - Platform - Settings - Environment) in .xml File for
Configuration Wizard??
The only way i found would be to set up a new component in a .cec file that
sets my variable and add this component with a <Component> statement in my
.xml file. Maybe this is a possible way but i don't want to blow up my
Platform Builder Catalog by multiple Components which only set some
environment variables.
Any help would be appreciate,
Oliver Münchow
--
---------------------------------------
Gesytec GmbH eMail:
52076 Aachen omuenchowATgesytecDOTde
http://www.gesytec.de Tag: a question about SQL install at the WInCE system Tag: 48229
Including Dll only driver into the image
Hi,
I have a display driver for my platform, but I only have the dll file, not
the source code. I also have a cec file for this driver. I added the cec
file to the catalog, and then added the driver from the catalog to my
platform. I copied the dll file to the
WINCEROOT\PLATFORM\CEPC\DRIVERS\DISPLAY\SMI directory and changed the
corresponding dirs file accordingly. I made the following changes in the
platform files:
In platform.bib file:
----------------------------------------------------------------
; @CESYSGEN IF CE_MODULES_DISPLAY
IF BSP_NODISPLAY !
IF IMG_NODISPLAY !
;
; MGDI NOP Display driver
IF BSP_DISPLAY_NOP
ddi.dll $(_FLATRELEASEDIR)\ddi_nop.dll NK SH
ENDIF
ENDIF IMG_NODISPLAY !
ENDIF BSP_NODISPLAY !
; SMI Display driver
IF BSP_DISPLAY_SMI
ddi_smi.dll $(_FLATRELEASEDIR)\ddi_smi.dll NK SH
ENDIF
; @CESYSGEN ENDIF CE_MODULES_DISPLAY
-----------------------------------------------------------
In platform.reg file:
-----------------------------------------------------------
IF BSP_DISPLAY_SMI
; @CESYSGEN IF CE_MODULES_PCI
; GWES will be able to auto-detect the display adapter if a candidate value
; points to the adapter's PCI instance. Values from Candidate1 to
Candidate32
; (decimal) are possible; GWES will examine them sequentially until it finds
; a match.
[HKEY_LOCAL_MACHINE\System\GDI\DisplayCandidates]
"Candidate5"="Drivers\\BuiltIn\\PCI\\Instance\\SMI"
; @CESYSGEN ENDIF CE_MODULES_PCI
ENDIF ; BSP_DISPLAY_SMI
IF BSP_DISPLAY_SMI
[HKEY_LOCAL_MACHINE\System\GDI\Drivers]
"Display"="ddi_smi.dll"
;
; SMI driver settings
;
[HKEY_LOCAL_MACHINE\Drivers\Display\SMI]
;; 800x600x16
"CxScreen"=dword:320
"CyScreen"=dword:258
"BPP"=dword:10
ENDIF ; BSP_DISPLAY_SMI
---------------------------------------------------
When I build my platform, I can see the ddi_smi.dll in the _FLATRELEASEDIR
and when I check the nk.bin file with viewbin, I see that the dll is built
in the image.
in the .obj file:
==== ddi_smi.dll ===============================
TOCentry (ddi_smi.dll) -------------------------
dwFileAttributes : 0x7
ftTime : 11/11/2002 15:07:22
nFileSize : 0x1A000 (106496)
ulE32Offset : 0x8062A6A4
ulO32Offset : 0x80DACFC0
ulLoadOffset : 0x81136000
e32_rom (ddi_smi.dll) --------------------------
e32_objcnt : 2
e32_imageflags : 0x212E
e32_entryrva : 0x132C8
e32_vbase : 0x1F00000
e32_subsysmajor : 0x4
e32_subsysminor : 0x14
e32_stackmax : 0x10000
e32_vsize : 0x1E000
o32_rom[0] (ddi_smi.dll) ------------------------
o32_vsize : 0x1337C
o32_rva : 0x1000
o32_psize : 0x13400
o32_dataptr : 0x80E84000
o32_realaddr : 0x1F01000
o32_flags : 0x60000020
o32_rom[1] (ddi_smi.dll) ------------------------
o32_vsize : 0x7EB0
o32_rva : 0x15000
o32_psize : 0x28CA
o32_dataptr : 0x80ED209C
o32_realaddr : 0x1F15000
o32_flags : 0xC0002040
But when I download the image to the platform and boot (using eboot.bin), I
get the following errors:
Loaded symbols for
'C:\WINCE410\PUBLIC\REGAPPDENE2\RELDIR\CEPC_X86DEBUG\GWES.EXE'
4294784007 PID:21ef5ef6 TID:21fb27d2 0x81ef51a8: Grow Gdi handle table from
0 to 64
4294784056 PID:21ef5ef6 TID:21fb27d2 0x81ef51a8: >>> Loading module ddi.dll
at address 0x01EE0000-0x01EFE000
Loaded 'C:\WINCE410\PUBLIC\REGAPPDENE2\RELDIR\CEPC_X86DEBUG\DDI.DLL', no
matching symbolic information found.
4294784063 PID:21ef5ef6 TID:21fb27d2 0x81ef51a8: Unknown: DEBUGCHK failed in
file d:\jameson\private\winceos\coreos\gwe\mgdi\base\.\driver.cpp at line
327
How can I correctly load and use this dll file? Do I have to obtain the sour
ce codes and compile them? I also tried putting the following in the files
section of the .bib file, but it didn't help and I got the same errors.
IF BSP_DISPLAY_SMI
ddi_smi.dll $(_FLATRELEASEDIR)\ddi_smi.dll NK SH
ENDIF
I will be very glad if someone can give me a hint. Thanks already,
Selin Tag: a question about SQL install at the WInCE system Tag: 48225
Localizing ceshellbase.rc in ceshell
Hi there
I am trying to localize the ceshellbase.rc resource file in ceshell folder under Platform Builder 4.2 to Vietnamese language. Trying to change one of the strings under the string table to Vietnamese language but fail. FYI, I have changed my PC regional settings and locale to Vietnamese. But does not help. Also found some information regarding the language option in resource tab at Project > Settings under eVC++ 4.0. But this is only applied to resource files that belong to a project. Furthermore, there is no Vietnamese option for selection under the Project > Settings > Resource tab's Language option
Anyone have experience changing string in eVC++ 4.0's resource editor to other languages? Please help
Thanks in advanced for your help.
Best Regards
Candy Tag: a question about SQL install at the WInCE system Tag: 48224
ipconfig issue on pppoe
Dear Sir.
We are using ce 4.2 on x86 CPU.
When we tried to connect the network using PPPoE(ADSL),
it was very well connectted network such as internet, messenger.
But we execute ipconfig program on ce 4.2, it didn't find IP configuration
about the ADSL.
It was just displayed LAN information.
How can we find the ADSL(PPPoE) ip configuration?
--
Thanks.,
--------------------------------
Skyblue Ahn /SW Team Manager
Atrium C&I Co., Ltd.
Tel: 82-2-2122-3111
Fax: 82-2-761-3541
Mobile: 82-18-222-2244
Mail : skyblue@atriumcni.com
skyblue@prumail.co.kr
------------------------------- Tag: a question about SQL install at the WInCE system Tag: 48223
How can I change reconnection delay with Wireless LAN
Hello.
I'm using Win CE .NET 4.1 .
There's a problem with wireless lan connection.
Once it lose the connection( going far from Acess Point ), it takes about
1~2 minutes to reconnect after I return to the AP.
Can I remove this delay? ( 1 minute is too long. )
thank you. Tag: a question about SQL install at the WInCE system Tag: 48217
XSC1BD serial driver
Hi All,
I'm a little confused about the Serial driver in the
XSC1BD BSP. I have placed debug statements in the
following functions:
OEMInterruptEnable()
OEMInterruptDisable()
OEMInterruptHandler()
OEMInterruptDone()
I added the USB Client and Serial drivers to my Platform
and I appear to be getting receive interrupts from USB
but not from Serial.
I also noticed that the Serial driver code never calls
the "InterruptInitialize()" function.
During initialisation (at startup), from USB I enter the
following functions:
**************OEMInterruptEnable: USB CLIENT.
**************OEMInterruptHandler: INTC_USB
**************OEMInterruptDone: SYSINTR_USB_CLIENT.
**************OEMInterruptHandler: INTC_USB
**************OEMInterruptDone: SYSINTR_USB_CLIENT.
But from serial (FFUART), I only get:
**************OEMInterruptEnable: SYSINTR_SERIAL.
**************OEMInterruptDone: SYSINTR_SERIAL.
How come a serial interrupt isn't automatically created
when "OEMInterruptEnable()" is called like for the USB
driver? Why doesn't the XSC1BD call
the "InterruptInitialize()" function? How does
the "OEMInterruptDone()" function get called without ever
entering the "OEMInterruptHandler()" function?
I can transmit out of the serial port but I cannot
receive any. Any help would be appreciated.
Cheers, Andrew Tag: a question about SQL install at the WInCE system Tag: 48214
ceplayer crash on wince 4.2
When connecting to an AV streaming website and playing the stream in
CEPlayer, a data abort exception occurs causing CEPlayer to close down.
Data Abort: Thread=83ab6424 Proc=820e6fb8 'ceplayer.exe'
AKY=00000021 PC=02c8c8c4 RA=00000066 BVA=0c06e242 FSR=00000003
I have installed second and third quarter's QFE for wince4.2 Tag: a question about SQL install at the WInCE system Tag: 48213
CardAccessConfigurationRegister returns 0x1E
Hi al
I'm writing NDIS PCMCIA miniport driver on Platform builder 4.2
On my MiniportInitialize() function
I registered PCMCIA client using CardRegisterClient() function
and later, I access configuration registers in my device using CardAccessConfigurationRegister() function
However, when I try to write to configuration register using CardAccessConfigurationRegister function,
the function returns error 0x1E(CERR_IN_USE) - read configuration registers return successfully
I tested other PCMCIA service functions such as CardReleaseConfiguration(), CardResetFunction(), an
those functions were returned with error 0x1E
What's the problem?
Here's fraction of my code
-------------------------------------
NDIS_STATUS SwldInitialize(...
.................
NdisOpenConfiguration() .
..................
NdisMQueryAdapterResources(
..................
NdisMSetAttributeEx(
NdisMRegisterIoPortRange(
RegParms.fAttributes = CLEINT_ATTR_IO_DRIVER
CLIENT_ATTR_NOTIFY_EXCLUSIVE
CLIENT_ATTR_NOTIFY_SHARED
RegParms.fEventMask = EVENT_MASK_CARD_DETECT
EVENT_MASK_POWER_MGMT
RegParms.uClientData = NULL
g_hClient = CallCardServices(CardRegisterClient)( NotificationEvent, &RegParms ); <- Returns Client handl
....
NdisMMapIoSpace(...)
CallCardServices( CardAccessConfigurationRegisters )
g_hClient
g_hSocket
CARD_FCR_WRITE
0x00
&CorValue ); <- It returns error 0x1
...
/
// Callback function for CardRegisterClien
/
STATU
NotificationEvent ( CARD_EVENT CardEvent
CARD_SOCKET_HANDLE hSocket
PCARD_EVENT_PARMS pCardEventParms
CARD_WINDOW_HANDLE hWindow = NULL
CARD_WINDOW_PARMS CardWinParms
STATUS stResult
switch( CardEvent
case CE_CARD_INSERTION
DEBUGMSG( ZONE_INIT
(TEXT("SWLD60: NotificationEvent:CE_CARD_INSERTION\r\n") ) )
DEBUGMSG( ZONE_INIT
(TEXT("SWLD60: Card %d:%d - PNP ID = %s\r\n"),
hSocket.uSocket, hSocket.uFunction, pCardEventParms->Parm1) )
break
case CE_REGISTRATION_COMPLETE
DEBUGMSG( ZONE_INIT
(TEXT("SWLD60: NotificationEvent:CE_REGISTRATION_COMPLETE\r\n") ) )
/
// Save card socket handl
/
g_hSocket.uSocket = hSocket.uSocket
g_hSocket.uFunction = hSocket.uFunction
DEBUGMSG( ZONE_INIT
(TEXT("SWLD60: CARD_SOCKET_HANDLE Socket %d Function %d\r\n")
g_hSocket.uSocket, g_hSocket.uFunction) )
/
// Reset Card socke
/
stResult = CallCardServices(CardResetFunction)( (CARD_CLIENT_HANDLE
pCardEventParms->Parm1
hSocket ); <-- this function also return 0x1
DEBUGMSG( ZONE_DEBUG
(TEXT("SWLD60: CardResetFunction returns 0x%08X[%d]\r\n")
stResult, stResult ) );
break
} // switc
return CERR_SUCCESS
} // NotificationEven
Thanks. Tag: a question about SQL install at the WInCE system Tag: 48211
windowsce.net application error
Hi,
When i try to download the VOIPPhone sample application onto the X86
emulator with the transport type set to UDP i get the following debug
error:
CRTCProfile::CheckAndSetUDPFlags - can not support authFlag(8) in
Win9x or UDP
CRTCProfile::InitializeFromString - SetUDPFlagsAndValidateProfile
failed. CRTCClient::CreateProfile - InitializeFromString failed
0x80ee007e
VoIPMgr::Initialize - FAILS. hr = 0x80ee007e
-VoIPMgr::Initialize
NATHELP:0:62e9fa3a:62eebfbe:CleanupProcessGlobals:
************************************************************
NATHELP:0:62e9fa3a:62eebfbe:CleanupProcessGlobals: ASSERTION FAILED!
File: d:\mckendric\private\directx\dplay\dpnathlp\dpnhupnp\wince\..\dpnhupnpdllmain.cpp
Line: 554: ! "DPNHUPNP.DLL unloading without all objects having been
released! The caller's Direc
************************************************************
The download hangs and it asks for the path for a file " dndbg.cpp".
There is no such file anywhere. I dont have a clue of where this error
is coming from. If someone can throw some light on this issue i will
be grateful.
Thanks,
Annie Tag: a question about SQL install at the WInCE system Tag: 48210
how to access the File System(FAT32) from the Wince System
Dear all:
I used the third part device to copy the NK.bin to the PC machine,and the
Wince can be runed on it.
and now I have a file(it haven't include into the NK.bin,but it's on the
target PC machine),now,I wantto know how to set it into the wince OS-RAM
file system,How shall I do?
thanks.
Carol Tag: a question about SQL install at the WInCE system Tag: 48209
PCSC Test
Dear All,
I got the STC USB Reader. I would like to do the
PC/SC compliance test myself. I have also got the test
cards. Does anyone know where I can get the test
applications and DLL files to run in my MIPS R4000
processor target device?
Thanks Tag: a question about SQL install at the WInCE system Tag: 48208
Getting started with PB 4.2
I recently began developing my own OS image for a tatung web pad and
have a few questions for you guru's.
The tatung web pad comes with an image boot loader that boots the
image running off the storage card. So right now I am simple building
the platform, making the image, and copying it to the flash card to
boot the image for testing.
1) Are there any good resource sites (besides MS) for information,
examples, ect.. for building basic images. (sorta like quick
references on implementing Wifi, active sync, displays ect..)
2) My first attempt at running a wizard built OS (Web pad enterprise I
think) loaded fine with the flat vga driver except the resolution was
way small (below 640x480) and I need it at 800X600, is there a way to
set the resolution?
3) the basic display driver looked odd with lines through the screen
and in grey scale. I could make out the desktop icons and some
messagebox titles that where appearing (like unsupported network card
ect..) my first guess is the wrong resolution, color depth.
4) Is there a way to tell what video board (and other hardware) the
unit is running? And are there resources somewhere that list the
supported video boards of the PB 4.2 shipped drivers already in the
catelog?
Thanks in advance for any help answering any of these questions.
KC Tag: a question about SQL install at the WInCE system Tag: 48203
Power off notification
The CE.NET documentation defines the FSNOTIFY_POWER_OFF flag for
MyFSD_Notify:
Indicates that the device is entering a suspended state. No system calls can
be made at this point, and the file system manager calls the application on
a single thread.
I would like to perform a flush when my FSD receives this notification. Can
FSDMGR_WriteDisk and DeviceIoControl(IOCTL_DISK_DELETE_SECTORS) be called
when I receive this power down notification, or do those calls classify as
"system calls" in the documentation excerpt above?
Thanks,
Jeremy Tag: a question about SQL install at the WInCE system Tag: 48196
USB function driver cannot get any interrupt
My device: Intel Bulverde, CE.NET 4.2.
After the USB cable attach is detected, the USB host (PC) does send
reset siganl and enumeration data to the board as shown in USB
protocol analyzer. I also checked D+/D- data signaling using the
oscilloscope, it looks OK and is compliant with USB 1.1 spec. But in
the CE driver, the function SerGetInterruptType always returns 0, so
the communication can't start.
I also dumped the UDC registers, the setting of UDCCR and UDCICR1 is
OK but UDCISR1 is always 0.
We use the USB function driver in Intel Bulverde BSP, the only change
is USB ISR related processing (for USB cable attach/detach) and the
difference between my development board and the standard Bulverde
board is very minimal.
Any help would be highly appreciated.
Thanks,
Alex
Dumping UDC Regs:
28252 PID:bab5fb8a TID:9ab1c73e UDC_CR: 3
28253 PID:bab5fb8a TID:9ab1c73e UDC_ICR0: 15
28253 PID:bab5fb8a TID:9ab1c73e UDC_ICR1: 88000000
28254 PID:bab5fb8a TID:9ab1c73e UDC_ISR0: 0
28254 PID:bab5fb8a TID:9ab1c73e UDC_ISR1: 0
28255 PID:bab5fb8a TID:9ab1c73e UDC_FNR: 0
28255 PID:bab5fb8a TID:9ab1c73e UDC_OTGICR: 0
28256 PID:bab5fb8a TID:9ab1c73e UDC_OTGISR: 0
28256 PID:bab5fb8a TID:9ab1c73e UDC_UP2OCR: 130000
28257 PID:bab5fb8a TID:9ab1c73e UDC_UP3OCR: 0
28257 PID:bab5fb8a TID:9ab1c73e UDC_CSR0: 0
28257 PID:bab5fb8a TID:9ab1c73e UDC_CR_A: 200D103
28258 PID:bab5fb8a TID:9ab1c73e UDC_CSR_A: 0
28258 PID:bab5fb8a TID:9ab1c73e UDC_CR_B: 2014103
28259 PID:bab5fb8a TID:9ab1c73e UDC_CSR_B: 0 Tag: a question about SQL install at the WInCE system Tag: 48193
GetKeyState() problem
It seems I can't read the state of my Alt, Control, or Shift flags....
The following code was generated to return the status of these flags:
//--------------------------------------------------------------------------
--------
int WINAPI WinMain( HINSTANCE hInstance,
HINSTANCE hPrevInstance,
LPTSTR lpCmdLine,
int nCmdShow)
{
for(int i=0;i<400;i++)
{
SHORT sControl = GetKeyState(VK_CONTROL);
RETAILMSG(1,(L"sControl: 0x%X\r\n",sControl));
SHORT sShift = GetKeyState(VK_SHIFT);
RETAILMSG(1,(L"sShift: 0x%X\r\n",sShift));
SHORT sAlt = GetKeyState(VK_MENU);
RETAILMSG(1,(L"sAlt: 0x%X\r\n",sAlt));
SHORT sCaps = GetKeyState(VK_CAPITAL);
RETAILMSG(1,(L"sCaps: 0x%X\r\n",sCaps));
Sleep(800);
}
return 0;
} // WinMain
//--------------------------------------------------------------------------
--------
The debug messages only return 0x0 regardless of the state of the input
system "flags".
If you have any ideas, please let me know...
Thanks,
Jim Merkle Tag: a question about SQL install at the WInCE system Tag: 48181
Support Additional NE 2000 Compatible NIC
Greetings All,
I am building an image for a Geode board with an onboard nic (the
infamour Realtek 8139). This board also has a PCI slot into which I
can add an additional NIC card .
What I would like to do is allow the image to support the board both
when it just has the lone onboard NIC and when an end user plugs in an
NE2000 compatible NIC card.
Thus far just adding the drivers to the image doesn't work - it fails
to start the network services and fails to complete loading.
If anyone has any suggestions how I can accomplish this I would
greatly appreciate hearing them.
Bill Morrison Tag: a question about SQL install at the WInCE system Tag: 48179
ExtEscape fails to call my ContrastControl function.
Hi All,
It's my understanding that if I use the ExtEscape function with the
CONTRASTCOMMAND escape code, that the call should eventually wind up
in my GPE derrived display class. I know my ContrastControl function
is being called during the initialization, but the ExtEscape call from
my application always returns 0 (indicating failure) and my
ContrastControl function is never called.
Is there something else I need to do in my display driver to "enable"
the interface through the ExtEscape function?
Following is a the code I'm using for the call:
HDC hdc = GetDC(NULL);
struct ContrastCmdInputParm CCmd;
CCmd.command = CONTRAST_CMD_SET;
CCmd.parm = 0;
int ExtRes = ExtEscape(hdc, CONTRASTCOMMAND, sizeof(CCmd), (const char
*)&CCmd, 0, NULL);
Thanks in advance,
Chris Tag: a question about SQL install at the WInCE system Tag: 48176
Problem in XScale exiting from sleep mode after a fault signal assert
Hi all,
I'm working on a DBPXA255 based platform and Windows CE 4.1.
When I assert one of the BATT_FAULT or VDD_FAULT signals, the
microprocessor enters in sleep mode correctly. But when I deassert
that fault signal and use a wake up source (GPIO1 for instance) the
power consumption goes a bit high and it seems that is trying to wake
up from sleep, but I cannot see the Windows CE image working another
time. It has to be a software problem, but my doubt is:
if the software was working properly, would the execution continue in
the same point that it was when the fault signal was asserted???
What could be this problem's source???
Thanks in advance,
Lur Tag: a question about SQL install at the WInCE system Tag: 48174
Is there a way to boost MediaPlayer's playback thread priority
We are having a problem that when MediaPlayer is playing a Mp3 song,
draging an icon on the desktop will cause the Mp3 playing back breaks. It
looks to me that the shell consumes all the rest CPU power to repaint the
desktop window and the MediaPlayer isn't given enough time to process.
I assume that both the shell repaint thread and the MediaPlayer playback
thread are running at default thread priority of 251 and with default thread
quantum of 100ms.
Is there anyway to boost the MediaPlayer playback thread priority? Or is
there any other better idea to work this around?
--
Rui Tang
Centrality Communications Inc Tag: a question about SQL install at the WInCE system Tag: 48168
Need Help: LIB : fatal error LNK1181: cannot open input file 'and'
I receive this message when a try to build a windows ce .net 4.2 image for
an arcom sbc-gx1 board:
----------------------------------------------------------------------------
--------
Windows CE Version (Release) (Built on Jun 7 2002 17:04:51)
makefile.def: BUILDROOT is D:\WINCE420\public\ie\cesysgen
addlib
D:\WINCE420\PUBLIC\IGX1N001\WINCE420\SBC_GX1\cesysgen\sdk\lib\x86\retail\uui
d.lib D:\WINCE420\public\ie\oak\lib\x86\retail\ieuuid.lib
LIB : fatal error LNK1181: cannot open input file 'and'
NMAKE : fatal error U1077: 'addlib' : return code '0x49d'
Stop.
---------------------------------------------------------------------------
Why the linker is serching for a file named 'and' ? Tag: a question about SQL install at the WInCE system Tag: 48163
Need Help: fatal error LNK1181: cannot open input file 'and'
Building a Windows CE .NET 4.2 image for arcom SBC-GX1 board i receive this
error message:
----------------------------------------------------------------------------
--------
Windows CE Version (Release) (Built on Jun 7 2002 17:04:51)
makefile.def: BUILDROOT is D:\WINCE420\public\ie\cesysgen
addlib
D:\WINCE420\PUBLIC\IGX1N001\WINCE420\SBC_GX1\cesysgen\sdk\lib\x86\retail\uui
d.lib D:\WINCE420\public\ie\oak\lib\x86\retail\ieuuid.lib
LIB : fatal error LNK1181: cannot open input file 'and'
NMAKE : fatal error U1077: 'addlib' : return code '0x49d'
Stop.
----------------------------------------------------------------------------
--------
Why the linker is searching for a file named 'and' ? Tag: a question about SQL install at the WInCE system Tag: 48162
Problem with project on network drive
I have an application that has been added to the FileView tab using
"Add New Project". The code that I have added is not actually in the
local drive but rather a network drive T:.
Now when I build this it occasionally fails in a build step because it
has concatenated the local path with the network path
C:\WINCE420\PUBLIC\MyPlatform\project\T:\project. This generally
happens after a full build of the complete platform.
Should I be able to build a project from a network drive?
Thanks,
J Tag: a question about SQL install at the WInCE system Tag: 48160
wallpaper version number displayed
Hi
Using Wince.net and what I get with any wallpaper is 'Windows CE .NET v4.20
(Build 1088 on Feb ???' being displayed 1/4 way up the screen.
How can I get rid of this.
Regards Tag: a question about SQL install at the WInCE system Tag: 48156
XIP and demand page
Hi,
I am confused on XIP and demand page.
When I set "IMGMULTIXIP=1", OS image will be built into many *.bin
files.
Then I use chain.lst to download the OS, I think "demand page" seems
be on( I check the remaining memory)
When I set "IMGMULTIXIP=", OS image will be built into one NK.bin.
Then I download it, I think "demand page" seems be off (I check the
remaining memory)
Is the above description right ?
As I know, XIP and demand page shoud be two different technologies.
Can I turn on the XIP and turn off the demand page ?
Can I build the OS to the NK.bin when I want to use the demand page ?
Thanks.
Yu. Tag: a question about SQL install at the WInCE system Tag: 48154
How to implement IDE driver in WinCE 4.2
Hi
I will write an IDE driver on WinCE 4.2 for our chip
Can you give me any suggestions
Regard
-Weiji Tag: a question about SQL install at the WInCE system Tag: 48152
OEMInterruptEnable() is not getting called
Hi,
currently i am doing wince.net 4.1 porting to 4.2 for xscale . my OS loads
into memory and calls OEMinit And InitClock() but my OEMInterruptEnable()
is not getting called with SYSINTR_SMSC. My code was working for 4.1. do i
need to do any changes to make it work for 4.2. please Help
thanks
shyam Tag: a question about SQL install at the WInCE system Tag: 48149
Internet Explorer registry setting
Dear tech guru,
I'm building a new Win CE 4.2 Platform.
Could you tell me how to modify registry file for enabling and setting
the proxy server in Internet Explorer ??
Thanks in advance!! Tag: a question about SQL install at the WInCE system Tag: 48148
Nand Flash Driver for K9k2G16U0M Chip in WInCE 4.2 .NET
Hi All,
I am writting device driver for Nand Flash Chip
(K9k2G16U0M Chip).I am using Microsoft Platform builder 4.2 .NET.
In the Nand Flash K9K2G16U0M Chip,Page size is 1024 words and 32
words as spare area.
I want to know the details of this spare area,I mean where the ECC
code,Bad Block Information and other information is to be written.
Where can i get it's specification ?
Anyother suggestion is mostwelcome.
Regards,
Ajay Tag: a question about SQL install at the WInCE system Tag: 48147
IEEE1394(Firewire) Source code
Hi,
Can someone with full CE source codes please tell me what is the following
DEBUGCHK about.
4294771428 PID:23fa4b2a TID:e3e71dca 0x83e53c20: Unknown: DEBUGCHK failed in
file
d:\mckendric\private\winceos\drivers\1394\drivers\port\openhci\ohcipnp.c at
line 1799
Thanks in advance.
Paul W Tag: a question about SQL install at the WInCE system Tag: 48145
How to compile for THUMB?
Hi,
My target platform is build under ARMV4I.( PB 4.2)
I would like to build some drivers and applications for THUMB.
How can I do it?
( I am building drivers with PB, and Applications with EVC)
I looked at PB and EVC options and could not find the way to switch to
THUMB.
I found a lot of discussion in NG about ARMV4I and THumb, but unfortunately
no answer for my problem.
Thanks
Ilia Tag: a question about SQL install at the WInCE system Tag: 48141
Link smclib.lib
2 problems..
How do I get smclib.lib included into my platform
How do I succesfully link smclib.lib? Since I could not get it in my platform (using ARMVI) I copied it over manually and then tried compiling the smart card device driver... unforutnately I get linking errors. I am using platform builder 4.2. I also tried setting in the project setting an absolute path to the smclib.lib in the common folder. Nothing seems to resolve my link errors. Tag: a question about SQL install at the WInCE system Tag: 48140
Rectification on previous SAPI problem
Excuse me, in the previous message I have been
inaccurate. I re-write my message below.
Hello,
I have linked a program (simpledict.exe) that use speech
api on WinCE.NET 4.2.
When I debugging it, the initialize instructions:
//***********************************************
HRESULT hr = S_OK;
CComPtr<ISpRecognizer> cpRecoEngine;
hr = cpRecoEngine.CoCreateInstance
(CLSID_SpInprocRecognizer);
//***********************************************
run right, but the next instructions:
//***********************************************
hr = cpRecoEngine->CreateRecoContext(&m_cpRecoCtxt );
//***********************************************
fail.
How can I use speech features supplied by WinCE.NET 4.2
properly in my application, and so how can I run properly
it?
Thank you !
Cancer02 Tag: a question about SQL install at the WInCE system Tag: 48136
SAPI problem
Hello,
I have linked a program (simpledict.exe) that use speech
api on WinCE.NET 4.2.
When I debugging it, the initialize instructions:
//***********************************************
HRESULT hr = S_OK;
CComPtr<ISpRecognizer> cpRecoEngine;
hr = cpRecoEngine.CoCreateInstance
(CLSID_SpInprocRecognizer);
if( SUCCEEDED( hr ) )
{
hr = cpRecoEngine->CreateRecoContext(
&m_cpRecoCtxt );
}
//***********************************************
run right, but the next instructions:
//***********************************************
if (SUCCEEDED(hr))
{
hr = m_cpRecoCtxt->SetNotifyWindowMessage( hDlg,
WM_RECOEVENT, 0, 0 );
}
//***********************************************
fail.
How can I use speech features supplied by WinCE.NET 4.2
properly in my application, and so how can I run properly
it?
Thank you !
Cancer02 Tag: a question about SQL install at the WInCE system Tag: 48135
I am a question about SL811HS USB Host at Wince .NET 4.2
Now, I am developing a evaluation board using Cyperss SL811HST.
I am a question about it.
Following specification for our evaluation board:
Xscale PXA255
Windows CE .NET 4.2
SL811HST R1.5
SL811HST Win CE Driver Rev. 0.3
I had test to mouse the result is no problem.
However, the problem is printer.
The printer name is HP inkject 920c.
When I check the debugging message, it displayed idVender and
idProduct to right.
The WAIT_TIMEOUT error is occurd at IssueVendorTransfer() and
IssueBulkTransfer()function in usbclient.c file.
Please, check the problem. Tag: a question about SQL install at the WInCE system Tag: 48133
Multi-core debug
Hi folks
FYI. Check out www.fs2.com - they have brought out a multi-core debug solution, where you can connect multiple DIFFERENT cores and debug them simultaneously ..
jm Tag: a question about SQL install at the WInCE system Tag: 48132
GlobalMemoryStatus
Hi All,
We are using Windows CE.NET 4.2.
We are getting numbers from this API which does not correlate with the
actual hardware memory we have. We are considering hardware issue remote
possbility for now.
The hardware in which we have 64MB RAM gives us following nos :
dwTotalPhys = 35102720
dwAvailPhys = 10379264
Now the total physical value looks really strange.
The questions I have :
1. How is the GlobalMemoryStatus internally implemented ?
Does it rely on some function in OAL/HAL layer ?
2. If just windows implements this function, then how can I explain the
above nos ?
Any pointers will be really helpful.
Regards,
Rajiv Tag: a question about SQL install at the WInCE system Tag: 48130
DHCP Request not working
Hi I'm using CE4.2. When I try to download an image
thru eboot, I go this problem:(but if I enter subnet mask, it works.)
If I boot CE(using another method), DHCP can't get an IP from the server
either.
the network does work when I use a static ip.
Can anyone give me some hint as what goes on?
InitDHCP():: Calling ProcessDHCP()
ProcessDHCP()::DHCP_INIT
DHCP requesting an IP address...
-OR- Press a key to enter an IP address in next 5 seconds
DHCP Message Received !
!CheckUDP: Not UDP (proto = 0x00000001)
DHCP Message Received !
!CheckUDP: Not UDP (proto = 0x00000001)
DHCP Message Received !
works if I enter a mask:
Enter new subnet mask or CR to use existing mask: 255.255.255.0
ReadSerialIP()::Using IP Address 192.168.1.120, netmask: 255.255.255.0
Sent BOOTME to 255.255.255.255 Tag: a question about SQL install at the WInCE system Tag: 48125
System hangs on suspend/resume
I am trying to configure Power Management on my Au1100 based board with
CE.NET. If I Start|Suspend then try to resume with an interrupt, the system
hangs. I'm not sure how to interpret the debug output. Here is a copy, can
anybody point me in the right direction?
244312 PID:20b2292 TID:e1eeef92 Back from OEMPowerOff
244316 PID:20b2292 TID:e1eeef92 We have the 32kHz oscillator, start it if
it is not already running
244174 PID:20b2292 TID:e1eeef92 Using RTCTICK tick source
244175 PID:20b2292 TID:e1eeef92 Calling device manager power proc.
244176 PID:20b2292 TID:e1eeef92 Calling GWES power proc.
244176 PID:a1f67af2 TID:e1eeef92 Returning to normally scheduled
programming.
244177 PID:a1f67af2 TID:e1eeef92 Setting Event 420ac8ca, phd = 820ac8c8
244177 PID:a1f67af2 TID:e1eeef92 Setting Event 420acdc2, phd = 820acdc0
244178 PID:a1f67af2 TID:e1eeef92 Setting Event a2053f92, phd = 82053f90
244178 PID:a1f67af2 TID:e1eeef92 Returning from PowerOnSetEvents.
244180 PID:20b2292 TID:420a7862 0x820a8400: OEMIocontrol:: Code=0x10100a8
244180 PID:20b2292 TID:420a7862 0x820a8400: DeviceType: 0x101
244180 PID:20b2292 TID:420a7862 0x820a8400: Access: 0x0
244180 PID:20b2292 TID:420a7862 0x820a8400: Function: 0x2a
244180 PID:20b2292 TID:420a7862 0x820a8400: Method: 0x0
244180 PID:20b2292 TID:420a7862 0x820a8400: OEMIoControl: Unknown
IoControlCode 0x10100a8.
244181 PID:20b2292 TID:c1ff9fba 0x81ff5000: SerialDllEntry
244181 PID:20b2292 TID:41e9cdfa 0x81f739a0: SerialDllEntry
244181 PID:20b2292 TID:41e9cdfa 0x81f739a0: +CHub(Root tier
0)::HandleDetach
244221 PID:20b2292 TID:c20365ea 0x81f608b8: SerialDllEntry
244223 PID:20b2292 TID:81ff5fda 0x81ff2000: SerialDllEntry
244225 PID:20b2292 TID:41e9cdfa 0x81f739a0: CHub(Root tier
0)::HandleDetach - status change thread closed in 3 ms
244227 PID:20b2292 TID:41e9cdfa 0x81f739a0: +CFunction(tier
1)::HandleDetach
244224 PID:20b2292 TID:c20365ea Ndisuio:
244229 PID:20b2292 TID:c20365ea Status: Open 0005F930 in power state 4,
Status 40010004 ignored
244231 PID:20b2292 TID:c20365ea Ndisuio:
244231 PID:20b2292 TID:c20365ea Status: Open 0005F930 in power state 4,
Status 40010005 ignored
244232 PID:20b2292 TID:c20365ea 0x81f608b8: ndisMResetCompleteStage2:
Internal reset
244239 PID:20b2292 TID:41e9cdfa 0x81f739a0:
!CQueuedPipe(Control)::ClosePipe 002c5420 doesn't exist!
Thanks,
--
Frank D. Lombardo
Turning Point Technology, Inc.
Frank_AT_TurningPointOnline_DOT_com Tag: a question about SQL install at the WInCE system Tag: 48121
CEC File Crashes Platform Builder 4.2?
Hey guys.
I've been trying to write my own .cec file to adapt a new reference BSP for
a PPC platform, and I'm running into problems.
I've read all of the CEC documentation in the help file. I started from an
existing .cec. I verified that I have a nice unique CECInfo field. I've
verified that all of my drivers have ComponentType fields that match
existing ones exactly (like "Serial"), or they're completely new and unique.
I've verified that all of my Implementations and BuildMethods have unique
GUIDs. I'm able to load this in the CEC editor, and import it into my
catalog. I can view all of my components in the catalog.
However, as soon as I try to create a simple platform based on this new BSP,
Platform Builder throws an exception. I do the following steps:
1. Start the "New Platform" wizard from File->New Platform.
2. Hit "Next" to get past the Step 1 screen.
3. Select my "NewBSP" from the Available BSP's screen in Step 2.
4. I select the "Mobile Handheld" configuration from the "Available
configurations" option. I also enter the name "NewPlatform" in the
"Platform Name" field. I then hit next.
5. I remove everything from the "Application and Media" screen, just for
safety. (I didn't do this originally.) I then hit next.
6. I de-select everything from the "Networking and Communications" screen,
just for safety. (I didn't do this originally.) I then hit next.
7. I then hit finish.
After doing this, I can see PB doing something, then I see the "Copying
sample configuration files..." status at the bottom. Then, I get:
cepb.exe - Application Error
The instruction at "0x5119f6fd" referenced memory at "0x00000000". The
memory could not be "read".
In other words, someone de-references a null pointer.
Needless to say, I'm seeing the same problem with many other configurations,
too. I've even completely cleaned my catalog by running the "cleandb.bat"
and re-importing my .cec file. Has anyone seen this before? Does anyone
have any ideas what I could be doing wrong in my .cec file? Anything to
look for? I've been all over this .cec file, and it should work. I've done
other custom .cec files before, and I haven't run into this.
Any help would be greatly appreciated guys. This is starting to drive me a
little bit crazy. Well, ok, maybe a little bit MORE crazy. I've been using
Platform Builder long enough that I'm already a Kb short of a meg, if you
know what I mean. ;)
Mark Murawski
Vocollect, Inc. Tag: a question about SQL install at the WInCE system Tag: 48113
Dear all:
I wantto know how to install the SQL for CE into the WinCE system,Are there
some books about it,please tell me!thanks!
best wishs
Carol