cancel
Showing results for 
Search instead for 
Did you mean: 

BUG: Nucleo STM32 F401RE + FreeRTOS + STM32CubeMX 1.4.0 = HardFault

DMårt
Lead

Hello!

I found a bug with the Nucleo STM32 F401RE + FreeRTOS + STM32CubeMX 1.4.0. It gives hardfault error. I have posted all information here:

https://electronics.stackexchange.com/questions/512612/hardfault-with-freertos-at-stm32-new-project

Thank you.

STM32MP151AAC3 custom board with STM32-OS as operating system: https://github.com/DanielMartensson/STM32-Computer
10 REPLIES 10
JChoi.4
Associate

In this morning, I found a cause of the problem.

I realized that STM32CubeIDE Ver. 1.4 might made HardFault_Handler() error with FreeRTOS, but Ver.1.3 did not this. I guess Ver. 1.4 got a problem. Anybody who got a problem with using a Ver. 1.4 for FreeRTOS do a down-grading to Ver. 1.3, you can enjoy a programming without the fear of HardFault_Handler() error.

Best regards,

Jongwoon