cancel
Showing results for 
Search instead for 
Did you mean: 

There may be a bug in ethernetif.c

JongOk Baek
Senior

Hello,

 

I am using below the libraries with my project.

STM32Cube_FW_H7_V1.12.0 (STM32H7xx HAL 1.10.0)

- LwIP V2.1.2, FreeRTOS V10.2.1, 2017 - ethernetif.c

And I designed the HTTP Server with STM32H743ZIT6.

 

It is very well operate.

And I updated the libraries such as STM32H7xx HAL 1.11.5 recently.

- LwIP V2.1.2, FreeRTOS V10.3.1, 2022 - ethernetif.c

All normal operations are functioning properly. (TCP, UDP)

However, an errors is occurring in the HTTP Server.

I implemented it by referenceing the LwIP_HTTP_Server_Socket_RTOS example from the STM32H7 HAL repository.

When approximately two files are requested simultaneously in a Web Browser, LwIP becomes unresponsive.

(Ethernet Event Handler is running when LAN cable Unplug and Plug)

 

(capture packets in old version)

SML26304_v2.5e_pkt.png

(capture packets in new version)

SML26304_v2.6a_pkt.png

There are no changes to the application. (httpserver_socket.c)

But, these error continue to appear.

 

I would appreciate any helpful advice.

 

Best regards,

 

1 REPLY 1
STackPointer64
ST Employee

Hello @JongOk Baek,

Could you please attach both old and new projects so I can review them? If the project is private, feel free to send me a message privately i can provide a secure line for you to upload the project.

Best regards,

To improve visibility of answered topics, please click 'Accept as Solution' on the reply that resolved your issue or answered your question.