This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Hard Fault handeling!

Dear friends,
I find a hard fault in my program. my compiler is IAR 7.40.3.
My MCU is stm32f103RBT6 and when communicating with sim900 GPRS modem through UART2 some times them MCU halts and when debugging I see it is in the Hard Fault Handler ISR.

I don't think it would be from overflow of stack because communication include very few bytes.

The debugger does not let me use break point in the program. Thanks if you help me to know what causes hard fault?