How to use hive-based registry
Hi,
Can anybody show me an example about how to use hive-based registry. My
board, (ARM9+CE5.0), contains 32MB Nor Flash, 24MB for nk.bin, 8MB for Flash
File System with folder "NOR Flash". Another question is if the "Control
Panel->Stylus->Calibration" does RegFlushKey() after finishing calibration
procedure.
The following are what I write in registry
[HKEY_LOCAL_MACHINE\Init\BootVar]
"SystemHive"="Documents and Settings\\system.hv"
"Start DevMgr"=dword:1
"DefaultUser"="Emtronix"
"Flags"=dword:1
Thanks in advance
Cheng Shi
www.emtronix.com Tag: Data Abort in GWES.EXE Tag: 97599
Error: Too much data space used by DLL's in MODULES section
This is WIN CE5.0
This is during a debug build. My guess is that the debug info is making the
DLL's Too big. Full Message is below...
I don't want to outright remove component. I see a symbol with an X defined
which says exclude from build and image. How do I set one of the
OSdesignview items to disabled so that it displays the X? When I right click
on an Item, the only option i see is 'delete'. I don't want to delete, I want
to disable so that it is excluded.
Any comments or Idea's
Full message section is:
Error: Too much data space used by DLL's in MODULES section
Current usage = 34944k, Maximum usage = 26624k.
Reduce DLL usage or move some DLL's into the FILES section.
Fatal error hit, exiting...
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec).
makeimg: FATAL ERROR: Command returned non-zero exit code 1 (dec). Tag: Data Abort in GWES.EXE Tag: 97597
Appending tens of files into NK image
CE4.2
I'd like to include my own tens of files in NK image. Also, these files need
to be placed in some different dirs.
I'm using below two steps to accomplish this:
1. Modify platform.bib, add lines
2. Modify platform.dat, add lines to make dirs and copy files to predefined
dirs.
All above things go well. These files are successfully placed in the dirs as
I want after reboot. But system's boot speed is affected apprently. As I
reduce the number of the files, the time consumed decrease accordingly. So,
I guess making dirs and copying files in object store during boot is the
reason.
Is there any solution to speed up the boot while doing my things?
TIA Tag: Data Abort in GWES.EXE Tag: 97586
Emulator using Ethernet in 5.0
Hi All,
I am using CE 5.0 emulator with an IP Phone template. When i attach device.
It gives following error message as pop-up:
Emulator for Windows CE could not open the Virtual Machine Network Services
driver.
Access to the external network and host will be unavailable to all virtual
machines using virtual networking. Virtual machines using virtual networking
will still be able to access other virtual machines using virtual networking.
To fix this problem, re-enable the Virtual Machine Network Services driver
on one or more ethernet adapters or reinstall Emulator for Windows CE.
How do i fix this. Due to this the emulator IP comes as 192.something
whereas the general IP of all machines and IP phone emulators on other
machines is 10.something.
I am using a Realtek 8139 ethernet adapter.
Urgent Help required Tag: Data Abort in GWES.EXE Tag: 97573
Making Ethernet work on DB1100 (MIPS) ie. "Product Ethernet"
I have a reference board, Ive built and Run Linux on it. That was a
nightmare...
But the Client want WIN CE 5. AMD provided an image that runs with
ethernet. It has a connection Icon under network connections when I run the
AMD example NK.bin
When I build an NK.bin I do not have a connection Icon under Network
connections. What's up
Lastly where are the manuals for using WinCE? I have a 6MB line and the
servers are so slow I'm falling asleep between pages. Books on CE 5.0?
Thanks Tag: Data Abort in GWES.EXE Tag: 97571
Driver loading problem
Hi all,
I have a com port driver. this is running absolutely fine when i load
it during the boot time. for loading it during the boot time, the
required registry entries and bib files are modified.
But the same generated DLL, if I load it during runtime, its failing.
I am copying all the registry entries in to builtin. and calling
ActivateDevice function. This is working fine. It register the dll,
call init functioonality and all. But in my active registry the name
entry is not registered. I dont know what might be the reason. I have
given proper prefixes and indexes. below are the entries that i have
registered in builtin.
[HKLM\Drivers\Builin\my_serial]
Prefix
Dll
Order
Index
DeviceArrayIndex
TSP
DeviceType
FriendlyName
DevConfig
And these are the entries registered in active
[HKLM\Drivers\Active\40]
Hnd
Key
ClientInfo
My requirement is such that, even the name has to be registered in the
active registry. Apart from it all the other things are working. My
driver is responding to createfile, readfile, writefile etc and i use
the same prefix and index for createfile function. It works verymuch
fine. My only problem is if I autodetect the COM ports present in my
device, App does not display my device in its list. This is because of
the name entry not being present in the active registry. So can any
one help me to resolve this problem.
Regards
Deepu Tag: Data Abort in GWES.EXE Tag: 97570
error: The debugger KITL packet receive has timed out (looks like fail at kitl data command 0x2)
I am using platform builder for windows mobile 5.0, and target cpu is
marvell monanhans P. I am using USB RNDIS Kitl.
When I set IMGNODEBUGGER=1, target boot and CESH come up, I can get
all debug message in PB IDE. But after clear IMGNODEBUGGER, target can
not boot up, in PB IDE, it show some debug message and show Kernel
Debugger connected sucessfully, but then it pop up message "The
debugger KITL packet receive has timed out...".
I analyze the networking traffic, the last packat from PB to target
is "Timer Packet", PB repeat sending this packet:
0000 00 45 34 56 78 9a 02 45 34 56 78 9a 08 00 45
00 .E4Vx..E4Vx...E.
0010 00 24 d7 8e 00 00 80 11 41 83 c0 a8 50 65 c0 a8 .
$......A...Pe..
0020 50 01 06 cc 03 d5 00 10 4c df 45 44 42 47 ff 00
P.......L.EDBG..
0030 00 0a ..
and the last data command from PB to board is "Jump to image"
0000 00 45 34 56 78 9a 02 45 34 56 78 9a 08 00 45
00 .E4Vx..E4Vx...E.
0010 00 38 d7 8c 00 00 80 11 41 71 c0 a8 50 65 c0 a8 .
8......Aq..Pe..
0020 50 01 06 ce 03 d4 00 24 4c 7d 45 44 42 47 ff 00 P......
$L}EDBG..
0030 00 02 00 41 00 00 00 00 00 00 00 00 00 00 00
00 ...A............
0040 00 00 00 00 00 00 ......
Any guy here have idea on it? Thank you in advance
ps: how to attach file here?
Ken Dai Tag: Data Abort in GWES.EXE Tag: 97569
Accessing Frame Buffer from User App
Does any one know if a user mode (DD) application is allowed to access the
frame buffer directly? I'm under the impression that the memory location
returned by DdLock allows an application to access the video memory.
A bit of background. I have a CE 6.0 DDGPE driver that returns the video
memory location in DdHalLockData->lpSurfData. By the time that gets through
the GWES and back to the application, it sometimes gets mapped to an invalid
user mode memory location. Even when it is untouched, i.e. what I assigned
to lpSurfData is what the application gets, I still get an Access Violation
exception when I try to read from that location. The location looks good in
the debugger's memory window.
thanks Tag: Data Abort in GWES.EXE Tag: 97568
problem attaching to target
Newcomer CE 6.0 problem. I built a CEPC OS and after a lot of effort to
obtain an NE2000-compatible NIC, I tried to attach to the target to
download. I got the following in the PB Debug window:
PB Debugger The Kernel Debugger is waiting to connect with target.
PB Debugger Kernel debugger connected.
PB Debugger Binary Image should be loaded at 0x80220000 / Data relocated at
0x817b2000
PB Debugger Unexpected Debugger Service error: 0x80070057
PB Debugger Unexpected Debugger Service error: 0x80070057
PB Debugger Loaded symbols for
'C:\WINCE600\OSDESIGNS\SBC2\SBC\RELDIR\CEPC_X86_DEBUG\NK.EXE'
PB Debugger Unexpected Debugger Service error: 0x80070057
PB Debugger Unexpected Debugger Service error: 0x80070057
There was also a mesage box in PB the said "Unhandled exeception in an
unknown module (0x00000000) unnamed)." There were no errors message from
the target's COM1: debug port. Before and after these errors the target
sent broadcasts requesting a download. Searching MSDN and other sources
indicates that 0x80070057 is a COM invalid argument error. Can someone tell
me what to do next?
Luke Tag: Data Abort in GWES.EXE Tag: 97563
Wince application closes abrubtly
I have built an embedded VC application built for a custom made
product. The application runs perfect for few hours or few minutes,
but after that it closes by itself.
I want to find out the reason why it is closing itself. I tried
building the application in debug mode. Even then it is not throwing
any exception.
Is there a way to capture the reason for application closure ?
Advise me. Tag: Data Abort in GWES.EXE Tag: 97561
Wince application closes abrubtly
I have built an embedded VC application built for a custom made
product. The application runs perfectly after few hours or few minutes
it closes by itself.
I want to find out the reason why it is closing itself. I tried
building the application in debug mode. Even then it is not throwing
any exception.
Is there a way to capture the reason for application closure ?
Advise me. Tag: Data Abort in GWES.EXE Tag: 97560
question about SYSINTR_RESCHED and scheduler
Dear All,
I have a question about SYSINTR_RESCHED and scheduler,
As I know SYSINTR_RESCHED is returned by ISR to indicate a reschedule, but
what will scheduler do in case of rescheduling? (Suppose that I have created
three threads, and all of them are created in suspended state, and I am
afraid none of them will be awaked by the scheduler. Right? If so, I need
another SYSINTR_ to triggered the event.)
thanks
to suspended state Tag: Data Abort in GWES.EXE Tag: 97553
Help needed to add telnet reg settings to my emulator version 2 bu
Hello All,
Is there a way to add 2 telnet registry settings to my Arm based version 2
emulator build that is using a WinCE 5.0 image in Platform Builder 5?
I want to have those settigs active when the emulator starts so I can telnet
in after starting.
Thanks in advance for any help :)
--
Bob Hanson
Senior Solutions Developer Tag: Data Abort in GWES.EXE Tag: 97552
CE5.0 PC Card Bus Driver PDD Documentation
Have I missed something? The PB5 help appears to document at length
the functionality of the MDD but not the required functions in the
PDD. Is there a white paper on this anywhere or do I just have to
grope through the (barely commented) examples supplied?
Andrew. Tag: Data Abort in GWES.EXE Tag: 97551
Where / How is device.exe built ?
Hi,
I made a change in devcore (yes,yes, i know...)
But this folder compiles to a .Lib
This lib is used in building device.exe somehow.
But I cannot find which project actually delivers device.exe as its target.
I searched through all sources files...
I want to build device.exe as a seperate PB-project.
Probably I am missing something here.
Any tips ?
Greetings,
Rob Tag: Data Abort in GWES.EXE Tag: 97549
NK Kernel debugchk error in schedule.c
Hi all,
I have downloaded the nk.bin on to the target. I have enabled KITL
and debugging the code. Here is debug log I get on the platform
builder. I can see hd.dll, nk.exe, osaxst0.dll, osaxst1.dll,
coredll.dll and filesys.exe loaded
Can anyone say why do I get the following error
NK Kernel: DEBUGCHK failed in file c:\macallan\private\winceos\coreos
\nk\kernel\schedule.c at line 1959 and the code hangs.
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SCRet: return to
03f39d90 Proc=8254c7d0 aky=3, mode = 0000001f
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SCRet: Before return
psrs->mode = 1f, psrs->prevSP = 00000000
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: ObjectCall: obs =
040afdd0, ra=03f372b4 h=00000003 iMethod=ffffffe0 mode=1f
extra=f000ff80, prevSP = 00000000
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: ObjectCall: 80203348
'Wn32' API call #32. disp=3.
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: KPSLDispatch: pci
80203348, fnptr 8028b02c
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SC_GetRomFileInfo
entry: 00000003 01fff224 040afe1c
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SC_MapPtrToProcess
entry: 040afe1c 03fece5e
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SC_MapPtrToProcess
exit: 040afe1c
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SC_MapPtrToProcess
entry: 01fff224 03fece5e
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SC_MapPtrToProcess
exit: 05fff224
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SCR: psrs = 040afde4
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SCRet: return to
03f372b4 Proc=8254c7d0 aky=3, mode = 0000001f
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SCRet: Before return
psrs->mode = 1f, psrs->prevSP = 00000000
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SC_GetRomFileInfo
entry: 00000004 01fff228 00000000
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SC_MapPtrToProcess
entry: 01fff228 03fece5e
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SC_MapPtrToProcess
exit: 05fff228
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: SC_OpenEvent entry:
001f0003 00000000 8021330c 00000000
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: NK Kernel: DEBUGCHK
failed in file c:\macallan\private\winceos\coreos\nk\kernel\schedule.c
at line 1959
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: ExceptionDispatch:
pexi=040afc24 Pc=8022f264
4294767296 PID:3fece5e TID:3fecbfa 0x83fecc1c: addr 40aefec, id 1, sp
040afc48, fsr=00000007, BVA = 8022f264
if (pszName) {
// caller needs to be trusted if the named object is system
prefixed (case insensitive)
if (!kstrncmpi (pszName, TEXT("SYSTEM/"), 7)) {
TRUSTED_API (L"OpenOrCreateSyncObject", NULL);
}
// try to find it in the list if name is supplied
len = strlenW(pszName) + 1;
if ((MAX_PATH < len) || !LockPages(pszName, len *=
sizeof(WCHAR), 0, LOCKFLAG_READ)) {
KSetLastError(pCurThread, ERROR_INVALID_PARAMETER);
return NULL;
}
}
EnterCriticalSection(pObjMethod->lpcs);
// try to find if name exists
if (pszName) {
for (hObj = *phHandleList; hObj; hObj = ((LPEVENT) pObj)-
>hNext) {
LPName pObjName;
pObj = GetObjectPtrByType (hObj, pObjMethod->pci->type);
-> !!!!!!!! DEBUGCHK (pObj); !!!!!!!!!!
pObjName = pObjMethod->pfnGetName (pObj);
if (pObjName && !strcmpW (pObjName->name, pszName)) {
// object already exist,
if (ACLCheck (hObj)) {
// increment ref-count and done
IncRef (hObj, pCurProc);
dwErr = ERROR_ALREADY_EXISTS;
} else {
// no access
dwErr = ERROR_ACCESS_DENIED;
Can anyone figure out what the problem could be. Please help
Thanks,
Chitra Tag: Data Abort in GWES.EXE Tag: 97544
displayer driver screen size problem?
hi all,
am using ce.net42 with the smdk2440,my device with CSTN 320*240
panel(LM057QC1T01).
In the bootloader, setting the LCD controller as 8bit single scan, 16bit
color,
it works well. This driver has works well for the TFT 640*480 16bit color
panel.
Now in the ce display driver's construction function, setting this value.
S3C2440DISP::S3C2440DISP (void)
{...
m_nScreenWidth = 320;
m_nScreenHeight = 240;
m_colorDepth = 16;
m_cbScanLineLength = m_nScreenWidth * 2;
m_FrameBufferSize = m_nScreenHeight * m_cbScanLineLength;
...
}
But the problem is, the screen resolution is very small, like only 160*120.
How should these value should been set,or there is other problem?
Thanks in advance.
kavin Tag: Data Abort in GWES.EXE Tag: 97543
USB keyboard stopped working
Hi,
Suddenly my USB keyboard has stopped working.
My USB touchscreen is also no longer working.
I donot know what I did to cause this.
When I plug in the keyboard I see the following :
4294862543 PID:edf8dc2e TID:8de42ca2 0x8de42a10: >>> Loading module
hidparse.dll at address 0x036E0000-0x036EF000 (RW data at
0x01F77000-0x01F77474)
Loaded symbols for
'E:\WINCE500\PBWORKSPACES\TEST\RELDIR\VIACN_X86_DEBUG\HIDPARSE.DLL'
4294862559 PID:edf8dc2e TID:8de42ca2 0x8de42a10: >>> Loading module
usbhid.dll at address 0x03720000-0x03732000 (RW data at 0x01F7F000-0x01F7F540)
Loaded symbols for
'E:\WINCE500\PBWORKSPACES\TEST\RELDIR\VIACN_X86_DEBUG\USBHID.DLL'
4294862598 PID:edf8dc2e TID:8de42ca2 0x8de42a10: +DEVICE!I_ActivateDeviceEx:
starting HLM\Drivers\USB\ClientDrivers\Hid\Instance
4294862598 PID:edf8dc2e TID:8de42ca2 0x8de42a10:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\USB\ClientDrivers\Hid\Instance\Flags) returned 2
4294862598 PID:edf8dc2e TID:8de42ca2 0x8de42a10:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\USB\ClientDrivers\Hid\Instance\Prefix) returned 2
4294862598 PID:edf8dc2e TID:8de42ca2 0x8de42a10:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\USB\ClientDrivers\Hid\Instance\BusPrefix) returned 2
4294862598 PID:edf8dc2e TID:8de42ca2 0x8de42a10:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\USB\ClientDrivers\Hid\Instance\Index) returned 2
4294862598 PID:edf8dc2e TID:8de42ca2 0x8de42a10:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\USB\ClientDrivers\Hid\Instance\Context) returned 2
4294862598 PID:edf8dc2e TID:8de42ca2 0x8de42a10:
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\USB\ClientDrivers\Hid\Instance\BusInitCode) returned 2
4294862598 PID:edf8dc2e TID:8de42ca2 0x8de42a10: CreateHidInterface: Unable
to activate HID stream driver
4294862598 PID:edf8dc2e TID:8de42ca2 0x8de42a10: UsbHid: DEBUGCHK failed in
file
E:\WINCE500\public\common\oak\drivers\usb\CLASS\HID\HIDCLASS\USBPDD\.\setup.cpp at line 60
4294862617 PID:edf8dc2e TID:8de42ca2 0x8de42a10: -CHub(Root tier
0)::AttachDevice - port = 2, fIsLowSpeed = 1, address = 1
Any ideas ?
Greetings,
Rob. Tag: Data Abort in GWES.EXE Tag: 97541
ppp and software flow control
Hello,
i'm trying to configure my device to accept incoming ras connections.
I installed the package and configured the service and so far everything
works well.
The problem is I have to configure the modem to use software flow control. I
altered the DevConfig but now the connection sometimes stands still. I think
this is due to ppp. I think while the communication is established bytes are
sent from the device to the modem and some of these bytes happen to be the
xon / xoff signals. Thus I assume ppp doesn't know there is software flow
control set up.
In the case I'm right, does anybody know how to fix that?
In the case I'm wrong, does anybody know how to set up software flow
control?
Thanks a lot
__
Greetings, Dennis Tag: Data Abort in GWES.EXE Tag: 97540
WinCE6: Build System - A solution for conditional statements in "sources" ?
Hi all,
If i have to include conditions in my build system, should i have to
forget WinCE's build system and use other tools ?
For example, it seems WinCE's "sources" file does not support :
#ifdef ALLOW_COLOR
WINCETARGETFILE0=color16.h color32.h
SOURCES=common.c color.c color16.c color32.c
#else
WINCETARGETFILE0=bw.h
SOURCES=common.c bw.c
#endif
Thanks
Olivier Tag: Data Abort in GWES.EXE Tag: 97538
Help needed with release driver
Hi everybody!
I have developed a driver for a PCI device. With the debug version
everything is working fine. I have added registry settings and
modified platform.bib file so that the driver is assigned to the
device. I can not see the driver in the Windows directory in the
device, but I can see it with Process Viewer remote tool.
I need to test the real-time performance of CE6 and the results are
not satisfactory at all with the debug version so I am trying to make
the release version work. I just changed the active configuration to
release and made the image. However the driver I developed is not
working anymore. It seems to be ignored although I can find it in the
Release Directory.
I get few messages in the debug window...
PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS
\OSDESIGN11_INDCTRL\OSDESIGN11_INDCTRL\RELDIR\TESTCEPC_X86_RELEASE
\NK.EXE'
PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS
\OSDESIGN11_INDCTRL\OSDESIGN11_INDCTRL\RELDIR\TESTCEPC_X86_RELEASE
\COREDLL.DLL'
PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS
\OSDESIGN11_INDCTRL\OSDESIGN11_INDCTRL\RELDIR\TESTCEPC_X86_RELEASE
\KERNEL.DLL'
PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS
\OSDESIGN11_INDCTRL\OSDESIGN11_INDCTRL\RELDIR\TESTCEPC_X86_RELEASE
\KITL.DLL'
... (and so on)
but none refering to my driver.
Could someone please help me?
I would really appreciate any suggestion.
Thanks in advance.
maite Tag: Data Abort in GWES.EXE Tag: 97537
Calling crypto APIs from OAL (OEMCertifyModule) in CE 5.0
I would like to improve the signature verification method proposed in
the Trusted Environment Creation, which is using a single public key,
to a more elaborated model using certificates.
Would be a way to call the Crypto API from OEMCertifyModule?
Otherwise, would be possible to use the MINCRYPT library?
Thanks,
MV Tag: Data Abort in GWES.EXE Tag: 97530
Leaking D3DM Object: Vertex Buffer
Hi there, i am currently working on porting my D3DM driver from Windows CE
5.0 to Windows CE 6.0. In the process, i have of course already added in
necessary changes like kernel-to-user memory mapping for surfaces/buffers and
changing of the shared memory resource pool allocation API's (as per the
sample null driver).
When running the MS Widows CE CETK tests for D3DM, the interface tests
passed as expected, but in the verification tests, i found that the
middleware seems to not destroy the 1 vertex buffer it creates for each test.
in my driver, my contexts are not destroyed prematurely until the last
surface gets destroyed, this is causing the contexts to leak as well. The
tests start, run and finish, posting the results, but it destroys all
surfaces except the vertex buffer it created and then invokes my driver to
destroy the context. This is happenning when on CETK D3DM Verification tests
(tests 200 and above).
I find the d3dm middleware displaying the following debug message just
before destroying the context:
"Leaked D3DM Object: Vertext Buffer, [hex address of vtx buf]"
anyone has any ideas why this is happenning? Tag: Data Abort in GWES.EXE Tag: 97518
WinCE 5 - clone catalog item again - unable to do via PB ?
Hello,
it was enough said not to modify the code under PUBLIC tree. Even if some of
us occasionally do, some day tried to clone just a subtree as an example of
good doing (as opposed to worng doing, which is directly alter the needed
source code under whatever tree it is).
So the Help in PB 5
[ms-help://MS.WindowsCE.500/wceosdev5/html/wce50tskCloningCatalogItem.htm ]
says that
......
Create or open a workspace containing an OS design you want to modify.
In the Catalog, select the Catalog item you want to clone into your OS
design and then, from the context menu, choose Add to OS Design.
The item is added to your OS design as an user-specified Catalog item.
1.. In the Workspace window, on the OSDesignView tab, select the Catalog
item you added and then perform one of the following:
2.. From the context menu, select Clone Catalog Item.
3.. From the Platform menu, select Clone Catalog Item.
The Clone Libraries dialog box appears.
Why is the menu item in both cases 2 and 3 is grayed out ? Yes, for some
items in OSDesignView it is not grayed out, but for several ones - it is
grayed. For example {Windows XP-like Sample Skin} or {Standard Shell}. Does
it mean these items aren't supported to be cloned [via PB] ? Perhaps anyone
have seen this before, right ?
Thank you for your consideration
Sergei R Tag: Data Abort in GWES.EXE Tag: 97514
Bug in rtc.c in SMDK2440A BSP
Hi all,
I have just found a problem in rtc.c in SRC\ARM\SAMSUNG\S3C2440A\Rtc.
All references of pRTCReg->BCDDATE and pRTCReg->BCDDAY are swapped:
BCDDATE should be used to store the day (1-31). (pTime->wDay)
BCDDAY should be used to store the weekday (1-7). (pTime->wDayOfWeek)
However, in the original rtc.c file they are used the other way around.
Hope this helps someone.
BTW, in case there is an updated version of the SMDK2440A, where can I get
it?
Thanks,
H Tag: Data Abort in GWES.EXE Tag: 97503
Enabling DMA into SMSC LAN9118 driver rel.1.08
Hello,
I've integrated rel.1.08 of the SMSC driver into a Windows CE 5.0
kernel for the PXA270.
It works in PIO mode (slow!).
After enabling RX and TX DMA, I am able to see all PIO packets on the
network sniffer.
The first TX packet using DMA is not transmitted by the LAN chip,
although it seems to be transmitted ok by the driver functions.
The next packet transmission fails due to a "TX FIFO full" condition
(free space = 0 bytes). TX FIFO free space should be at least
4608(empty)-736(previous)=3872 bytes(free).
So, are you using DMA with LAN9115/6/7/8?
Is it required to add glue code for DMA, other than the one present
into the driver itself?
Peace & Happiness
Panino Colsalame Tag: Data Abort in GWES.EXE Tag: 97489
ActiveSync on COM4 !!!
I have a GENE5312 from AAEON with WinCE 5.0 and 4 COM : COM1,COM2,COM3 and
COM4.
When I run Repllog, Repllog send caracters CLIENT on COM4 and I want to use
COM1.
Anybody knows which register or anything else to modify the serial line
--
Thanks
Damien Tag: Data Abort in GWES.EXE Tag: 97480
Loading problem, WinCE 6.0 dm9000 Ndis driver
Hi,
Im trying to move our old DM9000 miniport ndis driver from our old
WinCE 4.2 platform to WinCE 6.0. It all works well when running in
debug mode but when I do a release build the dm9000.dll won't load.
I have verified that the dm9000.dll resides in the image and that ndis
is running. I have also built a release image with kitl support and
added some RETAILMSG to the DriverEntry function, but it does not
output anything.
This is the registry entries:
[HKEY_LOCAL_MACHINE\Comm\DM9CE]
"DisplayName"="DM9000 Fast Ethernet Adapter"
"Group"="NDIS"
"ImagePath"="dm9000.dll"
[HKEY_LOCAL_MACHINE\Comm\DM9CE\Linkage]
"Route"=multi_sz:"DM9CE1"
[HKEY_LOCAL_MACHINE\Comm\DM9CE1]
"DisplayName"="DM9000 Fast Ethernet Adapter"
"Group"="NDIS"
"ImagePath"="dm9000.dll"
[HKEY_LOCAL_MACHINE\Comm\DM9CE1\Parms]
"BusNumber"=dword:0
"BusType"=dword:1
"SysIntr"=dword:1F
"XmitBuffer"=dword:64
"RecvBuffer"=dword:20
[HKEY_LOCAL_MACHINE\Comm\DM9CE1\Parms\TcpIp]
"DefaultGateway"=""
"UseZeroBroadcast"=dword:0
"IpAddress"="192.168.1.1"
"Subnetmask"="255.255.255.0"
"DNS"=""
"WINS"=""
"EnableDHCP"=dword:0
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
"Bind"="DM9CE1"
Anyone have any suggestions why this is happening? Why does it work in
debug mode and not in release mode?
Thanks in advance!
Best regards,
Bjorn Hall
Beijer Electronics Tag: Data Abort in GWES.EXE Tag: 97478
CE4.2 InternetReadFile oddities + PPP debug.
I have been experiencing very strange behavior in the wininet
InternetReadFile API. I am using InternetReadFile to download a 1Mb file via
FTP (Passive). The server side is IIS's FTP server.
The environment is quite involved and by no means orthodox. I am testing on
a custom Windows CE 4.2 platform (handheld device). The handheld is using the
Microsoft Bluetooth Stack with a customized stream driver that can multiplex
several virtual serial devices over the wireless bluetooth connection (SPP)
to a 'black box' which finally demuxes to physical RS232 ports.
I am testing with a DUN RAS connection via a GPRS modem (Siemens MC35
terminal) physically plugged into that 'black box'.
InternetReadFile() is called in a worker thread to manage the timeouts as
per KB176420/KB224318 (fixed 60 min timeouts?!) I have tried pulling 512 and
2048 chunks on each successive call.
The actual InternetReadFile() quirks are listed below, I am only able to
reproduce these quirks with a GPRS/CDMA wireless modem (~1.5KiB/s
throughput). Obviously there are wireless network and mux/demux (bluetooth)
latency and delays. High speed direct serial (PC to PC) connections are fine.
I suspect latency, is a big player.
Quirk 1. InternetReadFile() is blocking indefinitely on 9 out 10 file
transfer sessions, usually at similar points (often at ~90%). I have
visibility of ppp stack's polled reads through debugging traces of COM_Read's
in the mux driver. I can see that 2k chunks of data are still being polled,
though sometimes not. So there can be activity under the hood while it is
blocking.
Quirk 2. Occasionally, InternetReadFile() returns with success and zero
bytes (EOF) even though it has only transferred part of the file. This just
shouldn't happen.
Quirk 3. Rarely, InternetReadFile() will return with 12031 (connection
reset).
What is most interesting is that if I don't call InternetReadFile() in a
worker thread it tends to work fine. Also, the PPP connection is still alive
and well after the FTP transfer fails. I am also pretty confident the
mux/demux driver and hardware are working correctly.
I'm sure you can appreciate how difficult this is to debug. Compounding this
is that the original engineer has left the project, I am merely mopping up. :(
My questions: -
1. Has anyone seen these problems with InternetReadFile() before?
2. Are there any metrics/statistics that I can check in the TCP/IP or PPP
stack to ensure there are no framing errors or bad packets?
3. Can I get access to the wininet source to work out what is going on?
4. Is it possible to get detailed logs from the PPP stack under Windows CE?
I don't easily have access to the platform build (managed by another division
of my employer).
Thanks in advance. :)
David. Tag: Data Abort in GWES.EXE Tag: 97477
Usage of SetSystemPowerState
Hi All,
I have been working on an MFC application which will be deployed on a
Samsung SMDK2410 board.
I need to turn off the system (or put it in suspended state) on a
button click. The code that I have used to turn off the power
is as follows:
void CMyAppDlg::OnButtonClick()
{
SetSystemPowerState(NULL,POWER_STATE_SUSPEND,0);
}
I am currently testing this on the PB emulator and following are the
issues I am facing:
1. As soon as I click the button, the system is going into suspend
mode but after a
few seconds it resumes operation(without any mouse click or
keyboard hit from my side).
A call to GetSystemPowerState( ) returned POWER_STATE_ON as the
current state.
What am I supposed to do if I need to keep the system in the
suspended state till a
mouse click happens or the touch screen is touched?
2. The PB documentation mentioned about registering power events in a
POWER_BROADCAST structure.
Do I need to do this before calling SetSystemPowerState?
Thanks in advance
Treadstone Tag: Data Abort in GWES.EXE Tag: 97475
Is zero-length USB packet supported in Windows CE 5.0 ?
We are developing a USB Device Driver in Windows CE 5.0. We are using
the
BSP for Intel PXA27X ARM Processor. Our USB device has 1 Bulk-In
endpoint, 1
Bulk-Out endpoint and 1 Interrupt-In endpoint.
For the Bulk-Out transfers, we will send out a zero-length packet for
data
transfer of multiple of 64 bytes. However from the CATC USB anaylzer,
we
don't see the zero-length packet being transmitted out by the USB
Bus. Since
the device did not receive the zero-length packet, the device could
not
determine the end of transfer and would always appear to "hang"
whenever a
multiple of 64 bytes of data is sent.
We tested the same driver in Windows CE 4.2 and we don't have such
problem.
Thank you. Tag: Data Abort in GWES.EXE Tag: 97471
Is it a celog bug to get the dwCodeBase?
I wrote an application and change the default base address (using /base
option) to 0x20000. To my understanding, if the process is loaded to address
0x1c000000, the execute code will begin from 0x1c020000.
However, in the my celog, the dwCodeBase field of the structure
CEL_EXTRA_PROCESS_INFO still returns 0x10000.
Is it a bug of celog? If not, is there any way that I can get the correct
value?
Platform: Windows Mobile 5.0 for Pocket PC + XScale target + visual studio
2005 Tag: Data Abort in GWES.EXE Tag: 97468
Flash File system FMD Erase Block
HI
I am using PXA270 and Mainstone ii BSP with wince 5.0. For Flash
file system i am using the driver provided by win ce i.e fmd.cpp . i
am using intel strata paired flash of 128Mb (with 64MB each).
Using shawdowing whole windows directory is mapped to flash.
But it is calling FMD Erase block some times with lot of
inconsistency. but data in the flash remains unaffected.
I suspect that bcoz of this operation our application is crashed after
2 hrs or some times even 20 minutes.
could any one pls help on this issue??
thanks in advance Tag: Data Abort in GWES.EXE Tag: 97466
USB is not recognized+wince
Hi,
I am working in Wince for s3c2440 target board.
I want to download my Nk.nb0 thro' USB from Eboot.
I added USB client driver for USB support in Bootcode for
downloading my Nk.nb0.
Any thing i have to do in Host side(PC) for recognizing my USB
device.
It always shows my USB is not recognized....
How i have to configure so that i can proceed downloading.
Thanks
Kirthika Tag: Data Abort in GWES.EXE Tag: 97465
CE6 CEPC debug NICs
Why does CE6 have worse CEPC NIC support than CE5? CE5 doesn't support many
CEPC target NICs but at least I found one 100BT NIC, Netgear FA311, that it
does support. CE6 will download to a target that has this but then the target
hangs when it jumps into the image. The exact same hardware works fine in
CE5. When the fast NIC is replaced by a clunky old 10BT (Kingston) CE6 works
OK but communicates many times slower than CE5 on this same NIC. Why are we
going backwards? Tag: Data Abort in GWES.EXE Tag: 97459
WinCE 6.0 / PB6 very slow builds?
Has anyone noticed very slow builds, using PB6?
I've been using PB4.20, then PB6beta without any problems with the build
times. My platform was built within a few minutes, with a CPU usage around
70%, while the disk was working loudly.
With PB6 (RTM + VS2005 SP1) the builds takes 10-20 minutes, CPU usage 100%,
but almost no disk activity at all ?!? The CPU is hogged so hard that the
computer can hardly be used for anything else during the build... :-(
Similar problems seems to appear when I Attach to my device (and starts
debugging) - the machine gets very slow...
Are there any solutions or suggestions out there?
Thanks in advance
--
Johan Ekstrom Tag: Data Abort in GWES.EXE Tag: 97447
Need Help to set breakpoint to debug the code
Hi All,
I have problem in bringing up the kernel, I have enabled KITL and I
do get the debug messages on platform builder as kernel debugger
connected and some debug message. But if I set a breakpoint the colour
changes but the code doesn't stop there. I tried adding debugbreak()
function in oal layer it works but how do I set breakpoint in kernel
code using debugbreak() function. Please reply.
Thanks & Regards,
Chitra Tag: Data Abort in GWES.EXE Tag: 97444
Cannot download NK.bin with PB
My PB can download nk.bin before. But now it cannot download. the following
is the message printed in hyperterminal:
ProcessDHCP()::DHCP IP Address Resolved as 10.193.101.88, netmask:
255.255.255.0
Lease time: 43200 seconds
Got Response from DHCP server, IP address: 10.193.101.88
No ARP response in 2 seconds, assuming ownership of 10.193.101.88
+EbootSendBootmeAndWaitForTftp
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Got EDBG_CMD_JUMPIMG
Got EDBG_CMD_CONFIG, flags:0x00000000
-EbootSendBootmeAndWaitForTftp
Download successful! Jumping to image at 0h...
Clearing RAM
How can I fix the issue? Thanks a lot. Tag: Data Abort in GWES.EXE Tag: 97441
Suspend Problem..
Hi,
I'm working on a x86 processor. I ported winCE on that, and its booting. The
only problem is, when i click on suspend option, system halts, but desktop
didnt go away. When i press any key in keyboard, USB mouse gets power up, but
not working. I'm using AGX display driver. After 1 min, due to system idle
time which i have set, monitor power gets down.
The following s the some part of debug output.
0x83cc58a8: >>> Loading module netui.dll at address 0x03BE0000-0x03C2B000
(RW data at 0x01FC0000-0x01FC6808)
0x83cc58a8: >>> Loading module commctrl.dll at address 0x03D60000-0x03E04000
(RW data at 0x01FE1000-0x01FE1C0C)
0x83cc5a84: >>> Loading module ssllsp.dll at address 0x03AD0000-0x03AE1000
(RW data at 0x01FA8000-0x01FA9055)
0x83cc5a84: >>> Loading module wspm.dll at address 0x03B00000-0x03B05000 (RW
data at 0x01FAD000-0x01FAD154)
0x83f81a54: Geode PM: IOCTL_POWER_SET called
0x83f81a54: Geode PM: IOCTL_POWER_SET called
0x83d2de48: Bailing on save bits because someone has an open DC!
0x83d2de48: Geode PM: IOCTL_POWER_SET called
0x83d2de48: FS: Got Power notif 0x00000002
0x83d2de48: FSREG: Flushing registry
0x83d2de48: FSRAM: Flushing cached file data
0x83d2de48: Powering Off system:
0x83d2de48: Calling GWES power proc.
0x83d2de48: Calling device manager power proc.
0x83d2de48: Calling OEMPowerOff...
RTC - Status Reg B - 0x22
0x83d2de48: Back from OEMPowerOff
0x83d2de48: Calling device manager power proc.
Help me friends...
Regards,
Mekas.. Tag: Data Abort in GWES.EXE Tag: 97437
CHKDSK reports file system error on Compact Flash
Hi,
We are using CE 6.0 with Hive based registry.( amd LX platform)
The CE 6.0 image successfully bootsup with "Documents and settings" folder
in Compact Flash.
But when we takeout Compact flash and do CHKDSK,it reports file system error
in "Documents and settings" folder.
Is it a bug with Hive Based registry in CE 6.0?
Thanks & Regards,
Krishna Tag: Data Abort in GWES.EXE Tag: 97435
Problems with serial port during booting
We have a problem with COM3 on a CE5 device (PXA255). On this COM port we
have connected a GPS receiver. On startup (startup is always an cold boot on
our device) the GPS receiver sends immediatly data to the COM-Port. Now it
seems, that the serial port driver could not handle this. The system hangs in
device.exe. in the launch section we have defined the call to shell.exe
later, but it will be never called. If we start the system with disconnected
GPS receiver , everythings works fine. If we reconnect later (system is
running now), we get the GPS data fine .
Thanks for your help Tag: Data Abort in GWES.EXE Tag: 97431
Unsupported Device Type
Dear All:
I have Windows CE 5.0 based Handheld Device, and I tried to install a
cab file which support WinCE 5.0 platform, but anytime I try to run
the CAB file in my device, I got error message "Unsupported Device
Type". I tried the same CAB file withe another WinCE 5.0 based
platform, workds fine. My question is, where in the file or in OS, I
define this Handheld is WinCE 5.0 device.
Please help. Thanks Tag: Data Abort in GWES.EXE Tag: 97428