Hi
I have customized a DM648 board with the phy 88E1512(not same as 88E1111 on the EVM board ).
and I modified the code in csl_emac as follows
if (lpMacConfign->macModeFlags & EMAC_CONFIG_MODEFLG_GIGABIT)
{
macControlVal |= CSL_FMK(CPSW3G_GMAC_MACCONTROL_GIG, 1);
macControlVal |= CSL_FMK(CPSW3G_GMAC_MACCONTROL_GMII_EN, 1);
}
else
{
macControlVal |= CSL_FMK(CPSW3G_GMAC_MACCONTROL_GMII_EN, 1);
}
My NDK version is 2.0.
My problem is when I use the 100M ethernet, the board works well, and I can ping my pc normally.
but when I use the 1000M ethernet, the autonegotiation has been complete,and the link is up and the result of phy negotiation is 1000Mbit full-dublex.
but DSP can not receive any packet and can not send any packet.
Has anyone ever had such a problem, or know a way to solve it?
Will updating the libraries from the 2.20.03.24 ndk help any of these issues?
Thanks for the help!