标题: 在WinCE上结合压缩法与SWL改善快闪记忆体磨损平均的方法
A method combing compression and SWL to improve wear leveling in WinCE
作者: 林诗凯
Lin, Shi-Kai
张立平
蔡文锦
Chang, Li-Pin
Tsai, Wen-Jiin
资讯学院资讯科技(IT)产业研发硕士专班
关键字: 快闪记忆体;压缩;磨损平均;Flash Memory;Compression;WinCE;Wear Leveling
公开日期: 2008
摘要: 由于快闪记忆体的写入特性,储存资料前必须先抹除(Erase)区块,所以一般用于传统硬碟的档案系统无法直接套用于快闪记忆体;因此若我们希望可以沿用传统的档案系统,可藉由使用Translation Layer使档案系统将快闪记忆体看成一般的传统硬碟。

在WinCE嵌入式系统中,使用FAL(Flash Abstraction Layer) 与FMD (Flash Media Driver) 的架构,来处理档案系统与快闪记忆体之间逻辑位址与实体位址的对应、以及实作对快闪记忆体的I/O操作。但缺乏一个有效的方式,避免快闪记忆体区块磨损不平均的问题。由于区块抹除有一定的次数(Endurance),长期抹除某些固定的区块 (Hot Block),最终将导致该区块损毁,并缩短快闪记忆体的使用寿命;因此本篇论文以不修改既有FAL Source Code为前提下,透过新增IFMD (Internal Flash Media Driver),将磨损平均演算法整合至WinCE FAL与FMD架构中,并在IFMD中针对不常被修改的资料(Cold Data)执行区块压缩以产生额外可用的区块(Hidden Block)辅助SWL(Static Wear Leveling)运作达成快闪记忆体磨损平均(Wear Leveling)且降低SWL执行成本的目的,以维护快闪记忆体的使用寿命。
Because of the writing characteristic of Nand flash memory, it is necessary to erase blocks before writing data. Hence, the file system of hard disk is not appropriate for Nand flash. Transition Layer can take flash memory as normal hard disk for continually using traditional file system.

In WinCE embedded system, Flash Abstraction Layer (FAL) and Flash Media Driver (FMD) are used to map logical address to physical address, and implement the I/O control of flash devices. However, there is no efficient method to avoid the problem of uneven flash blocks erasing. Because of the endurance of block erasing, overly erasing of hot blocks will damage those blocks and reduce the life time of flash devices. Hence, under the premise of not modifying FAL source code, this thesis uses Internal Flash Media Driver (IFMD) to integrate wear leveling algorithm to WinCE FAL and FMD architecture. Compress cold data blocks, which are not often modified, to produce useful hidden blocks for achieving wear leveling, reducing the overhead of SWL, and extending the lifetime of Nand flash memory.
URI: http://140.113.39.130/cdrfb3/record/nctu/#GT079690506
http://hdl.handle.net/11536/44136
显示于类别:Thesis