Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
4 years, 11 months ago.
EthernetInterface for FRDM-K64F returns -1 for connect with DHCP
I'm using the FRDM-K64F and was aiming to communicate with the device over ethernet by letting my router assign the device's IP address. However, whenever I run the 'connect' function, it always returns -1 and I get a blank IP address. The program I set up to test this functionality can be found here:
I see other people have had issues with this device before, but I haven't been able to find a way to fix it yet. Any help is appreciated.
EDIT: I've decided to use a static IP address instead, but the device still fails when running the 'connect' command