IDE to CF Card Issue

windows ce

    Next

  • 1. PPP on 2 COM Ports at the same time.
    Hi, I am writing stuff for a arm powered embedded device with a number of com ports. My problem is I need to put external modems (GPRS, CDMA) on these ports and run them using RAS to establish PPP sessions. While seeing the registry on the device which runs ce.net 4.2 I found that the Hayes modem was on com 1 and I could use that fine to establish a PPP session my problem is how do I start a ppp session on 2 com ports at the same time. Do I need to modify ce using PB to install a new modem. Is there any way to achieve this. Thanks for any help. Regards, Abhay
  • 2. serial comms trouble
    Hi, I'm useing CF card that uses serial IO to control the device. So I use CreateFile, ReadFile, WriteFile tec. I've got three questions: 1. On one Ipaq (hp2200 running win ce 4.2) it appears that after about 1.5 minutes the device looses power. This doesnt seem to happen on my older ipaq. Is there a difference in the drivers or something that would make it appear as if power had been lost or at least some error occured? 2. Are there functions to detect when a device is removed or inserted? Or a way to itterate and find a device? Is this kind of stuff only available to the device driver? 3. How do I figure out what device driver is being used? Many thanks Josh
  • 3. DLL Pointer access
    Hi, I write an DLL for WinCE. An Exe is calling my dll-function with the structure MESSAGE. typedef struct { short i16FuncNo; short i16Param; unsigned short ui16Len; unsigned char* pucData; } MESSAGE; If I try to copy anything from pucData the WinCe system hang. Why? Do I have to map the pointer? Who can help me. Thomas
  • 4. audio codec
    Hi All, I have demuxer for Mpeg2player.The audio streams of demuxer is given to the audio decoder which has to perform audio codec operation.Since WinCE 4.2 by default has directshow compenents, i have included the components of mp3 codec and mpeg layer1 and layer2 to my platform. In the reginit I get the path [HKEY_LOCAL_MACHINE\Software\Microsoft\DirectX\DirectShow\MPEG Audio Decoder] "AudioChannels"=dword:00000002 "AudioBits"=dword:00000010 ;"AudioInt"=dword:00000000 ;; AudioFreqDivider highest 44.1 kHz sample rate is 1; 22 kHz is 2; 11 kHz is 4 ;"AudioFreqDivider"=dword:00000002 ;; AudioQuality full is 0; high is 1; Standard is 2 ;"AudioQuality"=dword:00000000 ;"AudioQuarterInt"=dword:00000000 My doubt is since the path is included in the registry it has to do the audio codec part. Is this sufficient or should i add any API that support audio decoder? Thanks in advance, Mano.

IDE to CF Card Issue

Postby U3VyZXNoIEQuTWFkaHU » Wed, 27 Feb 2008 20:25:01 GMT

Hi,

I am running windows ce 5.0 on X86 based VIA ETX board. In that i am trying 
to use CF card via IDE to CF card converter. The CF Card is not at all 
detected in the os. ATAPI driver is included in the build. I tried lot of cf 
cards from which only one is detected which is from RiDATA manufacturer. I 
have searched lot in the internet groups. i didn't get any clues. Can anybody 
help me to resolve this? 


Thanks in advance.

Re: IDE to CF Card Issue

Postby Luca Calligaris » Wed, 27 Feb 2008 20:40:19 GMT

Enable some debug messages and see what happens during ATAPI load, if it 
detects
the disk and fails init, etc
if you have some time try to figure out (maybe with the info from the BIOS) 
what's the difference
between  the 'good' CF and the others: (size, DMA capablities,...)

HTH


-- 

Luca Calligaris
www.eurotech.it

"Suresh D.Madhu" < XXXX@XXXXX.COM > ha scritto nel 





Re: IDE to CF Card Issue

Postby U3VyZXNoIEQuTWFkaHU » Wed, 27 Feb 2008 21:08:05 GMT

Thanks for the response.

Good CF Card information:
512 MB Compact Flash from RiDATA

Other CF Cards:
Transcend CF Cards with all sizes (512MB, 1GB, 2GB...)

Debug Messages:


