cancel
Showing results for 
Search instead for 
Did you mean: 

HardFault is occurred when I use DSP with FreeRTOS

YHong.2
Associate

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.

1 REPLY 1

​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