Skip to main content
YHong.2
Visitor II
April 21, 2021
Question

HardFault is occurred when I use DSP with FreeRTOS

  • April 21, 2021
  • 1 reply
  • 806 views

I am trying to run DSP Functions like as FFT with freeRTOS which use multiple tasks.

And HardFault is occurred from prvPortStartFirstTask() for calling FFT functions.

So I don't have any idea what i check..

Please help me which parts I will check..

Thank you.

This topic has been closed for replies.

1 reply

Walid ZRELLI
Visitor II
May 5, 2021

​Hello @YHong.2​ ,

I think your problem is due to the fact that the FPU is not activated.

You need to check the __FPU_USED and __FPU_PRESENT definitions which indicate  if an FPU is used or not and if is presented or not.

I hope this help you.

Walid