FreeRTOS is an operating system that can run on Raspberry Pi 4. Is that correct ?
There are few 3rd party projects that are discussed in the Raspberry Pi forum that aim to run FreeRTOS on Raspberry Pi 4, but I’m not sure how well they work. You can refer to a similar forum thread here.
Given that, the Raspberry Pi Pico boards (1 and 2) support FreeRTOS straight away. You can find the SMP and non-SMP demos here: FreeRTOS-Community-Supported-Demos/CORTEX_M0+_RP2040 at 272ca5bfbe0ea8a5e24a19a4a0e2bd4bf00b4066 · FreeRTOS/FreeRTOS-Community-Supported-Demos · GitHub
Is it possible to implement TCP server on Raspberry Pi 4 provided FreeRTOS is running as operating system ?
FreeRTOS+TCP stack can act as a TCP server, but to make it run on Raspberry Pi 4, you need a network interface implementation that interfaces the FreeRTOS+TCP stack with its ethernet or WiFi drivers.
Which software is recommended for Windows PC to run TCP client application ?
It depends on your application; for simple use cases, a Python script should be enough to connect with the server.
If the TCP client application is running in Python 3 on Windows PC, can we connect to the TCP server running on Raspberry Pi 4 having FreeRTOS operating system.
If you get the parts mentioned in the first 2 answers right, then yes.