O'Reilly logo

Embedded Systems Architecture by Daniele Lacamera

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Summary

Memory management in an embedded system is the source of the most critical bugs, and for this reason particular attention must be dedicated to designing and implementing the correct solutions for the platform in use, and application purposes. The execution stack should be carefully placed, sized, and delimited when possible.

Systems not providing dynamic allocations are safer, but most embedded systems benefit from dynamic allocation techniques. Programmers must be aware that errors in memory handling can be critical for the system, and very difficult to spot, so extra care is required when the code handles dynamically allocated pointers.

The MPU can be a valid tool to enforce access permissions and attributes on memory regions, and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required