This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Difficulty with Starterware Ethernet example apps

Hi

I am trying to get the Ethernet examples (both enet_echo and enet_lwip)  to run using a static IP address on the evmAM335x board.  I set this up (STATIC_IP_ADDRESS) in the respective header file (lwipopts.h) but the application appears to always try to go dynamic.  When I run the app using the evmAM335x  board the serial port output is as follows:

Acquiring IP Address...

EVM IP Address Assigned: 0.0.0.0

etc.

It looks as if the netif_add(...) procedure within the lwip_init(...) procedure is failing causing an address of zero.
In the netif_add(...) the init(netif) returns an error of -8 (no connection).  It appears to fail with the call to PhyLinkStatusGet.  I increase the number of retries from 1000 to 30000 and I can get it to respond with the correct static IP address.

Can anyone explain this?  Is there something else I have to change?

Second question:  Having got this to respond with the correct IP address I am unable to get the browser to see the address.  Have I messed something up with the change above?

Thank you

Chris

PS I have a switch between the PC and the board which shows the connections are up.