AnsweredAssumed Answered

HardFault_Handler exception...

Question asked by aminov.yoav on May 16, 2013
Latest reply on May 21, 2013 by Clive One
Hello,
I'm using the STM32F4 on the discovery evaluation board.
I wrote a simple function that calculates the mean of a vector. When the code is starting to make the summation it goes to HardFault_Handler...

Here is the mean function, a moment before the exception:
P1.png

When I hit F10, the code goes to void HardFault_Handler(void) at stm32f4xx_it.c.

Here is the call of the function:
SNR = CalcMean((float*)local_data_buffer.data_struct.handVISNRBuff,5);

Any Ideas?!

Thanks!
Yoav

Outcomes