I need to implementent a system with 2 Ethernet MAC on a Cyclone III devboard. The two MAC must work in different ways:
- eth1 : use the iNiche stack and connects to my client application
- eth2 : is used by an EtherCAT master, so only needs to send/recv raw packets with no TCP/IP layers.
I used the sopc builder to create my system, loaded it and the two eth interfaces seems to initialize and work correctly at the hw level.
The problem is that nichestack tries to initialize any net interface it finds and the Nios application gets stuck.
Can anyone experienced in Nios programming suggest me how to restrict Nichestack to use only eth1? And possibly how to initialize eth2 for raw packet send/recv?
Thank you in advance