Author Topic: Problem with auto-negotiation ?  (Read 8295 times)

Offline m_mikula

  • Newbie
  • *
  • Posts: 14
    • View Profile
Problem with auto-negotiation ?
« on: February 14, 2008, 11:41:12 PM »
I have problems with auto-negotiation in some cases ( some switches, cross cable, etc... ) I found this problem in Errata document, and copy code from cold-fire lite stack... When I connect device and then power it up, everithing seems OK, but when I connect device to 100M/s switch port power up device and then connect it to 10M/s switch port the re-detection fails and I must power down and power up the device.

Have anybody some ideas how to solve this problem?

Offline mark

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3236
    • View Profile
    • uTasker
Re: Problem with auto-negotiation ?
« Reply #1 on: February 15, 2008, 11:42:33 AM »
Hi

The error in the Coldfire PHY may have been removed in newer versions but is a difficulty in the earlier ones (as in the NE64).
I haven't tried the Coldfire-Lite but I believe it alternates between 10M and 100M until it finds a link and then uses this (rather than using auto-negotiation). It may however be that it doesn't restart this process when the link goes down (eg. when you switch between two different hubs or switches). If this is the case you may have to add additional code to handle the link-down case and restart searching for a connection.

Regards

Mark