2020-03-09 03:48 AM
Hello,
using the STM32H7 Ethernet with FreeRtos and LWIP results in not sent packages as the Optimization is Turned higher than -O0.
The lwip Stack ,for example, tries to send UDP Packages. Those packages never leave the STM32 and UDP data packets are not received either. Here the Error clearly lies in the Interface between HAL and LWIP ST provided.
i already disabled D-Cache and used some other proposals from the forum.
Are there any plans to rework this in the Future? Does the HAL at least work, so we can write our own Interface?
2020-03-11 11:52 PM
> Does the HAL at least work
For H7 definitely... no! And without complete rewrite never will.
> Are there any plans to rework this in the Future?
For F1, F2, F4 and F7 series ST's brainless code monkeys have not been able to make a working Ethernet/lwIP implementation since year 2007. H7 has different ETH peripheral and for that they have made new code, which is much worse that the older already bad code.
https://community.st.com/s/question/0D50X0000C6eNNSSQ2/bug-fixes-stm32h7-ethernet
2020-03-31 02:23 PM
Hi Piranha
I'm attempting to add libwebsockets on top freertos -> lwip on an H7. This is new project and I'm starting with STM32CubeIDE, and it appears that the generated lwip code is incomplete with many missing headers or headers with invalid paths.
Is is possible to get an ethernet/lwip interface working? Can you share any generated code/project that you patched?
Thank you
2020-04-01 04:54 AM
I'm working on F7 and don't have any custom code for H7, but in the first link, I gave, Alister shares his code for H7. Also I don't waste my time on patching ST's useless kindergarten level HAL/CubeMX code because it's unproductive. I write my own correct, simple and flexible code. The result can be seen here:
2023-11-30 12:19 AM
i have the same problem with stm32h725. I can not find plaform for stm32h725 in mbed and platformio. So i must us freeRTOS with HAL. Ethernet for this MC has al lot of problems. is there any solution?