Intel® SoC FPGA Embedded Development Suite
Support for SoC FPGA Software Development, SoC FPGA HPS Architecture, HPS SoC Boot and Configuration, Operating Systems
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
266 Discussions

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

JET60200
New Contributor I
318 Views

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
EBERLAZARE_I_Intel
94 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

EBERLAZARE_I_Intel
94 Views

Hi,

 

Any follow up from your side?

JET60200
New Contributor I
94 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.

 

 

EBERLAZARE_I_Intel
94 Views

Hi,

 

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

Reply