cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_RCC_OscConfig ends in HardFault_Handler

EGonc.2
Associate II

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

1 REPLY 1

Hello @Community member​,

Could you please share your example for further check?

Thanks in advance.

Walid.