Skip to main content
PDeva.1
Visitor II
September 11, 2020
Solved

Free RTOS not working in stm32F4 discovery

  • September 11, 2020
  • 1 reply
  • 1000 views

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.

This topic has been closed for replies.
Best answer by Imen.D

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

1 reply

Imen.DBest answer
ST Technical Moderator
September 15, 2020

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

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks