In hardware setting a client is my PC on which
I’m running echotool and server is XCore407I dev. board, based on STM32F407 MCU, where FreeRTOS+TCP V2.3.2 is installed in STM32Cube IDE. The client and sever are connected directly by ethernet cable.
In order to run echo server I added to …/NetworkInterface/STM32Fxx directory SimpleTCPEchoServer.c file from FreeRTOS_Plus_TCP_Minimal_Windows_Simulator\DemoTasks
For memory management heap_4.c is used.
When running echotool I’m getting fail massage shown on the screenshot
The Wireshark message below shows communication process when echotool is running . As I read it, the connection between Client and Server was established, but for unknown reason when Client is requesting data from sever, server resets connection and communication stops.
Pinging is working fine.
In debugging mode found, that prvServerConnectionInstance() task was never executed,
although Task Create function:
xTaskCreate( prvServerConnectionInstance, “EchoServer”, usUsedStackSize, ( void * ) xConnectedSocket, tskIDLE_PRIORITY + 1, NULL );