Forum Discussion
Altera_Forum
Honored Contributor
20 years agoDMA & Interrupt Problems...
I'm a newbie in Nios, and my English is not to good, but in this forum i found some topics to control NiosII device like pio, timer, uart by Nios syntax, but few topic about to teach me about dm...
Altera_Forum
Honored Contributor
20 years agoHi ucliane,
It is great that you read the LDD book. It seems you mixed up the kernel space and user space. Please read LDD from beginning. Another (old) advice, do it on Linux. follow the thread http://forum.niosforum.com/forum/index.php?showtopic=3174 (http://forum.niosforum.com/forum/index.php?showtopic=3174) Then, you should try out the hello world module in ch2 of LDD. Next, take a look at some kernel codes, eg, arch/nios2nommu/kernel/time.c drivers/serial/NIOSserial.c . Finally back to your own code.