2022-08-05 04:13 AM
Hello!
Recently I had problems with ping to my STM32 + LwIP + DP83848 + RMII. But the latest FW version 1.27.1, it works very well! But now I have problems with HTTP. Follow me and I show you how to create this bug.
First of all I'm using:
To reproduce this bug, do the following steps.
OK! It Working great!
#include "HTTP_Server/httpserver.h"
/* USER CODE BEGIN Header_StartDefaultTask */
/**
* @brief Function implementing the defaultTask thread.
* @param argument: Not used
* @retval None
*/
/* USER CODE END Header_StartDefaultTask */
void StartDefaultTask(void *argument)
{
/* init code for LWIP */
MX_LWIP_Init();
/* USER CODE BEGIN 5 */
http_server_init();
/* Infinite loop */
for(;;)
{
osDelay(1);
}
/* USER CODE END 5 */
}
Question:
Why does this happen?
I have followed this tutorial 100% (except that he are using another processor) https://www.youtube.com/watch?v=haO8_eLIDeI&ab_channel=ControllersTech
This must be a bug, becase in FW 1.27.0 version, I had problems with ping my processor. In FW 1.27.1, the ping works like a charm. But now FW 1.27.1 resulting that my HTTPD won't work.
Thank you.
2022-08-09 04:13 AM
You have been pointed to the real issues and solutions long ago:
2022-08-09 10:51 AM
So, do you have any suggestions why HTTP not working for me, but ping works?
2022-08-09 11:40 AM
Because of the issues listed in that topic! Until the lower layers are reliable, there is no point in wondering why higher layers don't work.
2022-08-10 08:38 AM
I understand.
I will have to wait until ST-dev team will fix this....if they do?
I have seen a markable development when FW 1.27.1 was released. Now Ping works for me. Ping did not work for me when I was using FW 1.27.0.
@Imen DAHMEN @Sara BEN HADJ YAHYA
2022-08-11 04:18 PM
They have fixed only a tiny part of the issues since my network issue list topic was started in year 2019.
Recently I added a comment about CubeF4 v1.27.1 in this topic.
2022-08-12 12:08 AM
I understand. Very sad. So ST's HAL-libraries is very bad to use?
2022-12-20 01:04 AM
Hi @Daniel Mårtensson ,
Thank you for your feedback.
The mentioned bug is confirmed.
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.
The solution is to move HTTP files to SRAM in by removing the "const".
Sorry for the delayed answer.
Regards
Mahdy
2022-12-20 09:32 AM
Where is the const data type? When will ST implement this bug fix in next STCubeMXIDE?
2022-12-22 03:24 PM
Is there any more information about this bug?