Debug config eboot.nb0 required for debugging?
Hi group,
I'm just wondering if the eboot.nb0 built as part of a
debug configuration needs to be used when using a debugging NK.bin?
Or, is it ok to leave the eboot.nb0 already in my target device's
flash, which was built as part of a release configuration?
I ask this question because the debug eboot.nb0 does not seem to work.
EBOOT hangs when trying to initialize the LAN controller, here are a
few lines of the debug msgs up to that point:
"INFO: Look for Tuple Loop!
INFO: Attribute value is 0x0
INFO: Look for Tuple Loop!
INFO: Attribute value is 0x0
ERROR: Failed to detect and initialize Ethernet controller "
My target device is a custom board based on MainstoneII. The LAN
Controller is an SMSC LAN9118.
So, I'm left wondering, what is the difference between a debug/release
eboot.nb0 ?
Regards,
John Tag: Debug img hanging Tag: 100187
How to change Cross-hair icon in Calibration?
Dear all:
How to replace the cross-hair icon of the Stylus to other shape in
WinCE50 ?
Please give me some suggestion, thanks first. Tag: Debug img hanging Tag: 100184
Build error in a workspaces?
Hi,
Suddenly I expire build errors in my PB5 - I have now tried almost
everything to get rid of it (reinstalled PB5, upgraded to newest version
etc) but I get the following build error no matter what I do (following is
the last part from the sysgen log from building a new unmodified workspace):
BUILD: [00:0000000014:PROGC ] Scan
\WINCE500\PLATFORM\Stpc_vega\Src\Bootloader\Eboot\
BUILD: [00:0000000020:PROGC ] Scan
\WINCE500\PLATFORM\Stpc_vega\Src\Bootloader\Sboot\
BUILD: [00:0000000024:ERRORE] Bad subdirectory: ;.
BUILD: [00:0000000025:PROGC ] Files Warnings
Errors
BUILD: [00:0000000026:PROGC ] Midl 0 0
0
BUILD: [00:0000000027:PROGC ] Resource 0 0
0
BUILD: [00:0000000028:PROGC ] Message 0 0
0
BUILD: [00:0000000029:PROGC ] Precomp Header 0 0
0
BUILD: [00:0000000030:PROGC ] C/Cpp/Cxx 0 0
0
BUILD: [00:0000000031:PROGC ] Assembler 0 0
0
BUILD: [00:0000000032:PROGC ] Static Libraries 0 0
0
BUILD: [00:0000000033:PROGC ] Dll's 0 0
0
BUILD: [00:0000000034:PROGC ] Exe's 0 0
0
BUILD: [00:0000000035:PROGC ] Resx 0 0
0
BUILD: [00:0000000036:PROGC ] Csharp Targets 0 0
0
BUILD: [00:0000000037:PROGC ] Other 0 1
1
BUILD: [00:0000000038:PROGC ]
BUILD: [00:0000000039:PROGC ] Total 0 1
1
BUILD: [00:0000000040:PROGC ]
BUILD: [00:0000000041:PROGC ] 1 Warnings, 1 Errors
Build for Windows CE (Release) (Built on Apr 14 2005 13File names: Build.log
Build.wrn Build.err Build.dat
Sysgening platform C:\WINCE500\platform\STPC_VEGA
\WINCE500\build.err
C:\WINCE500\build.err
C:\WINCE500\build.log
C:\WINCE500\build.wrn
3 file(s) copied.
BLDDEMO: There were errors building MyWorkspace
MyWorkspace - 1 error(s), 3 warning(s)
--------------------------------------------------------------------------
Hope that someone will be able to help me solve this strange problem .
Thanks
Ole Tag: Debug img hanging Tag: 100176
ATA power management issue.
I meet a issue when I'm debugging ATA power management.
When the board go to suspend status, we stopped the clock and power off the
hard disk. After we resume the system, I found that the ATA can not work any
more,error code is 4309.
Anyone can help me to solve this problem?
BTW: if we don't power off hard disk when we the system go to suspend
status, the hard disk can work fine after rewake. Tag: Debug img hanging Tag: 100175
How to pass a structture to a driver using Deviceiocontrol
Hi all,
I want to pass a structure from my application written in C# to a
wince stream interface driver(written as a service) using
deviceiocontrol method.
The code to handle the device iocontrol code is implemented in
XXX_iocontrol function of the driver.But I am getting a compilation
error stating that the custom IOCTL code that i have defined is not a
valid label.
I have defined my ioctl code in the stream driver's .h file as
follows...
#define FILE_DEVICE_NULL = 0x00000015
#define METHOD_BUFFERED = 0
#define FILE_ANY_ACCESS = 0
#define CTL_CODE( DeviceType, Function, Method, Access )
( \
((DeviceType) << 16) | ((Access) << 14) | ((Function) << 2) |
(Method) \
)
#define IOCTL_GPIO_KEYS CTL_CODE(FILE_DEVICE_NULL ,
2065,METHOD_BUFFERED, FILE_ANY_ACCESS)
/***********************Code in xxx_IoContro*****************/
DWORD GBS_IOControl(
DWORD dwData,
DWORD dwCode,
PBYTE pBufIn,
DWORD dwLenIn,
PBYTE pBufOut,
DWORD dwLenOut,
PDWORD pdwActualOut)
{
ServiceHandler defaultHandler; //my local structure
DWORD dwRet;
GPIORegistryKey *pGpioKey; //this is the same structure
that i am passing from my application
pGpioKey = (GPIORegistryKey*)pBufIn;//retrieving the data
*******************Code for Getting a registry Key***************
TCHAR* registryKey ;
int length = _tcslen(pGpioKey->eventName)+_tcslen(pGpioKey-
>handlerName);
length = length+_tcslen(REGISTRYPATH)+1;
registryKey = new TCHAR[length];
registryKey = _tcscat(REGISTRYPATH,pGpioKey->eventName);
registryKey = _tcscat(registryKey,pGpioKey->handlerName);
***************************************************************************************************************
/*************using switch case for my custom
ioctl************************/
switch (dwCode)
{
case IOCTL_GPIO_KEYS: //i am getting a syntax error here,it's bcoz
this ioctl_gpio_Keys is not considered as a label.What would be the
cause of this? any problem with ctl-code definition? if any body has
any idea please pass....
if (!pBufIn)
{
OutputDebugString(_T("DeviceIoControl Failed
\n"));
return FALSE;
}
HKEY hKey;
if ( ERROR_SUCCESS != RegOpenKeyEx
(HKEY_LOCAL_MACHINE ,registryKey,0, 0, &hKey) )
{
OutputDebugString(_T("cannot open defaulthandler key\n"));
}
else
{
dwRet = GetHandlerValues(hKey,defaultHandler);
if (SUCCESS == dwRet)
{
g_DefaultMap.insert(DefaultPair(pGpioKey-
>eventName,defaultHandler));
}
CloseHandle(hKey);
}
break;
default:
OutputDebugString(_T("DeviceIoControl Failed\n"));
return(FALSE);
}
return dwRet;
}
Any help is appreciated.....
Regards
Serene Tag: Debug img hanging Tag: 100174
Camera driver
Hi,
I have a camera driver available with my BSP.
If i build the image in release version the camera driver gets loaded
by the device manager and I could see it in the
[HKEY_LOCAL_MACHINE\Drivers\Active] key.
Please note an entry for the driver is already present in the
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Camera]
path of the image registry.
But if I build the image in debug mode the camera driver would not get
loaded by device manager and it does not appear in the
[HKEY_LOCAL_MACHINE\Drivers\Active] key.
Also since the driver is a stream interface driver calling CreateFile
on the driver for a release image works fine but the same fails for a
debug image.
I saw the kernel debugger outputs and following are the debug output
line I could see which indicate the camera driver could not be loaded
but I could not interpret the reason
27299 PID:67f9d026 TID:67f9d002 0x87fa6da8: DEVICE!
RegReadActivationValues RegQueryValueEx(Drivers\BuiltIn\Camera
\BusPrefix) returned 2
27371 PID:67f9d026 TID:67f9d002 0x87fa6da8: Loading of Module
'cm_x270_camera.dll' (87ca7e28) failed, prevRefCnt = 0, refcnt = 0,
inuse = 00000000, dwErr = 0000000e
27371 PID:67f9d026 TID:67f9d002 0x87fa6da8: DEVICE!CreateDevice:
couldn't load 'cm_x270_camera.dll' -- error 14
27371 PID:67f9d026 TID:67f9d002 0x87fa6da8: CreateDevice: creation
of type 'CAM', index 1, lib 'cm_x270_camera.dll' returning 0x00000000,
error code 2
27371 PID:67f9d026 TID:67f9d002 0x87fa6da8: DEVICE!
I_ActivateDeviceEx: couldn't activate: prefix CAM, index 1, dll
cm_x270_camera.dll, context 0x602e7f4
Looking at above output of kernel debugger can anybody tell me why the
driver gets loaded in the release build but not in debug build
Thanks in advance
Anwar Tag: Debug img hanging Tag: 100171
Setting CanScan in Media player
Hi all,
I need to enable the fast forward and rewind button in media player on
wince. I was checking the source code of the media player and happened
to come across the method get_CanScan that is called to obtain the
CanScan parameter.
My query is - how does this CanScan parameter get set ? ( i know it
gets set if the file is indexed and if the file is not being
broadcast). Is there something more than these parameters for the
CanScan to get set ? (file type or source filter or the dmo plugin)
PS: I am using my own decoder as a dmo plug in with a new file type
with the already existing Async file reader. I was able to open new
file type on media player and it renders fine but the rewind and fast
forward buttons are disabled.
Thanks & Regards,
Raghu Tag: Debug img hanging Tag: 100170
Loading wince6.0 image from compact flash card
I need help on how to load wince image from compact flash for Aspen board.
Here is what i am intending to do, From the bootloader read the compact
flash and look for the image and on finding the image, write the image to the
flash and load it on to the RAM and launch the image. This process can be
used for future OS and application upgrade.
My assumption is that i need a file system driver and compact flash driver
that is linked to the bootloader.
I would like to know if the CF card driver is already available as part of
wince 6 and how i could include the driver in the bootloader.
I am using VS2005 Platform builder with Wince6.0. I have cloned the Aspen
board SH7750 to meet the SH7760 platform.
Please let me know what needs to be done. Tag: Debug img hanging Tag: 100168
SDHC support in Wince5.0
·¢¼þÈË: "Chris" <kaylar@126.com>
Ö÷Ìâ: SDHC support in WinCE 5.0 & 6.0
ÈÕÆÚ: 2007Äê5ÔÂ10ÈÕ 9:49
I have seen the update in April QFE.
But I don't know how to add this feature.
"To enable SD Bus2 set IMGSDBUS2 = 1.
Note:
The new SD Bus and enhanced SD Memory Drivers for High Capacity Card Support
might require OEMs to modify their SD Host Controller software if they were
tightly coded to SD 1.1 Commands. "
What's the diffenrence between the SD bus2 driver and the original bus
driver?
Can I only use the original SD bus driver and then modify the SDhost driver?
or how to SET IMGSDBUS2? Tag: Debug img hanging Tag: 100162
CeLog 3.0 files conversion
I have to analyze some performance problems in an old WinCE3.0 system and
try to use Kernel Tracker. But Kernel Tracker for PB3.0 allow to analyze
celog files <100MB. ReadLog for PB3.0 does not have enough features.
Is it possible to convert celog files 3.0 to new formats in order to use
PB5.0 celog tools?
Threre are descriptions of the celog format for new versions. But I did not
find any descriptions of the celog 3.0 format. Kernel Tracker 4.x, 5.x
cannot read old celog files.
H. Edgar Tag: Debug img hanging Tag: 100160
About Floating Point Emulation for X86 at CE 6.0
Hi everybody,
These days I am using RDC-R8610(a static 32-bit RISC
microcontroller) board,
this board has no hardware floating-point unit, so before building
image, we must
add BSP_FPEMUL entironment parameter.
For WinCE 5.0, after add BSP_FPEMUL, the image is ok, but to WinCE
6.0,
add BSP_FPEMUL, the floatinf-point emulation does not work, and the CE
6.0 image
can not show truetype font after system loading. Does anybody know
what's the mater?
Thanks! Tag: Debug img hanging Tag: 100159
Disable debug messages in serial port once i load OS
Hi,
I am working with Wince5.0.
I developed my own bootloader and with my Eboot.nb0 i load OS into
the targert device.
Now i am developing serial device driver.
i want to test my serial driver.
I referred to queries and it says that i have to disable debug serial
port from sending messages once i load OS into target.
Even i deleted the serial driver given by my vendor. Still its
displaying messages.
If i disable OEMDebugInitSerial() in my bootloader i am not gettting
any messages in from bootloader itself.
I want to get debug message from Bootloader but not from OS once i
load OS into target device.
How to stop my serial port from sending messages once i load OS into
target device and to test my serial driver.
help me regarding this issue.
Regards,
Kirthika. Tag: Debug img hanging Tag: 100157
IST problem in device driver
Hi to everyone,
I'm new to writing device driver in wince. I have one problem
in driver to set the event for another local thread inside the IST .
Because the priority of this routine is too high.
i used the below steps inside the IST
DWORD Istthread( ){
while(Istthreadclosing){
waitforsingleobject(Istevent,INFINITE)
if(Istthreadclosing){
break;
}
if(Intsts.reg.val&Intmsk.reg.value){
setevent(hostinterruptevent);
}
.
.
.
InterruptDone(SysIntr);
}
return(0);
}
Local thread:
HostInterruptsThread( )
{
while ( HostInterruptsClosing ) {
WaitForSingleObject(hostinterrupteventt, INFINITE);
.
.
.
if(Intsts.reg.val&Intmsk.reg.value){
.
.
}
}
}
kernel set the event for IST when h/w interrupts the kernel.
Inside the Ist i can call the local thread for handling the interrupt
comes from device once using setevent. But again the i can't do like
that.
Can u help me . how to handle the threads based on priority inside
the driver.
I used the same priority for IST and other local threads inside the
driver.
Thanks for ur help.
Regards,
Priya Tag: Debug img hanging Tag: 100156
WINCE5.0 chats ... still happening?
That past few months I show up to the CE5.0 chats but noone seems to be on.
Are these stagnant?
Does everyone attend the 6.0 chats now?
-jeff Tag: Debug img hanging Tag: 100138
Custom Emulator for CE6.0
I noticed that the CE6.0 installed a skin/configuration for custom CE
devices.
In the Platform Builder Specific group there is something called "Generic
Emulator for CE Sub-projects".
I'm assuming this guy has a console window and a few other tweaks that would
help us custom CE dev's.
I tried to fire it up but it complained about "activesync not installed".
Is this another case of it not really using activesync but needs corecon
running. If so where do I find this guy and fire him up to do so?
thanks,
-arnie Tag: Debug img hanging Tag: 100136
PXA270 LCD driver
Hi,
Reference to mainstone III, I'm using the default PXA270 LCD driver.
As we are using a 640x480 panel, with very similar timing as the default
Toshiba LTM04C380K, I changed the platform.reg to use the LTM04C380K
setting.
The system managed to boot to WinCE, but with a flickering LCD display.
When I measured the pixel clock, it is running at 13Mhz, and not at the
expected freq of 25.18Mhz.
The system 13Mhz clock is running correctly.
I went through the LCCRx registers and the settings looks fine to me, as
the panel we have has almost the same spec.
Does anyone has successfully used the LTM04C380K settings on other LCD
panel?
Any advice on the unexpected pixel clock?
Thanks and Regards Tag: Debug img hanging Tag: 100126
RasDial() in asynch mode generates Data Abort in gwes.exe
I have a problem with RasDial():
One of our clients is using this call in asynch mode (with notifier
containing a pointer to there main Window Handler).
Called in this mode I get a number of Data Aborts in gwes.exe:
Data Abort: Thread=8fb10400 Proc=8e04d988 'gwes.exe'
AKY=0000000d PC=000403d4 RA=000403cc BVA=1804fc88 FSR=00000005
TLSKERN_NOFAULT set... bypassing kernel debugger.
Data Abort: Thread=8fb6fa18 Proc=8e04d988 'gwes.exe'
AKY=0000000d PC=000403d4 RA=000403cc BVA=1804fc88 FSR=00000005
TLSKERN_NOFAULT set... bypassing kernel debugger.
Data Abort: Thread=8fb10400 Proc=8e04d988 'gwes.exe'
AKY=0000000d PC=000403d4 RA=000403cc BVA=1804fc88 FSR=00000005
TLSKERN_NOFAULT set... bypassing kernel debugger.
Data Abort: Thread=8fa07d4c Proc=8e04d988 'gwes.exe'
AKY=0000000d PC=000403d4 RA=000403cc BVA=1804fc88 FSR=00000005
TLSKERN_NOFAULT set... bypassing kernel debugger.
Data Abort: Thread=8fa07d4c Proc=8e04d988 'gwes.exe'
AKY=0000000d PC=000403d4 RA=000403cc BVA=1804fc88 FSR=00000005
TLSKERN_NOFAULT set... bypassing kernel debugger.
Data Abort: Thread=8fa07d4c Proc=8e04d988 'gwes.exe'
AKY=0000000d PC=000403d4 RA=000403cc BVA=1804fc88 FSR=00000005
TLSKERN_NOFAULT set... bypassing kernel debugger.
Data Abort: Thread=8fa07490 Proc=8e04d988 'gwes.exe'
AKY=0000000d PC=000403d4 RA=000403cc BVA=1804fc88 FSR=00000005
TLSKERN_NOFAULT set... bypassing kernel debugger.
Data Abort: Thread=8fb6fa18 Proc=8e04d988 'gwes.exe'
AKY=0000000d PC=000403d4 RA=000403cc BVA=1804fc88 FSR=00000005
TLSKERN_NOFAULT set... bypassing kernel debugger.
Inhouse we use the same call in synchronous mode without any problems.
Some one has an hint for me where I have to search to resolve this problem?
thanks for any help
Martin Tag: Debug img hanging Tag: 100118
USB - Reset Root Hub - How to notify WinCE OS ?
This is my H/w outline and requirement :
(this implementation is required to reset the root hub when a USB device
connected hangs or goes out of control )
o PXA27x WinCE 5.0 OS, Hardware with 2 USB devices connected in the port.
o Platform Builder 5.0 and eVC++ for development
o From the application in eVC++, I need to reset the root hub. I have
written the device driver API, and I could reset the Root hub in the Intel
PXA 27x chip
o After the root hub reset, I need to inform the OS that the USB reset has
happned. Can any one tell me which API/Windows call to be used to Notify the
USB reset ?
Thanks in advance:
Logi Tag: Debug img hanging Tag: 100117
BatteryPDDGetStatus calling frequency
Hello All
I have developed a battery driver. I found that the rate of calling
BatteryPDDGetStatus function is too fast. I would like to change the rate of
calling this function. I found that
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\Timeouts]
"BatteryPoll"=dword:1f4; battery polling interval, in milliseonds
above registry setting suppose to control the battery level poling
(BatteryPDDGetStatus). However when I change the value of above I could not
observe a rate of change of calling this function.
Has any body found this issue?
Thanks in advanced.
Regards
Sankalpa Tag: Debug img hanging Tag: 100116
preferred netwoks lost
Hi mates, here you have a deep analysis of a problem, I hope not to bore you
J
We have a WinCE device which is NOT battery powered.
So after a power-off/power-on cycle SDRAM contents are lost (not a PDA-like
device, more industrial).
We used to call NKForceCleanBoot() in OEMInit() to assure an stable boot
proccess.
The platform implements a RAM-based registry that stores/retrieves current
ram registry to/from Flash. It's normally working fine keeping IP
configuration, desktop properties...
The platform includes a wireless driver.
We add a preferred network using NetUI interface or wzctool.exe, save the
registry to flash (persistant storage) and do a power-off/power-on cycle.
After that, the preferred networks seem to have disappeared: no automatic
connection is done, no preferred networks appear in NetUI or 'wzctool -q'.
On the other hand if we use the Registry Editor to read the registry before
and after the power of... it seems to be ok. Especially all the keys under:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WZCSVC] are the same including
"Static#0000", "ActiveSettings"..
My feeling at this point was that maybe at the moment we retrieve the
registry from flash to sdram it was too late and wzcsvc has already
started.. We did some re-checks and seems that the procedure we do is OK.
We let it pass a little bit and we faced with WPA and certificates. Again we
found a similar problem. We install a certificate (via
ControlPannel\certificates or enroll.exe) and authenticate fine with a
WS2003. Then we save the registry to flash (have a copy of it with registry
editor) do a power-off/power-on cycle, retrieve the registry from flash...
and:
- The certificates seem to be there, we can see them in
controlpannel\certificates and within some NetUI screens.
- If we read again the registry with Registry Editor and compare
with the previous one (before Power-off) seems to be OK. The MY and ROOT
certificates remain there:
o [HKEY_CURRENT_USER\Comm\Security\SystemCertificates\MY\Certificates]
o
[HKEY_CURRENT_USER\Comm\Security\SystemCertificates\ROOT\Certificates]
- But, unfortunately, they don't work, we don't manage to
authenticate with the server until we re-install them again.
Miraculously, one day we removed NKForceCleanBoot() from OEMInit() and did
a reset instead of a power-off/power-on cycle.
Although the device is not really intent for, it seems that it keeps sdram
correctly refreshed on a reset and:
- All the preferred networks were there!!!!
- The device connected automatically to the preferred of the
preferred J
- Certificates were valid; I could connect through WPA enterprise
(TLS).
- This happens either retrieving the registry from flash or not.
We have already done some research on the web. and there were quite a lot of
confusing info related with preferred networks..
My question here is more related with WinCE architecture.
- Does WinCE keep some data related with preferred networks,
certificates. in some RAM based Object Store or Root File System apart from
the Registry???
- If so which should be the mechanism to keep that info for devices
that don't keep the SDRAM powered??
- The only thing I have found that could be related, is implementing
the root file system in flash instead of ram. but that is quite big
development and I don't think it is the solution.
- Could anybody using a not PDA-like device tell me if they have
this working???
Thanks in advance, Buji Tag: Debug img hanging Tag: 100114
about NKRegCreateKeyEx function
hi.
I tried to use NKRegCreateKeyEx function in OEMInit,but I failed.
from the help doc,this function only use in OAL layer.so why I can't do
that?
it can use in kitl.c--OALKitlInitRegistry() Tag: Debug img hanging Tag: 100106
How to properly update urlmonui?
I have two questions about updating urlmonui. The source for this
component is at the following location, C:\WINCE500\PUBLIC\IE\OAK
\URLMONUI and the CE 5.0 PB documentation is at this location, ms-
help://MS.WindowsCE.500/wceinternet5/html/wce50conReplacingtheUrlmonUserInterface.htm
1) I attempted to clone urlmonui by hand over to a project in my
pbworkspaces. It all compiles properly and I made sure I added the
PBP_PRESYSGEN=1 since this library is linked into urlmon. The problem
is I don't get my urlmonui linked instead it seems like the public one
rebuilds and replaces my library before link. How do I workaround
that issue?
2) To make this all work I see no solution except but to rebuild the
public IE tree. Is that correct? When I make my changes in the
public tree and rebuild that piece everything seems to work right. Tag: Debug img hanging Tag: 100103
PB Emulator ... 64MB limit & FSRAMPERCENT
Folks,
We're on CE5.0, x86, AMD Geodelx platform but use the emulator to run our
unit tests on the build machine each night.
We've exceeded the 64MB limit of the emulator. Apparently there is no way to
get more memory ... this was confirmed by MS.
Since the total memory is split between RAM and the filestore we were hoping
to reconfigure this "split".
The documented FSRAMPERCENT (shift to favor system RAM etc.) variable has no
affect on the emulator.
Any ideas?
-jeff Tag: Debug img hanging Tag: 100095
proof of concept about services
Hello
I have a design concept that I am trying to proof that it can be done
we have a server (XP machine) that needs to connect to wince devices
(one device at a time for now, maybe many devices later)
over Active sync (RNDIS) and send some commands to the device (I am
fine with Echo command for now), and the device will send status/some
simple data back
so i am thinking about developing this as a service, i read on "John
Spaith" great white paper "http://msdn2.microsoft.com/en-us/library/
aa446909.aspx" that i can have my service (let's call it MySer)
designed as super service, and all i have to do it have it listen for
connections at a open port (let's say 800) (can specify that thru
registry) and the super service will take care of all the TCP/IP/
Socket stuff and it will provide my service with a message and an
IOCTL (correct? i don't need to parse any TCP/IP sockets stuff)?
now i need to test this service on both device emulators and active
devices, can RNDIS support both?
what does it take to make this channel bi-directional? I mean do I
need to open a socket to reply back to the device with my status?
do i need to disable Active Sync in my case so it doesn't interfere
with my service?
can i extend this later on to manage multiple devices?
Many thanks Tag: Debug img hanging Tag: 100092
WINCEROOT is missing or invalid
Hi,
I'm new to Platform Builder. I just installed Platform Builder
(WindowsMobile5\Build_14343\Magnetto_AK),
when I started the Platform Builder the first time, I encountered the
following warning message:
"The setting for the Platform Builder global WINCEROOT is missing or
invalid, so you cannot create an
OS design or open a workspace. To set WINCEROOT in the IDE, go to the
Tools menu, choose Options,
and then choose the Build tab. In the Default OS Build Tree
(WINCEROOT) box, enter a valid path and
then choose OK."
I followed the direction and tried to manually set the WINCEROOT to c:
\wm500, I got another error
message: "The entered path is not a valid build tree path".
Is there anything I did wrong? The DVD comes with BetaDevs, do I need
to install that one? Or do I
need to install Visual Studio 2005 to get it to work? Thanks for the
help in advance.
Daniel Tag: Debug img hanging Tag: 100091
eboot on PXA27x
Hi,
I'm trying to get the PC Card working on a customized board based on
mainstoneIII.
I've some problem getting the nPREG signal. It always stays high.
From my understanding, nPREG should go low whenever it is reading the
CIS information.
Hence it should go low during the initial phase.
The eboot will attempt to read the CIS and hang, and cannot even print
out the debug message.
Since we did not incorporate any CPLD into our customized design, I
removed all the pcmcia related's BCR from the pccard codes, since these
are signals from the CPLD. Is this an issue?
I've checked that the Direction and AF registers to the PC Card
functions are set correctly.
Any advice is appreciated.
Thanks and Regards Tag: Debug img hanging Tag: 100084
profilig problem
i have Platform builder 5 with profiling activated. My application make
use of a dll (trough LoadLibrary). Profiling report does not include de
dll that my application is ussing. How can i make profiling aware of my dll?
I have .pdb and .map files for my app and dll also.
Iulian Tag: Debug img hanging Tag: 100072
Mediaplayer crash
Hi,
When playing : http://cgi.omroep.nl/cgi-bin/wmlive?3fmwebcam.asx
A crash occurs after about 10 min.
Hw is VIA Epia EX (cx700m2 based), with the Via-CX BSP. , CE5.0
I have no sourcecode of the part that crashes.
Traces :
QUARTZ!CDirectDraw::ShowColourKeyOverlay() line 2190 + 49 bytes
QUARTZ!CDirectDraw::ShowOverlaySurface() line 1978 + 8 bytes
QUARTZ!CDirectDraw::DoFlipSurfaces(IMediaSample * 0x006bf100) line 4017
QUARTZ!CDirectDraw::DrawImage(IMediaSample * 0x006bf100) line 4114 + 18 bytes
QUARTZ!CRenderer::DoRenderSample(IMediaSample * 0x006bf100) line 1135
QUARTZ!CRenderer::OnReceiveFirstSample(IMediaSample * 0x006bf100) line 799
QUARTZ!CBaseRendererAsync::ProcessQueuedSample() line 591
QUARTZ!CBaseRendererAsync::ThreadProc() line 826
QUARTZ!CAMThread::InitialThreadProc(void * 0x006bd898) line 166
COREDLL!ThreadBaseFunc(void * 0x0282b460, unsigned long 7067800) line 567 +
7 bytes
I think this is MS code, right ? (quartz.dll)
Is this part of the code calling any VIA code (maybe video driver) ?
What can I do to catch or fix this ?
Greetings,
Rob. Tag: Debug img hanging Tag: 100071
Outport16(&p->BANKSEL, 3) fails for Lan91c111
Hi,
The bootloader code for Aspen SH7760 is able to execute until Lan91C111 init
function. Bootloader process fails while trying to read the Bank 3 to get the
chip id and revision.
The network chip is identified at 0xb0000400
What could be the problem?
Serial output
OEMPreDownload: Calling BLEthDownload
+LAN91CInit(0xb0000400, 0x10000400, 0x8ffe2d88)
+LAN91CInit(0x00000000)
banksel = 0x00003300
g_chipRevision = 0x00000000, banksel = 0x00003300
LAN91Cxxx: Chip Id 0 Revision 0
+LAN91CInit(0xb0000400, 0x10000400, 0x8ffe2d88)
INFO: *** Device Name ASPEN1028 ***
EbootInitEtherTransport() Call pdwDHCPLeaseTime =
EbootGetDHCPAddr() Call
InitDHCP():: Calling ProcessDHCP()
ProcessDHCP()::DHCP_INIT
SendDHCP() Call
UDP frame ready
LAN91SendFrame
default Tag: Debug img hanging Tag: 100066
Download OS image to target with USB RNDIS
Hi. My eboot uses USB RNDIS to download the OS image into the target. The
initialization works, as you can see from the following output:
Enter your selection: d
INFO: Trying to initialize USB RNDIS.
HostMiniInit:: !!
Rndis:: initialization: with addr=0
Rndis:: initialization!
Rndis:: PDDInit Success!
Rndis:: Get MAC address F0F2,F200,20
Rndis:: Waiting some time for ISR:
RndisMdd:: PDD's max RX buffer = [8192] bytes.
Rndis:: initialization: Success
HostMini:: New filter set: [0x0] --> [0x20]
HostMini:: New filter set: [0x20] --> [0x0]
HostMini:: New filter set: [0x0] --> [0xB]
HostMini:: New filter set: [0xB] --> [0x0]
HostMini:: New filter set: [0x0] --> [0xB]
HostMini:: New filter set: [0xB] --> [0x2B]
HostMini:: New filter set: [0x2B] --> [0xB]
HostMini:: New filter set: [0xB] --> [0x2B]
INFO: MAC address: F2-F0-0-F2-20-0
System ready!
Preparing for download...
+OEMPreDownload()
INFO: Using device name: 'MAINSTN8192'
+EbootSendBootmeAndWaitForTftp
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
Sent BOOTME to 255.255.255.255
The problem is the following: I am not able to download the image via
Platform Builder, that is, when i click on Attach Device and the download
dialog appears, nothing happens. What can I do?
By the sniffing of the netork interface used to connect PC and target I can
see:
- target sends broadcast packet on UDP (srcport 980 dstport 980)
- host replys with UDC packet (srcport 1853 dstport 980)
Thank you
Federico Tag: Debug img hanging Tag: 100063
How to move "application data" to Storage Card in WinCE5.0?
"application data" folder Default is in SDRAM memory,I want to move
it to SD card so data will be preserved after power off.
Can anyone tell me how to?
SD drivers must be loaded before system check "application data"? Tag: Debug img hanging Tag: 100062
Disable Debug Message on COM1
Hi
I am using PXA270,Mainstone II, WINCE 5.0.
I am having BTUART and FFUART right now. BT UART is connected to the
bluetooth module.
And I am having only one port to use as COM port. But it is used for
DEBUG purpose. Is it possible for me to use this FFUART as COM Port by
Disabling the Debug messages from WINCE.
I checked that FFUART is working as COM port when I routed the Debug
messages to BTUART and doing some registry modifications. But this
makes our bluetooth module not usable.
I would like to know whre to disable the Debug messages from WINCE.
THanks a lot in advance..
karthick Tag: Debug img hanging Tag: 100057
How to mount SD card at the beginning in WinCE5.0?
My CPU is PXA270,OS is WinCE5.0.
Now my load sequence is:
1.Load SDBus.dll
registry setting is:
; @CESYSGEN IF CE_MODULES_SDBUS
[HKEY_LOCAL_MACHINE\Drivers\Builtin\SDBusDriver]
"Order"=dword:15
"Dll"="SDBus.dll"
"Prefix"="SDC"
"ThreadPriority"=dword:64 ; default thread priority for
dispatch thread
"RequestListDepth"=dword:30 ; pre-allocated requests
"IClass"=multi_sz:"{20FA98A8-B298-4b32-8D72-C716AEE2FA84}=
%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
; @CESYSGEN ENDIF CE_MODULES_SDBUS
2.Load sdhc_mainstoneii.dll
registry setting is:
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SDHC_MAINSTONE]
"Order"=dword:21
"Dll"="sdhc_mainstoneii.dll"
"Prefix"="SDH"
"ControllerIRQ"=dword:17
"ControllerISTPriority"=dword:64
"CardDetectIRQ"=dword:20
"CardDetectISTPriority"=dword:65
"ClockAlwaysOn"=dword:0
"ClockOnIfInterruptsEnabled"=dword:1
3.Load sdmemory.dll
registry setting is:
[HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class
\SDMemory_Class]
"Dll"="SDMemory.dll"
"Prefix"="DSK"
"BlockTransferSize"=dword:40 ; send no more than 64 blocks of
data
per bus transfer
;"SingleBlockWrites"=dword:1 ; alternatively force the driver to
use single block access
;"IdleTimeout"=dword:7D0 ; 2000 milliseconds
;"IdlePowerState"=dword:2 ; 0 == D0, 1 == D1, etc.
;"DisablePowerManagement"="" ; if value present, then disable
(remove value to enable)
"Profile"="SDMemory"
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}",
"{A32942B7-920C-486b-B0E6-92A702A99B35}"
But SD Card driver is loaded at the end of system boot.So folders
like
"Application Data","Temp" can not be placed in Storage Card.
Because my strata flash is only 32M bytes which is not enough to hold
those folders.If there is any way to make SD card driver loaded at
the
beginning of system boot? Tag: Debug img hanging Tag: 100055
but how can I remove the simsun.ttc from a chinese system.
Hi, I'm using Windows CE 5.0, the CPU is samsung's S3C2440A.
I create a chinese project, so its default language is chinese and it
automatically add a simsun.ttc file to the system, this font file was so
big(~10MB) that make it much slower loading the system. I found that we
can specify the directory from which Windows CE loads fonts. So I can change
the font directory to Nandflash disk, but how can I remove the simsun.ttc
from a chinese system.
Thanks in advanced. Tag: Debug img hanging Tag: 100052
Serial USB configuration problem in CE 5.0
I wrote a USB PDD for one of our devices. When I try to connect it to
ActiveSync, I'm getting this message:
0x87cf3994: RLOG: [0x87F1E666] Using '`USB Socket Default' connection
0x87cf3994:
RLOG: [0x87F1E666] About to run rnaapp.exe -n -m -e"`USB Socket
Default"
RpcSrv:
Winsock Started version 1.1
RpcSrv: SocketBufSize=16384 bytes
0x87cdf518: <RPC:RESLIST> 0x87cdf518: CResList::CResList()
0x87cd2010: InitSharedHeap: 4a000000 0 c
0x87cd2010: InitSharedHeap: return 4a000060
0x87cd2010: AddToProcessInputLocaleTable: Added process to
ProcessInputLocale ta
ble, hProcess = 0x07CDF0820x87cd2010: Grow Gdi handle table from 320
to 384
0x87e53640: AUTORAS:: Dialer notifies: [1] [Dialer Start]
0x87cd2010: PPP: Can't find device 'USB cable'
0x87cd2010: PPP:
AfdRasDial:SESSION_NEW failed
"USB cable" is the friendlyName of my device assigned in:
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
"FriendlyName"="USB cable"
Is there another place I need to set this up? Tag: Debug img hanging Tag: 100050
some setting missed in reginit.ini
Hi All,
I am using Platform Builder 4.2 to build an OS.
I had a BSP supporting ARMV4 and I changed it to support ARMV4i. After I
built the OS I found that some settings in platform.reg are missing in the
reginit.int file.
Can anyone tell me why?
Is it supposed to be that reginit.ini should contain all the registry
settings from common.reg, platform.reg and project.reg?
Please clarify,
James Tag: Debug img hanging Tag: 100044
Error in Sysgen
Hi All,
I've reinstalled pb4.2 and now when I tried to build a custom platform
I get the following error:
"NMAKE : fatal error U1073: don't know how to make 'C:\wince420\public
\common\oak\lib\ARMV4\retail\messagedialogboxcustomize.lib'"
I've installed all product's updates, so I'm quite sure my new
enviroment it's almost the same prior reinstalling...
I've also made a sysgen command, assuming that it would a missing
file, but I got the same error.
Please, any help would be very appreciated.
JSS Tag: Debug img hanging Tag: 100040
What is the Eboot.raw?
I'm using OMAP SDP 2430 and WinCE 6.0.
In the document, CSST_QuickStartGuide_SDP2430, I can see the below
instruction.
ii. Download the eboot.raw (Boot loader) to flash with verify option
enabled.
For NAND, at 0x0C000000
iii. Click on the "Advance Button" and check the PostProc option. Then
download the Flash.bin with verigy option enabled.
For NAND, 0x0C000000 address.
After build the project I have NK.bin, NK.nb0, NK.nb1, FLASHNAND.bin,
FLASHNAND.nb0, EBOOTNAND.bin, EBOOTNAND.nb0, EBOOTNAND.nb1... and so
on.
I can guess Flash.bin in the instruction may be NK.bin.
But I don't know what is the eboot.raw. Tag: Debug img hanging Tag: 100030
Does WinCE 6.0 support OMAP SDP 2430?
I know that WinCE 6.0 has OMAP SDP 2420's BSP and 2430 is very similar
with 2420.
But I'm curious whether WinCE 6.0 absolutely support 2430 or not.
Is there anybody who already installs WinCE 6.0 on OMAP SDP 2430? Tag: Debug img hanging Tag: 100029
Bluetooth ERROR_SERVICE_NOT_ACTIVE problem
Hello, everyone:
I am trying to add bluetooth serial port support into my
Wince5.0 platform. And I am using Platform Builder 5.0. The bluetooth
adapters used are DBT-120 Ver.B4
There is no clear statement in PB help saying which catalog items need
to be added into OS Design. So I added SYSGEN_BTH(Universal loadable
driver), SYSGEN_BTH_USB_ONLY (Integrated USB driver) and built the
platform by a clean Sysgen.
However, when I opened up the "Bluetooth Manager" in control
panel and clicked "Scan Device", a message "Bluetooth hardware error
10050(controller not present)" poped up. I double checked both
SYSGEN_BTH and SYSGEN_BTH_USB_ONLY variables are set. Then I switched
to a debug image to find out what is going on. I found following error
messages in the traces:
"4294930005 PID:1edc88e TID:6124683e [ERR]
4294930008 PID:1edc88e TID:6124683e Shell: call find failed!
4294930012 PID:1edc88e TID:6124683e [ERR]
4294930014 PID:1edc88e TID:6124683e bt_custom_code_in returns
ERROR_SERVICE_NOT_ACTIVE
4294930016 PID:1edc88e TID:6124683e [ERR]
4294930018 PID:1edc88e TID:6124683e BthNsLookupServiceBegin:
BthPerformInquiry returns 0x00000426"
It seems no bluetooth service available on this device.
Has anyone seen this problem before? Did I miss any catalog
item that should be added into OS design? Any suggestion will be
appreciated.
Thanks a lot! Tag: Debug img hanging Tag: 100025
Writing Device Drivers in Visual Studio
Hello CE World,
is it possible to write Stream Device Drivers for WindowsCE 5.00 with Visual
Studio 2005?
I tried by creating a Projekt with a DLL Wizard for intelligent Devices but
something failed.
Thank for your answers. Tag: Debug img hanging Tag: 100023
Query in Serial driver
Hi,
Even if i remove my serial driver(ln2440sbc_serial.dll) from my OS
design i am getting
debug messages when i load OS to target device.
The following are the messages i am getting.
Windows CE Kernel for ARM (Thumb Enabled) Built on Jun 24 2004 at
18:25:00
ProcessorType=0920 Revision=0
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
80205f84
www.clabsys.com
FCLK : 390000000, HCLK : 130000000, PCLK : 65000000
DCache: 8 sets, 64 ways, 32 line size, 16384 size
ICache: 8 sets, 64 ways, 32 line size, 16384 size
Sp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions
at (Driver
s\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!
Enumerate Fou
nd deprecated load instructions at (Drivers\BuiltIn\PPP). Driver
cannot be unloa
ded.
OEMIoControl: Unsupported Code 0x10100fc - device 0x0101 func 63
MSIM: IM_ReadRegistry read KB 5
Explorer(V2.0) taskbar thread started.
NDISPWR:: Found adapter [CS89001]
I also removed com_card, mdd2 etc.. in my OS design.
I have a doubt whether the above messages will come or not.
I need to check my serial driver other than serial driver(which is
PDD) gave by my vendor.
Help regardign this issue.
Regards
Kirthika Tag: Debug img hanging Tag: 100021
Systemkeys as Hotkeys ?
Hi,
I have a remote control, for which I need to re-map some keys.
I have written an app that runs in the background : Keymapper.exe
For "normal keys" define a hotkey, and when the hotkey is pressed I send
simulated keys to the top window, or perform the action directly.
The problem is that some keys on my remote generate System-keys.
(WM_SYSKEYDOWN/WM_SYSKEYUP)
When I try to set these as hotkeys, it is not working.
So my background app never receives the messages for these keys.
Also there seems to be no way to know if the user pressed the mouse buttons
in a background app. Capturing mouse-messages does not work from the
background.
How can I fix this ?
Greetings,
Rob. Tag: Debug img hanging Tag: 100019
Query in Serial driver
Hi,
Even if i remove my serial driver(ln2440sbc_serial.dll) from my OS
design i am getting
debug messages when i load OS to target device.
The following are the messages i am getting.
Windows CE Kernel for ARM (Thumb Enabled) Built on Jun 24 2004 at
18:25:00
ProcessorType=0920 Revision=0
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800 OEMAddressTable =
80205f84
www.clabsys.com
FCLK : 390000000, HCLK : 130000000, PCLK : 65000000
DCache: 8 sets, 64 ways, 32 line size, 16384 size
ICache: 8 sets, 64 ways, 32 line size, 16384 size
Sp=ffffc7cc
OEMIoControl: Unsupported Code 0x10100b4 - device 0x0101 func 45
OEMIoControl: Unsupported Code 0x101008c - device 0x0101 func 35
OEMIoControl: Unsupported Code 0x10100d0 - device 0x0101 func 52
OEMIoControl: Unsupported Code 0x10100f8 - device 0x0101 func 62
DeviceFolder::LoadDevice!Enumerate Found deprecated load instructions
at (Driver
s\BuiltIn\AFD). Driver cannot be unloaded.
DeviceFolder::LoadDevice!
Enumerate Fou
nd deprecated load instructions at (Drivers\BuiltIn\PPP). Driver
cannot be unloa
ded.
OEMIoControl: Unsupported Code 0x10100fc - device 0x0101 func 63
MSIM: IM_ReadRegistry read KB 5
Explorer(V2.0) taskbar thread started.
NDISPWR:: Found adapter [CS89001]
I also removed com_card, mdd2 etc.. in my OS design.
I have a doubt whether the above messages will come or not.
I need to check my serial driver other than serial driver(which is
PDD) gave by my vendor.
Help regardign this issue.
Regards
Kirthika Tag: Debug img hanging Tag: 100018
configure PCCARD under eboot
Hi,
Reference to mainstone III, may I know where is the correct location to
configure the pc-card pins?
I tried configuring the pins under xllp_pccardsocket.c, however it seems
that the configuration is not done.
Where can I find the "XllpPCCardConfigureGPIO()" function, which is
being called under eboot?
I thought it should be in the xllp_pccardsocket.c file, but when I put a
while(1) at the end of the function call, eboot does not hang there.
Hence either the function is somewhere else, or I did not compiled it
corectly.
Any advice would be appreciated.
Thanks and Regards Tag: Debug img hanging Tag: 100016
USB NIC on mainstone III eboot
Hi,
May I know if the USB NIC can be use with the mainstone III eboot?
I saw some usb nic codes in it, but not sure if it is completed.
Anyone got the USB NIC working under the mainstone III eboot?
Where can I find some example for it?
Thanks and Regards Tag: Debug img hanging Tag: 100015
how to test on bluetooth profile stability?
Dear all,
Under the environment of WM5.0,my PDA has realized A2DP,Hands-free
and other bluetooth profiles with native microsoft bluetooth stack. But, i do
not know how to test these profile stability.Is there any software or tools
with relation to this test? And do you have related experiences? Thanks in
advance!
--
dean chen Tag: Debug img hanging Tag: 100012
WinCE booting and finding the problem
Hello developers!
I would like some ideas or advices.
I'm developing a WinCE OAL, for our board with SH7760 microcontroller.
And at now, I have a big problem. WinCE loading will stop. Bootloader is ok,
with KITL there