7 years, 4 months ago.

EthernetInterface on K64F: connect() returns -1

Over the weekend I saw that the EthernetInterface library was updated to include support for the FRDM-K64F device.

I pulled together a project, based on the TCPServerEcho example, provided on the Handbook->Socket page.

I have noticed that the init() function is returning -1, regardless of whether I am attempting to initialize the interface to be static or DHCP.

I have tried extending the default connect() timeout value, from 15 to 60 seconds...no happy.

The funny thing is that I had run this same application late Saturday evening, in my home office, using a cross-over cable connected to my laptop. the Echo server seemed to work. I was using static IP addressing at the time and had no reason to check the return value of connect().

Any thoughts would be greatly appreciated.

Thanks, Cameron

1 Answer

7 years, 4 months ago.


From what I understand, the Ethernet interface to the K64F is not ready yet. Soon I'm told....



Interesting...Over the weekend I had found the below posting.


This posting is what had lead me to believe it was up and running. Maybe I need to be more patient...

Thanks for the feedback

posted by Cameron Haegle 28 Apr 2014