We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
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?