Power Cycling cards
David H. Lynch Jr.
dhlii at dlasys.net
Thu Feb 21 10:54:12 EST 2008
I write the drivers for the picocomputing cards.
These are similar CF/CardBus/ExpressBus cards that
have and FPGA, and sometimes flash, memory, processor, ethernet,
As an example the E12/E14/E15 can run Linux on the Card.
My issue is that the whole interface except power and ground is in
the FPGA
firmware - basically it is "soft". In "standalone" applications the
interface, may
just be gpio bits rather than a standard bus.
The proscribed means to "reset" pico cards is to cycle the power.
Nothing else is guaranteed to work. When power is cycled the card itself
goes through a fairly detailed process and selects the correct firmware
from its flash
and loads it.
Alright my question is from a linux driver how to I cycle the power on
a PCMCIA/CardBus
card ?
pci_set_power_state() seems to be used in the suspend resume code of
many PCI cards,
Does that actually do what I want ?
but I also need a solution for PCMCIA.
Also, if I turn the power off, Linux is going to want to unload the
driver - which might be ok,
but something needs to turn the card back on.
I have searched other drivers but could nto find anything that seemed to
have a similar need.
--
Dave Lynch DLA Systems
Software Development: Embedded Linux
717.627.3770 dhlii at dlasys.net http://www.dlasys.net
fax: 1.253.369.9244 Cell: 1.717.587.7774
Over 25 years' experience in platforms, languages, and technologies too numerous to list.
"Any intelligent fool can make things bigger and more complex... It takes a touch of genius - and a lot of courage to move in the opposite direction."
Albert Einstein
More information about the linux-pcmcia
mailing list