Shine:
NDK 2.0有个bug, 不能和100M网口连, 具体请参考下面的FAQ.
processors.wiki.ti.com/…/Network_Developers_Kit_FAQ
chen lei:
回复 Shine:
我确认板子是工作在 1000M 模式下 ,
追踪程序 发现 CFGDEMO.c 文件中
static void GetIP( uint IfIdx )
while(1)
{
// Receive ICMP packet data
fromlen = sizeof(from);
cc = (int)recvfrom( s, pBuf, MAXPACKET, 0, (PSA)&from, &fromlen );
if( cc < 0 )
goto abort;
recvfrom 无法运行下去 老是在接收?
Shine:
回复 chen lei:
请问打过补丁了吗?
software-dl.ti.com/…/index_FDS.html
设置的最大packet length是多少?
chen lei:
回复 Shine:
打过补丁了
#define MAXPACKET 1500 // max packet size
static void GetIP( uint IfIdx )
chen lei:
回复 chen lei:
fromlen = sizeof(from);
fromlen = 16? 才16个?
Shine:
回复 chen lei:
请试试将ISR中的printf() 去掉或者用LOG_printf()替代
chen lei:
回复 Shine:
汗 ISR 在哪个文件 路径?
chen lei:
回复 chen lei:
cpsw_MDIO_FindingState: Timed Out looking for a Phy!
cpsw_MDIO_PhYReset(0)
Enable Phy to negotiate external connection
NWAY Advertising: FullDuplex-1000 FullDuplex-100 HalfDuplex-100 FullDuplex-10 HalfDuplex-10
cpsw_MDIO_FindingState: Timed Out looking for a Phy!
Negotiated connection: FullDuplex 1000 Mbs
Link Status: 1000Mb/s Full Duplex on PHY 0
cpsw_MDIO_FindingState: Timed Out looking for a Phy!
cpsw_MDIO_FindingState: Timed Out looking for a Phy!
Shine:
回复 chen lei:
ISR是中断服务子程序的缩写(Interrupt Service Routine)
Zeqiang Ma:
回复 Shine:
根据我自己的经验,C6455网络启动后,用PC机确实是PING不通的,即使C6455和PC机之间网络连接确实正常。我理解这有可能是因为C6455的网络缓冲区设置问题 还请大牛点拨