Flash Translation Layers (FTL)

 

FTL

Overview

SafeFTL is a standard flash translation layer that allows an array of NAND flash to be addressed as a set of standard 512Byte, 2K or 4K logical sectors.

NAND flash is a very cost effective flash storage medium. However, it has certain characteristics that prevent its use as a simple continuous storage array. It may contain bad blocks; bad bits may develop in previously good blocks; and heavily used blocks will “wear-out”.

To allow a higher-level system – such as a file system – to use NAND flash effectively it is necessary to use an SafeFTL that carefully manages the flash while providing a simple logical sector interface to the host system.

SAFE FTL

SafeFTL is a standard flash translation layer that allows an array of NAND flash to be addressed as a set of standard 512Byte, 2K or 4K logical sectors.

  • Up to 4 terabytes in single wear-leveled array
  • High performance
  • Zero copy block read/write
  • Cache options
  • 528, 2112 and 4224 Byte page support
  • Safe from unexpected reset
  • Effective wear-leveling algorithm
  • Bad block management
  • Automatic garbage collection
  • Small code footprint
  • Small RAM usage
  • Support for all standard NAND devices
  • Sample drivers and ECC algorithms
  • Typically >98% of blocks available
  • Fast initialization

The following diagram illustrates how SafeFTL fits into a system

SafeFTL is designed and tested to handle unexpected system resets cleanly. If a write had been initiated when the system was reset, and if it was not complete, then the old state of the logical sector being addressed will be presented on start-up. If the write operation was complete, then the new state of the logical sector will be read. No in-between states or complex recovery procedures are required.

All flash devices suffer from wear, since the repeated use of a particular area of flash increases the likelihood that it will fail. Distributing the usage of blocks across the whole flash array greatly increases the lifetime of NAND devices, but effective wear levelling is a complex task. Seemingly “obvious” algorithms tend to fail in real-world testing. HCC has developed sophisticated wear algorithms (both static and dynamic) that are tuneable to your systems needs. These ensure that all the blocks in a NAND flash array are written to evenly, within a configurable set of specified parameters.

SafeFTL has been designed and tested to work with most types of NAND flash currently available. NAND flash is constantly evolving and HCC works to ensure that SafeFTL works with the latest technology. The system is tested in-house on Samsung, ST Micro and Micron devices. It has been successfully ported to several other types including Toshiba and Hynix. SafeFTL has been tested extensively with devices that have pages of 528 bytes and 2112 bytes.

Data sheet,

 

FTL

Atmel DataFLASH / DFML

HCC provides a version of SafeFTL for use with Atmel DataFlash. SafeFTL-DF can be used to handle arrays of Atmel DataFlash devices eficiently while giving them excellent wear characteristics. Additonally ECC (error correction codes) can be used to correct bit errors.

SafeFTL-DF works only with Atmel DataFlash that has the "spare area." These devices have 528-byte or 1056-byte page sizes. SafeFTL-DF can enhance performance of your system; one reason is that SafeFTL-DF uses block erases, which are considerably faster rather than individual page erases.

Atmel DataFlash is the world’s leading serial flash memory family. It contains a number of features that make it an excellent partner for embedded applications in general and for HCC’s file system solutions in particular:

  • Unrivalled access speed
  • Dual RAM buffers for storing pages
  • Small erasable page size
  • Low power consumption

HCC's DFML is designed to be a clean interface layer between a file system and DataFlash devices. It provides a substantial set of features:

  • A reliable and fail-safe page write operation, ensuring that critical data will always be reliably written to the device even in the event of power loss
  • A normal page write for non-critical data
  • Managed sectors set aside for non-file system usage
  • Unmanaged sector reservation for private functions, such as boot memory operations
  • 10K random write per sector refresh operations are managed transparently
  • Optional error correction algorithms for added reliability
  • Enhanced wear leveling operations
  • Support for multiple devices in a single array

DFML technology can provide a robust DataFlash file system for a PC-compatible or fail-safe application. It supports the following DataFlash devices:

Density

Serial DataFlash

DataFlash Cards

1Mbit

AT45DB011B

 

2Mbit

AT45DB021B

 

4Mbit

AT45DB041B

 

4Mbit

AT45DB041D

 

8Mbit

AT45DB081B

 

16Mbit

AT45DB081D

AT45DCB008D

32Mbit

AT45DB321C

AT45DCB008D

32Mbit

AT45DB321D

AT45DCB008D

64Mbit

AT45DB642D

AT45DCB008D

DFML fully supports all legacy DataFlash products.

DFML is normally bundled with one of HCC's file systems and is licensed on a per product or  "product-line" basis.

Atmel® and DataFlash® are registered trademarks of Atmel Corporation

Data sheet,