Hello,
I downloaded lwip_v002 and lwip_v003 from the processors.wiki.ti.com in order to get acquaninted with lwip. So, the first thing I did was to import the project to Code Composer Studio, compile it and run it. I opened PUTTY on the COM port that the dev kit is in and I get the debug prints on the screen. I can see that it goes up to the point where it displays "GETTING PHY ID" and it never gets it, it ends with an error "DEBUG - Getting PHY Alive Status...!!! ERROR !!!..DONE" and finally signals an error initializing the hardware.
After some searching I noticed that it fails in hdkif.c->hdkif_hw_init. It fails in this loop
while ((phyID == 0) && (phyIdReadCount > 0)) { phyID = Dp83640IDGet(hdkif->mdio_base, hdkif->phy_addr); phyIdReadCount--; sciDisplayText(sciREGx, txtProgress, sizeof(txtProgress)); }
More especifically it fails in the function DP83640IDGet, in the function MDIOPhyRegRead, in this line
if(((HWREG(baseAddr + MDIO_USERACCESS0)) & MDIO_USERACCESS0_ACK) == MDIO_USERACCESS0_ACK)
It always returns false. There is an error when accessing the PHY, but I wouldn't know where to start checking for erros. I checked and there is something that you need to do when using the launchpad for RM57, but there is no documentation for RM48's Development kit.