Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

DMA driver

Altera_Forum
Honored Contributor II
1,107 Views

Is there anybody who had writen dma driver?or who can show his relative code to me ,and I can learn from it.Thanks. Recently,I'm studying driver under uClinux.In my nios2 processor,I use dma to transmit data to my own IP,so I want to drive the dma to transmit data under uClinux. 

who can help me ?Thanks!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
388 Views

You can look at the DMA driver in linux-2.6.x/arch/nios2nommu/kernel/dma.c . 

The dma memory should be uncached or you need flush cache before dma.
0 Kudos
Reply