MD2200-DCC-V-T M-Systems Inc., MD2200-DCC-V-T Datasheet - Page 11

no-image

MD2200-DCC-V-T

Manufacturer Part Number
MD2200-DCC-V-T
Description
Diskonchip 2000 Dip
Manufacturer
M-Systems Inc.
Datasheet
DiskOnChip 2000 DIP Data Sheet
5.1.2 TrueFFS Software Development Kit (SDK)
The basic TrueFFS Software Development Kit (SDK) provides the source code of the TrueFFS driver. It can be used
in an OS-less environment or when special customization of the driver is required for proprietary OSs.
5.1.3 File Management
TrueFFS accesses the flash memory within DiskOnChip 2000 through an 8KB window in the CPU memory space.
It provides block device API, by using standard file system calls, identical to those used by a mechanical hard disk,
to enable reading from and writing to any sector on DiskOnChip 2000. This makes it compatible with any file
system and file system utilities such as diagnostic tools and applications. When using the File Allocation Table
(FAT) file system, the data stored on DiskOnChip 2000 uses FAT-16.
Note: DiskOnChip 2000 is shipped formatted, and contains the FAT file system.
5.1.4
Bad-Block Management
NAND flash, being an imperfect storage media, contains some bad blocks that cannot be used for storage because of
their high error rates. TrueFFS automatically detects and maps bad blocks upon system initialization, ensuring that
they are not used for storage. This management process is completely transparent to the user, who remains unaware
of the existence and location of bad blocks, while remaining confident of the integrity of data stored. The Bad Block
Table in DiskOnChip 2000 DIP is stored in a protected area for ensured reliability.
5.1.5 Wear-Leveling
Flash memory can be erased a limited number of times. This number is called the erase cycle limit or write
endurance limit and is defined by the flash array vendor. The erase cycle limit applies to each individual erase block
in the flash device. After reaching the cycle limit, as given by the flash vendor, the erase block begins to make
storage errors at a rate significantly higher than the error rate that is typical to the flash.
In a typical application and especially if a file system is used, a specific page or pages are constantly updated (e.g.,
the page/s that contain the FAT, registry etc.). Without any special handling, these pages would wear out more
rapidly than other pages, reducing the lifetime of the entire flash.
To overcome this inherent deficiency, TrueFFS uses M-Systems’ patented wear-leveling algorithm. The
wear-leveling algorithm ensures that consecutive writes of a specific sector are not written physically to the same
page in the flash. This spreads flash media usage evenly across all pages, thereby maximizing flash lifetime.
TrueFFS wear-leveling extends the flash lifetime 10 to 15 years beyond the lifetime of a typical application.
Dynamic Wear-Leveling
TrueFFS uses statistical allocation to perform dynamic wear-leveling on newly written data. This not only
minimizes the number of erase cycles per block, it also minimizes the total number of erase cycles. Because a block
erase is the most time-consuming operation, dynamic wear-leveling has a major impact on overall performance. This
impact cannot be noticed during the first write to flash (since there is no need to erase blocks beforehand), but it is
more and more noticeable as the flash media becomes full.
11
Data Sheet, Rev. 3.7
91-SR-002-42-8L

Related parts for MD2200-DCC-V-T