Forum Discussion
Altera_Forum
Honored Contributor
21 years agoHi!
Yes, I have instantiated the LAN91C111 interface in my Nios2 project as used on the Altera / Microtronix evaluation boards. In my original Nios1 design, I had renamed this interface to "enet" and all was well in conjunction with the Microtronix 1.3 dist. In version 2.6 however, I was running into the problem as noted in my last message. I have discovered a couple of days ago that the names given to the interfaces in SOPC Builder are not always read and / or redefined properly by the Microtronix scripts. For example, I had named my system timer "timer0" and ran into kernel compile errors until I renamed it to something else. I suspected that I had a similar problem in naming the LAN interface so I renamed the interface back to the default (LAN91C111_0), recompiled and reloaded the Nios and kernel and............ it now works fine. Please note that I only renamed the SMSC interface... I did not actually delete and reinstantiate it. After working around this one, I discovered another bug having to do with Nios SPI support in this kernel. More details on this by Monday. Nick