Atapi!IDE_Init> Start of IDE/ATA device enumeration
4294769792 PID:cf747842 TID:cf645fb6 0x8f64cb58: !!!Warning!!! Setting
resume/suspend/reset bits of USBCMD
!RegReadActivationValues
RegQueryValueEx(Drivers\BuiltIn\PCI\Instance\ALI14531\Device0\BusPrefix)
returned 2
4294769813 PID:cf747842 TID:cf753be2 0x8f7c8cf0: Atapi!DumpRegKey>
Drivers\Active\03
4294769813 PID:cf747842 TID:cf753be2 0x8f7c8cf0: Hnd = 00050370
4294769814 PID:cf747842 TID:cf753be2 0x8f7c8cf0: Name = DSK1:
4294769814 PID:cf747842 TID:cf753be2 0x8f7c8cf0: Key =
Drivers\BuiltIn\PCI\Instance\ALI14531\Device0
4294769814 PID:cf747842 TID:cf753be2 0x8f7c8cf0: Atapi!DumpRegKey>
Drivers\BuiltIn\PCI\Instance\ALI14531\Device0
4294769814 PID:cf747842 TID:cf753be2 0x8f7c8cf0: Port = 0004E6C0
4294769815 PID:cf747842 TID:cf753be2 0x8f7c8cf0: TransferMode = 000000FF
4294769815 PID:cf747842 TID:cf753be2 0x8f7c8cf0: DeviceId = 00000000
4294769815 PID:cf747842 TID:cf753be2 0x8f7c8cf0: LookAhead = 00000000
4294769816 PID:cf747842 TID:cf753be2 0x8f7c8cf0: WriteCache = 00000000
4294769816 PID:cf747842 TID:cf753be2 0x8f7c8cf0: DrqDataBlockSize = 00000200
4294769816 PID:cf747842 TID:cf753be2 0x8f7c8cf0: DoubleBufferSize = 00010000
4294769841 PID:cf747842 TID:8f639fc2 0x8f639b24: !!!Warning!!! Setting
resume/suspend/reset bits of USBCMD
4294769826 PID:cf747842 TID:cf753be2 0x8f7c8cf0: DMA = 00000002
4294769858 PID:cf747842 TID:cf753be2 0x8f7c8cf0: InterruptDriven = 00000000
4294769858 PID:cf747842 TID:cf753be2 0x8f7c8cf0: Dll = atapi.dll
4294769858 PID:cf747842 TID:cf753be2 0x8f7c8cf0: Prefix = DSK
4294769859 PID:cf747842 TID:cf753be2 0x8f7c8cf0: IClass :
4294769859 PID:cf747842 TID:cf753be2 0x8f7c8cf0:
{A4E7EDDA-E575-4252-9D6B-4195D48BB865}
4294769859 PID:cf747842 TID:cf753be2 0x8f7c8cf0: Atapi!CPCIDisk::CPCIDisk>
device count(1)
4294769866 PID:cf747842 TID:cf753be2 0x8f7c8cf0:
Atapi!CDisk::ResetController> Device is ready
4294769912 PID:cf747842 TID:cf753be2 0x8f7c8cf0:
Atapi!CDisk::SendExecuteDeviceDiagnostic> Device 0 passed, Device 1 passed or
not present
4294769912 PID:cf747842 TID:cf753be2 0x8f7c8cf0:
Atapi!CDisk::SendExecuteDeviceDiagnostic> ATA device
4294769912 PID:cf747842 TID:cf753be2 0x8f7c8cf0: Atapi!DumpIdentify> ...
4294769912 PID:cf747842 TID:cf753be2 0x8f7c8cf0: 4a 4 96 7 0 0 10 0 0
0 40 2 3f 0 1d 0 J.........@.?...
4294769912 PID:cf747842 TID:cf753be2 0x8f7c8cf0: a0 de 0 0 20 30 20 20 20
20 20 20 20 20 20 20 .... 0
4294769913 PID:cf747842 TID:cf753be2 0x8f7c8cf0: 30 30 31 31 34 34 30 41 2
0 2 0 4 0 30 32 0011440A......02
4294769913 PID:cf747842 TID:cf753be2 0x8f7c8cf0: 37 30 38 30 31 33 52 54 4e
41 43 53 4e 45 20 44 708013RTNACSNE D
4294769913 PID:cf747842 TID:cf753be2 0x8f7c8cf0: 20 20 20 20 20 20 20 20 20
20 20 20 20 20 20 20
4294769913 PID:cf747842 TID:cf753be2 0x8f7c8cf0: 20 20 20 20 20 20 20 20 20
20 20 20 20 20 1 80 ..
4294769913 PID:cf747842 TID:cf753be2 0x8f7c8cf0: 0 0 0 3 0 0 0 2 0
0 7 0 96 7 10 0 ................
4294769913 PID:cf747842 TID:cf753be2 0x8f7c8cf0: 3f 0 a0 de 1d 0 0 1 a0
de 1d 0 0 0 7 4 ?...............
4294769913 PID:cf747842 TID:cf753be2 0x8f7c8cf0:

Similar Threads:

1.A question about CF card (IDE interface)!

I use PB4.2 to build my OS image ,add "ATAPI PCI/IDE Storage Block Driver"
and "FAT file system" by drag them from the catalog.
My hardware is x86-based.In this condition ,IDE harddisk and some CF cards
work well,(can read/write ,and displayed in WINCE OS ),but some CF cards
does not work(have no icon in WINCE OS,so can't read or write) .I use a
utility named HWINFO to check the disk information about my CF cards.
I found that, the CF cards that works well only support LBA mode in the
harddisk features,and that can not displayed in the WINCE OS support two or
more features ,such as LBA,DMA,IOROY,and so on .
Does this means that WINCE only support some singel harddisk feature,but not
support the CF cards that hold two or more features well?
How to make my WINCE OS support the CF cards that hold two or more features
?

Any help would be greatly appreciated!
Thanks
smile_lh




Return to windows ce

 

Who is online

Users browsing this forum: No registered users and 83 guest