Forum Discussion
Altera_Forum
Honored Contributor
14 years agotutorial on uClinux hardware peripheral access ?
Hello I would like to make a simple program to use LEDs, 7seg... running under uClinux on my 3c120 devboard. But i don't know how to do that , i have already realized some Nios II programs with eclipse for NiosII dowload .elf ...used HAL drivers to control my PIO. But it's not the same under uClinux.
Does somebody know how to do that or know where I can found a tutorial. Thanks. :confused:3 Replies
- Altera_Forum
Honored Contributor
You'll need to write a Linux device driver, userspace won't be allowed to access IO locations.
Any book on Linux device drivers should do :-) - Altera_Forum
Honored Contributor
Thanks i will try.
No exemple on altera wiki? - Altera_Forum
Honored Contributor
Ooops ?!?!?
The NIOS Linux distribution comes with lots of device drivers in source code. Moreover: search the Wikis for tricks and tips. -Michael