Hello all

For a PCMCIA card that supports a memory-only card interface is it
possible for the WDM function driver to be notified of a change in the
RDY-BSY signal ? ... for e.g. to signal completion of a command..


Thanks
--rr

RE: pcmcia rdy-bsy signal question by pavel_a

pavel_a
Tue Apr 26 13:54:06 CDT 2005

"radhara@hotmail.com" wrote:
> Hello all
>
> For a PCMCIA card that supports a memory-only card interface is it
> possible for the WDM function driver to be notified of a change in the
> RDY-BSY signal ? ... for e.g. to signal completion of a command..
>
>

Hmm... Not sure whether memory-only interface is supported at all
on win2k and up...

--PA

Re: pcmcia rdy-bsy signal question by radhara

radhara
Fri May 06 09:51:45 CDT 2005

Hello again
since I didnt get any response to the original post, I thought I'd give
this a try one more time.

Basically what I would like to "know" in the WDM driver is when the
state of a particular register on the pcmcia card changes. The card
supports a memory-only interface and does not use any interrupts. From
a hardware perspectively there is a signal change to the "reader"? to
signal change in register state. From a driver perspective I would like
to "see" this change but I dont see how to get notification of such a
signal change without the card using interrupts. (and polling is not
desirable)

Does anyone have any ideas on how this might be do-able ?

Thanks
--rr



radhara@hotmail.com wrote:
> Hello all
>
> For a PCMCIA card that supports a memory-only card interface is it
> possible for the WDM function driver to be notified of a change in
the
> RDY-BSY signal ? ... for e.g. to signal completion of a command..
>
>
> Thanks
> --rr


Re: pcmcia rdy-bsy signal question by Maxim

Maxim
Fri May 06 10:39:04 CDT 2005

You cannot.
You have either interrupts or polling. Nothing else.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim@storagecraft.com
http://www.storagecraft.com

<radhara@hotmail.com> wrote in message
news:1115391105.284950.105060@z14g2000cwz.googlegroups.com...
> Hello again
> since I didnt get any response to the original post, I thought I'd give
> this a try one more time.
>
> Basically what I would like to "know" in the WDM driver is when the
> state of a particular register on the pcmcia card changes. The card
> supports a memory-only interface and does not use any interrupts. From
> a hardware perspectively there is a signal change to the "reader"? to
> signal change in register state. From a driver perspective I would like
> to "see" this change but I dont see how to get notification of such a
> signal change without the card using interrupts. (and polling is not
> desirable)
>
> Does anyone have any ideas on how this might be do-able ?
>
> Thanks
> --rr
>
>
>
> radhara@hotmail.com wrote:
> > Hello all
> >
> > For a PCMCIA card that supports a memory-only card interface is it
> > possible for the WDM function driver to be notified of a change in
> the
> > RDY-BSY signal ? ... for e.g. to signal completion of a command..
> >
> >
> > Thanks
> > --rr
>



Re: pcmcia rdy-bsy signal question by Pavel

Pavel
Sun May 08 16:23:03 CDT 2005

Hi,

