5 years, 11 months ago.

How to connect STM32F429 Nucleo-144 to network via TCP/IP protocol?

Hi all, I am facing some issues when trying to set up the TCP connection server/client (PC to Nucleo and Nuleo to PC) on mbed. I am following this https://os.mbed.com/handbook/Socket example.

I imported the TCP Echo server code and view this message Wait for new connection... Then nothing happens!

Also, when running the python script, I got this error: socket.error: [Errno 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond

Can any one please help ?

Thank you Ibrahim

1 Answer

5 years, 11 months ago.

Hello Ibrahim,

That is an mbed os 2 example. I'd recommend you to have a look at the mbed os 5 network socket documentation and rather try the examples available there. You might also have a look at an example program I published here.