Memory Management
Handling memory is one of the most important tasks for an embedded system programmer, and surely the most important to take into account in every phase of the development of a system. This chapter is about the models commonly used to manage memory in an embedded system, the geometry and the mapping of the memory, and how to prevent issues that could compromise the stability and safety of the software running on the target.
This chapter is divided into four parts:
- Memory mapping
- The execution stack
- Heap management
- The memory protection unit
By the end of this chapter, you will have an in-depth knowledge of how to manage the memory in an embedded system.