hello,
i'd like to have some informations about axis dma programing and how to add
an interrup callback dedicated.
Can you send me some example source code to improve my skills ?
Thank's a lot,
Julien


2006/11/1, kyleblay <[EMAIL PROTECTED]>:

Hi,
I'm trying to implement some data streaming through the parallel
port on the Axis chip/foxboard using DMA.

Using a circular linked list of dma descriptors seems like a good idea
to me, and I can see this method was used in the synch_serial driver,
for example.  However I note from that driver code that they have
STILL set the end of list (eol) bit on the last descriptor (before it
points to the start again)..

Their rx interrupt handler restarts the dma operation when the end of
the list is reached - so in reality they don't actually make use of a
circular buffer.

I'm just wondering if anyone else has coded the DMA stuff and could
tell me if there is anything preventing one from simply omitting an
eol bit anywhere in the list of descriptors and allowing the dma
controller to endlessly loop through the buffers?  Of course I would
rely on the interrupt handler to deal with getting the data out of the
buffers and into other areas of memory...

Seems like a convenient method to me :)

Cheers,
Kyle





Yahoo! Groups Links





Reply via email to