PCMCIA on an iPAQ/ARM - can't get custom driver working

Michael michael.sallaway at gmail.com
Mon Jul 4 02:16:46 EDT 2005


Hi,

First off, I'm a first time poster, so be nice. :-)

Secondly, I might be directing this to the wrong place. I think I might need
to email a list that's more specifically arm-linux or something, so please
tell me if that's the case. :-)

Now, for the actual query. I'm doing a uni thesis project where I'm putting
linux (the Familiar distribution) on an iPAQ, and then attempting to plug
custom project boards into the PCMCIA/CF slot, and interfacing them with the
ARM in the iPAQ. (The idea is that I'll make a few different project boards
of varying difficulty, and then if uni likes it, they'll make it an embedded
linux subject, teaching students how to work with linux drivers and how
something like the CF bus works.)

I've managed to hack up a PCMCIA connector, and plug it into my iPAQ, and
wire it to a simple circuit. However, my simple test module doesn't seem to
work. (It's intended to 'replace' the PCMCIA module, as it's custom stuff,
so I try to allocate the correct memory regious in the ARM for the PCMCIA
interface, and then write a few bytes to certain regions) . When comparing
it to the pacakged modules that are in the Familiar distribution, I've found
that the "h3600_generic_sleeve" module manages to 'turn on' the
sleeve/pcmcia component -- that is, I can get a 3.3V signal from the Vcc
lines and other signals like that. However, my code (funnily enough!)
doesn't do squat.

I've looked through the source code for all these sort of things, but since
I've never really ever touched kernel code before, I'm just in way over my
head. Does anyone have any idea what I have to do to be able to get some
data going back and forward with PCMCIA stuff? I'm not sure if my problem
lies with code, or if it's with the actual iPAQ / ARM microcontroller (ie. I
have to turn on a register or something).

Sorry about the longwinded post, just wanted to explain myself thoroughly.
Thanks in advance for any help. :-)

Cheers,
Michael




More information about the linux-pcmcia mailing list