TCP/IP troubleshooting

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

TCP/IP troubleshooting

1,383 次查看
seagate
Contributor III

I've had ethernet and other tasks running well on my MCF52231 'Digibutler' board for some months and suddenly there is no ethernet access. The startup looks good reporting 'Ethernet started, Iface: 0, IP: 192.168.0.151' and a led shows on the router, though the router doesn't recognize the board.  There is no response at all when I try to access the board with IE.  I've tried different cables, direct connection with X-over, reflashing etc.  Is there something I can do in debug, say to find if the chip is at fault?  What signals could I measure with a scope?  Any help would be appreciated.

标签 (1)
0 项奖励
回复
4 回复数

1,202 次查看
mjbcswitzerland
Specialist V

Hi

 

The FEC has a MIB block, which is a counter of all Ethernet related events. You could first try checking what values these have (looking at the registers in the debuger) after you try to communicate to see whether there is any activity at all.

 

Regards

 

Mark

 

0 项奖励
回复

1,202 次查看
seagate
Contributor III

Hi.  Thanks for your suggestion.

I can't find anywhere I can put a breakpoint and see the MIB block.  It seems to be mostly in the 'freescale_http_loop" and never gets a valid session.  The fec_isr runs ok to start with but stops after fec_overrs=2.

0 项奖励
回复

1,202 次查看
seagate
Contributor III

Hi. 

I've found a place in m_ipnet.c where I can see the MIB.  There appears to be some activity.  I get ifOctets increasing and ifNUcastPkts increments each time I hit 'run'.  Eventually it start to build up ifDiscards.

Any thoughts?

0 项奖励
回复

1,202 次查看
seagate
Contributor III

Just to finish this one off, enabling DHCPcured the problem.  I do not know why the static ip address no longer works but it may have something to do with my service provider (o2) deciding to unilaterally 'upgrade' the router firmware.  The wireless network stopped working at about the same time and eventually I found that it's name had been changed.

0 项奖励
回复