|
MDK-Professional includes a Flash File System that allows your embedded applications to create, save, read, and modify
files in standard storage devices such as ROM, RAM, Flash ROM, and SD/MMC/SDHC Memory Cards.
关键是支持NANDFLAH,这个比较给力。
NAND Flash Translation Layer
The NAND Flash Translation Layer (NFTL) maximize the lifespan of adevice by redirecting new writes to different physical blocks.
NFTL comprises ofwear leveling algorithms, bad block management, and error controlalgorithms.
FlashFS NFTL Features[li]Wear leveling.[/li][li]Bad block management.[/li][li]Software Error Correction Code (ECC) for SLC NAND Flash.[/li][li]NAND types: SLC, MLC, TLC.[/li][li]Up to 65536 blocks.[/li][li]Up to 256 pages in block.[/li][li]Power fail safe.[/li][li]OneNAND support. [/li]
Wear Leveling[li]Extends the life of the NAND Flash device. NAND Flash memory wears out ifdata are written often to the same address.[/li][li]Handles dynamic and static data erasures and re-writes such that NAND memoryblocks do not fail prematurely. [/li]
Bad Block Management[li]Handles initial and run-time bad blocks. Run-time have invalid bits and areskipped during an erase or program cycle. [/li]
Error Correction Codes
1. Error detection and correction codes protect data from corruption.
2. Redundant information is calculated before the data is written and added tothe Spare area of the page.
When the data is read, the redundant information isrecalculated and compared to the data stored in Flash.
3. The Hamming ECC algorithm is implemented in the NFTL for SLC NAND Flash onlyand for a fixed size of one sector or 512 bytes.
The redundant information iscalculated so that a balance of correction power and efficiency is achieved.
|
|