Watchdogs are a critical and important component in developing a robust and fail-safe embedded system. In many circumstances, I run into development teams that either have not fully thought through their watchdog strategy or have their watchdog disabled. In order to improve system robustness and ensure that the watchdog can detect a system fault, here … Continue reading Tips and Tricks for Watchdog Design
Tag: watchdog
Tips and Tricks – Best Practices for Programming Defensively in C
Best practices are meant to be fundamental, essential practices that every firmware application should follow. Programming defensively has always been an important software skill. Below are a few best practices for programming defensively in C that firmware developers should keep in mind: Check inputs and outputs of functions Check the return value of functions (they … Continue reading Tips and Tricks – Best Practices for Programming Defensively in C