cancel
Showing results for 
Search instead for 
Did you mean: 

Ethernet not working on STM32h747 disco board

SH.3
Associate

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.

4 REPLIES 4
SH.3
Associate

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.

hs2
Senior

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 ?

Piranha
Chief II

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?