Tool/software: TI-RTOS
Hi,
Some background information:
We copied Ethernet module from idk5726 schematics, but instead of 2 ports we use only one (1), second is disabled.
EMAC_HwAttrs_V4 cfg;
EMAC_socGetInitCfg(0, &cfg);
cfg.port[0].phy_addr = GMAC_PORT1_ETHERNET_PHY_ADRESS;
cfg.port[1].phy_addr = EMAC_CPSW_NO_PHY_ADDR;
EMAC_socSetInitCfg(0, &cfg);
We suffered from frequent and random disconnections and unreliable LAN in general.
After investigations we discovered that frames are received (GOOD_RX_FRAMES counts) but not forwarded to host CPU.
We found a workaround - set BYPASS to "1" in ALE_CONTROL.
We use version v4 of nimu, in previous v3, BYPASS is unconditionally set by default - CSL_CPSW_enableAleBypass(), this line is removed from v4.
It has something to do with aging of MAC address lookup table in switch.
Is this problem is known? Is there smarter solution than ALE Bypass?
Best regards
Rasty