Forum Discussion
Altera_Forum
Honored Contributor
13 years agoHi haulisson.
This short tutorial will give you all the information you need: http://tuxthink.blogspot.com/2010/10/writing-example-driver-from-scratch.html You'll find that most of the 'character device' code is already implemented in the altpciechdma.c driver. You can then complement it with the system calls 'copy_from_user()' and 'copy_to_user()', and use the provided user space code to achieve your goals. Best regards, Pedro