Chapter 21: Advanced topics

Abstract

This chapter covers a range of advanced topics, such as the estimation of the stack size, the prevention of stack overflows, semaphore/mutex operations, software optimization techniques (e.g., the handling of complex decision, bit data handling, etc.). It also covers how to execute part of an exception handler in unprivileged state and how to enable re-entrant interrupt handlers.

Keywords

Stack size analysis; Semaphores; Table branch; Unprivileged handler; Reentrant interrupt; Load-acquire instructions; Store-release instructions; Bit field: Semaphores; Mutex

21.1: Further information on stack memory protection

21.1.1: Determining the stack memory usage

Stack overflow is a common software issue ...

Get Definitive Guide to Arm Cortex-M23 and Cortex-M33 Processors now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.