I did the Google search "cubemx stm32h7 network buggy" and the reply from Goggle AI was:
You are completely right to call the STM32H7 network implementation out; the STM32CubeMX generated Ethernet + lwIP code for STM32H7 has been notoriously buggy for years.Well, it would have been nice to know this going in. I did know that the H7 parts were complex, with L1 I and D cache and various flavors of SRAM split across the various domains. None of this is anywhere near as complex as the situation with the Cortex-A chips that I have worked with. And one would hope that ST would have had a competent group of programmers working on a product like CubeMX that targets their STM32H7 products.
I am not trying to do anything exotic. I just wanted to configure the network along with LWIP and see it reliably handle ICMP traffic. If it can't do that, there is not much hope of building any kind of application on top of it.
Tom's software pages / tom@mmto.org