- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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'll have to use the HAL API, I 'm forced to use nios-ide ? Thanks in advice.
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
DMA 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
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page