Re: CF card detection in WinCE 5.0



I don't have any experience with that controller, but everything else is
fine. We have taken the first or second PCMCIA slot from a Mainstone-type
board and made that into a CF card slot previously, using the Mainstone
PCMCIA stuff (FPGA+PXA2xx), and it just works. Given that, I'd look at your
inclusion and configuration of the PCI1520. How did you come up with a PCI
bus to connect to the TI chip?

Paul T.

"jesusgs" <jesus.gonzalez.s@xxxxxxxxx> wrote in message
news:1155833908.360930.317830@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Hi,
talking about Compact Flash, I have no answers but additional questions
:-(
I've been trying to use a Compact Flash for some time, althought I'm
afraid I'm still have some problems and doubts.
My scenario:
- XScale (ARM based) CPU
- PB 5.0
- PCMCIA Controller, TI1520 PCI bridge ("TI PC Card" + "PCI Bus"
components)
- "Compact Flash / PC Card Storage (ATADISK)" component
- Compact Flash (SanDisk/PQI)

I also added the following drivers manually:
pcc_tipccard.dll $(_FLATRELEASEDIR)\pcc_tipccard.dll
NK SH
pcc_serv.dll $(_FLATRELEASEDIR)\pcc_serv.dll
NK SH
Pcmcia.dll $(_FLATRELEASEDIR)\pcc_pcm.dll
NK SH

I think these components are all I need to put the compact flash into
operation (no ATAPI driver, and no other related drivers). Am I missing
anything? Any basic concept wrong?

Of course I have a lot of logs, but basically the final situation is
that the load ATADISK driver fails trying to "find adequate
configuration".

Thanks in advance!

Jesus


Paul G. Tobey [eMVP] ha escrito:

Don't start a new thread like this. This isn't a chat. Threaded
discussion
allows people to look back in the thread and see what's going on. When
you
start a new thread to continue a discussion, it really interferes with
that.

What are the specs on the card? It's an ATA Flash card? How is the CF
slot
on your board wired up? It's connected to the PCMCIA controller? If it
is
a PCMCIA slot, no the only things you should need are the PCMCIA host
controller driver for your board/processor, the ATA Flash driver that I
told
you about before, and things which those items are dependent upon and
which
should be included automatically. You did a SYSGEN after the last
change?
You deleted any persistent registry after the last change?

Paul T.

"Sandeep" <Sandeep@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:FA75C00E-0C93-4626-8843-03CCB18E7194@xxxxxxxxxxxxxxxx
Hi Paul,
Thanks for your advice.
but after adding the catalog item I m still getting dialog box for
unidentified PCCard adaptar.

I have SanDisk CF card. Do I need separate driver for this card?

Thanks

Sandeep



"Paul G. Tobey [eMVP]" wrote:

You're wrong. There's no such thing as a 'normal' PCMCIA card. Each
card
type requires a driver.

Go to \Device Drivers\Storage Devices\Storage Devices\ in the Catalog
in
PB
and add the Compact Flash / PC Card Storage driver.

Paul T.

"Sandeep" <Sandeep@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:821AD8FE-4859-4F5D-9603-F927173DE13B@xxxxxxxxxxxxxxxx

Hi Paul,
Thanks for reply.

I am using a normal scandisk CF memory card. I suppose I donnot
require a
separate driver for normal CF memory card in WinCE5.0 as it has
inbuilt
support for PCMCIA Card/PC Card. Please guide me if I am wrong.


Thanks
Sandeep

"Paul G. Tobey [eMVP]" wrote:

What sort of card *is* it?! It seems most likely that you have a
driver
for
the PCMCIA bus, but not for the card you're installing.

Paul T.

"Sandeep" <Sandeep@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:BAA33916-8419-4F52-9FC1-743355610754@xxxxxxxxxxxxxxxx
Hi,

I am working on PXA270 Mainstone II board in WinCE 5.0. I am trying
to
detect my CF card but image is showing Unidentified PCCard Adaptor
dialog
box
and ask for the name of driver.

Platform.reg contains following code for registry setting:

; @CESYSGEN IF CE_MODULES_PCCARD
IF BSP_NOPCCARD !
#include
"$(_TARGETPLATROOT)\src\drivers\pccard\pcc_mainstoneii.reg"
#include "$(DRIVERS_DIR)\pccard\mdd\pcc_serv.reg"
;[HKEY_LOCAL_MACHINE\Drivers\PCCARD\PCMCIA\TEMPLATE\PCMCIA]
"Dll"="pcmcia.dll"
"NoConfig"=dword:1
"IClass"=multi_sz:"{6BEAB08A-8914-42fd-B33F-61968B9AAB32}=PCMCIA
Card
Services"
ENDIF BSP_NOPCCARD !
; @CESYSGEN ENDIF CE_MODULES_PCCARD


I also tried to add Compact Flash/PC Card Storage (ATADISK) in
catalog
driver list but no sucess.

Hyperterminal shows following message again and again when I insert
CF
card:

INFO: Setting PCCARD slot 0 voltage to 0v (off).
MECR: 0
Power setting 1
-CPcmciaCardSocket::GetSocket(): dwEventMask: 1b0 dwEventChanged:
b0
dwEventStatus: b0
-CPcmciaCardSocket::GetSocket(): dwEventMask: 1b0 dwEventChanged:
b0
dwEventStatus: b0
CPCIEnum::ActivateDevice: ActivateDeviceEx return fails for
registry
Drivers\PCCARD\PCMCIA\INSTANCE\PCMCIA1


I would appreciate if anyone of you could guide me, whether I am
missing
something or some suggestions?

Thanks

Sandeep










.



Relevant Pages

  • Re: XXX_Init only being called once
    ... > My stream interface driver has been stripped right back to try to solve ... > I plug my card in the first time. ... > There are two new active keys in the registry PCMCIA and myDriver. ... > No entry points are called in my driver. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: XXX_Init only being called once
    ... One thing I have noticed in WM 5.0 is that when a driver (that is not ... >> My stream interface driver has been stripped right back to try to solve ... >> Here are my registry key settings for our card located under ... >> There are two new active keys in the registry PCMCIA and myDriver. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: CF card detection in WinCE 5.0
    ... I've been trying to use a Compact Flash for some time, ... operation (no ATAPI driver, ... It's an ATA Flash card? ... It's connected to the PCMCIA controller? ...
    (microsoft.public.windowsce.platbuilder)
  • Re: o2Micro PCMCIA Controller Not Working in Linux - Gentoo 2004.1 - Kernel 2.6.5 - Likely a driver
    ... tweaking to get things working just so and keeping my kernel ... > card and chipset), I got my Broadcom wireless card working with a ... > compile with PCMCIA bus support and yenta-cardbus compatibility since ... > controller) or which driver to use to operate that slot. ...
    (comp.os.linux.setup)
  • Re: o2Micro PCMCIA Controller Not Working in Linux - Gentoo 2004.1 - Kernel 2.6.5 - Likely a driver
    ... tweaking to get things working just so and keeping my kernel ... > card and chipset), I got my Broadcom wireless card working with a ... > compile with PCMCIA bus support and yenta-cardbus compatibility since ... > controller) or which driver to use to operate that slot. ...
    (comp.os.linux.portable)