Skip to main content
Visitor II
September 22, 2022
Question

Ethernet not working on STM32h747 disco board

  • September 22, 2022
  • 4 replies
  • 1488 views

Hi All,

We are using latest CubeH7 V 1.10.0,

we have followed community.st.com/s/article/How-to-create-project-for-STM32H7-with-Ethernet-and-LwIP-stack-working and community.st.com/s/question/0D50X0000BOtfhnSQB/how-to-make-ethernet-and-lwip-working-on-stm32.

but the Ethernet is not coming up, the HAL_ETH_Init() call is stuck in checking for software reset, * Wait for software reset */

 while (READ_BIT(heth->Instance->DMAMR, ETH_DMAMR_SWR) > 0U) ,

Any pointer for this issue?

Thanks & Regards,

S.H.

    This topic has been closed for replies.

    4 replies

    Graduate II
    September 22, 2022
    SH.3Author
    Visitor II
    September 27, 2022

    Thanks @Piranha​ ,

    There was no clock from phy, now this issue is resolve,

    Further during communication testing we are observing tx semaphore value is going bad, pxQueue->uxItemSize is not zero, and communication stops, any idea on this,

    0693W00000SwJ2nQAF.pngRegards,

    S.H.

    Visitor II
    September 27, 2022

    Very often this kind of (internal) data corruption is caused by stack overflows. Did you enable stack checking or verified that you provide sufficient stack to.your tasks ?

    2nd cause are incorrect NVIC interrupt priorities not matching FreeRTOS configuration.

    Did you also define configASSERT for development ?

    Graduate II
    September 28, 2022

    Recently another bug was reported:

    https://community.st.com/s/question/0D53W00001oImr4SAC/bug-stm32-lwip-ethernet-driver-tx-deadlock

    And have you fixed all multi-threading related flaws?