Jump to content
  • 0

DMA in Scatter Gather mode in user space device driver for linux


princy

Question

Hello,

I have implemented DMA in simple register mode on linux i am using zedboard. i am attaching the source code file (dma_normal_final_29_12_counter_axis_test)for that. 

Now i want cyclic DMA in scatter gather mode please help me. I am taking reference of this above source code and PG021 document for AXI DMA IP but it give me error msg in ststus register and my data is not transmitting. for scatter gather mode i have made this (scatter_gather) type of code. please check it out and give me suggestion.

please help me.

thanking you,

princy

dma_normal_final_29_12_conter_axis_test.txt

scatter_gather_dma.rtf

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

Hi Princy,

I have reached out to a more experienced engineer for this embedded linux question. It may be a couple of days before i am able to get you a response. In the meantime i did find a thread that seems to address the scatter mode with the DMA here

cheers,

Jon

Link to comment
Share on other sites

Thank you for your response.

I am now successfully able to implement this scatter gather mode of DMA in linux.

and now trying to transfer that data from DDR to host PC via network port can anybody help me to transfer continuous data ????

thanking you,

princy  

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...