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++

DMA driver

Altera_Forum
Honored Contributor II
1,039 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
320 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