节点文献

嵌入式系统的存储卡接口技术研究

Research on Interface Technology of Storage Card in Embedded System

【作者】 海深

【导师】 陆阳;

【作者基本信息】 合肥工业大学 , 计算机应用技术, 2006, 硕士

【摘要】 在嵌入式系统的工业、军事及个人应用中,许多场合需要使用存储器来存储大量的数据,而且要求断电时能够保存数据。存储卡的特点刚好满足了嵌入式存储的要求:体积小、功耗低、非挥发、可靠性高以及耐用性好。并且随着嵌入式技术的发展,硬件设备价格的下降,嵌入式系统存储能力迅速提高,应用中出现越来越复杂的数据资源需要管理,因此嵌入式文件系统的重要性显得更加突出。 论文首先概述了嵌入式文件系统和存储卡的应用现状,在LPC2210和CF卡接口上实现对CF卡操作的底层驱动,主要包括:对CF卡的检测、复位、初始化和对寄存器的操作,提供给上层文件系统调用的接口函数。 对FAT16文件系统进行了适当的裁剪,使之更适合嵌入式系统。为了提高文件系统的可维护性及模块化程度,将整个系统划分为若干个相对独立的模块,在整合各个模块的基础上,实现了基于FAT16的嵌入式存储系统。为了满足实际应用需求,从减少存储器操作的等待时钟、修改底层驱动程序和文件系统实现函数等多个角度对该存储系统的性能进行了优化。 此外,为了解决文件系统的一致性问题,在比较了同步写和原子更新等恢复技术的基础上,结合嵌入式存储的自身特点,提出了日志记录的恢复机制。

【Abstract】 In embedded systems of industry, military, personal and other many application occasions, the memorizer is used to store a large amount of data, and the data can be preserved when power is off. Storage cards features exactly meet the requirements of embedded storage: Small size,low energy consumption, non-volatile, high reliability and good durability. Also, with the development of the embedded technology and the lower price of the hardware, the storage ability of the embedded system improves rapidly. There’re so many complicated data resources need to be managed that the importance of an embedded file system will become more pronounced.This paper first outlines the status of embedded file systems and the application of storage cards. Based on interface between LPC2210 and CF card, bottom-layer driver is implemented for manipulating CF card, it mainly comprises detection, reset, initialization for CF card, and operation for its registers, also it provides interface functions provided to the upper parts of the file system.FAT 16 is scaled to make it more suitable for the embedded system. In order to improve maintainability and modularization of the file system, the whole system is divided into several modules. On the basis of integration in all modules, an embedded storage system that is compatible with FAT 16 is achieved. To meet the needs of practical application, the performance of the storage system is optimized by means of reducing the waiting time of memory operations, modifying bottom-level driver and functions.In addition, in comparison with synchronous writes and atomic updates, considering embedded storage characteristics, it presents log record recovery mechanism for consistency of the file system.

【关键词】 嵌入式系统LPC2210CF卡接口技术FAT16
【Key words】 Embedded systemLPC2210CF cardInterface technologyFAT 16
  • 【分类号】TP368.1
  • 【被引频次】7
  • 【下载频次】354
节点文献中: