Research and Realization of the Implementation of Mass Storage Device in Embedded System
|School||East China Normal University|
|Course||Applied Computer Technology|
|Keywords||Embedded system Mass storage device Wear-leveling Garbage collection ATA FFS FAT USB|
With the rapid development of the processor technologies and embedded applications such as communication products, electronic consumer good, etc., embedded systems is penetrating into the every aspect of social living space. Many embedded systems involved a huge amount of data. Mass data storage and management is becoming more important. Many embedded systems require huge volume of date storage, fast data access speed and also the most convenient way of data share and data exchange. The above is introduced at the beginning of this thesis, and the paper explains the reason why doing research on the implementation of mass storage device in embedded system is necessary. The several aspects of the research are also mentioned here.In the main part of this thesis, two general mass storage devices are introduced and some related technologies are analyzed in detail, including the physical features and interface of IDE device and the physical features of NAND Flash. In succession, technologies relate to huge amount of data storage and management are analyzed in detail, including the theory and structure of FAT file system, and of the special flash file system FFS for NAND Flash. Last, in order to exchange and share data easily with others system through USB, the USB protocol are described in detail.In the following part, this thesis described a structure model for applications and also realized it in steps. ATA disk and NAND Flash are two most general devices of these mass storage devices. This paper realized a mass data storage and management system on IDE disk and NAND Flash. Specially, the data management is realized according to the principle of window’s file system FAT. The NAND Flash file system (FFS) is also realized. The USB for Mass storage device is also implemented here in order to share and exchange data with other systems easily. Last, this paper analyzed the performance of the systems. The results of these analyses can provide reference in practical applications.