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.
HI,currently i am working on project based on stm32f407 chip.my development work has been stopped since two days as i have stuck in hard fault handler. Please guide me how to trace the fault ???i tried every possible way i could.but result in nothing.Pls help me out.thanks in advance
Hi Kiran,
If you use uVision, see application note 209 from Keil http://www.keil.com/appnotes/files/apnt209.pdf for debugging fault exceptions.
Chapter 12.5 of Joseph Yiu´s book "The definitive Guide to ARM Cortex-M3 and Cortex-M4 Processors, 3rd Edition" explains how to analyze Fault Exceptions.
Cortex-M processors are designed to be programmed entirely in C, but fault exceptions is one of those shadow areas where assembler instructions knowledge is required, at least for debugging.