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.

PA_UnitTest_K2EC66BiosPCapTestProject工程如何修改能接收PC端数据包



你们好,PA_UnitTest_K2EC66BiosPCapTestProject可以实现数据抓包和端口镜像功能,但测试时是处于loopback_internal模式的,我想让板子抓获PC端发送的数据包,于是把loopback模式修改为loopback_none模式,程序QMSS、CPPI、PASS都已成功初始化,但到初始化CPSW时,首先进入Init_SGMII_SERDES,运行到cpsw_mgmt.c文件的734行,程序跳入CSL_SerdesLaneEnable,然后就一直卡在csl_serdes.h的926行retval = (CSL_SERDES_STATUS)CSL_FEXTR(*(volatile uint32_t *)进入死循环了,请问应该怎么改才能初始化成功?并且后面的pkt_capture_test函数要怎么配置才能接收PC端数据包?