STMicroelectronics / STM32CubeH7

STM32Cube MCU Full Package for the STM32H7 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))
https://www.st.com/en/embedded-software/stm32cubeh7.html
Other
479 stars 298 forks source link

v1.11.2 changes to lan8742.c result in hardfaults #290

Closed Makin-Things closed 2 weeks ago

Makin-Things commented 1 month ago

Describe the set-up Custom Board STM32CubeIde 1.15.1

Describe the bug I have updated a project from FW 1.11.1 to FW 1.11.2 and now it hardfaults. If I revert the single file Drivers/BSP/Components/lan8742/lan8742.c the hardfault no longer occurs. Also with the v1.11.2 version of the lan8742.c file if I set a breakpoint on line 124 and step through the function and hit continue form line 130 all is good, I suspect this is because of the delay introduced by stepping through the code.

From the 1.11.2 release notes:

BSP Components BSP component lan8742 Remove unnecessary delay.

I think there is an argument that this was the wrong thing to do and the delay is in fact necessary.

ASEHSTM commented 1 month ago

Hello @Makin-Things,

Thank you for your report. Could you please specify the exact microcontroller used on your custom board?

With Regards,

Makin-Things commented 1 month ago

Hi @ASEHSTM

The exact device being used is a STM32H725IGT6.

Cheers Simon

ASEHSTM commented 1 month ago

ST Internal Reference: 184744

ASEHSTM commented 4 weeks ago

Hello @Makin-Things,

We don't have the problem on our side with the ST applications. Could you please provide us with more information about your use case, your ethernet_link_thread function, and in which function you are experiencing the hard fault?

With Regards,

ASEHSTM commented 2 weeks ago

Hello @Makin-Things,

Any update regarding this thread?

With regards,

ASEHSTM commented 2 weeks ago

Hello @Makin-Things,

Please allow me to close this thread as no activity. You may reopen it at any time if you have any details to share with us. Thank you for your comprehension.

With Regards,