ARM Technical Support Knowledge Articles

TCP/IP COMMUNICATIONS UNSTABLE ON PHYCORE229X

Applies to: Advanced RTOS

Answer


Information in this article applies to:


QUESTION

The driver "Lan91C111.c" for the SMSC LAN91C111 ethernet controller on the PhyCore 229x board does not work when connected to an 100MBit connection. Is there a bug in the driver?

ANSWER

The problem is hardware-related, but there is workaround for the driver. Add the following lines of code to the Lan91C111.c to a 10Mbit connection:

#ifdef _10MBIT_
  #undef  RPCR_ANEG
  #define RPCR_ANEG 0
#endif

Save the file and right click on its name in the Project Workspace. Choose Options for File 'Lan91C111.c'. Select the tab C and add _10MBIT_ to the field Define. Remember to rebuild your application after the modifications.

The SMSC LAN91C111 will now establish 10Mbit physical link speed connections only. Note that the connection to an endpoint that only supports Fast or Gigabit ethernet might fail.

Article last edited on: 2005-05-09 17:15:37

Rate this article

[Bad]
|
|
[Good]
Disagree? Move your mouse over the bar and click

Did you find this article helpful? Yes No

How can we improve this article?

Link to this article
Copyright © 2011 ARM Limited. All rights reserved. External (Open), Non-Confidential