2021-03-26 01:33 AM
Hello, dear colleagues!
I'm trying to build http server based on LWIP on Nucleo F429 board. An example from Cube repository works fine, also with my custom http data and paths, which I have included in example project. But, another CubeIDE generated project with same or, even, greater settings in lwipopts.h works much slower and generate lot of packet retransmittions. I have checked all interrupts priorities in both projects, priorities of tasks, turn on lwip_stats, which shown absence of errors and so on. It's enough of memory and buffers. But have no result. There is the same problem on F746 DISCO. Please, indicate me direction for my eyes. Thank you in advance.
2021-03-30 01:07 AM
I don't know why, but problem is gone when I have generated project in STM32CubeMX instead of STM32CubeIDE. Now my server works perfect. Have you any ideas?
2021-03-30 03:46 PM
Using different versions of the Cube F4 library?
Have you tried to compare the generated sources and project settings?
-- pa
2021-03-30 04:12 PM
> Have you any ideas?
Low detail, so can only guess.
PBUF_POOL_SIZE too small and TCP acks were dropped?
2021-04-02 05:16 AM
> Please, indicate me direction for my eyes.
All of that and more is documented long ago in this topic:
2021-04-19 05:18 AM
Hello, dear colleagues!
The same problem has been detected with STM32F427.
LWIP Stack doesn't work properly in STM32Cube F4 Package Version 1.26.1 with CubeMX Version 6.2.1.
With STM32Cube F4 Version 1.25.2 with CubeMX 6.1.1 and 6.1.2 everything works fine!
My dynamic html page (chunked) 60kb in total (with font, images and scripts) loading 200-250ms without any retransmits.