2024-08-17 06:50 AM
I built a simple stm32 project for a Nucleo-F767ZI from the STM32CubeIDE 1.16.0 or 1.14.0 with all peripherals initialized with their default values
- FREERTOS CMSIS_V1 or CMSIS_V2 API
- LWIP (dhcp / static ip address) LAN8742 PHY driver
- ETH in RMII mode (cannot be changed)
With the built-in debugger I was able to find that the function ETH_SetDMAConfig() triggered the HardFault_Handler at line 2833 (file Drivers/STM32F7xx_HAL_Driver/Src/stm32f7xx_hal.eth.c)
I know, there have been issues with the ethernet driver in the past but not recently.
The demo package LwIP_HTTP_Server_Netconn_RTOS runs ok
Any help would be appreciated