Forum Discussion
Altera_Forum
Honored Contributor
17 years agoHow use DMA under uClinux ?
Hi all, I want to use the dma controller under my programm in uClinux. Do I use this (http://www.altera.com/literature/hb/nios2/n2sw_nii52010.pdf) ? Doesn't uClinux offer any functions ? If I'...
Altera_Forum
Honored Contributor
17 years agoDMA can only be used in a Kernel driver, but not in a userland program. AFAIK, the Altera HAL stuff can't be used with Linux.
Of course there are the appropriate macros/functions that allow for easily handling DMA. Same provide a portable access to DMA data memory (non cached, ...), quite independently of the architecture. Maybe you can use the TSA Ethernet driver sourcecode as a reference. -Michael