network problem when boot from flash,
when downloading image with KITL from workstation with PB,the network work
well.
when the same image boots up from flash in target board, the network doesnt
work.Why and how to enable NIC when booting from flash?
I havent nic driver and only have ethdbg driver.
thanks! Tag: MUX IM Driver on CE Tag: 60992
ATA in WinCE5.0 and Samsung HD -- Not a repost.
hi guys,
please go thro' my previous mails regarding the problem i was facing
w.r.t to samsung HD in WinCE5.0
I have finally got to the root of the problem and want to know whether
it is a correct conclusion.
An ATA device enters into the Interrupt Pending state after the
successful completion of commands (and many more conditions as well...not
relevant here.)
Now, my idea is that ATA spec specifies that the device should clear it's
Interrupt Pending state upon performing any of the following two conditions
(among many others, which are again not relevant) :
1. The status register is read properly (ensuring BSY is not set and
things).
2. When BSY and DRQ == 0 and the command register is set.
Now, in WinCE ATA initialization, EXECUTE DEVICE DIAGNOSTIC command is
sent followed by IDENTIFY DEVICE command. The samsung HD which i am using
(when the system is configured with just this HD as the master and no other
HD) goes through EXECUTE DEVICE DIAGNOSTIC properly. It enters into the
Interrupt Pending state and refuses to respond when IDENTIFY DEVICE command
is issued. So, the IDENTIFY DEVICE command fails and the HD is not
considered. I went further and issued another IDENTIFY DEVICE command after
the failed IDENTIFY DEVICE command and now, it worked.
This is leading me to believe that the samsung HD which i have is not
responding to the first command after it issues interrupt, but responds to
commands after that (Unless Status register is read to clear any Interrupt
Pending state, which is done in most of the other places, like DMA
read/write etc.). So, the problem is only at the initialization part,
wherein there is no explicit read of the Status register after EXECUTE
DEVICE DIAGNOSTIC command (the problem being on the Samsung HD side for not
responding).
Now, I have added code to read the Status register after EXECUTE DEVICE
DIAGNOSTIC and the first IDENTIFY DEVICE command itself works fine.
Has anybody experienced any similar stuff with Samsung HDs or any others
(note that the problem would only be with Samsung HD + wince5.0 'coz EXECUTE
DEVICE DIAGNOSTIC command has been added only in 5.0)? Or for that matter,
any of u used samsung HD with 5.0 and it worked fine ?
I am yet to try with all the samsung HD 's i have got and see what is their
response to the unmodified WinCE code (which disqualifies the samsung HD
which i am currently playing with).
<After 2 hrs......>
Yep....i have 3 samsung hard disks....two of the sp4002H type and one of
sv4002H type. The sv works with the WinCE code without any
modifications...but the sp series, nope....So, <yawn>, sp series is not
responding to the first command after Interrupt Pending state (unless state
cleared by reading status register).
--
cheers,
Joseph Garibaldi.
B'lore, India. Tag: MUX IM Driver on CE Tag: 60988
Building MainStone II in CE5.0
Hi all,
When I an building the MainStone II as Mobile Handheld, I have an error:
ne2kdbg.lib(ne2000.obj) : error LNK2019: unresolved external symbol
SC_WriteDebugLED referenced in function NE2000GetFrame
What can I do?
Thank you. Tag: MUX IM Driver on CE Tag: 60984
Where should app files go in CE 5.0?
We have been using CE since CE 2.0 and always copied our application exe/dll
files to the cesysgen ...retail folder, made them read-only and included
them in the project.bib file in order to add them to the CE image. Making
them read-only prevented the files from being deleted by a 'clean'. When I
do this with CE 5.0, the files get deleted and the build fails. What is the
correct way to handle this?
Also, it seem that Build OS->clean has a similar effect as setting Build
DepTree in CE 4.2. Is this right?
Thanks Tag: MUX IM Driver on CE Tag: 60981
Newbie question
Hello,
Is it possible to create Platform for x86 emulator and run it on the
development device? I'm using Platform Builder 3.0.
Thanks Tag: MUX IM Driver on CE Tag: 60980
100% Loading when CF inserted into PCMCIA
I am using CE 5.0 with proprietary x86 (VIA BSP) and have configured it for
the Intel 82365 PCMCIA controller. We are using the TI PCI1520 controller
and have configured it as a legacy 82365 controller.
Initially, it seemed that everything was ok - I could access the storage
card and read/write files when a compact flash card was inserted. But then
upon closer inspection, I found that the system slowed drastically when a CF
was inserted and in fact the processor loading went to 100%. When the CF
was removed, loading dropped to the normal level again. But, when I run a
debug build, all debug output stops shortly after a CF card is inserted and
never restarts, even when the card is removed. Since the debug output
stops as a result of this, I am quite a loss as to how to proceed and would
be interested in any suggestions.
Thanks Tag: MUX IM Driver on CE Tag: 60979
Enable Ship Build checkbox missing from Retail Build Options
I've run into a strange problem and I'm hoping someone else has
already found a solution for what has happened.
I've been using PB 4.2 to develop WinCE for a pxa255 platform, using
the Intel Lubbock BSP. Both the Debug and Retail builds are working. I
recently moved PB to a new PC.
What I've found is that on the new PC, the Enable Ship Build option in
the Build Options section for the Retail Build Platform Settings
doesn't appear. I've deselected everything (especially Enable KITL and
Enable Kernel Debugger). On the old PC, the Enable Ship Build checkbox
does appear.
I've done a clean Rebuild of the Retail version and it works on the
target board. Bootloader has successfully burned nk.bin into flash and
the board boots WinCE, the boot isn't halting because KITL can't
contact PB. It appears as if Enable Ship Build has been set, but I'm
not sure if there won't be some other side effect if Enable Ship Build
hasn't been selected.
Is there some other environment variable or PB option I have to set or
reset in order to cause PB to display the Enable Ship Build Option?
From what I've read, that option only appears for the Retail Build,
and it does on my old PC.
I installed PB 4.2 in the new machine and copied the cloned BSP from
the old machine to the new. Could I have upset something in PB during
that migration?
Thanks in advance. Tag: MUX IM Driver on CE Tag: 60978
ATA in WinCE5.0 with SAMSUNG HD ?
has anybody tried executing GENERICIDE ATAPI configuration code with SAMSUNG
HD (make 4002H hopefully .. or any samsung HD will do)?
i am facing some problems and would like to know whether it is to do with
samsung + IDE controller i am using....
--
cheers,
Joseph Garibaldi.
B'lore, India. Tag: MUX IM Driver on CE Tag: 60968
Bluetooth Audio via CompactFlash PC card to Headset on WinCE5.0
Has anyone used a CF flash card and WinCE 5.0 to pipe the normal PC sounds
(*.wav) files to a headset?
Evidently an 'SCO-enabled' Bluetooth device (in my case a CF adapter) is
required to support the Headset profile.....this may be the cause of the
difficulty I'm experiencing.
Does anyone know of a manufacturer of this device?
It doesn't look as if SocketCommunications card supports this, and the
BrainBox card I have performs in the same manner as the Socket
card....namely the Volume controls work, providing appropriate sound
changes, when the VolUp or VolDn button is pressed, but no audio....not even
a click or noise issues when the sound is initiated.
I have traced through the various layers of the HCI extension, btscosnd.dll,
and the HCI Transport layer stuff..bthcsr.dll, and bthuniv.dll
..and the driver gets stuck in file hcibcsp.cpp, BCSPWriteThread() in a
while(1) loop trying to send SCO packets......it stays in forever if it
continues to get a PSCOPacket....which it does.
Looking at the packet numbers, it appears as if there is only 2 packets that
continuously alternate.
Has anyone else experienced this? Tag: MUX IM Driver on CE Tag: 60962
USING_COPROCSUPPORT
On the Lubbock/Sandgate reference designs they use the USING_COPROCSUPPORT
define to compile in code to do something with coprocessor 0. Does anyone
know what it is used for?
Do I need it compiled in to use the .Net Compact Framework?
Thanks for the help! Tag: MUX IM Driver on CE Tag: 60955
Activesync
Can someone point me to the article describing what is needed to enabling
Activesync on a platform?
I am trying to do this on geode I have added Platform Manager->Base Engine ,
Platform Manager->Transports->Activesync, and Applications â?? End
User->Activesync. When I bring up my system I see repllog.exe in the windows
directory but when I execute it I get the message â??Can not connect to PC. No
program Memory available. Stop some programsâ?¦â?¦â?¦â?¦.â??. I know Iâ??m missing
something, but what?
Hari Tag: MUX IM Driver on CE Tag: 60953
I/O Resource Manager request for IRQ
I am having problems with the pcmica driver after having included the
interrupt support in the production quality OAL in Win CE 5.0 on
pxa255.
During initialization I receive the following error from the MDD
layer:
PCMCIA!PCIRequestResourcesEx: I/O Resource Manager request for IRQ 43
with Flag 0 IrqFlag failed
I turned on all the debug zones in the OAL, but it does not look like
ResourceRequestEx (that is called right before the error message) is
calling any routines in the OAL. From msdn it looks like this function
allows devices to request exclusive access to sharable resources. The
dwFlags argument that my function pass to ResourceRequestEx is 0.
What can cause ResourceRequestEx to fail? Should it call functions in
my OAL?
Regards,
Inger Tag: MUX IM Driver on CE Tag: 60945
Platfom Builder with Mulit-ICE or Majic ICE
Hi,
I am working on porting WinCE 4.2 to our EVB, but our EVB don't have
ethernet port, so I can only try using hardware ICE ( Multi-ICE or EPI
Majic). I can connect the Platform builder to the EVB with the ICEs ,but
both have problem when I try to download image , it always complains
about accessing invalid address (such as 0x8xxxxxxx). Is that I have to
do something before downloading image ( I have try using Ramdax)?
Thank you very much
Wing Hui Tag: MUX IM Driver on CE Tag: 60943
SMBServer - Simple (ish) question(s)
Hi Guys and Gals,
I have a couple of questions about the SMB server under CE;
1) When you first configure it remotely through http it prompts for a
password for the Admin account and then makes you change it's Name before
you can proceed.
When we deploy our units we set the device name ourselves using the licence
number of our software as part of the name so that they are always going to
be unique, we also change the OrigName to WindowsCE.
So we set HKLM\Ident\Name to "Something1234" and HKLM\Ident\OrigName to
"WindowsCE".
Now when you HTTP into the unit, it prompts you for a password for the Admin
account (which is fine), it also shows you the options down the left for
setting users and shares etc (which it doesn't do before the name change)
but as soon as you click on 1 of them it diverts you to the OOBE page (Out
of the Box Experience, I'm guessing?). The device name dialogue show the
name we have given it, as soon as you make a change to this, say delete the
number at the end and put it back and click Apply, it all springs to life.
So what else do we need to do to make this happen at deployment?
2) If we say wanted to reset the unit after the Admin account password has
been entered, ie so that the next time someone HTTP's the unit it asks for a
password for the admin account. Is there a way to do this?
Many thanks in advance, and if anyone from MS reads this I'd like to say
what a trully delightful product WinCE is. We produce hardware/software
solutions for the POS industry and we're finding WinCE a so much better
solution that the Win9X/WinNT platforms on so many levels. Tag: MUX IM Driver on CE Tag: 60942
How to add Stream interface driver in Miniport driver
Hi folks
I have a Native ndis minport dirver in winCE. I want to pass some data from
user application to miniport driver. For that I don't want to use Ndisuio, So
I thought of having stream interface driver on top of my minport driver.
Can I use this approach for sending data to minport driver. If so, how can i
implement this ? Is there any sample available for stream interface driver -
ndis miniport driver combination ?
thanks in advance.
regards,
- Vijay Tag: MUX IM Driver on CE Tag: 60941
Does Windows Mobile 2003 SE - SmartPhone support CPHS ?
This is a multi-part message in MIME format.
------=_NextPart_000_001F_01C4DF01.068D9580
Content-Type: text/plain;
charset="big5"
Content-Transfer-Encoding: quoted-printable
Hi All,
Can anyone kindly tell me whether the following two configurations =
support=20
CPHS (Common PCN Handset Specification) or not ?
1) Windows Mobile 2003 SE - SmartPhone=20
2) Windows CE 5.0 SmartPhone (Magneto)
Is the CPHS natively supported ?
Thanks a lot.
Best regards,
Henry Fok
------=_NextPart_000_001F_01C4DF01.068D9580
Content-Type: text/html;
charset="big5"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; charset=3Dbig5">
<META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY>
<DIV><FONT face=3D"Lucida Sans Unicode" size=3D2>Hi All,<BR><BR>Can =
anyone kindly=20
tell me whether the following two configurations support <BR>CPHS =
(Common PCN=20
Handset Specification) or not ?<BR><BR>1) Windows Mobile 2003 SE - =
SmartPhone=20
<BR>2) Windows CE 5.0 SmartPhone (Magneto)<BR><BR>Is the CPHS natively =
supported=20
?<BR><BR>Thanks a lot.<BR><BR>Best regards,<BR>Henry=20
Fok</FONT></DIV></BODY></HTML>
------=_NextPart_000_001F_01C4DF01.068D9580-- Tag: MUX IM Driver on CE Tag: 60938
Problem with serial port on wince4.2
Hey
I have computer "Psion workabout pro" with windows ce 4.2.
This machine has no RS232 build but has 100 - pin connector
from was from 9 pins buid "RS232". I'm quite sure that hardware
connection is correct. Problem that system cann't see it, I try
change registry but any changes in key :
HKEY_LOCAL_MACHINE\Drivers\Active\... disapear even after
warm reset. What can I do to see this RS port as COM1 (or other)
COM2, COM3, COM4 are reserverd to handle scanner, bluetooth
and USB - and work correct.
Best regards
axell Tag: MUX IM Driver on CE Tag: 60935
Passing error code through FSDMGR
I am working on a Windows CE 3.0 file system driver, that uses
FSDMGR_ReadDiskEx. This functions is called with a FSD_SCATTER_GATHER_INFO
argument. FSDMGR translates this request to a function call DISK_IOCTL_WRITE
call of the lower block driver with a SG_REQ argument.
The online help requests from the block driver, that the member sr_status
should contain the error code or ERROR_SUCCESS. I am missing a corresponding
member in the FSD_SCATTER_GATHER_INFO.
What is the correct way to pass error information from the block driver
through FSDMGR to the file system driver?
/Helge Tag: MUX IM Driver on CE Tag: 60933
IPSM on WinCE 5.0 ?
Hi all,
is anyone able to run the IPSM on WinCE5.0 ?
We have IPSM 3.7 Gold and PXA270, but are always getting the following error:
"PSMFSD_MountDisk: FG_Init failed! status=bc"
Intel Premier support wasn't much helpful, just said that although v3.7
supports complete PXA family (including PXA27x), but doesn't support CE5.0.
This might be the true reason, but I just wanted to check if anyone here's
able to run it.
Thanks,
Martin Tag: MUX IM Driver on CE Tag: 60932
Configuration of COM port
hi,
how windows gets the base address of COM ports and parallel ports..
In dos ,i know that "from dos memory area" we can get it( from 0x400 -
0x418).
But i want to know how in windows it is done,anyone can help me...
thanking u Tag: MUX IM Driver on CE Tag: 60930
build process step by step
hi,
can anyone tell me how to build a platform through command line from
the beginning to the end....
one by one or any articles or links describing each steps ,i need only
prototype....
i think it is starting like this
1) wince ARMV4I HIBASE MYPLATFORM
...
i think there is no problem to anyone exposing the steps..
thanking u Tag: MUX IM Driver on CE Tag: 60929
How to output NTSC or PAL comopsite signal on GEODE SC1200 ?
Now, I am displaying Windows Graphic data on the TFT LCD.
But I want to display on the NTSC or PAL analog LCD.
I am trying to make it as to modify Platform.reg.
but doesn't display anything on analog LCD.
How can I solve this problems ?
OS : WinCE 4.2
CPU : AMD SC1200 Tag: MUX IM Driver on CE Tag: 60927
ActiveSync through USB in WinCE 5.0 ??
Hi,
I use Samsung S3C2410 CPU.
I am trying to use ActiveSync over USB in WinCE 5.0, but it failed.
I think I should use the "serial client" instead of "RNDIS client". Right ?
Should I set DefaultClientDriver to "serial client" or "RNDIS client" if I
want to use ActiveSync?
When I use RNDIS client, PC pops up a dialog to ask me to install the
driver.
However, When I use serial client, PC does not pop up the dialog to ask me
to install the driver.
The following is my registry setting for serial client.
Thanks.
Yu.
----------------------------------------------------------------------------
------------
common.reg
; @CESYSGEN IF CE_MODULES_SERIALUSBFN
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"=- ; erase previous default
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers]
"DefaultClientDriver"="Serial_Class"
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\Serial_Class]
"Dll"="serialusbfn.dll"
"InterfaceSubClass"=dword:ff
"InterfaceProtocol"=dword:ff
"DeviceName"="USBFNS1:"
"Tsp"="Unimodem.dll"
"Prefix"="COM"
"DeviceArrayIndex"=dword:0
"DeviceType"=dword:0
"IClass"="{CC5195AC-BA49-48a0-BE17-DF6D1B0173DD}"
; idVendor must be changed. 045E belongs to Microsoft and is only to be used
for
; prototype devices in your labs. Visit http://www.usb.org to obtain a
vendor id.
"idVendor"=dword:045E
"Manufacturer"="Generic Manufacturer (PROTOTYPE--Remember to change
idVendor)"
"idProduct"=dword:00ce
"Product"="Generic Serial (PROTOTYPE--Remember to change idVendor)"
"bcdDevice"=dword:0
"Index"=dword:8
"FriendlyName"="SC2410 USB Cable:"
[HKEY_LOCAL_MACHINE\Comm\USB\Linkage]
"Bind"=multi_sz:"USBFNSER1"
[HKEY_LOCAL_MACHINE\Comm\USBFNSER]
"DisplayName"="USB Driver"
"Group"="Serial"
"ImagePath"="serialusbfn.dll"
[HKEY_LOCAL_MACHINE\Comm\USBFNSER\Linkage]
"Route"=multi_sz:"USBFNSER1"
[HKEY_LOCAL_MACHINE\Comm\USBFNSER1\Parms]
; Intentionally left blank as a placeholder.
; @CESYSGEN ENDIF CE_MODULES_SERIALUSBFN
----------------------------------------------------------------------------
------------
platform.reg
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\SC2410USBFN]
"Dll"="sc2410usbfn.dll"
"Prefix"="UFN"
"Priority256"=dword:64
"IoBase"=dword:B1200000
"IoLen"=dword:1000 ; Use one page
"Irq"=dword:19
"BusIoctl"=dword:2a0048
"IClass"=multi_sz:"{E2BDC372-598F-4619-BC50-54B3F7848D35}=%b","{6F40791D-300
E-44E4-BC38-E0E63CA8375C}=%b" Tag: MUX IM Driver on CE Tag: 60925
CE4.2 - System crash on Event/Mutex creation
Hi everyone,
Problem description
> We use windows Ce 4.2 on a PXA255 platform with 64MByte SDRAM and 64MB
Flash.
> We have an application that creates named events or mutexes without
releasing/closing them.
> After a while the system totally crashes when the 65536th handle is being
created.
> The crash = system hangs without generating exceptions (Nothing appears on
the debug output to indicate a crash or exception)
> Here is a code sample that easily makes the system crash!!!
(Crash ocurs each time when counter reaches exactly 65536)
DWORD dwCounter = 0;
HANDLE hEvent;
while(TRUE)
{
RETAILMSG(1,(TEXT("Creating event %d\r\n"),dwCounter++));
hEvent = CreateEvent(NULL,FALSE,FALSE,TEXT("MY_EVENT_TEST"));
if(hEvent != NULL)
{
SetEvent(hEvent);
}
else
RETAILMSG(1,(TEXT("Failed to createEvent - error =
%d\r\n"),GetLastError()));
}
Questions :
1) Why does this "CreateEvent" or "CreateMutex" function not return an
errorcode or an exception?
(i.e. ERROR_NOT_ENOUGH_MEMORY)
2) Why does the kernel not prevent such a crash?
3) Are there QFE packs available that solve this problem?
4) Can we change something in the kernel/hal to intercept or to prevent this
crash?
5) Can this problem be generated by an unexpected WORD (counter) overflow in
the kernel? (65536 = 0x10000)
Thanks for all your support,
Peter. Tag: MUX IM Driver on CE Tag: 60921
Very slow system dialogs
Hello,
I'm using Windows CE 5.0 with a SH4 (SH7760) processor. We are using the
internal LCD controller of the SH7760. So we don't have a separate hardware
acceleration. This mean the Windows CE uses the emulation libraries which
are delivered with the Platform Builder. The system works fine but some
system dialogs such as the system applet of the control panel the dialog are
shown very slow. Example. I open the system applet in the control panel. If
I change from the general tab to the device name tab then the edit controls
with the device name and the description are shown very fast. Then there is
a delay time from about 1 second. Then the static text information are
shown. Then there is a delay time again before the lines are shown on the
sreen.
Does anyone see this problem too ?
Have anyone a suggestion what causes this problem ?
Thank you for your answers in advance.
Regards,
Ruediger Tag: MUX IM Driver on CE Tag: 60919
Problem about Waveform Audio Functions?
Hi,
Now I am developing a record&play program. I have read the sample codes
in wince.net 4.2. I can use sample codes wavrec to record a wave file and I
can use media player to play it. But I can't use wavplay playing it. Does the
media player not use the Waveform Audio Functions playing it ?
The wave file information is "wavrec.wav" S16 44100Hz 1764000 bytes
10000 ms. It was recorded by wavrec .
Help!
Fred Tag: MUX IM Driver on CE Tag: 60916
Adding drivers from third party device drivers to OS Design View
Hi all,
This querry is pertaining to addition of drivers from Third Party device
drivers in catalog to OS Design View.
I do not see all the device drivers which I add from Third Pary to OS
Design..
Say for example, if third party has 3 drivers namely PCIBUS, AUDIO and USB.
Now it so happens that if I add PCIBUS , the same is shown in OS Design
under the BSP we have created. If I add USB , the same replaces PCIBUS.
Furthermore, addition of AUDIO driver replaces USB.
Eventually I see only one driver inspite of adding all the drivers from
device drivers under Third Party.
Any suggestion on this would be appreciated.
Cheers
Hans Tag: MUX IM Driver on CE Tag: 60909
Why SD/MMC is read-only in WinCE 5.0 ?
Hi,
I put the SD/MMC driver of WinCE 4.2 to WinCE 5.0.
It works after modifying some address issues, but it is read-only.
Why ?
How can I set the read/write attribute of SD/MMC in WinCE 5.0 ?
Thanks.
Yu Tag: MUX IM Driver on CE Tag: 60908
IP phone & USB keyboard
Hi,
Is there any conflict between USB keyboard and IP phone configuration in CE
4.2? I build a IP Phone Advanced configuration on a Cirrus EP9315 platform.
But I can't enter any password at the PIN screen. I can used the USB mouse
to move the cursor around. So the USB host and HID must be OK. And at
KITL, I can see the kbdhid.dll loaded when I plug in the keyboard. Also, I
tested the USB keyboard and the keyboard driver in other configurations and
they worked fine. I don't know what have I done wrong then.
Thanks for your help!
Derek Tag: MUX IM Driver on CE Tag: 60907
Installing Device-Compatible Programs with ACTIVESYNC
Finally I've made my WCE Image connect with my Workstation with ACTIVESYNC.
It was tricky but I got it.
Now I'm trying to synchronize my device with desktop PC like a final user
would do. I tried to install Pocket PC Acrobat Reader with MS ActiveSync,
however after the "retrieving application data from device" it says THERE
ARE NO DEVICE-COMPATIBLE PROGRAMS AVAILABLE.
Why it says Acrobat isn't device-compatible? Is there some lack of registry
configuration? Or the program isn't compatible with my hardware.
My machine consist of:
Embedded PC x86 - Via Eden 700Mhz
I've included in my Image
TRANSPORT / ACTIVE SYNC
APPLICATIONS - END USER / ACTIVE SYNC / FILE SYNC
Is there some more configuration to do? Tag: MUX IM Driver on CE Tag: 60906
WinCE 5.0 Atapi DMA memory leak
Has anyone seen a memory leak using the promise atapi driver that comes with
CE 5.0? When I enable DMA transfer a memory leak occurs.
- Brad Tag: MUX IM Driver on CE Tag: 60903
WinCE 5.0 Atapi DMA memory leak
Has anyone seen a memory leak using the promise atapi driver that comes with
CE 5.0? When I enable DMA transfer a memory leak occurs.
- Brad Tag: MUX IM Driver on CE Tag: 60902
MTU size change...
I need to change the MTU size on CE v3.0 as well as CE v4.2.
I've been looking thru the docs and can't seem to find anywhere that the
MTU size can be set for a given adapter or the IP stack itself.
I was hoping that simple registry change might do the trick, but have't
been able to find it in the existing docs.
Can anyone point me in the right direction, or perhaps even know if/what
to change?
-----------
Joe Cossette Tag: MUX IM Driver on CE Tag: 60900
Where are COMMON DLL's placed?
Hi All,
if i modify code in COMMON directory (i know i shouldnt, but all i did was
some RETAILMSG 's )
i have to do deptree build right? it takes about an 30-45 minutes... 2 much
now, is there is a way around it?
u know like if u modify a driver, all u have to do from command line is to
go that driver directory, set wincerel=1 and then build, and then makeimage
and ur changed are there...
where do the DLL/.OBJ files from the COMMON area placed? can i just compile
the sample driver that i change and then copy it to my platform?
thanks Tag: MUX IM Driver on CE Tag: 60897
[Found !] Perf. issue with SMDK2410 AND 5.0 , but ...
As I mentionned in a previous thread, I was wondering why the
performance using CE 5.0 on SMDK2410 eval board was almost two times
slower than 4.2 .
I finally found a trick to make it work properly .
All the basic hardware initialization is done by EBOOT.BIN . Then it
jumps to StartUp routine, which does nothing else than launching
KernelStart .
It appears that the assembler code to make the bus acting in
Asynchronous Mode has to be done a second time just before calling
KernelStart !
I didn't find any information related to this in the Samsung databook.
I've tried to make the switching to this bus mode in a different order
in EBOOT, but it change nothing ....
So far, my problem is solved, but I'd like to understand the REAL
reason for this cheat ??!
Yves. Tag: MUX IM Driver on CE Tag: 60882
issue with ATAPI driver in 5.0
hi guys,
i am trying to migrate the atapi driver from 4.2 to 5.0. While the code
works fine in 4.2, in 5.0 for hard disks from samsung, Identify command is
failing. Though the same hard disk works fine in 4.2, and there 's this
seagate hard disk which works fine in both 4.2 and 5.0.
further, the same samsung disk works when i try to configure as slave
(either single, or along with another disk as master). If i try with the 2
samsung HDs configured as master and slave, then again, the master does not
respond to identify device, but the slave does.
anybody has observed this kind of behaviour ? or anybody knows what
could be the possbile reason ?
i have attached the message dump with ATAPI zones enabled (with just the
samsung HD configured as the master and no slave, no secondary port. ).
--
cheers,
Joseph Garibaldi.
B'lore, India.
*********************************************DEBUG
DUMP****************************************************
ATAPI DLL_PROCESS_ATTACH
Atapi!DumpRegKey> Drivers\Active\4294967283
Hnd = 00031BE0
Name = IDE1:
Key = Drivers\BuiltIn\PCI\Instance\GenericIDE1
BusParent = 00031F60
InterfaceType = 00000005
BusName = PCI_0_17_0
Atapi!DumpRegKey> Drivers\BuiltIn\PCI\Instance\GenericIDE1
SysIntr = 00000011
Irq = 00000024
IoLen :
8
4
8
4
10
10
IoBase :
160000b0
160000b8
170 <**SECONDARY PORT**IGNORE**>
374 <**SECONDARY PORT**IGNORE**>
16000080
16000090
FunctionNumber = 00000000
DeviceNumber = 00000011
BusNumber = 00000000
InterfaceType = 00000005
SubSystemID = 00000000
SubVendorID = 00000000
RevisionID = 00000002
ProgIF = 00000085
SpawnFunction = CreatePCIHD
RegisterStride = 00000001
StatusPollCyclePause = 00000005
StatusPollsPerCycle = 00000020
StatusPollCycles = 00000100
SoftResetTimeout = 00000003
DMAAlignment = 00000004
Legacy = 00000000
ConfigEntry = GenericConfig
DeviceID = 0000010f
VendorId = 0000110d
SubClass = 00000001
Class = 00000001
Order = 00000002
Dll = atapi.dll
Prefix = IDE
IClass :
{CDDC3621-3512-4b3f-BB6F-B4DD5E061795}
InstanceIndex = 00000001
ATAPI: AtaGetRegistryValue(Legacy) Value(0) hKey: 91f50
ATAPI: AtaGetRegistryValue(Irq) Value(24) hKey: 91f50
ATAPI: AtaGetRegistryValue(SysIntr) Value(11) hKey: 91f50
ATAPI: AtaGetRegistryValue(VendorID) Value(110d) hKey: 91f50
ATAPI: AtaGetRegistryValue(DMAAlignment) Value(4) hKey: 91f50
ATAPI: AtaGetRegistryValue(SoftResetTimeout) Value(3) hKey: 91f50
ATAPI: AtaGetRegistryValue(StatusPollCycles) Value(100) hKey: 91f50
ATAPI: AtaGetRegistryValue(StatusPollsPerCycle) Value(20) hKey: 91f50
ATAPI: AtaGetRegistryValue(StatusPollCyclePause) Value(5) hKey: 91f50
ATAPI: AtaGetRegistryString(SpawnFunction) Value(CreatePCIHD) hKey: 91f50
ATAConfig: RegQueryValueEx(IsrDll) failed -returned 2 Error=00000057
ATAConfig: RegQueryValueEx(IsrHandler) failed -returned 2 Error=00000057
ATAConfig: RegQueryValueEx(DeviceControlOffset) failed -returned 2
Error=00000057
ATAConfig: RegQueryValueEx(AlternateStatusOffset) failed -returned 2
Error=00000057
ATAPI: AtaGetRegistryValue(RegisterStride) Value(1) hKey: 91f50
Atapi!IDE_Init> Start of IDE/ATA device enumeration
ATAPI: AtaGetRegistryValue(DeviceId) Value(0) hKey: 91fc0
ATAPI: AtaGetRegistryValue(InterruptDriven) Value(1) hKey: 91fc0
ATAPI: AtaGetRegistryValue(DMA) Value(0) hKey: 91fc0
ATAPI: AtaGetRegistryValue(DoubleBufferSize) Value(10000) hKey: 91fc0
ATAPI: AtaGetRegistryValue(DrqDataBlockSize) Value(200) hKey: 91fc0
ATAPI: AtaGetRegistryValue(WriteCache) Value(1) hKey: 91fc0
ATAPI: AtaGetRegistryValue(LookAhead) Value(1) hKey: 91fc0
ATAPI: AtaGetRegistryValue(TransferMode) Value(ff) hKey: 91fc0
ATAPI: AtaSetRegistryValue(DeviceId) Value(0) hKey: 91fc0
ATAPI: AtaSetRegistryValue(Port) Value(33120) hKey: 91fc0
Atapi!IDE_Init> Enumerated IDE/ATA device
Drivers\BuiltIn\PCI\Instance\GenericIDE1\Device0
Atapi!IDE_Init> End of IDE/ATA device enumeration
Atapi!IDE_Init> Activating IDE/ATA device
Drivers\BuiltIn\PCI\Instance\GenericIDE1\Device0
DEVICE!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\PCI\Instance\GenericIDE1\Device0\BusPrefix)
returned 2
Atapi!DumpRegKey> Drivers\Active\4294967284
Hnd = 000335C0
Name = DSK1:
Key = Drivers\BuiltIn\PCI\Instance\GenericIDE1\Device0
Atapi!DumpRegKey> Drivers\BuiltIn\PCI\Instance\GenericIDE1\Device0
Port = 00033120
TransferMode = 000000FF
DeviceId = 00000000
LookAhead = 00000001
WriteCache = 00000001
DrqDataBlockSize = 00000200
DoubleBufferSize = 00010000
DMA = 00000000
InterruptDriven = 00000001
Dll = atapi.dll
Prefix = DSK
IClass :
{A4E7EDDA-E575-4252-9D6B-4195D48BB865}
ATAPI: AtaGetRegistryValue(Port) Value(33120) hKey: 922d0
ATAPI: AtaGetRegistryValue(DeviceId) Value(0) hKey: 922d0
Atapi!CPCIDisk::CPCIDisk> device count(1)
Atapi!CDisk::ResetController> Device is ready
Atapi!CDisk::IsDevicePresent> Device 0 is present
Atapi!CDisk::SendExecuteDeviceDiagnostic> ERROR REG 1
Atapi!CDisk::SendExecuteDeviceDiagnostic> Device 0 passed, Device 1 passed
or not present
Atapi!CDisk::SendExecuteDeviceDiagnostic> ATA device
Atapi!CDisk::Identify> Device failed to respond to IDENTIFY DEVICE and
IDENTIFY PACKET DEVICE
Atapi!CDisk::InitController> Device did not respond to identify
Atapi!CDisk::Init> Failed to initialize device
Atapi!CPCIDisk::~CPCIDisk> device count(0)
DEVICE!LaunchDevice: Init() failed for device 0x000335c0 Tag: MUX IM Driver on CE Tag: 60880
Build error in plat.builder
Hi all,
when im trying to build final image in Plat buil for winCE 5.0, im
getting the following error in the middle of the build and it stops to create
the NK.exe or NMAKE.exe.
error is:
BUILD: [00:0000001178:ERRORE] CreateDirectory(\) failed. GetLastError=5 (dec)
after this line the build stops for a halt and says, the necessary binaries
and executables were not created as...
NMAKE : fatal error U1073: don't know how to make
'G:\\public\common\oak\lib\x86\retail\tchmain.lib' Stop.
NMAKE : fatal error U1077: 'G:\sdk\bin\i386\nmake.exe' : return code '0x2'
Stop.
The thing is my winCE 5.0 OS and Plat buil are in one directory and my
eMVC++ 4.0 is another drive... could tht hve anything to do with this build
error....
could anyone suggest me any suitable soln for this, as i've been scratching
my head on this issue for a while...
adieu,
harry_thomas_5 Tag: MUX IM Driver on CE Tag: 60879
about *dirs* file
Hi all,
I want to add my device folder into a existing BSP and I must add it folder
link in *dirs* file. but when I opened a sample *dirs* file,I found some
instruction like
# @CESYSGEN IF CE_MODULES_DISPLAY
display \
# @CESYSGEN ENDIF CE_MODULES_DISPLAY
It will judge CE_MODULES_DISPLAY,but I could't find the define of it. where
I can find it ??
Best regards
Tiandf Tag: MUX IM Driver on CE Tag: 60877
how to componentize or develop a new componet from scratch in the
how to componentize or develop a new component from scratch in the plat
builder, and what are the procedures to include in the run-timedoes all the
dependency of the catalog items mentioned... should be resolved for that
ccatalog to work...pls suggest... Tag: MUX IM Driver on CE Tag: 60876
CE5.0 Project paths
Hi All,
Using Platform Builder 5.0.
I create an empty project in my platform, add the source files etc by adding
them throu PB.
Source file paths that start with ..\xxx.cpp build OK, but anything further
back in the directory tree (..\..\xxx.cpp) throw a "Bad directory prefix
error"? Should I be able to include files located more than one folder level
back? If so How? Tag: MUX IM Driver on CE Tag: 60875
Unable to get data from STDIO
For testing a keypad driver I have written a test program:
void main(HANDLE hInstance, ULONG dwReason, LPVOID lpReserved)
{
unsigned char fromKeybd = 'A';
while(1)
{
fromKeybd = getchar();
ERRORMSG( TRUE, ( TEXT( "main: %c.\r\n" ),fromKeybd ) );
}
}
It is printing debug messages like:
Run Programs: s kbdtest
4294790612 PID:54ab8b72 TID:54ab8692 0x94ab8b98: >>> Loading module
kbdtest.exe at address 0x0E010000-0x0E014000
Loaded symbols for 'N:\WINCE420\PUBLIC\TNETV1050_DEV1\RELDIR\TNETV1050_MIPSIIDEBUG\KBDTEST.EXE'
4294790615 PID:54ab8b72 TID:54ab8692 0x94ab8b98: Console NOT
redirected for process 0x42
4294790766 PID:54ab8b72 TID:54ab8692 0x94ab8b98: ERROR:
n:\wince420\platform\tnetv1050\tests\keybdtest\main.cpp line 31:
4294790766 PID:54ab8b72 TID:54ab8692 0x94ab8b98: main: ÿ.
4294790890 PID:54ab8b72 TID:54ab8692 0x94ab8b98: ERROR:
n:\wince420\platform\tnetv1050\tests\keybdtest\main.cpp line 31:
4294790890 PID:54ab8b72 TID:54ab8692 0x94ab8b98: main: ÿ.
Is getchar not getting the character from the keypad? How to set the
'STDIN' to the keypad? Tag: MUX IM Driver on CE Tag: 60870
WinCe 5.0 Installation Problem
Hi,
I have downloaded WINCE 5.0 12o days evaluation version. I am trying to
install the same, but during installation i am getting the following error
message:
=======================================
Error 1606. Could not access network locatio
http://download.microsoft.com/download/0/8/0/08000f6b-974b-4384-90d0-26440d9ecbcf/Data1.cab
=======================================
Please help me to solve this problem.
Regards
Hussain Tag: MUX IM Driver on CE Tag: 60867
[Q]: DEBUGCHK failure in WAVEAPI!wapi_common_Write
This is a multi-part message in MIME format.
------=_NextPart_000_0024_01C4DE10.646685A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
Under denug build,
when I ran wavrec/capture cetk test, a DEBUGCHK failed [reason being =
unknown] just before audio capture starts, in WAVEAPI!wapi_common_Write =
api. The below debug message is output:
183889 PID:27e88f42 TID:7d58f82 0x87d18d80: Unknown: DEBUGCHK failed in =
file c:\macallan\private\winceos\drivers\waveapi\wave\wcommon.cpp at =
line 1838=20
As this api is hidden, it is difficult to identify the reason. Can =
anybody [or atleast MS] say the possible reasons for the failure.
regards
sajid
------=_NextPart_000_0024_01C4DE10.646685A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1479" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi all,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Under denug build,</FONT></DIV>
<DIV><FONT size=3D2>when I ran wavrec/capture cetk test, a DEBUGCHK =
failed=20
[reason being unknown] just before audio capture starts, in=20
WAVEAPI!wapi_common_Write api. The below debug message is =
output:</FONT></DIV>
<DIV><FONT size=3D2>183889 PID:27e88f42 TID:7d58f82 0x87d18d80: Unknown: =
DEBUGCHK=20
failed in file =
c:\macallan\private\winceos\drivers\waveapi\wave\wcommon.cpp at=20
line 1838 </FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>As this api is hidden, it is difficult to identify =
the reason.=20
Can anybody [or atleast MS] say the possible reasons for the=20
failure.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>regards</FONT></DIV>
<DIV><FONT size=3D2>sajid</FONT></DIV></BODY></HTML>
------=_NextPart_000_0024_01C4DE10.646685A0-- Tag: MUX IM Driver on CE Tag: 60866
Gray scale LCD driver for winCE.net 4.2 (PXA255,lubbock)
I want to add a monochorme LCD (4 data pins,320*240)to lubbock platform.I
modified the registy key "Bpp=8" in
"HKEY_LOCAL_MACHINE\Drivers\Display\INTEL",and did something
with the PXA255 LCD controller regiters.But the LCD display abnormaly.
It seems that reverse gray.
I guess there is something wrong with the color palette.In the
palette.h file,winCE has defined a 256 color palette,I don`t konw how to
modified it to fit my monochrome LCD? Tag: MUX IM Driver on CE Tag: 60865
[Q]: Clean build in WinCE 5.0
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C4DE09.218F5510
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
Is there any way to clean[only] a platform in WinCE 5.0 as found in =
WinCE 4.2 ?
regards
sajid
------=_NextPart_000_0008_01C4DE09.218F5510
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1479" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi all,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Is there any way to clean[only] a platform in =
WinCE 5.0=20
as found in WinCE 4.2 ?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>regards</FONT></DIV>
<DIV><FONT size=3D2>sajid</FONT></DIV></BODY></HTML>
------=_NextPart_000_0008_01C4DE09.218F5510-- Tag: MUX IM Driver on CE Tag: 60863
WINCE installation problem
Bruce,
As per your suggestion i have downloaded WINCE 4.2 and I am trying to
install the same, but during installation i am getting the same error
message which i got during the installation of WINCE 5.0:
=======================================
Error 1606. Could not access network location
http://download.microsoft.com/download/0/8/0/08000
f6b-974b-4384-90d0-26440d9ecbcf/Data1.cab
=======================================
Please help me to solve this problem.
Regards
Hussain Tag: MUX IM Driver on CE Tag: 60859
Please Help - Serial KITL - shows OEMInit() messages only
Hi,
I modified the CEPC code to fit my Xscale for Serial KITL. Am using Active
Serial KITL. I am using BTUART for serial debug messages and FFUART for my
KITL. then, in my serial receive messages, i am not hanging infinetly,
waiting for some time and coming out. so this will also not affect i belive.
Please help me out.
My Platform Builder debug window Shows
Kernel debugger is waiting to connect with target.
0 PID:0 TID:0 Calling fron OEM Init after Debug Ether ....Peter
After the above message nothing is omcing ...but in my serial debug
window(hyperterminal), i am able to see that SerialSendRaw() function is
called and the kernel is alive, not hanging anywhere.
Thanks in advance,
Peter Tag: MUX IM Driver on CE Tag: 60852
[Q]: CallBack Mechanism
This is a multi-part message in MIME format.
------=_NextPart_000_0008_01C4DDEC.E3EE6B90
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Hi all,
Can anyone detail or provide a link about "Callback Mechanism" in WinCE =
5.0.
There are around 5 callback types i know:
CALLBACK_NULL
CALLBACK_EVENT
CALLBACK_THREAD
CALLBACK_FUNCTION
CALLBACK_WINDOW
Now, I would like to know how are these callbacks used and where does it =
work well [especially the last 3].
regards
sajid
------=_NextPart_000_0008_01C4DDEC.E3EE6B90
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1479" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hi all,</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Can anyone detail or provide a link about "Callback =
Mechanism"=20
in WinCE 5.0.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>There are around 5 callback types i =
know:</FONT></DIV>
<DIV><FONT size=3D2>CALLBACK_NULL</FONT></DIV>
<DIV><FONT size=3D2>CALLBACK_EVENT</FONT></DIV>
<DIV><FONT size=3D2>CALLBACK_THREAD</FONT></DIV>
<DIV><FONT size=3D2>CALLBACK_FUNCTION</FONT></DIV>
<DIV><FONT size=3D2>CALLBACK_WINDOW</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Now, I would like to know how are these callbacks =
used and=20
where does it work well [especially the last 3].</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>regards</FONT></DIV>
<DIV><FONT size=3D2>sajid</FONT></DIV></BODY></HTML>
------=_NextPart_000_0008_01C4DDEC.E3EE6B90-- Tag: MUX IM Driver on CE Tag: 60848
Well, it looks like CE doesn't support INetCfg. But how can I port a MUX IM
driver to CE without a notify object?