STM32F4 LwIP freezes when http is used for FW V1.28.0 (not for previous like V1.26.2)
Dear support,
For a custom-developed board based on an STM32F407IGT6, I’m trying to migrate my code from STM32Cube FW_F4 V1.26.2 to STM32Cube FW V1.28.0. The purpose of migration was to test the new PTP feature, but also because STM32cubeIDE uses the latest firmware version with no other choice.
The code needs to implement an HTTP server, so it uses the HAL library and LWIP without Free RTOS.
With V1.26.2 it works well; I didn’t notice any issues. With the same user code but compiled with V1.28.0, the code not related to LWIP seems to work, I can even ping the board, but as soon as an HTTP client tries to reach the server, I cannot ping the board anymore and others LWIP features seems no more accessible.
After some research, I found some topics on the forum about this (thanks to @Piranha, @DMårt and @MSG_ST for their posts):
and also
If I follow the workaround of removing const flag in the fsdata_custom.c file then, I don’t have enough RAM memory and get an overflow during the compilation. So even if it works for smaller project (I tested it), it is not a solution in my case.
I don’t understand the argument: “It is due to Hardware limitation; in fact the Ethernet MAC does not have access to the Flash (in STM32F407 device) to download http's data”. Because I’m testing against the same hardware and have one working setup with V1.26.2 and another that fails with V1.28.0. Is there a difference in accessing memory between the 2 firmware versions ?
Some posts from ST employees also mention that this bug is known and will be fixed in the next release which should be available in June 2023. Do you have any updates on a fix for this bug; like a new release delivery time or any other workaround?
Many thanks in advance for your support
My best regards
Yves_P
