MD2202-D32-X-P SanDisk, MD2202-D32-X-P Datasheet - Page 14

no-image

MD2202-D32-X-P

Manufacturer Part Number
MD2202-D32-X-P
Description
Manufacturer
SanDisk
Datasheet

Specifications of MD2202-D32-X-P

Lead Free Status / RoHS Status
Compliant
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.
Static Wear-Leveling
Areas on the flash media may contain static files, characterized by blocks of data that remain
unchanged for very long periods of time, or even for the whole device lifetime. If wear-leveling
were only applied on newly written pages, static areas would never be cycled. This limited
application of wear-leveling would lower life expectancy significantly in cases where flash memory
contains large static areas. To overcome this problem, TrueFFS forces data transfer in static areas as
well as in dynamic areas, thereby applying wear-leveling to the entire media.
5.2
TrueFFS uses algorithms based on “erase after write” instead of "erase before write" to ensure data
integrity during normal operation and in the event of a power failure. Used areas are reclaimed for
erasing and writing the flash management information into them only after an operation is
complete. This procedure serves as a check on data integrity.
The “erase after write” algorithm is also used to update and store mapping information on the flash
memory. This keeps the mapping information coherent even during power failures. The only
mapping information held in RAM is a table pointing to the location of the actual mapping
information. This table is reconstructed during power-up or after reset from the information stored
in the flash memory.
To prevent data from being lost or corrupted, TrueFFS uses the following mechanisms:
5.2.1 Error Detection/Correction
TrueFFS implements a Reed-Solomon Error Correction Code (ECC) algorithm to ensure data
reliability. Refer to Section 3.4 for further information on the EDC/ECC mechanism.
14
When writing, copying, or erasing the flash device, the data format remains valid at all
intermediate stages. Previous data is never erased until the operation has been completed and
the new data has been verified.
A data sector cannot exist in a partially written state. Either the operation is successfully
completed, in which case the new sector contents are valid, or the operation has not yet been
completed or has failed, in which case the old sector contents remain valid.
Power Failure Management
Data Sheet, Rev. 3.9
DiskOnChip 2000 DIP
91-SR-002-42-8L

Related parts for MD2202-D32-X-P