STM32H743ZI - Bug in ethernetif.c ?
Hello!
I ported my projects from Atollic TrueSTUDIO® for STM32 (Version 9.3.0) and STM32CubeMX (Version 4.27.0) to STM32CubeIDE (Version: 1.0.2).
When testing my Application, Ethernet did not work until i changed the ethernetif.c file generated by STM32CubeIDE (Version: 1.0.2).
In Detail, i added a line in this function:
static err_t low_level_output(struct netif *netif, struct pbuf *p)Concretely, i added:
SCB_CleanInvalidateDCache();before the transmit function is executed:
HAL_ETH_Transmit(&heth, &TxConfig, ETH_DMA_TRANSMIT_TIMEOUT);This was done in my old project, which was generated by STM32CubeMX (Version 4.27.0).
The attached picture shows the differences in STM32CubeMX (Version 4.27.0) [LEFT] and STM32CubeIDE (Version: 1.0.2) [RIGHT].

Why do I have to add this line?
Best regards,
ser_u