Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
New Contributor I
254 Views

Arria10 SOCFPGA ARM DMA usage - way to use ARM DMA to copy bulk data inside DDR ?

I am using A10 SOCFPGA , where Linux runs on SOC ARM(dual-A9).

In my application, there‘re bulks of memory copying from one place to another place each 1ms,currently I use memcpy() which occupy CPU heavily.

Thus I want to use ARM DMA to do this, to avoid use cpu memcpy() . The question is " HOW _TO DO THIS " ? is there any code example ?

 

Thanks for help

0 Kudos
4 Replies
Highlighted
30 Views

Hi,

 

You may find design example in our design store, unfortunately there is no exact design example that you are requesting.

https://fpgacloud.intel.com/devstore/platform/?search=dma&acds_version=any&family=arria-10

 

However, there is a Data Mover which utilize the msGDMA, that uses the ARM Cortex A9, you may check it out here:

https://rocketboards.org/foswiki/Projects/DatamoverCopy

0 Kudos
Highlighted
30 Views

Hi,

 

Any follow up from your side?

0 Kudos
Highlighted
New Contributor I
30 Views

Hi el,

 

In RocketBoards, I was told here is an very similar example code ( https://github.com/robertofem/CycloneVSoC-examples/tree/master/Linux-modules/DMA_PL330_LKM_basic ),

 

Thus I'm trying to check this example and update to my A10SOC LINUX.

 

 

0 Kudos
Highlighted
30 Views

Hi,

 

Got it, I also recommend that you check the datamover example to help guide you.

0 Kudos