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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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: Custom Emulator for CE6.0 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 is no problem, OAL works well, from one half. But after
downloading a few dll files, system booting stops. I don't know why.
Does anybody have any idea, how I can debug it or find the problem? I use
HEW editor with E10A, but I think, that it's not possible to find the source
of the problem, among the number of memory data and instructions. I've tried
to examin the content of packets on a wire (between my device and
workstation), but I can't make head nor tail of it.
The booting will stop on this line:
Loaded symbols for
'C:\WINCE500\PBWORKSPACES\EDOSK\RELDIR\MICROTECH_SH7760_SH4_DEBUG\RELFSD.DLL'
So, I would like to know any method for finding the error.
Thanks a lot,
George H. Tag: Custom Emulator for CE6.0 Tag: 100010
Mail client in Windows Embedded 6.0
Hi
There exist al nice list in the msdn: the Inbox module is not
supported anymore in CE 6.0.
I looked out for any replacement in the CE 6.0 catalog, but could not
find a real substitution or anything similar to a mail client beside
the POOM API.
How do you deal with this problem?
Are there any good clients available (in the best case for free)?
Thanks. Tag: Custom Emulator for CE6.0 Tag: 100005
About Bluetooth Profile
Dear All:
now, i will to implement a windows CE 6.0 Device.
and hardware must to support A2DP / AVRCP function.
i can't fine the component in platform builder.
somebody can tell me. how to deploy.
Is very urgent. Tag: Custom Emulator for CE6.0 Tag: 100004
Problem loading Audio Driver in Windows CE 6.0
Hi,
I am migrating a Samsung BSP from WinCE 5.0 to 6.0.
Here, I am facing issues migrating the audio driver. The driver
compiled fine and the image was transferred onto the Samsung board.
Following is the entry in my .bib file:
; @CESYSGEN IF CE_MODULES_WAVEAPI
IF BSP_NOAUDIO !
wavedev.dll $(_FLATRELEASEDIR)\wavedev.dll
NK SH
ENDIF BSP_NOAUDIO !
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI
And following is the entry in the platform.reg file:
IF BSP_NOAUDIO !
; @CESYSGEN IF CE_MODULES_WAVEAPI
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Audio]
"Prefix"="WAV"
"Dll"="wavedev.dll"
"Index"=dword:1
"Order"=dword:0
"Priority256"=dword:84
; @CESYSGEN ENDIF CE_MODULES_WAVEAPI
ENDIF BSP_NOAUDIO !
The registry on the device shows that the wavedev.dll is present in
\Drivers\BuiltIn.
However, when I try to play any .wav file (for ex. startup.wav), it
throws up an error stating "Cannot Open Startup.wav. Please check path
and filename".
The startup sound is also not heard when the image comes up.
Also, none of the print messages in the Audio Driver are displayed.
What could be the problem here? Is there anything specific that I need
to do inorder to load the audio driver?
Regards,
Treadstone
P.S. I am using Windows Media Player to play the wave file. Tag: Custom Emulator for CE6.0 Tag: 100003
compiling ARMV4I .s files with -arch5T?
The bootloader I'm working on is set for ARMV4I.
Is there a way to assemble certain files with -arch5T?
I'd prefer it to work from the platform root. Tag: Custom Emulator for CE6.0 Tag: 99995
Newbee's question: run debug version OS
Hi,
I have a problem running my debug version OS.
Here is what I did:
1. I build a debug version OS with 0 errors.
2. I copy this OS to the flash on the mobile using Bootloader.
3. Off / On the mobile.
4. Bootloader is launched successfully and detects the OS and try to
launch the OS.
But the OS failed to launch.
I used the same procedure to build and run the release version OS.
Everything was fine.
Can anyone tell me wthat I did wrong?
Thanks,
James Tag: Custom Emulator for CE6.0 Tag: 99992
IOCTL_DISK_DELETE_SECTORS during suspend
Environment:
Wince 6.0, ARM platform
I have a custom diver to handle my Nand Flash.
I have implemented this iocall: IOCTL_DISK_DELETE_SECTORS
I found that when system is reaching DSK_PowerDown in this driver, sometime
a system call inside IOCTL_DISK_DELETE_SECTORS is still in progress and
accessing my hardware.
I found it because I use a TryEnterCriticalSection in DSK_PowerDown and
after digging a bit to find where critical section was set, I found
IOCTL_DISK_DELETE_SECTORS.
Strangly, I though that the system was running in on thread during suspend.
But If I TryEnterCriticalSection is FALSE, I add a Sleep and a retry and the
call to IOCTL_DISK_DELETE_SECTORS procedure continue until completion!
Any idea.
Regards Tag: Custom Emulator for CE6.0 Tag: 99989
Problem with the debugger
Problem with the debugger
Environment:
Wince 6.0, ARM platform
If I install Compact Framework (previous or latest version) in my image
(nk.bin), debugging compact framework applications work normally but with
MFC/C++ applications, my breakpoints are not recognized.
It happens even if I install Compact Framework dynamically (not within the
image).
If Compact Framework is not installed / present, then my MFC/C++ can be
debug normally.
Any Idea on this problem
Regards. Tag: Custom Emulator for CE6.0 Tag: 99988
flash dump
Hi, everyone,
I am wondering what is the best way to dump the content of a FLASH
chip? I have a Cirrus EP9301 platform with WinCE 5.0 and IPSM
implemented. If there is no easy time to do it through software, I
can always remove the FLASH chip from the board and use a reader to
dump the FLASH content.
However, I am curious to find a way to do it through software. I
think the trick is on how to move the data to a host PC. So should I
try it in Eboot? Should I write a little program to run on the
device? Should I build a RAM image running on platform builder?
By the way, is there a way to write to hard drives from a WinCE image
running on platform builder?
Thanks,
Derek Tag: Custom Emulator for CE6.0 Tag: 99984
Does the OS support both ARMV4 and ARMV4i?
Hi All,
I checked the BSP from CEC editor and found that both ARMV4 and ARMV4i are
checked. It seems that the BSP supports both CPUs. Does that mean that the
OS built based on this BSP also supports both ARMV4 and ARMV4i?
I am using Platform Builder 4.2.
Thanks,
James Tag: Custom Emulator for CE6.0 Tag: 99971
Core Connectivity not available
My installation of VS 2005 and CE 6.0 doesn't have the Core Connectivity
components available in the catalog view.
I've repaired my installation to no avail.
How can I fix this?
--
Learning, always learning... Tag: Custom Emulator for CE6.0 Tag: 99967
CSR Bluetooth Chp Baudrate
I have a CE5.0 platform using PXA270 processor with bluetooth uses CSR
chip, with uart interface. The default baudrate to the chip is 921600,
which is too high. I like to set it to 115K. All I am looking for the
command to CSR chip to change the baudrate from 921600 to 115K.
Thanks Tag: Custom Emulator for CE6.0 Tag: 99966
problem with 1.dll
Hi,
I have build the OS with the platfoem builder 4.2 but the library
SECUR32.DLL has need the 1.DLL. Where I find this library?
Thanks Tag: Custom Emulator for CE6.0 Tag: 99964
ActiveSync connection problem in CE6
Hi everybody!
I am trying to get my device (CEPC:x86 running CE6) and the
workstation connected via ActiveSync.
I have ActiveSync 4.5.0 installed in the workstation. I have added all
the necessary Catalog Items to the image and disabled the serial port
debugging, setting the corresponding parameter in loadcepc.
When I run Repllog.exe in the device the application window opens but
inmediatly closes. If I open an hyperterminal in the workstation I see
the "CLIENT" message just once and then nothing else comes. And
ActiveSync is not able to connect to the device.
The serial cable is ok. This is the pin configuration:
A1 -> A4 & A6
A2 -> B3
A3 -> B2
A4 -> A1 & A6
A5 -> B5
A6 -> A1 & A4
A7 -> B8
A8 -> B7
B1 -> B4 & B6
Does someone have an idea of what I am missing?
Thanks a lot for your time.
These are the debug messages when running Repllog.exe:
242954 PID:300003a TID:302003a OSAXST1: >>> Loading Module
'coredll.dll' (0x83FFA630) at address 0x40010000-0x400D2000 in Process
'repllog.exe' (0x830D739C)
242956 PID:300003a TID:302003a OSAXST1: >>> Loading Module
'repllog.exe' (0x830D739C) at address 0x00010000-0x0002B000 in Process
'repllog.exe' (0x830D739C)
PB Debugger Loaded symbols for 'C:\WINCE600\OSDESIGNS
\OSDESIGN10_INDCTRL\OSDESIGN10_INDCTRL\RELDIR\TESTCEPC_X86_DEBUG
\REPLLOG.EXE'
243958 PID:300003a TID:302003a Heap Statistics at 0x400C5788
243959 PID:300003a TID:302003a OSAXST1: >>> Loading Module
'winsock.dll' (0x83180000) at address 0x40510000-0x40515000 in Process
'repllog.exe' (0x830D739C)
243961 PID:300003a TID:302003a OSAXST1: >>> Loading Module
'ws2.dll' (0x8307699C) at address 0x402B0000-0x402BF000 in Process
'repllog.exe' (0x830D739C)
245944 PID:300003a TID:302003a RLOG: [0x 302003A] Started with
cmdline:
245944 PID:400002 TID:302003a AddToProcessInputLocaleTable: Added
process to ProcessInputLocale table, hProcess = 0x0300003A
245945 PID:300003a TID:302003a RLOG: [0x 302003A] Using '`Desktop @
19200`' connection
245945 PID:300003a TID:302003a RLOG: [0x 302003A] Welcome to repllog.
Port in use: Dccman: 5679; RRA: 5678
PB Debugger Loaded symbols for 'C:\WINCE600
\OSDESIGNS\OSDESIGN10_INDCTRL\OSDESIGN10_INDCTRL\RELDIR
\TESTCEPC_X86_DEBUG\RAPISRV.EXE'
245946 PID:300003a TID:302003a RLOG: [0x 302003A] WM_WINDOWREADY
245946 PID:300003a TID:302003a RLOG: [0x 302003A] About to run
rapisrv.exe
245947 PID:320003a TID:321003a OSAXST1: >>> Loading Module
'coredll.dll' (0x83FFA630) at address 0x40010000-0x400D2000 in Process
'rapisrv.exe' (0x831CEC78)
245948 PID:320003a TID:321003a OSAXST1: >>> Loading Module
'rapisrv.exe' (0x831CEC78) at address 0x00010000-0x00035000 in Process
'rapisrv.exe' (0x831CEC78)
247174 PID:320003a TID:321003a Heap Statistics at 0x400C5788
247175 PID:320003a TID:321003a OSAXST1: >>> Loading Module
'winsock.dll' (0x83180000) at address 0x40510000-0x40515000 in Process
'rapisrv.exe' (0x831CEC78)
247178 PID:320003a TID:321003a OSAXST1: >>> Loading Module
'ws2.dll' (0x8307699C) at address 0x402B0000-0x402BF000 in Process
'rapisrv.exe' (0x831CEC78)
248913 PID:400002 TID:321003a AddToProcessInputLocaleTable: Added
process to ProcessInputLocale table, hProcess = 0x0320003A
248914 PID:320003a TID:321003a RpcSrv: Rapi Server running on
DeviceType: 2
248914 PID:320003a TID:3830036 RpcSrv: Winsock Started version 1.1
248914 PID:320003a TID:3830036 OSAXST1: >>> Loading Module
'ssllsp.dll' (0x83134F00) at address 0x40310000-0x40321000 in Process
'rapisrv.exe' (0x831CEC78)
249837 PID:320003a TID:3830036 OSAXST1: >>> Loading Module
'wspm.dll' (0x83135CD8) at address 0x402D0000-0x402D6000 in Process
'rapisrv.exe' (0x831CEC78)
249839 PID:320003a TID:3830036 RpcSrv: Fail to create IPv6 socket.
Error=10047
249839 PID:320003a TID:3830036 <RPC:RESLIST>
249839 PID:320003a TID:3830036 CResList::CResList()
249840 PID:300003a TID:302003a RLOG: [0x 302003A] Using '`Desktop @
19200`' connection
PB Debugger Loaded symbols for 'C:\WINCE600
\OSDESIGNS\OSDESIGN10_INDCTRL\OSDESIGN10_INDCTRL\RELDIR
\TESTCEPC_X86_DEBUG\RNAAPP.EXE'
249840 PID:300003a TID:302003a RLOG: [0x 302003A] About to run
rnaapp.exe -n -m -e"`Desktop @ 19200`"
249840 PID:3b0003a TID:3b1003a OSAXST1: >>> Loading Module
'coredll.dll' (0x83FFA630) at address 0x40010000-0x400D2000 in Process
'rnaapp.exe' (0x831F5438)
249845 PID:3b0003a TID:3b1003a OSAXST1: >>> Loading Module
'rnaapp.exe' (0x831F5438) at address 0x00010000-0x0001F000 in Process
'rnaapp.exe' (0x831F5438)
251031 PID:3b0003a TID:3b1003a Heap Statistics at 0x400C5788
251700 PID:3b0003a TID:3b1003a NKCreateMsgQueue returns 00491403,
dwErr = 000000b7
251700 PID:400002 TID:3b1003a AddToProcessInputLocaleTable: Added
process to ProcessInputLocale table, hProcess = 0x03B0003A
251704 PID:400002 TID:2fc0002 AUTORAS:: Dialer notifies: [1] [Dialer
Start]
252785 PID:1dd0002 TID:312003e COM_Close: (1 handles) total RX 0,
total TX 6, dropped (mdd, pdd) 0,0
252785 PID:1dd0002 TID:312003e COM_Close: (0 handles) total RX 0,
total TX 6, dropped (mdd, pdd) 0,0
252785 PID:3b0003a TID:3b1003a RASCS_Disconnected: Ecode=619
252859 PID:3b0003a TID:3b1003a DESTROY
252870 PID:400002 TID:3b1003a Gwes:Dialog window destroyed in
callback
252971 PID:3b0003a TID:3b1003a Posting WM_NETCONNECT(FALSE) message,
ErrorCode = 619(0x26B)
PB Debugger Unloaded symbols for 'C:\WINCE600
\OSDESIGNS\OSDESIGN10_INDCTRL\OSDESIGN10_INDCTRL\RELDIR
\TESTCEPC_X86_DEBUG\RNAAPP.EXE'
252971 PID:400002 TID:3b1003a DeleteFromProcessInputLocaleTable:
Deleted process from ProcessInputLocale
table, hProcess: 0x03B0003A
252971 PID:3b0003a TID:3b1003a OSAXST1: <<< Unloading Module
'coredll.dll' (0x83FFA630) at address
0x40010000-0x400D2000 in Process 'rnaapp.exe' (0x831F5438)
252973 PID:3b0003a TID:3b1003a OSAXST1: <<< Unloading Module
'rnaapp.exe' (0x831F5438) at address
0x00010000-0x0001F000 in Process 'rnaapp.exe' (0x831F5438)
252977 PID:300003a TID:302003a RLOG: [0x 302003A] Received
WM_NETCONNECT - 0, for '`Desktop @ 19200`';
fRnaAdrefed: 0
252977 PID:300003a TID:302003a RLOG: [0x 302003A] Received
WM_NETCONNECT(FALSE) - haven't yet seen
WM_NETCONNECT(TRUE).
252977 PID:300003a TID:302003a RLOG: [0x 302003A] Received 'silent'
Rnaapp error 619
252977 PID:300003a TID:302003a _REPLLOG: IDM_STOP_REPLICATION.
wParam: 1, lParam: 0
252977 PID:300003a TID:302003a RLOG: [0x 302003A] Quiting
replication. 0 0 0 0 1
252977 PID:400002 TID:2fc0002 AUTORAS:: Dialer notifies: [2] [Dialer
Terminate]
252977 PID:320003a TID:321003a RpcSrv: Rapi Server received
WM_STOP_RPC
252977 PID:320003a TID:321003a RpcSrv: Rapi Server received
WM_DESTROY
252978 PID:320003a TID:3830036 RpcSrv: Error from accept=10038
252978 PID:320003a TID:3830036 RpcSrv: select() failed, error 10038
PB Debugger Unloaded symbols for 'C:\WINCE600
\OSDESIGNS\OSDESIGN10_INDCTRL\OSDESIGN10_INDCTRL\RELDIR
\TESTCEPC_X86_DEBUG\RAPISRV.EXE'
252978 PID:320003a TID:3830036 <RPC:RESLIST>
252978 PID:320003a TID:3830036 CResList::~CResList()
253079 PID:320003a TID:3830036 OSAXST1: <<< Unloading Module
'wspm.dll' (0x83135CD8) at address 0x402D0000-0x402D6000 in Process
'rapisrv.exe' (0x831CEC78)
253083 PID:320003a TID:3830036 OSAXST1: <<< Unloading Module
'ssllsp.dll' (0x83134F00) at address 0x40310000-0x40321000 in Process
'rapisrv.exe' (0x831CEC78)
253086 PID:400002 TID:321003a DeleteFromProcessInputLocaleTable:
Deleted process from ProcessInputLocale table, hProcess: 0x0320003A
253086 PID:320003a TID:321003a OSAXST1: <<< Unloading Module
'coredll.dll' (0x83FFA630) at address 0x40010000-0x400D2000 in Process
'rapisrv.exe' (0x831CEC78)
253090 PID:320003a TID:321003a OSAXST1: <<< Unloading Module
'ws2.dll' (0x8307699C) at address 0x402B0000-0x402BF000 in Process
'rapisrv