Skip to main content
EGonc.2
Associate
March 19, 2021
Question

HAL_RCC_OscConfig ends in HardFault_Handler

  • March 19, 2021
  • 1 reply
  • 742 views

Hi

I'm using a Nucleo-144 with a STM32F767ZI.

I have included in my project FreeRTOS and FreeRTOS-IP although that may not be related with the problem, since the crash happens before reaching the initialisation of FreeRTOS.

My problem seems to be that HAL_RCC_OscConfig() ends in the HardFault_Handler.

Strangely I was able to go through HAL_RCC_OscConfig without crashing by single-stepping with the debugger.

Any idea to solve this?

thanks

This topic has been closed for replies.

1 reply

Walid ZRELLI
Visitor II
June 3, 2021

Hello @Community member​,

Could you please share your example for further check?

Thanks in advance.

Walid.