Global Sources
EE Times-Asia
Stay in touch with EE Times Asia
EE Times-Asia > Memory/Storage

Validate embedded flash memory for power fault resilience

Posted: 06 Dec 2011 ?? ?Print Version ?Bookmark and Share

Keywords:embedded flash? power fault resilience? Validation?

Validation of embedded flash memory products for power fault resilience establishes their ability to reliably endure the power faults that embedded system designs inevitably encounter during their normal operation. Fortunately, there are systems available that specifically demonstrate power fault resilience of embedded flash memory products.

Embedded systems impose requirements on flash memory products that consumer-grade flash products do not. One significant example is the ability to reliably endure power faults during any mode of operation. While not a desirable operating condition, the flash memory products supporting embedded systems must be specifically designed and validated to endure power faults without any loss or corruption of saved data. This is especially true for critical data such as the system's firmware.

As a result, embedded flash memory products should be holistically designed for optimal resilience to power faults. Specifically, both the hardware and firmware used in these products must be designed in concert to support power faults. For example, voltage detection circuits have to ensure that the flash product's controller halts internal flash write operations when power faults occur, and its firmware must be designed to recover flash from any state of interruption.

Flash memory designs also need to demonstrate their ability to endure power faults under all operating modes to be considered validated and acceptable for use in embedded systems. A system that is specifically designed for this validation is shown in figure 1.

Figure 1: System for power fault cycling and resilience validation.

In this method, a host computer is used to validate an embedded flash memory design. The host computer system supports a bus that is compatible with a flash device for read/write transfers. A specially designed software application continually writes and validates (reads) data to and from the flash product. This software application also controls power to the flash product. At randomly timed intervals, power is abruptly removed from the product. After the flash device power is fully discharged, the application reconnects power and reestablishes communications with the flash product. Once communications are reestablished, the software application validates the data on the product. (This includes checking the data that was written during previous cycles as well as checking a read-only area that represents firmware storage.) An example system for validation of eUSB products is shown in figure 2.

Figure 2: Example Power Fault Cycling and Resilience System (eUSB).

Because of the asynchronous nature of the induced power faults, all flash memory modes of operation are eventually subjected to power faults with sufficient cycles using this method. Operations with a wide array of flash device designs have demonstrated that write operations are by far the most susceptible to data loss and corruptions in inadequately designed flash memory devices. Some consumer-grade flash memory devices have been observed to fail with corrupted data in only a few cycles. In contrast, flash products designed for embedded applications may operate successfully for many hundreds of cycles; this is far more than they would be expected to endure in a fielded application.

Embedded systems place demands on flash memory devices that may exceed those provided by consumer-grade flash memory products. Only with a specific designed validation system can an embedded flash memory device be demonstrated to meet these demands.

About the author
Thomas McCormick has eighteen years experience designing PC and embedded computer systems. Twelve of these years have focused on flash memory product research and development at SMART Modular Technologies. Tom is also currently pursuing his PhD in Computer Engineering at Northeastern University. His research is focused on flash memory and next generation non-volatile memory systems for ultra-reliable code storage in embedded applications.

To download the PDF version of this article, click here.

Article Comments - Validate embedded flash memory for p...
*? You can enter [0] more charecters.
*Verify code:


Visit Asia Webinars to learn about the latest in technology and get practical design tips.

Back to Top