This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
hi
我使用的是tms570ls3137hdk开发板,我下载官网的lwip演示项目后,执行到下面的代码
if (!((MDIOPhyAliveStatusGet(hdkif->mdio_base) >> hdkif->phy_addr) & 0x01)) { sciDisplayText(sciREGx, txtError, sizeof(txtError)); return ERR_CONN; } else { sciDisplayText(sciREGx, txtSuccess, sizeof(txtSuccess)); }
代码进入了第一个if块,我在debug时发现MDIOPhyAliveStatusGet(hdkif->mdio_base)为0
可以告诉我如何解决这个问题吗,或者思路。
感谢。
你好,我看过这个帖子,但并没有解决我的问题,我下载的是官方示例代码。
我将代码导入到clion中,应该是一个cmake项目,我是一个新手,我在配置完cmakelist文件后,代码可以运行并调试,但是debug到上面代码后出现了
DEBUG - Getting PHY Alive Status...!!! ERROR !!!..DONE
我在查询一些帖子后,感觉是没有检测到phy芯片的连接,但是我不知道如何解决。