Not getting link 52233

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Not getting link 52233

1,473件の閲覧回数
alager
Contributor II
Watching the coldfire lite code step through mcf5223x_ePHY_init(), I see it go through each stage: autonegotiation attempt, 100Mb half duplex, 10Mb half duplex and then fall into the "else could not establish link".

What should I be looking at/for to get the link going?

Thanks,
Aaron
ラベル(1)
0 件の賞賛
4 返答(返信)

316件の閲覧回数
DavidS
NXP Employee
NXP Employee
Hi Aaron,
Assuming you are looking at the latest version of the code (Rev3.2), if the PHY init code doesn't find a link, the OS still boots up and you have access to the system via the UART interface.
If the Ethernet cable is disconnected and reconnected to board or router/switch, ColdFire will do software reset and start the boot process as well as look for link.
If you boot/reset without Ethernet connected you should see following on terminal:

 .....COULD NOT ESTABLISH LINK.....
 
Running ColdFire TCP/IP-Lite stack Revision 3.1
Copyright 2008 by Freescale Semiconductor Inc.
Use of this software is controlled by the agreement
found in the project LICENSE.H file.
Built on Feb 12 2009 14:34:23
If you connect the Ethernet cable you should see following on terminal:
100bT - Half Dup
 
Running ColdFire TCP/IP-Lite stack Revision 3.1
Copyright 2008 by Freescale Semiconductor Inc.
Use of this software is controlled by the agreement
found in the project LICENSE.H file.
Built on Feb 12 2009 14:34:23
Regards,
David
0 件の賞賛

316件の閲覧回数
alager
Contributor II
All is well again.  Seems I just needed a separate set of eyes to see that I forgot to pull up the center tap.


Aaron
0 件の賞賛

316件の閲覧回数
alager
Contributor II
Thanks Mark!

The link seems to have an extra http in it.  This one should fix it.
www.utasker.com/forum/index.php?topic=517.0

Aaron



Message Edited by alager on 2009-02-11 04:13 PM
0 件の賞賛

316件の閲覧回数
mjbcswitzerland
Specialist V
Hi Aaron

I have added the link to your photos of the waveform on the LAN. Maybe an Ethernet HW expert in the forum can identify something for you.

http://www.utasker.com/forum/index.php?topic=517.0

Regards

Mark

0 件の賞賛