Skip to main content
Associate
August 15, 2024
Question

STM32 Nucleo-F767ZI no ping IP

  • August 15, 2024
  • 4 replies
  • 1740 views

STM32 Nucleo-F767ZI no ping IP

When I build project no error

I configured static IP 

And HTTPD enabled

I added next lines

#include "lwip/apps/httpd.h"

 

httpd_init();

 

while (1)

{

MX_LWIP_Process();

/* USER CODE END WHILE */

 

/* USER CODE BEGIN 3 */

}

/* USER CODE END 3 */

}

 

 

4 replies

Technical Moderator
August 15, 2024

Hello @shef777 and welcome to the Community :)

I recommend you this working LwIP project for NUCLEO-F767ZI board and you can easily update it according to your needs:

STM32CubeF7/Projects/STM32F767ZI-Nucleo/Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS at master · STMicroelectronics/STM32CubeF7 · GitHub

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
shef777Author
Associate
August 18, 2024

Have another way? Or step by step instruction how implementation web server

shef777Author
Associate
August 15, 2024

Sorry maybe I need look easy way.

Thank you

Technical Moderator
August 19, 2024

Hi @shef777 ,

I advise you this article for the LwIP in DHCP:

How to use the LwIP Ethernet middleware on the STM... - STMicroelectronics Community

using this article, with very minor tweaks, you should be able to have the webserver.

 

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"
Technical Moderator
August 19, 2024

Hi @shef777,

I recommend you follow the instructions (step by step) described in the attached Draft slides :)

This example was tested with the NUCLEO-H723 board, and the steps are early similar for the STM32F7.

(example Using NUCLEO-H723 board and STM32CubeIDE version 1.15)

Hope you will find in this resource all what you need as help.

"When your question is answered, please close this topic by clicking ""Accept as Solution"".ThanksImen"