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++
12747 Discussions

Modifying Nios II Device Drivers lan91c111?

Altera_Forum
Honored Contributor II
1,835 Views

Hello all... 

 

I would like to create a new dm9000 device driver instead of lan91c111. What I need to know is how to go about creating it and getting it to link correctly thru Quartus II and the Nios II IDE. 

 

Any ideas? 

 

Thanks in advance...
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
632 Views

Hello maoguohua2002, 

 

As I wrote in the topic http://www.niosforum.com/forum/index.php?a...ct=st&f=2&t=421 (http://www.niosforum.com/forum/index.php?act=st&f=2&t=421) I’m writing a HAL device driver for the DM9000 from Davicom. The driver will be supported from the stand alone lwip in 16-bit mode. No support for MicroC/OS-II RTOS! 

I started to edit some files of the LAN91c111 component in the directory “niosII/components/ altera_avalon_lan91c111”. That’s a good starting point. When it is working correctly I will share my stuff in the forum. But now I don’t have a lot of time to make this thing doing! Perhaps someone could handle the low level routines. The other things are done. 

 

Bye, 

niosIIuser
0 Kudos
Altera_Forum
Honored Contributor II
632 Views

 

--- Quote Start ---  

originally posted by maoguohua2002@Sep 24 2004, 04:01 AM 

hello all... 

 

    i would like to create a new dm9000 device driver instead of lan91c111. what i need to know is how to go about creating it and getting it to link correctly thru quartus ii and the nios ii ide. 

 

any ideas? 

 

thanks in advance... 

--- Quote End ---  

 

There's a section in the manual on how to write ethernet device drivers Chapter 5 page 12 is the start of the appropriate section though you should probably read the whole chapter. 

 

Hope that helps.
0 Kudos
Altera_Forum
Honored Contributor II
632 Views

please tell me which manual you mean!!

0 Kudos
Altera_Forum
Honored Contributor II
632 Views

The manual I was referring to was the Nios II Software Developer's Handbook. This can be found in the documents directory and is called n2sw_nii5v2.pdf

0 Kudos
Reply