Skip to main content
Associate
January 26, 2025
Question

STM32F767ZI with LWIP and FREERTOS not working

I am using an STM32F767ZI dev board and trying to set it up as a TCP Server. After initializing LWIP and FREERTOS, I am having problems with pinging the board. After checking my gateway, it seems that the gateway is able to sendt packets to the stm32, but it does not receive the packets. help

This topic has been closed for replies.

3 replies

mbarg.1
Senior III
January 27, 2025

Are you forced to use F767 + FreeRTOS+LWIP ?

I do not use F7 as it is too slow to deliver good performances with ethernet.I prefer H7 family, and get more resilient applications.

On the other side, I moved all my design from FreeRTOS+LWIP to AZRTOS+NetXDuo, os is much more reliable and you can achieve reasonable performances.

All that sad, the example LwIP HTTP Server Netconn RTOS ver 1.17.2 should run out of the box - providing STM32CubeIde was set up correctly and board is good.

 

 

mbarg1_0-1737961047548.png

 

MOBEJ
ST Employee
January 27, 2025

Hello @simenvoffa , 

You can access the application  for STM32F767ZI  board that  guides you  to run a http server application
based on Netconn API of LwIP TCP/IP stack : ( Github Link)  LwIP_HTTP_Server_Netconn_RTOS

Make sure to follow the instructions in the README file to set up your project correctly.

 

Regards 

 

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
January 28, 2025

The problem is that I want a direct connection between server and client using only socket. Having to use an http server and a browser does not really work with my application.