Does this work with the existing stm32h7xxhaleth files without any modification?
Yes it was developed to be used with the STM32H7xx HAL library, including the ETH module.
For the combined driver for STM32F4/STM32F7, I changed the ETH module, mostly to allow for zero-copying:
– Packets are received directly in a
– And when sending a packet, DMA will work with the
as provided by the IP-task.
Hence the driver doesn’t copy any network packet.
I like Thomas’ module because it shows a NetworkInterface.c in it’s simplest form.
It is quite essential though to add initialisation of the PHY, and also it is important to monitor the Link Status of the PHY. Without that it will also work, but only as long as the device is connected to a switch or a router.
If you want, send me an email and I will help you to make this working. My address is hein [at] htibosch [dot] net