摘抄---Block Device Drivers for Flash Memory Devices

本文介绍了闪存设备的块设备驱动。Windows CE 2.10及后续版本常使用闪存作为持久存储。ATA闪存和线性闪存是两种主要架构,ATA卡需块设备驱动,Windows CE提供ATADISK驱动;线性闪存通过闪存转换层(FTL)驱动,TrueFFS是Windows CE上的FTL软件组件。

Block Device Drivers for Flash Memory Devices


The first version of Windows CE was used solely on platforms with battery-backed RAM storage with a simple file system to manage the storage. However, Windows CE versions 2.10 and later are often used on embedded systems that require persistent storage and cannot depend on battery-backed RAM storage. As a solution Windows CE can use flash memory, which is the industry standard for nonvolatile storage in embedded applications.

The two leading types of flash memory architecture are ATA flash and linear flash memory. Both conform to the industry standard PC Card form factor, and they can be used interchangeably in existing PC Card sockets. However, there are significant differences between the two architectures that affect their performance on Windows CE.

ATA cards emulate the behavior of an ATA-style hard drive by means of linear flash memory components and a special microcontroller chip, which performs hardware emulation of an ATA-style hard disk. An ATA card appears as an ordinary hard drive to an operating system. ATA-style hard disks are block devices, and thus ATA cards require block device drivers in order to work with Windows CE. Windows CE provides a sample block device driver called ATADISK that works with block devices that conform to the industry standard Advanced Technology Attachment (ATA) specificiation. Most ATA flask disks will work with the ATADISK driver.

Linear flash memory takes its name from the fact that, unlike ATA-style flash, the individual storage locations form a contiguous range of memory addresses, each of which can be accessed directly. Thus, linear flash memory can be read directly as though it were RAM or ROM. Moreover, Windows CE uses a software driver layer to emulate a disk drive on linear flash memory devices; this eliminates the need for special controller hardware. Linear flash memory devices that operate in this block-oriented fashion use the driver layer to translate data to and from a block format that Windows CE can understand.

This driver layer is called the flash translation layer (FTL). The FTL software component implemented on Windows CE is provided by the TrueFFS driver from M-Systems, Inc. The TrueFFS driver exposes standard Windows CE stream interface functions to the operating system. Currently, the TrueFFS driver in Windows CE supports linear flash memory in several form factors: minicards, industry standard PC Cards, and built-in DiskOnChip devices. Linear Flash devices that are resident on system boards, also known as Resident Flash Arrays, are not currently supported as block devices by the TrueFFS driver.

转载于:https://www.cnblogs.com/nasiry/archive/2004/12/10/75295.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值