Tool/software: TI-RTOS
I have found the bug of PHY Link detection in latest SDK.
On my TMDSEVM6657LS I see periodic phy link up/down effect. Investigation has shown that phy link status checking is incorrect (EMAC driver)..
pdk_c665x_2_0_5\packages\ti\drv\emac\src\v0\mdio.c
line: 421 function: MDIO_timerTick
now:
if( ltmp1 || !(MDIO_REGS->LINK)&(1<<pd->phyAddr) )
should be (it's seems):
if( ltmp1 && !(MDIO_REGS->LINK)&(1<<pd->phyAddr) )