cancel
Showing results for 
Search instead for 
Did you mean: 

Free RTOS not working in stm32F4 discovery

PDeva.1
Associate

I have created a basic project using STM32Cube IDE to turn on LED ON and OFF.

Successfully compiled.But when I debug the project, the processor jumps to the Hard Fault Handler.

So I checked the Fault Analyzer window, it shows that BUS,Memory or Usage Fault forced and PC points to the this function "prvPortStartFirstTask".

I am not sure that what kind of problem has occurred.

1 ACCEPTED SOLUTION

Accepted Solutions
Imen.D
ST Employee

Hello @PDeva.1​ ,

You should manually set priorities as recommended in these discussions: Link1 and Link2.

Our team is working on this issue to improve STM32CubeMx tool.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen

View solution in original post

1 REPLY 1
Imen.D
ST Employee

Hello @PDeva.1​ ,

You should manually set priorities as recommended in these discussions: Link1 and Link2.

Our team is working on this issue to improve STM32CubeMx tool.

Best Regards,

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen