- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello, I have problem developing custom device driver. I've read the documentation, but I only got confused. Is there a simple tutorial on how to write device drivers ?
My device has one write, one read register and it's capable of generating IRQ signal. It should work likt this: programmer writes data to write register using standard IOWR macro, my device processes data and returns it into read register generating interrupt. My question is how to write interrupt service routine ? Sorry for simple questions, but I'm beginner in NIOS II systems (I've created some systems based on Xilinx Microblaze processor only).Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
For the documentation, you have information in Nios II Software Developer’s Handbook chapter 5, 6 and 7, and in Quartus II Handbook volume 4 : SOPC Builder chapter 9 and 10.
In the chapter 10, you will find a design example, and the files associated can be found here (http://www.altera.com/literature/hb/qts/altera_avalon_checksum.zip) (http://www.altera.com/literature/hb/qts/altera_avalon_checksum.zip%29). I hope that will help you.- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks, problem solved and everything works properly =)
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