ROOTCASTLE / JOURNAL

The engineering journal

Practical thinking on software, security and physical systems. Explore design decisions, measurement methods and the engineering behind working systems.

Embedded systems

Designing a Watchdog That Actually Survives the Worst Case Reset Sequence

A watchdog timer is only as reliable as its integration with the system's reset architecture. This article examines the common failure modes of watchdog implementations and provides a systematic approach to designing a robust feed mechanism, managing timing margins, and validating resilience through hardware-in-the-loop testing.

7 min read
Read article: Designing a Watchdog That Actually Survives the Worst Case Reset Sequence →
Cybersecurity

Securing OTA Firmware Updates Against Rollback Attacks in Resource-Constrained Devices

Rollback attacks exploit the trust placed in firmware update mechanisms, forcing devices to accept vulnerable older versions. This article explains how to design a lightweight, nonce-based defense using cryptographic verification and monotonic counters suitable for constrained MCUs.

10 min read
Read article: Securing OTA Firmware Updates Against Rollback Attacks in Resource-Constrained Devices →

Search commands or pages