Series : Bridging Software Craftsmanship and Bare-Metal Firmware (Trusted Firmware – A)

Part 1: The Foundations of Firmware Construction Introduction: What is Software Construction? In this inaugural part of our series on Trusted Firmware-A (TF-A), we begin by examining Software Construction, the central, hands-on activity of creating software. While "coding" is often used as a shorthand, true construction involves substantial professional judgment. It is not merely the mechanical… Continue reading Series : Bridging Software Craftsmanship and Bare-Metal Firmware (Trusted Firmware – A)

Monitor Mode in ARM Architecture (Context Switching – Monitor Mode and Secure World) (Part 4)

In the world of ARM TrustZone, Monitor Mode is the critical gatekeeper that carefully manages transitions between the Secure World and the Normal World. This mechanism is important for ensuring system security as only authorized transitions are allowed. When entering from the Normal World into Monitor Mode, the process is strictly controlled and often triggered… Continue reading Monitor Mode in ARM Architecture (Context Switching – Monitor Mode and Secure World) (Part 4)

Monitor Mode in ARM Architecture (Context Switching – Monitor Mode and Normal World) (Part 3)

A transition into Monitor Mode can take place from both the Normal World (Non-secure state) and the Secure World provided there are proper conditions. From the Normal World, the entry is tightly controlled and is allowed only by specified exceptions or via the SMC instruction. From the Secure World, the entry is more relaxed and… Continue reading Monitor Mode in ARM Architecture (Context Switching – Monitor Mode and Normal World) (Part 3)

Monitor Mode in ARM Architecture (Context Switching) (Part 2)

Context Switching in ARM TrustZone Architecture Switching between contexts is a critical procedure in an ARM TrustZone based system. It enables secure execution between the Secure & Non-secure worlds. It involves saving and restoring the processor and other system resources while switching between the two states. Thus, integrity and system security are ensured to prevail… Continue reading Monitor Mode in ARM Architecture (Context Switching) (Part 2)

Monitor Mode in ARM Architecture (Part 1)

Introduction The ARM architecture is one of the architectures that are the most versatile in handling a very wide range of computing tasks ranging from embedded systems to high performance applications. Another feature of the ARM processors includes the definition of multiple processor modes, each defined to facilitate execution of different types of software as… Continue reading Monitor Mode in ARM Architecture (Part 1)