Relative Content

Tag Archive for armethernetbare-metallwipzynq

LWIP RAW API dual ethernet connection problem

I am trying to use dual PL ethernet connection for redundancy on Xilinx Zynq 7020. At the normal scenarios the ethernets can work separately. So I started by adding network interface for second ethernet too. After adding it with different address which comes from digital design that corresponds to ethernet 2 I can use dual ethernet. My question is that I cannot use only first ethernet when I unplug eth2 cord. But I can use only second ethernet when I unplug first cable. I commented out the netif_set_default part but I believe because of I initialized second ethernet later it overrides ethernet 1. Is there a way for using both ethernet ports separately and together? I also use one pcb that works for both. When I tried to seperate it, there were many problems occur. Thanks for any advice.