I tried to reply some time ago thru the web interface, perhaps this reply got lost.
By creating a custom INF maybe you can configure the socket to I/O interface
(while the card has memory interface) - then status changs would cause interrupts.
But then you need to request ISA type interrupt, this may be a problem if the machine
can't route ISA interrupt.
( If you request a shareable IRQ, it must be disabled in your ISR - what probably you can't always do with this card type)

--PA

<radhara@hotmail.com> wrote in message news:1115391105.284950.105060@z14g2000cwz.googlegroups.com...
> Hello again
> since I didnt get any response to the original post, I thought I'd give
> this a try one more time.
>
> Basically what I would like to "know" in the WDM driver is when the
> state of a particular register on the pcmcia card changes. The card
> supports a memory-only interface and does not use any interrupts. From
> a hardware perspectively there is a signal change to the "reader"? to
> signal change in register state. From a driver perspective I would like
> to "see" this change but I dont see how to get notification of such a
> signal change without the card using interrupts. (and polling is not
> desirable)
>
> Does anyone have any ideas on how this might be do-able ?
>
> Thanks
> --rr
>
>
>
> radhara@hotmail.com wrote:
> > Hello all
> >
> > For a PCMCIA card that supports a memory-only card interface is it
> > possible for the WDM function driver to be notified of a change in
> the
> > RDY-BSY signal ? ... for e.g. to signal completion of a command..
> >
> >
> > Thanks
> > --rr
>



Re: pcmcia rdy-bsy signal question by radhara

radhara
Mon May 09 09:45:19 CDT 2005

Thank you for the responses ...

Pavel,
the inf used is a custom inf to request a memory window ... the inf has
2 MemConfig lines - one window per attribute and common memory ....

Assuming what you are suggesting is to change the MemConfig for
AttribMem in the inf to IOConfig instead and additionally an IRQ using
the IRQConfig... would this IRQ be mapped to the signal generated by
the rdy-bsy register ? I think that is how it is done for pcmcia cards
that have an IO interface (but since this particular hardware has a
memory only interface I wasnt sure if the rdy-bsy signal would be
mapped to an interrupt or not). Also, for such a configuration would
the IOConfig statement map the entire attribute memory range as IO
mapped ?

Thanks
--radha



Pavel A. wrote:
> Hi,
>
> I tried to reply some time ago thru the web interface, perhaps this
reply got lost.
> By creating a custom INF maybe you can configure the socket to I/O
interface
> (while the card has memory interface) - then status changs would
cause interrupts.
> But then you need to request ISA type interrupt, this may be a
problem if the machine
> can't route ISA interrupt.
> ( If you request a shareable IRQ, it must be disabled in your ISR -
what probably you can't always do with this card type)
>
> --PA
>
> <radhara@hotmail.com> wrote in message
news:1115391105.284950.105060@z14g2000cwz.googlegroups.com...
> > Hello again
> > since I didnt get any response to the original post, I thought I'd
give
> > this a try one more time.
> >
> > Basically what I would like to "know" in the WDM driver is when the
> > state of a particular register on the pcmcia card changes. The card
> > supports a memory-only interface and does not use any interrupts.
From
> > a hardware perspectively there is a signal change to the "reader"?
to
> > signal change in register state. From a driver perspective I would
like
> > to "see" this change but I dont see how to get notification of such
a
> > signal change without the card using interrupts. (and polling is
not
> > desirable)
> >
> > Does anyone have any ideas on how this might be do-able ?
> >
> > Thanks
> > --rr
> >
> >
> >
> > radhara@hotmail.com wrote:
> > > Hello all
> > >
> > > For a PCMCIA card that supports a memory-only card interface is
it
> > > possible for the WDM function driver to be notified of a change
in
> > the
> > > RDY-BSY signal ? ... for e.g. to signal completion of a
command..
> > >
> > >
> > > Thanks
> > > --rr
> >


Re: pcmcia rdy-bsy signal question by Pavel

Pavel
Tue May 10 20:00:54 CDT 2005

<radhara@hotmail.com> wrote in message news:1115649919.877475.108290@z14g2000cwz.googlegroups.com...
> Assuming what you are suggesting is to change the MemConfig for
> AttribMem in the inf to IOConfig instead and additionally an IRQ using
> the IRQConfig... would this IRQ be mapped to the signal generated by
> the rdy-bsy register ?

IOConfig is not nesessary, leave memory windows as is, just add the IRQConfig
and PCCARDconfig.
In the latter, you need to specify the COR value with non-null lower 5 bits.
I'm assuming that Windows does not know the card interface type and would set
the *socket interface* into i/o mode.

Test on a machine that supports ISA interrupt routing
Laptops with cardbus slots are likely to support it.
When you make it working in the simple config, proceed to using shared pci type IRQ.

Regards,
--:PA