Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Drivers for uC/OS-II

Altera_Forum
Honored Contributor II
1,129 Views

Hello, 

 

I am working on the DE2 board (cyclone2) with NIOS2 and uC/OS-II. 

I need to write some OS drivers for some devices, for example USB or Ethernet. 

 

I read a little about drivers in some ALTERA official docs and I didn't really understand how the drivers relate to the OS and how they interact with the Nios HAL. 

 

Can someone please recommend the most simple devices to write drivers to, and direct me to where I can read about writing drivers for uC? 

 

Thanks a lot,  

Omri
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
441 Views

Have you read this?: 

http://www.altera.com/literature/hb/nios2/n2sw_nii52005.pdf 

 

Also, you can look at the existing drivers provided by Altera. They are all found in your Altera install (e.g. c:\altera\91\ip\altera\*) 

 

You can also look at what I did for the Avalon OpenCores 10/100 Ethernet MAC: 

http://www.alteraforum.com/forum/showthread.php?t=3665&referrerid=2226 

 

Jake
0 Kudos
Reply