No, I’m not. Each board uses one network interface. Even if 2 network interfaces are present.
I need to bind my low level drivers controlling PHY to FreeRTOS operations. So my network_cfg.h was configured as follows:
#define SPC5_ETH0_PLCA_EN TRUE
#define SPC5_ETH1_PLCA_EN TRUE
#define SPC5_ETH0_PLCA_NCNT 2
#define SPC5_ETH1_PLCA_NCNT 2
#define SPC5_ETH0_PLCA_ID 1
#define SPC5_ETH1_PLCA_ID 0
.
:
#define spc5_eth0_netdrv_init(val) dwmac_netdrv_init(val)
.
:
#define spc5_eth1_netdrv_init(val) lan8650_netdrv_init(val)
.
:
Yes, both boards are operational, debugging smoothly. Moreover, individual perhipheral loopback is also working fine.
But, when trying TCP ethernet communication between 2 boards, I wasn’t able to pass through the accept/connect phases.
This is the state of my server a moment before exiting the BINDTODEVICE opt. And pxSocket is the resulting socket.