![]() In the Register window, the NVIC:CFSR (Configurable Fault Status Register) shows that an imprecise data access error has occurred. In the Call Stack window, you can see which line of code that was executed when the HardFault occurred. This leads to HardFault exceptions at "random" places, at instructions that are normally valid. In this example, the CPU clock on a Cortex-M3 board has been set to a very high frequency. DiscussionÄifferent fault scenarios are described in the examples below. Typically, HardFault is used for unrecoverable system failures. HardFault refers to all classes of faults that cannot be handled by any of the other exception mechanisms. The purpose of this Technical Note is to show how HardFault errors can be debugged using IAR Embedded Workbench for Arm.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |