The ARM Cortex-M Processor Series have a number of built-in features that can enable software developers to create reliable systems. For example, the Memory Protection Unit (MPU), shadow stack pointer and fault exception handling can, for example, prevent a single error event from manifesting into a complete system failure. The fault detection features enables a number of error conditions to be detected, and the fault exception handlers can then be used to handling the errors, or to provide diagnostic information to help debug the situations. In this presentation, various usage models for the MPU and various stack configuration techniques are covered, and various considerations for creating a HardFault exception handler for systems with high reliability is also considered.
This presentation by jyiu (Senior Embedded Technology Specialist, ARM) and wintercham (CPU Product Manager, ARM) explains various usages of the Memory Protection Unit (MPU) in different embedded systems, how to setup the stack and what software developers need to consider when creating a HardFault Handler in their application codes.
Have a question for Joseph? Be sure to add your question to this blog Interview and Question Time with Joseph Yiu
Is there any audio recording of this session? Would be good to listen to the explanation.