Skip to main content
Associate II
July 22, 2024
Question

STM32F767ZI NUCLEO TCP/IP client without RTOS

  • July 22, 2024
  • 4 replies
  • 1802 views

How to write code for TCP client on the STM32F767ZI based NUCLEO board without using any RTOS on STM32Cube IDE? Do you have any example code? Also looking for TCP server code that is working... Please respond with details and the sample program if you have one. It is little urgent. Thanks!

This topic has been closed for replies.

4 replies

MOBEJ
ST Employee
July 23, 2024

hello @rdevisetti , 

For developing a TCP client on the STM32F767ZI NUCLEO board without using any RTOS, you can find useful example code in the STM32Cube firmware package. Specifically, you can refer to the examples on Github : 

https://github.com/STMicroelectronics/STM32CubeF7/tree/master/Projects/STM32756G_EVAL/Applications/LwIP

LwIP_TCP_Echo_Client

LwIP_TCP_Echo_Server

 You can adapt the examples to fit the STM32F767ZI NUCLEO board and your specific requirements.

Br

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
Associate II
July 23, 2024

Those examples using Netconn RTOS. So that does not suit my need. Please point me to the program that runs on bare board with no OS. Also that shall be implemented for STM32Cube IDE for STM32F767ZI.

MOBEJ
ST Employee
July 24, 2024

Hello @rdevisetti , 

This 2 examples  LwIP_TCP_Echo_Client & LwIP_TCP_Echo_Server doesn't use Netconn RTOS .

using LwIP_TCP_Echo_Client example  , in lwipopts.h  file  ( line 181) Netconn API is  disactivate : 

 

* LWIP_NETCONN==1: Enable Netconn API (require to use api_lib.c)
*/
#define LWIP_NETCONN               0

 

BR

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.