2 years, 5 months ago.

Nucleo F429ZI: Ethernet Interface not connecting to laptop

I'm trying to create an Ethernet connection between a Nucleo F429ZI board and a Windows 10 Dell laptop. I simply want to be able to send UDP packets between the two using an ethernet cable. I am using the Ethernet Interface similarly to how its done on the MBed website in Docs › Reference › Network Interfaces › Ethernet, but the .connect() function on the EthernetInterface object is failing. I have tried many different settings and IP address configurations but I believe the problem has to do either the physical connection (ie do I have to have a router or a switch in between the two?) or the laptop itself not having the right drivers or wrong settings. I think it's one of those reasons because the code is failing before even creating a UDP socket and sending to it. If you know of any examples with a similar goal or can provide any insight into how to debug it, that would be awesome. Thanks!

Click Start > Settings > Control Panel, double-click the Scanners and Cameras icon, and delete your scanner from the list of installed devices. Then uninstall andreinstall Epson Scan. See Uninstalling Your Scanning Software for instructions on uninstalling Epson scanner support. https://www.epsonsupport247.com/epson-scanner-driver/

posted by rain smith 15 Feb 2019

SEO stands for “search engine optimization.” It is the process of getting traffic from the “free,” “organic,” “editorial” or “natural” search results on search engines. Main helper visit Top OnPage Tools List 2019 https://alltopsite.com/on-page-tools/

posted by rain smith 15 Feb 2019

1 Answer

2 years, 5 months ago.

You need to manually set an IP with your own LAN Set your network port on your laptop as Use the code snippet below to set the MBED board to Regards

#define IP        ""
#define NETMASK   ""
#define GATEWAY   ""

EthernetInterface eth;
TCPSocket socket;
UDPSocket udpsocket;

int main()
    printf("Example network-socket HTTP client\n");
    eth.set_network(IP, NETMASK, GATEWAY);
    // Brings up the network interface
    const char *ip = eth.get_ip_address();
    const char *mac = eth.get_mac_address();
    printf("IP address is: %s\n", ip ? ip : "No IP");
    printf("MAC address is: %s\n", mac ? mac : "No MAC");

Accepted Answer

That worked! Thanks for the help

posted by David Meyenberg 27 Jul 2018

Awesome post and I would also like to visit this kind of posts in the future.

visit the below link to resolve Windows error code 0x80070652 https://www.microsoftwindowssupportnumber.com/blog/windows-error-code-0x80070652/

posted by Alistar Smith 08 Feb 2019

Network errors are usually caused due to poor connectivity to the internet. If you receive a network error, you can try to sync your session again by pressing "Retry"�. If network errors continue, make sure you are in a place with good WiFi reception, or that cellular data is enabled. common network problems https://intrepidsoftware.com/common-network-error-messages-solutions/

posted by rain smith 15 Feb 2019

I had some issues with your intructions. My TCP/IP conecction worked when the ip "" is the same as the gateway in my laptop, also the gateway setted in the board differ with respect to IPv4 established in my laptop. I dont really know what is going on here.

posted by Dwheel BP 26 May 2019