Fail Safe Embedded File Systems
Using SD card storage media in embedded systems presents risks that may lead to serious loss of valuable data or, worse, corruption of the file system with no hope of recovery. In embedded applications this is an unacceptable scenario but, with careful design, it is a situation that never need occur. Using a fail-safe file system is one way to alleviate this problem but no file system can reduce the risk to zero on its own – it must be part of a system level approach to reliability. At the most fundamental level, for any system to be considered truly fail-safe, all layers of the system must be predictable and specify required behavior. Using an HCC fail-safe file system in conjunction with Swissbit’s specially designed range of industrial SD cards with integrated power management provides a guarantee of reliability.
Click to download a brief PDF overview describing how to implement a completely reliable fail-safe SD Card based file system based on Swissbit Industrial SD cards and HCC’s SafeFAT file system. The document describes the approach required to ensure that all data and file system can be handled with complete reliability.
Visit our ‘Download Center’ to download an Application Note containing a detailed technical description of how to achieve fail-safety and how Swissbit SD cards can be used as part of a completely reliable SD Card based file system. The Application note explains how system level design is fundamental to achieving reliable data storage and file system integrity.
Watch this video to see an STM32 based demo of a fail-safe file system running an extended read/write/erase test next to a generic file system and store bought SD Card. The generic system fails frequently when simple fault injection takes place and the fail-safe system using SafeFAT continues to function correctly under all test conditions.