how to sort hardfault error in stm32f0.....?
can anyone suggest a method to sort hardfault error.I went on commenting few lines to sort the problem and found that when the uart is continuesly receiving and transmitting data this occurs.
can anyone suggest a method to sort hardfault error.I went on commenting few lines to sort the problem and found that when the uart is continuesly receiving and transmitting data this occurs.
> I went on commenting few lines to sort the problem ...
This is a superficial trial-and-error approach with unknown success prospects.
Use a document like this: http://www.keil.com/appnotes/files/apnt209.pdf , and try to identify the reason.
> ... and found that when the uart is continuesly receiving and transmitting data this occurs.
Sounds like an invalid pointer access in your interrupt handler.
Perhaps ignoring the the buffer size limit.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.