Interface s1d13806 LCD driver to wince4.1
Hi
I am trying to put the epson LCD driver (s1d13806) to
Samsung S3C2410 procssor on wince pb4.1.
I have removed the samsung LCD driver and inserted the
epson driver into my platform. when I build the platform,
epson source files are not built.
Could anyone help me out. Tag: How to load Wince from TFAT file system? Tag: 44355
xscale doubt
We have here with us a pxa255 processor board from hybus.
It has 2 intel strata 16 MB flash, (so total 32 MB) one 64 MB SDRAM.
It has a cs8900 ethernet adapter.
We are using windows ce platform builder 4.0. I read that it support
xscale architecture.
We are having a problem, and do not know how to modify things to get
the image loaded on to the board.
We build a image by chossing XSC1BD architecture, and a PDA kernel.
We did not modify boot.bib or config.bib, since we are not aware what
we need to put in these files.
We saw the fwxsc1.s file (startup file). we are using the jflash
utility to flash eboot.bin into the flash memory. i was not able to
understand, when i restart the board, nothing is happening, i am not
even getting any stirngs on my hyperterminal, i doubt it is even going
into the startup code. What are the things i need to modify to get the
strings in the startup code to appear on the hyperterminal.
thanks and regards
prasanna Tag: How to load Wince from TFAT file system? Tag: 44354
.BIN file format
Hi everyone,
Could someone please clarify the "Image Length" field? The description
says that it is the "Physical length, in bytes, of the image." Does this
mean the total number of bytes in the image or the total number of bytes
that the image spans? Either way, it doesn't seem to make much sense. I
have an eboot.bin file that has an image length field of 45992 bytes,
but the size of the file itself is only 41k approximately. Can anyone
explain how this field is calculated?
Regards,
Glenn. Tag: How to load Wince from TFAT file system? Tag: 44345
Bluetooth device name.
Hi All,
When another device (desktop) detects my bluetooth enabled WinCE 4.2 device,
it uses the device name field in the System -> Device Name control panel tab
as the CE devices' name. However, if I change that name in the control panel
of my CE device and try to rediscover it on my desktop, the old name is
used. The new name is only used after a suspend/resume or a reboot. Is there
anyway for the bluetooth stack to pick-up the new device name.
Cheers
Danny Tag: How to load Wince from TFAT file system? Tag: 44336
Taskman shell sample in CE.NET4.2
Hi All,
In CE.NET4.2 the Taskman Sample Shell is no longer selectable from the
Catalog, however, the support is still there. My question is how to include
the
Taskman Sample Shell (and exclude Standard Shell) in my 4.2 build.
Your help is greatly appreciated!
Jin Cooper Tag: How to load Wince from TFAT file system? Tag: 44335
How does TAPI (unimodem) know a device is attached or removed?
When a modem is attached or removed, how does TAPI (unimodem) get notified?
I am asking this because of a related problem. When I find a bluetooth modem
and I activate it in the "Bluetooth Device Properties" control panel I can
set up a dial up connection to it in the "Network and Dialup Connections"
control panel. However, when I delete that device in the Bluetooth control
panel I can still create a new dialup connection to it. RasEnumDevices()
still returns this device.
I think that this maybe done on purpose. Looking at the unimodem code I see
that when it gets notified of a device being removed it actually marks the
device as disconnected, out of service, and removed but does not delete it
from it's list of devices. Is this why this device is still returned when I
call RasEnumDevices()? Is this the expected behaviour? If yes, why? I would
expect that if I delete the bluetooth device, the RAS device would be
deleted as well.
Cheers
Danny Tag: How to load Wince from TFAT file system? Tag: 44331
Confirmed ARMV4 Compiler Bug in PB4.2
Microsoft has confirmed that they have a
7-byte-structure-passed-by-value compiler bug in the ARMV4 compiler
used with PB4.2. This happens in both debug and release code, so it
is not an optimization issue. Since I am the only one to have
reported this bug, and because it is known to not be a problem in the
version of the the compiler that will be shipped sometime in the
future with the next version of CE, they have chosen not to put any
effort into fixing it for the current version.
The issue can be reproduced very easily. The following C code snippet
will reproduce the issue by calling test1:
struct test_struct
{
char byte1;
char byte2;
char byte3;
char byte4;
char byte5;
char byte6;
char byte7;
};
void testsub1 (struct test_struct var1Copy)
{
// Assert (var1Copy.byte7 == 7);
char ch;
// Set breakpoint on following line and look at var1Copy
// Bytes 5, 6, and 7 are duplicates of bytes 1, 2, and 3
ch = var1Copy.byte7;
}
void test1(void)
{
struct test_struct var1 = {1,2,3,4,5,6,7};
// If a breakpoint is set here, and the assembly code
// is stepped through, you will see that the first
// dword is used twice, and the second dword is never
// used.
testsub1(var1);
}
I remain surprised that any known compiler bug would be considered
non-important (didn't Intel make that mistake with an "infrequently"
used opcode error in a Pentium chip?). It was also mentioned (but not
verified) that this same ARM compiler is likely used with the eVC++
4.X tools as well.
The only way to verify that this is not an issue in your code is to
search out all the structures and verify that either they are never 7
bytes long, or that they are never passed into a function by value. I
would much rather see a QFE to fix this, but I am unfortunately
resigned to search through our code and make sure no structures are
ever passed by value.
If others are bothered by this too, please speak up.
Arthur McNair
Pittsburgh, PA Tag: How to load Wince from TFAT file system? Tag: 44330
Steps needed to enable screen rotation
Hello all,
In all of my past efforts with screen rotation, I've been blessed with a LCD
controller that supports hardware rotation of the frame buffer.
Unfortunately now that I have a system that lacks this convenient feature, I
have a customer that wants to rotate their screen. So my question to the
group is this: what are the steps I need to take to support screen rotation
within my standard GPE-based display driver. Specifically I'm looking for
registry entries, libraries I need to link to, GPE calls that might need to
be overridden, etc.
Thanks for any suggestions.
--kermit
--
It wasn't easy being Greazy ....but it was interesting. Tag: How to load Wince from TFAT file system? Tag: 44321
Audio Architecture Details
Hello All,
We have a dual processor system with a custom dsp and a
ARM9 processor. Arm9 is the master of the chip and we
have certain protocols to communicate with the dsp and
execute tasks(especially audio decoding) on it. Windows CE
will be the OS which will be running on the Arm. The
following figure shows the data flow for the audio data.
ED ------- DD ------ --------------
---| DSP |---->| DMA |--->| Audio Device |
------- ------ --------------
ED = Encoded Data, DD = Decoded Data
Now we are trying to design a suitable multimedia
architechture for the above described system.What i found
from the CE documentation for Audio, i can use
i) UAM and ACM for playing MP3 etc
ii) To use the DirecShow architecture for Audio i.e to
have filters that provide inteface to the DSP decoder.
I am trying to evaluate the best suited approach for my
system. But i am facing the following problems.
Data decoded from the DSP can be directly transfred to the
audio device using DMA. If i use any of the above
approaches, i need to write ACM wrappers to interface with
the DSP. This wrapper will receieve buffers of compressed
audio, will shuttle the data over to the DSP, and the DSP
uploads the results as per the current architecture and
it cannot use DMA to directly transfer data to the audio
device, as client of this wrapper would be waiting for the
decoded data.
a) I don't want to upload this decoded data rather play it
directly using DMA. Is this possible with any of the above
approaches?
b) What are merits/demerits of the above approaches?
c) Is there any other alternative to suit to my needs?
Thanks in advance,
A. Thirupathi Reddy Tag: How to load Wince from TFAT file system? Tag: 44319
Multimedia Architecture Details
Hello All,
I am new to Windows CE Multimedia. I have few doubts.
1) In which process slot (Nk.exe, Device.exe or etc.) do
Wave API Manager, ACM and Video/Image Compression Manager
reside?
2) Is there any good documentation for Wave API Manager,
ACM and VCM apart from PB? i.e about the flow of data
among these modules.
3) Is the source code available for these modules?
4) What is the difference between a AudioCodec and
Waveform Audio I/O Device?
Hope to get an answer,
Chom Tag: How to load Wince from TFAT file system? Tag: 44316
HWUART vs Irda
Hi,
I want to use HWUART and Irda at the same time in my Xscale platform.
But if HWUART is enabled, I can't use Irda. I test the Irda with ActiveSync 3.5.
If HWUART is disabled, I can use Irda with ActiveSync.
In my understanding, there should be no conflict between HWUART and Irda.
Can somebody help me ?
Irnita Tag: How to load Wince from TFAT file system? Tag: 44314
Geode/MediaGX audio driver BIG problems
Hi! For 1 week i'm trying to install audio drivers for PCM-
5822 Biscuit PC without any succes. Drivers are loaded, NO
errors comming, i debuged all driver loading process - all
control points are fine. I used Geode/MediaGX Audio
(Unified) or Geode/MediaGX Waveform Audio Device drivers.
But no sound! On the same platform under Win98 audio works
FINE!!! All drivers are native, produced specially for
geode platform - why it is SO BIG problem to use them?
WHERE IS AUDIO MIXER? Maybe i have all volumes muted, but
there are no ways to check it!
Maybe I can post this question in other place? PCM-5822
is so popular platform...
PLEASE HELP! Tag: How to load Wince from TFAT file system? Tag: 44313
Can a CE 4.x device be a USB Host and a USB Mass Storage Controller?
Hello,
I know there has been some discussion in the past about making a CE device
appear as a mass-storage device on a USB network. I am curious if this
capability is possible and will run side-by-side with the existing USB Host
contoller that is available with CE 4.x today.
Cheers,
Ken Tag: How to load Wince from TFAT file system? Tag: 44310
RESEND: Tutorial or tool for parsing output from UsrExceptDmp.exe
Is there a tool that can parse the output from
UsrExceptDmp, or at least a tutorial on how
to match the addresses against the faulting
callstack using the map or pdb files?
Thanks in advance. Tag: How to load Wince from TFAT file system? Tag: 44307
RESEND: x86 Emulator - KITL using serial loopback cable
Hello,
I have an x86 emulator platform (copied from
the %_winceroot%\platform\Emulator directory).
I would like to run KITL over serial instead
of the DMA transport. (Might sound stupid, but
my purpose is to get an understanding how it
works before I port it to my custom ARM-based
platform)
I changed halkitl.c so it always calls InitSerial
and OEMInitSerial in halserkitl.c so it always
opens COM2 (KitlIoPortBase = (PUCHAR)COM2_BASE;).
If I open a terminal window I can see that the
emulator does output the bytes stored in
"packetHeaderStamp" when it starts.
But I don't manage to get platform builder to
connect to the emulator.
I think I've setup everything correctly. For
Download I have the Emulator, and set "Serial
Port 2" to "COM2".
For "Kernel Transport" I have Serial, with port
COM1, and a loopback cable between COM1 and COM2.
Using two terminal windows, I can see that the
cable works correctly.
I noticed that the CEPC platform has a quite
different halkitl.c and halserkitl.c, why is
that? What should I use?
Any ideas of how to troubleshoot this are welcome.
(What I really would like to do KITL debugging over
an USB controller, but I'm not really sure how to
do this, so I thought this was one way of learning.
I think what I should do is to write a PDD similar
to PUBLIC\COMMON\OAK\DRIVERS\RNDISFN\NET2890 but
for the USB controller I use. Are there other samples
how this can be done??)
Thanks in advance. Tag: How to load Wince from TFAT file system? Tag: 44306
Deleting Hive-based registry
Hi NG,
i actually have implemented the hive based registry on an IDE Harddrive. So
far everthing works fine, but how can i tell CE to delete the registry and
make a clean boot??
I found in the help files something about IOCTL_HAL_GET_HIVE_CLEAN_FLAG, but
i don't know who and where this flag will be asked. For me it sounds like
the atapi driver will be asked that. Is that rigth?? And if yes, how can i
tell the atapi driver to answer false to the filesys.exe?
So is there any simple function like RegFlushKey(), which deletes the file
on my persistent storage device??
Best regards,
Oliver Münchow
--
---------------------------------------
Gesytec GmbH eMail:
52076 Aachen omuenchowATgesytecDOTde
http://www.gesytec.de Tag: How to load Wince from TFAT file system? Tag: 44305
Remote Desktop Display
hello,
after some hard work and good advices from this group I
got the Remote Desktop Display working between my Windows
XP Professional laptop and Windows CE.NET 4.2 embedded PC.
However, this does not quite serve our purposes. The
cerdisp.exe application requires manual start in my Win
CE.NET device. It also requires the IP address of my
laptop, and one must write this also in the Win CE.NET
device. Additionally, it requires the cerhost.exe
application to already run in the laptop, otherwise there
is a connection error.
Our purpose is to place our Win CE.NET device outside
(for testing), where there is no possibility to have
either a monitor or a keyboard attached to the PC. That's
why we would need this Remote Desktop Display to work
ANYTIME, no matter what the condition of the Win CE.NET
PC is. That is, it should work also directly after
cold/warm boot; in other words, it should run the
cerdisp.exe application in some kind of a "wait state",
until the cerhost.exe application is run in the laptop.
Is this possible, and if so, how? All
information/docs/links/etc. are warmly appreciated!
Oh, and we need the remote connection from two laptops,
so two IP-addresses should be monitored.
Thank you in advance for any hints!
Mike Tag: How to load Wince from TFAT file system? Tag: 44304
power button driver confusion on lubbock, CE4.2
our board is based on lubbock, without the FPGA of course.
the orginal power button driver is checking S17 and S18 switch, S17 is for
sleep-resume loop test. S18 is to switch the button betweem poweroff and
soft reset function.
I removed reference to S17 and S18, now the device sleep. but it wake up by
itself in a few seconds.
I wonder ...
what triggered a power on event? timer? I don't see anything in intxsc1.c,
and can't find the source of the timer interrupt handler.
what's the name of the function of resumming the device? so that I can
search for it....
thanks in advance Tag: How to load Wince from TFAT file system? Tag: 44299
about keyboard driver problem
Hi, thank your help.
I read the MSDN and once tried a test program about PostKeybdMessage(), but
system give me error information about error in device.exe and the thread
failed. So I do not know whether I can use this function in keyboard driver
routine. Or, maybe I mistake the method of the function.
My test function is shown as follows, I hope you can tell me the error in it
and give me the right way with some example.
//-------------------------------------------------
void testkeypad(void)
{
UINT* ptmpShiftState=NULL;
UINT* ptmpCharacter=NULL;
unsigned int testid;
for ( testid = 0x1; testid < 0xfe; testid++ )
{
*ptmpShiftState=KeyStateDownFlag;
*ptmpCharacter= testid;
if
(PostKeybdMessage(NULL,0,KeyStateDownFlag,1,ptmpShiftState,ptmpCharacter))
{
RETAILMSG(1,(TEXT("post keypad message ok\r\n")));
}else{
RETAILMSG(1,(TEXT("post keypad message error\r\n")));
}
}
}
//----------------------------------------------
And, I have another question: My keyboard is a 5x5 mini matrix keyboard. and
the platform has no other keyboards. I do not use the PS2 keyboard driver
program example in PB 4.2. I create a new driver, where I did not set
anything about input language. I think maybe I need add the locale language
information or other things in my driver, which can help translate the
virtual codes into characters.
At last, I find I can use keybd_event() to send the numbers to the screen
when I try an application by EVC on emulate mode, but fail when I download
the application into the equipment. I guess maybe one of the reasons for the
problem is no input language setting in my keyboard driver.
I am sorry to ask you many questions, which maybe waste your time, but I
still hope to receive your answer.
Thank you again,
Best Regards,
----- Original Message -----
From: "Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument_no_spam.com>
Newsgroups: microsoft.public.windowsce.platbuilder
Sent: Saturday, November 08, 2003 12:22 AM
Subject: Re: about keyboard driver problem
> Yep, that's just the way keybd_event() works. If you want to send
> alphanumeric characters, use PostKeybdMessage(), instead of keybd_event().
>
> Paul T.
>
> "qiming" <91ming@163.com> wrote in message
> news:%23MCms3QpDHA.2536@tk2msftngp13.phx.gbl...
> > Hi,
> > I am designing a keyboard driver by Platform Builder4.2 on Windows CE. I
> > have finished the interrupt function and can translate the Scan code to
> > Virtual Code.
> > But I meet a problem as follows:
> >
> > When I use keybd_event() to send the virtual code to system, for
example:
> >
> > keybd_event(VkeyValue,0,0,0);
> > keybd_event(VkeyValue,0,KEYEVENTF_KEYUP,0);
> >
> > When I let VkeyValue = VK_RETURN£¬VK_CAPITAL and other special keys, the
> > system can receive them, and display normally on the screen.
> > But when I let VkeyValue = characters (from 'A' to 'Z' or from '0' to
> '9'),
> > the system has no response on screen.
> >
> > So I want to know why I can not use keybd_event() to send the characters
> > (including letters and numbers) to the system, and I hope to know the
> right
> > way to send virtual codes from the keyboard to system.
> > I wish somebody who knows could tell me the appropriate function and
> method,
> > even some examples if it is convenient to you.
> >
> > Thank you very much firstly,
> >
> > Best Regards,
> >
> >
>
>
"Paul G. Tobey [eMVP]" <ptobey_no_spam@instrument_no_spam.com> дÈëÓʼþ
news:ehXuUtUpDHA.488@tk2msftngp13.phx.gbl...
> Yep, that's just the way keybd_event() works. If you want to send
> alphanumeric characters, use PostKeybdMessage(), instead of keybd_event().
>
> Paul T.
>
> "qiming" <91ming@163.com> wrote in message
> news:%23MCms3QpDHA.2536@tk2msftngp13.phx.gbl...
> > Hi,
> > I am designing a keyboard driver by Platform Builder4.2 on Windows CE. I
> > have finished the interrupt function and can translate the Scan code to
> > Virtual Code.
> > But I meet a problem as follows:
> >
> > When I use keybd_event() to send the virtual code to system, for
example:
> >
> > keybd_event(VkeyValue,0,0,0);
> > keybd_event(VkeyValue,0,KEYEVENTF_KEYUP,0);
> >
> > When I let VkeyValue = VK_RETURN£¬VK_CAPITAL and other special keys, the
> > system can receive them, and display normally on the screen.
> > But when I let VkeyValue = characters (from 'A' to 'Z' or from '0' to
> '9'),
> > the system has no response on screen.
> >
> > So I want to know why I can not use keybd_event() to send the characters
> > (including letters and numbers) to the system, and I hope to know the
> right
> > way to send virtual codes from the keyboard to system.
> > I wish somebody who knows could tell me the appropriate function and
> method,
> > even some examples if it is convenient to you.
> >
> > Thank you very much firstly,
> >
> > Best Regards,
> >
> >
>
> Tag: How to load Wince from TFAT file system? Tag: 44296
SDAuthUtilDevice over WLAN doesn't work
Hello,
I have a custom platform with WLAN(Cisco) and LAN(91C111) ethernet
interface. I'm using sdauthutildevice.exe for downloading compact framework
to the platform. Over my LAN inteface it works without problems. Over WLAN
the downloaded files (i.e. conmanclient.exe) are corrupted. If i copy
conmanclient.exe using telnet it works over both connections.
Have anybody experienced the same problem ?
Many thanks
Holger Tag: How to load Wince from TFAT file system? Tag: 44295
CF Type II on XScale board always fail on first load
Hi all, I am facing a very strange problem over here.
We have a development board based on the Intel XScale development board.
On our slot 0, is a compact flash slot and interestingly,
when teh unit power up, and I plug in a CF Type II (IBM microdrive 1GB)
The RDY signal does not come back.
I checked the hardware, there is NO RDY signal as well.
Then when I pull out teh CF card amd pug in again,
The RDY signal is coming back. This is very confusing.
How can it be possible?
Does anyone has any ideas what could be the cause?
Any good guesses will be appricated!
I been trying to find specifications on teh CF card, can't find any.
Does anyone know where I cna download teh CF/CF+ specs?
I have attached the debug messages
*******Beginning System Initialization******* SDCLK[1] = MemClk
MemClk = 99.53 MHz
Run Mode = 2 * MemClk
Turbo Mode = Run Mode
Mode: RUN
Beginning SDRAM Scrub...
SDRAM Scrub Complete
******************************************************
******************************************************
******************************************************
******************************************************
******************************************************
OEMInitDebugSerial using UART1
Microsoft Windows CE Ethernet Bootloader built Nov 7 2003 10:35:32
Copyright (c) 2001 Microsoft Corporation
Portions copyright (c) 2001 Intel Corporation
Boot Loader, Version 1.00.017
Press [ENTER] to launch image stored in flash or [SPACE] to cancel.
dwPhysStart = 0x8008D000 dwPhysLen = 0x00375220 dwLaunchAddr = 0x8008E000
Found pTOC signature.
Copying FLASH image into RAM.
Verifying RAM.
RAM image is good.
ROMHDR at Address 804017ECh
RomHdr.ulRAMStart=80410000h RomHdr.physfirst=8008D000h.
CLEANBOOT Clearing RAM from 80410000h-81C8D000h.
Launching image at 8008E000h...
******************************************************
******************************************************
******************************************************
******************************************************
******************************************************
OEMInitDebugSerial using UART1
Windows CE Kernel for ARM (Thumb Enabled) Built on May 24 2002 at 21:34:01
ProcessorType=02d0 Revision=6
sp_abt=ffff5000 sp_irq=ffff2800 sp_undef=ffffc800
Sp=ffffc7d0
PDCardInitServices
PDCardGetSocket: 0
PDCardSetSocket: 0
PDCardSetSocket [0]: pState->fInterruptEvents & EVENT_MASK_CARD_DETECT
PDCardSetSocket [0]: SL0T0_CDVALID_STATUS = 1
PDCardGetSocket: 1
PDCardSetSocket: 1
PDCardSetSocket [1]: pState->fInterruptEvents & EVENT_MASK_CARD_DETECT
PDCardSetSocket [1]: SL0T0_CDVALID_STATUS = 1
PDCardGetSocket: 0
PDCardGetSocket: 1
PDCardGetSocket: 0
PDCardGetSocket: 1
PDCardGetSocket: 0
PDCardGetSocket: 1
ETHERNET READY
ADCIO : DLL_PROCESS_ATTACH
ADCIO READY
PDCardGetSocket: 0
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_DETECT
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_READY
PDCardGetSocket: 1
PDCardGetSocket: 0
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_DETECT
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_READY
PDCardGetSocket: 0
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_DETECT
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_READY
PDCardSetAdapter Socket: 0
PDCardSetAdapter Socket: NOT ADP_STATE_POWEROFF
PDCardResetSocket: 0
// On this call the RDY siganl neevr comes back, it never continues
// WHen I pull out the card,
PDCardGetSocket: 0
PDCardGetSocket: 1
PDCardResetSocket: CARD READY
// Here the RDY signal is detected because the Card is no longer in place.
// The RDY signal default pull high
PDCardGetSocket: 0
PDCardGetSocket: 0
PDCardGetSocket: 0
PDCardGetSocket: 0
PDCardGetSocket: 0
PDCardGetSocket: 0
PDCardGetSocket: 0
PDCardSetSocket: 0
PDCardSetSocket [0]: pState->fInterruptEvents & EVENT_MASK_CARD_DETECT
PDCardSetSocket [0]: SL0T0_CDVALID_STATUS = 1
PDCardGetSocket: 0
PDCardSetSocket: 0
PDCardSetSocket [0]: pState->fInterruptEvents & EVENT_MASK_CARD_DETECT
PDCardSetSocket [0]: SL0T0_CDVALID_STATUS = 1
PDCardSetAdapter Socket: 0
PDCardSetAdapter Socket: NOT ADP_STATE_POWEROFF
// Here I plug in the Card again
PDCardGetSocket: 0
PDCardGetSocket: 0
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_DETECT
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_READY
PDCardGetSocket: 1
PDCardGetSocket: 0
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_DETECT
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_READY
PDCardGetSocket: 0
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_DETECT
PDCardGetSocket: pState->fNotifyEvents |= EVENT_MASK_CARD_READY
PDCardSetAdapter Socket: 0
PDCardSetAdapter Socket: NOT ADP_STATE_POWEROFF
PDCardResetSocket: 0
PDCardResetSocket: CARD READY
// The reset function has the RDY signal returning immediately.
// And the rest of the loading
--
Cheers,
Yap Kok Yeong
Firmware Engineer
Scinetic Engineering Tag: How to load Wince from TFAT file system? Tag: 44293
Where can I download WinCE3.0 driver source code ?
Hi, All,
I want to download some driver source code for WINce3.0.
Where can I get them ?
Thanks. Tag: How to load Wince from TFAT file system? Tag: 44288
Mini ITX Best board for set top box (ongoing)
I think I'm down to 2 choices for motherboard for my CE.NET 4.2
Machine.
Currently its a shoot out between a VIA EPIA 5000 or an VIA EPIA
ME6000.
I'm trying to make the machine I build totally fanless and connected
only to a PAL TV.
I would apreciate your comments for best one to go for. + driver
support for TV out, etc... Tag: How to load Wince from TFAT file system? Tag: 44281
WinCE 3.0 Source Code Question
I've just downloaded the WinCE 3 source code. I was very
interested to see how Microsoft did this, but I was
disappointed to see that much of the source code was
missing. Well, technically it wasn't missing (these
functions I wanted to see are in the WinCE SDK) but
nonetheless the sources of the system are incomplete
without the SDK source.
I was itching to see how things like CreateWindow, DrawText
and other GUI functions worked on an embedded platform, but
alas, these important functions are in the SDK and the SDK
sources are not included in the WinCE 3 source code package.
I wonder if they are available for download elsewhere? Or
are they closed source (trade secrets or whatever?) Tag: How to load Wince from TFAT file system? Tag: 44279
Infinite sendto and NIDS miniport -> out of memory
Hi,
I am testing my NDIS miniport driver.
The test is very simple
while(1)
sendto(...);
My MiniportSend function queues the packets, and IST thread sends them to
the HW.
As the HW is slow ( 14kbs), the queue is increasing in size and eats all the
device memory.
My questions are:
Is it expected behavior?
Should I limit the number of queued packets in MiniportSend and return
NDIS_STATUS_RESOURCES?
Thanks
Ilia Saveliev
Alphacell Ltd.
ilia(dot)saveliev(at)alphacell(dot)com Tag: How to load Wince from TFAT file system? Tag: 44277
How to use i2c
Dear All
I am using PXA255 processor and EVC 4.0. I need initialize a device that is
on my board by using I2C. Is there any library regarding I2C bus in EVC
environment?
Pls advise some tips about manipulating I2C device in evc or pb to me.
Thanks in millions!
DW Tag: How to load Wince from TFAT file system? Tag: 44276
How to use i2c
Dear All
I am using PXA255 processor and EVC 4.0. I need initialize a device that is
on my board by using I2C. Is there any library regarding I2C bus in EVC
environment?
Pls advise some tips about manipulating I2C device in evc or pb to me.
Thanks in millions!
DW Tag: How to load Wince from TFAT file system? Tag: 44275
CE.NET 4.2 EPIA 5000 as a set top box
Hi, thinking of taking the plunge and trying to build a set-top box
based around and EPIA 5000 and Windows CE.
I have a few questions:
1) is this a good idea?
2) is is possible, to get a good 16:9 pAL composite tv output from
CE.NET 4.2
3) can I get a CE.NET compatible 802.11b card (I presume a PCI based
board)?
4) can I use a Microsoft bluetooth keyboard, + is it possible to
attach usb tranceiver to the USB header?
5) build the whole OS onto a CF card?
6) drive an additional small LCD display on the USB header from
CE.NET?
7) has anyone done this sort of thing before (I have to ask)?
I really would be pleased if someone could validate the above for me. Tag: How to load Wince from TFAT file system? Tag: 44271
DCOM Component Detection
Dear Sirs,
How to verify the DCOM components is bundled into image already?
Do you have good or easy way to check this DCOM installed into image?
Thanks,
JLL Tag: How to load Wince from TFAT file system? Tag: 44269
XScale Lubbock Board (PXA-255) vs. LAN91C96 for WinCE.NET 4.2
Dear Sirs,
Try to port the LAN91C96 driver to Lubbock board.
Tracing into driver, The driver verify the LAN Chip is OK, interrupt ISR can
be caller.
But the LAN91C96_MiniPortHandleInterrupt can't caller.
------------------------------------
The following is my setting:
[HKEY_LOCAL_MACHINE\Comm\LAN9000]
"DisplayName"="SMC LAN91C96 Ethernet"
"Group"="NDIS"
"ImagePath"="LAN91C96.DLL"
[HKEY_LOCAL_MACHINE\Comm\LAN9000\Linkage]
"Route"=multi_sz:"LAN90001"
[HKEY_LOCAL_MACHINE\Comm\LAN90001]
"DisplayName"="SMC LAN91C96 Ethernet"
"Group"="NDIS"
"ImagePath"="LAN91C96.DLL"
[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms]
"BusNumber"=dword:0
"BusType"=dword:1
"InterruptNumber"=dword:10
"Sysintr"=dword:20 ;force NDIS not ask OEM layer for Sysintr and use
registry value instead
"IoBaseAddress"=dword:0C000000
[HKEY_LOCAL_MACHINE\Comm\LAN90001\Parms\TcpIp]
"EnableDHCP"=dword:1 ;<======== set to 1 if DHCP enabled.
"DefaultGateway"="" ;(contd) If set to 0 then enter the values next entries
"UseZeroBroadcast"=dword:0
"IpAddress"="10.0.0.1"
"Subnetmask"="255.255.255.0"
[HKEY_LOCAL_MACHINE\Comm\Tcpip\Linkage]
"Bind"=multi_sz:"LAN90001"
Which wrong?
Thanks,
JLL Tag: How to load Wince from TFAT file system? Tag: 44268
Implement OEMWriteDebugString to write to a file
I have a file system on an external storage card that
is mounted as root. I would like to redirect everything
sent to OutputDebugString to a file on that card.
Is it possible to implement OEMWriteDebugString so it
writes debug output to a file my storage card? How would
I do that? Tag: How to load Wince from TFAT file system? Tag: 44266
Access violation exception in stream interface driver
Iam writing a stream interface driver in windows CE.
In my driver, i have an instance of a local vaiable (of some structure
type)in one of the functions and its address is put in a linked
list.The node in the linked list is used by another thread to share
some data and notfication back to the prevoius function , where the
previous function is waiting for indication using WaitForSingleObject.
I can successfully retreive the node of the linked list from the other
thread and access the fileds of the structure. The problem is if i try
to pass the stucture ptr to some other function , an exception of type
"access vioalation " happens. The same part works fine in desktop.
This problem is not found when i allocate that local variable
dynamically.
can anyone help me to know what would be the reason for such a
bahavour
TIA
gomas Tag: How to load Wince from TFAT file system? Tag: 44265
KITL connection problem
I have been trying like heck to get a Ether KITL connection to our Xscale
device.
I was successful getting the serial KITL to work.
I am using a standard NE2000 PCMCIA 10MBS Ethernet card. I can see the
target emit the
(i assume) correct UDP connection packet.
The source MAC is correct for the NE2000 card and the dest is FF FF FF FF FF
i.e. broadcast.
The small data in the payload also looks correct ... EDBG..
00000000 FF FF FF FF FF FF 00 C0 1B 00 95 2A 08 00 45 00
...........*..E.
00000010 00 44 04 00 00 00 40 11 B5 FF C0 A8 00 02 FF FF
.D....@.........
00000020 FF FF 03 D5 03 D5 00 30 62 00 45 44 42 47 FF 00
.......0b.EDBG..
00000030 00 09 20 00 41 00 58 53 43 31 42 44 33 38 31 38
....A.XSC1BD3818
00000040 36 00 00 00 00 00 C0 A8 00 02 00 C0 1B 00 95 2A 6
..............*
00000050 03 D5 ..
I also verified the host port is open and listening on port 981 .. PB shows
..
"Kernel debugger is waiting to connect with target." ... nothing happens.
I never get any response from the host (XP with 905 lan card).
It appears like the PC host is just plane ignoring this packet or for some
reasion PB is not responding.
I do not have a "known good" refference platform so I do not know what a
"good" response
should look like. Does anyone know??
I know the connection works otherwise as I am downloading the image to
RAM using the same connection and it works just fine (socket connection tftp
download ok).
Is there anything else I can try? Is there some debug registry setting
where I might be able
to get more info in the WinCE Event Log? Tag: How to load Wince from TFAT file system? Tag: 44258
Artifacts left on screen while dragging icons around
Hi all,
It's been awhile since I've written in to the group. I guess that is a good
thing on my end because development has been going well. However, I do
apologize for being absent for so long.
I am having a problem with artifacts being left on the display after
dragging
icons around, and I'm totally stuck on it. I've dealt with this issue
one time before on an SH-based platform. That time it turned out that my
frame buffer resided in a cacheable memory area. Therefore, writes to the
frame buffer were being cached and the screen wasn't always being updated
correctly.
This platform is ARM-based, a Sharp LH7A400 with a 922T-core is the CPU.
I have made sure that the frame buffer is non-cacheable by using the
following
call to map it:
frame_buffer = MmMapIoSpace(phy_addr, size, FALSE);
I know that the screen artifacts are _not_ due to a hardware problem. I've
verified this by using the Remote Zoom-in tool to check the contents of
the frame buffer. The artifacts are in fact in the frame buffer as evidenced
by the fact that they show up on the bitmap downloaded using this tool.
I've also tried different formats (16 and 8 Bpp). Both of them show the same
artifacts. I've even moved the frame buffer from system SDRAM into the CPU's
embedded SRAM just in case there was a timing issue but that didn't work
either.
The display driver is very simple, it's all based on the GPE classes and
I've
disabled any and all of the emulation accelerated blits. For instance,
ENABLE_TEXT_EMULATION, ENABLE_FILL_EMULATION, etc.
I've searched all of the past posts in the newsgroup and didn't find
anything
useful, so I'd like to ask if anyone has any advice on where to go from
here.
Any and all comments are greatly appreciated.
Thanks,
--kermit
--
It wasn't easy being Greazy ....but it was interesting. Tag: How to load Wince from TFAT file system? Tag: 44245
LNK1166
Hi all,
during the build of a 4.2 image for my device, I get the
following warnings, when linking the kernel:
c:\wince420\platform\mpii\kernel\buildexe\kern\nk.lib
(schedule.obj) : warning LNK1166: cannot adjust code at
offset=0x00001000, rva=0x00022B78
c:\wince420\platform\mpii\kernel\buildexe\kern\nk.lib
(kmisc.obj) : warning LNK1166: cannot adjust code at
offset=0x00001000, rva=0x0003F7EC
c:\wince420\platform\mpii\kernel\buildexe\kern\nk.lib
(loader.obj) : warning LNK1166: cannot adjust code at
offset=0x00001000, rva=0x000525AC
Has anybody an idea, how I can avoid these warnings?
Is this image ready to run?
Thanks for every tip...
Detlef Tag: How to load Wince from TFAT file system? Tag: 44244
Geode GX1 Audio problem
In PB 4.2 I have re-builded the Geode/MediaGX Audio
(Unified) feature and for some reason now the PB will not
brake into the file duraudio.c file during boot. It seems
that the gxuamaud.dll is not loaded??
Any suggestions?
Regards Tag: How to load Wince from TFAT file system? Tag: 44240
ActiveX not woking in IE
Hello Newsgroup,
Maybe this is a dump question, but i didn´t find an answer in the internet.
1. can the IE in CE.NET Display ActiveX Apps. automaticly?
are they any reg. Settengis to set or SysgenVars
2. ActiveX for Win2000 and so on are not the Same then for Win CE am I
right?
They are Applications and have to be recompiled for CE again.
thanks for your help.
Best Regards Tag: How to load Wince from TFAT file system? Tag: 44235
Platform Builder
Pardon my ignorance, but is Platform Builder not available
under that name anymore? If not, what is the new product
name?
Thanks Tag: How to load Wince from TFAT file system? Tag: 44233
License key validation
To automate my process to put the "license key" into my binary, I need to
create an application that will ask for a key on the label and write it into
the binary before flashing it into my device. I cannot give "Platform
Builder" to my production staff, it's not a production tool by the way.
Is it possible to calculate a checksum of this key to be sure that there is
no error?
Regards. Tag: How to load Wince from TFAT file system? Tag: 44225
Extend 'Available configuration' menu
Hi NG,
i'm actually working on a BSP for CE 4.2. So far it's quite easy (especially
if you already make one for CE 3.0 ;-)). But now i have a problem.
With the BSP Wizard you're able to make your own BSP, but is there any
possibility to also make my own configuration (like 'Mobile Handheld',
'Gateway', 'Industrial Controller')??
I can't find anything about these configuration and how i can clone, copy,
alter them to my own configuration. So if anyone can tell me something about
where i should take a look i would be very happy.
Best regards,
Oliver Münchow
--
---------------------------------------
Gesytec GmbH eMail:
52076 Aachen omuenchowATgesytecDOTde
http://www.gesytec.de Tag: How to load Wince from TFAT file system? Tag: 44222
About keyboard event processing
Dear all,
I have a question about keyboard event processing. When we use keybd_event()
to send out keyboard event, what OS feature would receive/process these events?
Maybe you would want to know why I need to ask such question.
That is because I found a strange problem in my WinCE.NET 4.2 device.
In my WinCE.NET 4.2 device, the power-off extension key on my keyboard works
fine. It means it really could shutdown my device after pressing the key.
But if I used RDP to connect to one Desktop server and pressed the power-off
extension key on it(that won't take effect on the Desktop server), the power-
off extension-key would lose its function.keybd_event(VK_OFF,0,0) has no more
function on my WinCE.NET 4.2 device.
Does any body know why ? Or could somebody tell me the procedure of processing
keybd_event() ?
I need your help. Thanks in advance.
Sincerely,
Oliver Chang Tag: How to load Wince from TFAT file system? Tag: 44219
Audio problems on Geode based platform
I have PCM-5822 platform with builtin audio card. PB has
audio drivers "Geode/MediaGX Audio (Unified)"
and "Geode/MediaGX Waveform Audio Device" any (or both) of
them do not produce any succesfull result in order to play
sounds. There is no errors on platform, it seems, that
MediaPlayer is playing sound, but actually no sound. Also
i cant find any MIXER utility, like in PC, to on/off sound
cards inputs and outputs. I tryied to modify theese values
a
"Mixer_Master"=dword:0000
"Mixer_PCM"=dword:0000
under
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\PCI\Template\WaveDev
but after rebuilding, i connect with Remote registry to my
platform and see OLD VALUES in theese keys!
Anyone have succesfully installed audio card on PCM-5822
platform?
Or maybe I do something basically wrong? What components
do I need on WinCE to make Audio card work?
Thanks! Tag: How to load Wince from TFAT file system? Tag: 44215
about keyboard driver problem
Hi,
I am designing a keyboard driver by Platform Builder4.2 on Windows CE. I
have finished the interrupt function and can translate the Scan code to
Virtual Code.
But I meet a problem as follows:
When I use keybd_event() to send the virtual code to system, for example:
keybd_event(VkeyValue,0,0,0);
keybd_event(VkeyValue,0,KEYEVENTF_KEYUP,0);
When I let VkeyValue = VK_RETURN£¬VK_CAPITAL and other special keys, the
system can receive them, and display normally on the screen.
But when I let VkeyValue = characters (from 'A' to 'Z' or from '0' to '9'),
the system has no response on screen.
So I want to know why I can not use keybd_event() to send the characters
(including letters and numbers) to the system, and I hope to know the right
way to send virtual codes from the keyboard to system.
I wish somebody who knows could tell me the appropriate function and method,
even some examples if it is convenient to you.
Thank you very much firstly,
Best Regards, Tag: How to load Wince from TFAT file system? Tag: 44213
BSP with CE 4.2
Hello,
is there anywhere a good WebPage, that ilustrate how to build a BSP??
Thanks Tag: How to load Wince from TFAT file system? Tag: 44211
Where can I get S3Trio64 driver for ARMV4I ?
Hi, everyone,
My WinCE.NET platform builder is 4.2. I want to plug a S3
Trio64 PCI card on ARM Integrator SDB. But I can't find a
S3 Trio64 driver for the ARM Integrator SDB in WinCE.NET
4.2. Where can I download S3 Trio64 driver for WinCE.NET ?
Or Which another driver can be fitted for this S3 Trio64
display card in WinCE.NET 4.2 ?
Thanks for your answer in advance.
Candy Tag: How to load Wince from TFAT file system? Tag: 44204
Compressing common components
Short of creating a custom common.bib file, is there any way to cause all
the common modules that can be compress to be stored as compressed in the
generated image?
Regards,
Mark Moeller Tag: How to load Wince from TFAT file system? Tag: 44203
How to use CreateFile/WriteFile in WriteRegistryToOEM
According to the MS help files I can use normal file access function
when writing registry file, not when reading it from file...
When I put a regular code using CreateFile/WriteFile in my OAL
modules I got linking errors. I tried to add Coredll.lib to my
TARGETLIBS in sources file for HAL but it did not help... still
linker problems. How do I do it? (Windows CE 4.2, Au1100 platform).
Thank you. Tag: How to load Wince from TFAT file system? Tag: 44198
Is there anyway to load ce image from TFAT file system?
Should I use loadcepc.exe or bios bootloader?