HardFault_Handler() at stm32f0xx_it.c occur when i run a project with RTOS.
Dear STM support team.
My name is Dai. I am working at G-innovation Corporation.
Now I have a project using the STM Chip(STM32F0xx).
I use the STM32CubeMX (version 6.11.0) to create a project using the STM32F091VBT6 with CMIS_RTOS.
this project aims to study all CMSIS-RTOS APIs.
the function of the project include:
- 6 thread: "idle thread" to blink an LED at 0.5Hz.
"SWI thread: is reserved.
"dut1 thread" to send counter log to the PC over UART1, "dut2 thread", "dut3 thread" and "dut4 thread" as the same "dut1 thread".
mutex to protect the "debug_printf" function.
I received a "HardFault_Handler() at stm32f0xx_it.c 0x80033f4" after running it for several milliseconds.
I have attached my project, the UART log, and the Debug log to this post.
everybody helps me to debug and fix this bug.
Regards,

