STMicroelectronics / STM32CubeF4

STM32Cube MCU Full Package for the STM32F4 series - (HAL + LL Drivers, CMSIS Core, CMSIS Device, MW libraries plus a set of Projects running on all boards provided by ST (Nucleo, Evaluation and Discovery Kits))
Other
897 stars 424 forks source link

stm32f407vgt6 freertos ethernet code generated from cubemx hang out indefinetly #179

Closed learncodingforweb closed 2 months ago

learncodingforweb commented 2 months ago

Describe the set-up Board STM32F407VGT6 Discovery board STM32CubeIDE Version: 1.16.0 Build: 21983_20240628_1741 (UTC) OS: Linux, v.6.8.0-40-generic, x86_64 / gtk 3.24.33 Java vendor: Eclipse Adoptium Java runtime version: 17.0.11+9 Java version: 17.0.11 STM32CubeMX Version 6.12.0

Describe the bug (HAL_ETH_Transmit_IT(&heth, &TxConfig) == HAL_OK) { while(osSemaphoreAcquire(TxPktSemaphore, TIME_WAITING_FOR_INPUT)!=osOK)

{
}

HAL_ETH_ReleaseTxPacket(&heth);

} else { pbuf_free(p); } it wait indefinitely on configASSERT( pxQueue->uxItemSize == 0 );? Behaviour is unpredictable. do not know when this problem comes.

How To Reproduce select stm32f407vgt6 , enable RMII, enable freertos and lwip stack. For more details, See repository https://github.com/learncodingforweb/stm32f407_httpd_freertos

ASEHSTM commented 2 months ago

ST Internal Reference: 189333

ASEHSTM commented 2 months ago

Hello @learncodingforweb,

The code generated from CubeMX is not aligned with the latest version of the Cube firmware. This issue has been tracked internally and will be fixed in the upcoming release of CubeMX. Therefore, please allow me to close this issue.

Thank you for your understanding. With Regards,

learncodingforweb commented 2 months ago

Waiting for new release and i will check in new release and report, if error persist