Forum Discussion
Altera_Forum
Honored Contributor
16 years agoaccessing hardware - a smart start?
Hello everyone. I am using the DE2 2C35 Board with uClinux NOMMU an DE2_NET.sof and ptf. I would like to ask for a smart way to start developing own software. I would like to begin to...
Altera_Forum
Honored Contributor
16 years agoThe correct way is to use the GPIO Kernel driver provided with the uClinux distribution:
http://www.nioswiki.com/gpio There are several article on accessing hardware in the Wiki. Generally hardware should be accessed via device drivers. With NoMMU it's possible to access hardware directly from user mode, for MMU this should be possible in some cases with "uio", but doing a device driver is more clean and more portable. -Michael