Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12409 Discussions

tutorial on uClinux hardware peripheral access ?

Altera_Forum
Honored Contributor II
825 Views

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:
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
82 Views

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 II
82 Views

Thanks i will try.  

 

No exemple on altera wiki?
Altera_Forum
Honored Contributor II
82 Views

Ooops ?!?!?  

 

The NIOS Linux distribution comes with lots of device drivers in source code. 

 

Moreover: search the Wikis for tricks and tips.  

 

-Michael
Reply