FreeRTOS+TCP NetworkInterface for STM32F7xx - hard fault after ethernet mac interrupt callback

Hi Hein,

thanks for your help hand.

I’m using the network interface from freertos repo:

what’s the difference between these two?

I have added HAL_ETH_MspInit() and enabled RMII, the breakpoint in ETH_IRQHandler() is being called, just hard fault after portYIELD_FROM_ISR()(both TxCpltCallback and RxCpltCallback):

void HAL_ETH_TxCpltCallback( ETH_HandleTypeDef *heth )
{
if( xEMACTaskHandle != NULL )
{
vTaskNotifyGiveFromISR( xEMACTaskHandle, &xHigherPriorityTaskWoken );
portYIELD_FROM_ISR( xHigherPriorityTaskWoken );
}
}

I will check the hard fault registers to identify the source of fault and let you know soon(together with my FreeRTOSConfig.h).

appreciate the help and thanks.