[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [microblaze-uclinux] pcmcia and 802.11 cards



Rich,

Se my comments inline

Richard Klosinski wrote:

>I'd like to start designing a pcmcia interface for my microblaze/ucLinux
>system, and would like to know if anyone has had experience making this
>connection. I have a few questions:
>

>1) I noticed that most pcmcia card side chipsets do now use address lines
>a11:24. Can someone confirm this?
>  
>
I'm not an expert in PCs but ont the legacy PC you can have only 1024 
I/O ports (10 bit address) which means that the card will work in memory 
adresss space (memory like interface)  - it will be interesting to find 
out if the PCMCIA doesn't have a "dedicated" or recomanded address 
space, anyway on a fpga doesn't really matter (you can play as you want) 
but will be nice to try to stay in the same range for driver 
compatibility perspective 

>2) Obviously, the microblaze is 32 bits, so I plan to steer the 16bit data
>to the upper/lower words depending on the lsb (a31 in the microblaze world).
>Does this sound like it would work?
>  
>
yes will work nice, the only think is when you read you need muxes dor 
the data (to steer 16 bits) exactly as you described, and you need to 
keep the data lines in ZERO when the card is not selected (the opb bus 
has a ORed tree structure on the incoming data path) and another thing 
is that you need to generate an acknoledge on the OPB for each 
transaction request (simple state machine) - it will be nice to be 
capable to setup the latency for this ACK in order to deal with low 
speed peripherals.

>Anyone have words of en/dis-couragement before I start...
>
Go for it. WILL WORK.
I will publish on my website next week, a simple OPB_2_ISA attacment 
that I'm using right now for my 10Mb ethernet chip (CS8900) this can be 
a good start to develop your attachment. I'm very interested to attach 
pcmcia card (802.11b) to my system as well, so we can share the pain

Aurash

>
>Thanks
>Rich.
>
>PS. If anyone is interested in the port to the nuhorizon sp3 demo board, I
>can tar the new files with instructions on how to re-assemble them. Sorry,
>Im not to savvy in the linux world of patches. The card is now 100%
>functional (sdram, flash, 2 comm ports, and led to blink a heartbeat).
>
>
>___________________________
>microblaze-uclinux mailing list
>microblaze-uclinux@itee.uq.edu.au
>Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
>Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/
>
>
>  
>


___________________________
microblaze-uclinux mailing list
microblaze-uclinux@itee.uq.edu.au
Project Home Page : http://www.itee.uq.edu.au/~jwilliams/mblaze-uclinux
Mailing List Archive : http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/