I am working on STM32H743VIT6 and using LAN8742 as phy. i generated the project using stmcube using repository stm32h7 1.5.0 . I used the same mpu and system clock configuration as in the ST examples. When I switched on the supply to mcu, the ping does not work. After pressing the reset button , ping started working.
Please find the attached system clock, mpu and lwipopts code.
Thank you, It worked but I had to introduce delay of 500 ms and 1 second in the initialization. I hope it works when I enable other modules of the MCU.
In other words it does not work and will not work in a foreseeable future, because the intellectual capability of HAL/Cube developers is too low to even understand these problems.
I have an identical problem to yours on the same processor (STM32H743VIT6). After powering my PCB, I have to reset the entire system to make the LAN8742A work properly.