AnsweredAssumed Answered

Problems with ISR priority and ethernet (STM32CubeMX + FreeRTOS + lwIP )

Question asked by gorup.crt on Jul 25, 2014
Latest reply on Jul 26, 2014 by gorup.crt
Hi,

recently I have used STM32CubeMX to generate framework (FreeRTOS, LwIP) for our platform based on STM32F429. Every except ethernet is working out pf the box.

When ethernet connector is not connected everything is running fine. Ethernet status gets from HAL_ETH_STATE_RESET to HAL_ETH_STATE_READY and the FreeRTOS is running just fine.

However, when I connect ethernet to the MCU board the FreeFROS will hang at
configASSERT( ucCurrentPriority >= ucMaxSysCallPriority ) in file port.c. Looking at the PC I can see that an ARP packet (with correct MAC and IP address) has been received from the MCU. Therefore I assume that ethernet is from the electrical point of view working.

Could this be a bug in configuration generated by STM32CubeMX?

Thanks, Crt


Outcomes