Keil™, An ARM® Company

Technical Support

ARTX: TCP/IP COMMUNICATIONS UNSTABLE ON PHYCORE229X


Information in this article applies to:

  • ARTX-ARM Version 1.00

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.

FORUM THREADS

The following Discussion Forum threads may provide information related to this topic.

Last Reviewed: Monday, May 09, 2005


Did this article provide the answer you needed?
 
Yes
No
Not Sure