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

Re: [microblaze-uclinux] Howto access FSL with uClinux?



Hi Christian,
look at this message for basic example on using flsfifo

http://www.itee.uq.edu.au/~listarch/microblaze-uclinux/archive/2005/10/msg00167.html

Cheers,
Claudio Lanconelli

Christian Schleiffer wrote:
Hi List,

I need to access an FSL port with my own hardware attached, but I'm not
sure how to do it correctly. I found the FSL driver by John but don't
know how to use it correctly.  fslfifo.c says:

  
[...]
* Simple driver to provide Linux-style FIFO interface to custom hardware
* peripherals connected to Microblaze FSL ports.  See Microblaze user manual
* for details of FSL architecture.
*
* read() and write() operate on software buffers, with a tasklet scheduled
* to actually stuff data into / out of FSL ports.  This might be better 
* served by interrupts, however the hardware doesn't support it yet.
[...]
    

So I guess, it works quite similar to usual file handling? Can anybody
give me with a short example or a link? I was not able to find any code
or documentation on the net (except for the Xilinx stuff only mentioning
low-level blocking access).

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