Forum Discussion
Altera_Forum
Honored Contributor
16 years agoDrivers for uC/OS-II
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, Omri1 Reply
- Altera_Forum
Honored Contributor
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