Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
16 years ago

Custom Ethernet Driver (Davicom DM9000)

Hi,

Sorry if this has been covered elsewhere in the Forum. I had a search but couldn't find anything.

I'm trying to port some designs from a StratixII Nios development board to a custom StratixII board. Most of the hardware is common so this isn't too difficult. However the Nios kit uses the SMSC lan91c111 device but the new board uses the Davicom DM9000 which is not supported by the NicheStack TCP/IP Stack.

I'd like to use the NicheStack system as there is a large quantity of sample projects and systems provided utilising the NicheStack provided by Altera which i would like to make use of.

The NiosII Software Development Handbook, Chp11 states that:

"in the generic device model, you can write a new driver to support any target ethernet mac, and maintain the consistent hal and sockets api to access the hardware."

My question does anybody have or know of any already written drivers to allow the InterNiche stack to work with the DM9000? If not do you have any pointers or advise for writing my own driver as this is something I have no experience of.

Thanks in advance,

Andrew

2 Replies