6 years, 3 months ago.

TCP Socket and TCPServer on STM32F407 Seeed Arch Max

Hi everyone, Im working with Ethernet interface on mbed 5 os. I have problem with TCP socket and server on mbed, I cannot open the socket, the program return error code -3005 which is "no socket available for use". 1. I successfully created UDPSocket and sent data perfectly. 2. I used original STM32CubeMX and LwIP to test again, and the TCP socket and server also worked perfectly. 3. I used that mbed code but I changed the target to my STM32F746 discovery kit, and the TCP Socket also worked and sent data. So I assume that there are no hardware problem and it's the mbed library problem with the target STM32F407. Anyone can help me with this? Thanks you.

This is the simple TCP example code I used:

include the mbed library with this snippet

#include "mbed.h"
Be the first to answer this question.