ARM-based embedded data storage system

Author
WangShiYi
Advisor
ZuoXueWen
School
Taiyuan University of Science and Technology
Major
Control Theory and Control Engineering
Classification
TP333 Memory
Degree
Master's thesis
Year
2009
Downloads
298
Citations
3

Request the full text

Abstract

With the continuous development of electronic technology, more and more embedded systems in control, consumer, communications and other electronic products widely used in embedded technology is more and more closely integrated and people's lives. At the same time, the development of computer hardware as well as the amount of data increases, higher and higher demands on the storage device. This paper in-depth study of the embedded system, data storage and data exchange, and propose the design of a complete embedded system, data storage and data exchange, and described in detail the process of its implementation. Flash memory due to the small size, low power consumption, stable performance characteristics of a wide range of applications in portable electronic products. Flash memory in two forms: Nor Flash and Nand Flash. Nor Flash has the XIP features, code can be executed directly on the chip, and read faster. Nand Flash storage density, large capacity, the production process is simple, cost-effective, but the control is complicated, but there may be some bad blocks. The SD card is popular in recent years, large-capacity portable memory card. The system, the Flash and SD card as a data storage medium. In the storage medium of choice within the system with a small volume, large capacity, low cost Flash and combination Nor and Nand Flash program: Nor Flash storage system related software and procedures in Nand Flash stored on the user data. Outside the system safe, large capacity and excellent performance SD card for storage capacity expansion. Based on the design of the hardware circuit design and the underlying drivers of Atmel's ARM series MCU Flash memory and SD card. Organize data to the data on the effective management of storage media, and at the same time in order to facilitate data exchange with PC, you must use a standard format, which requires using the file system in the form of data files organized. Nor and Nand Flash data storage and operating characteristics analysis JFFS2 and YAFFS characteristics as well as storage, power protection, wear leveling, garbage collection, and a series of strategies and mechanisms, Nor and Nand Flash to achieve and optimize these management mechanisms. Using the FAT16 file format supported by the current mainstream operating systems (Windows, Linux, etc.) on the SD, completed from disk read and write to a file format standard API functions, embedded systems, high-speed data exchange.

Table of contents

Chinese Abstract 3-4 ABSTRACT 4-9 first chapter 9-15 Introduction 9 1.1 Embedded System Introduction 9-10 the status quo and development trend of 1.2 embedded systems 10-12 1.3 subject research background and significance 12-14 1.4 In this paper, the structure and main content 14-15 the overall system 15-27 the 2.1 overall system design 15 2.2 system hardware design 15-17 2.2.1 ARM processor introduced 15-17 2.2.2 system storage module design 17 2.3 system software design 17-27 2.3.1 software development platform to build 17-20 2.3.2 Linux operating system introduced 20-22 2.3.3 device driver design 22-25 2.3.4 file system design 25-27 hardware design 27-29 3.1 NOR FLASH hardware connection 27-28 3.2 NAND FLASH hardware connection 28 3.3 SD card hardware connection 28-29 storage module design 29-44 the 4.1 MTD stored technology 29-30 4.2 NOR FLASH driver module design 30-32 4.2.1 chip driver 30-31 4.2.2 chip configuration 31-32 4.3 NAND FLASH driver module design 32-37 4.3.1 chip initialization and configuration 33-35 4.3.2 operating functions to achieve 35-37 4.4 SD card driver module design 37-42 4.4.1 SD card internal structure 38 the 4.4.2 SD cards bus mode 38 4.4.3 SD card driver overall design 38-39 4.4.4 SD card detection and power-on initialization process 39-41 4.4.5 SD card read and write operations 41 4.4.6 driver module is loaded 41-42 4.5 SD Card application design 42-44 file system design 44-66 The the 5.1 embedded file system overview 44-46 5.1.1 embedded file system functions and features 44-45 5.1.2 Virtual File System 45-46 5.2 LINUX operating system supports common file system 46-47 5.3 NOR FLASH JFFS2 file system to achieve 47-51 5.3.1 JFFS2 data storage structure 48-49 5.3.2 JFFS2 data operation 49-50 5.3.3 JFFS2 power protection technology 50 5.3.4 JFFS2 garbage collection mechanism 50-51 5.3.5 the JFFS2 loss balance mechanism 51 5.4 NAND FLASH YAFFS file system implementation 51-55 5.4.1 YAFFS features 51-52 the the 5.4.2 the YAFFS data storage structure 52 5.4.3 YAFFS memory organization 52-53 5.4.4 bad block management 53-54 5.4.5 loss level mechanisms 54 5.4.6 garbage collection mechanism 54 5.4.7 resource utilization 54-55 5.5 SD card FAT16 file system implementation 55-66 5.5.1 FAT16 file system principle 55-59 5.5.2 system formatted 59-60 5.5.3 file system initialization 60-61 5.5.4 File Open achieve 61-62 5.5.5 file read and write functions to achieve 62-63 5.5.6 directory implementations 63-64 5.5.7 file random read and write 64-66 Chapter Summary and Outlook 66-67 6.1 summarizes 66 6.2 future work recommendations 66-67 the References 67-70 Acknowledgements 70-71 the pursuing degree during the academic catalog 71-72

Related dissertations

  1. The Design of Ship Track Instrument Based on SCM and GPS
  2. The Implementation and Improvement of μClinux FILE System
    KangLei ·Wuhan University of Technology ·2007 ·Master's thesis
  3. Based μC/OS- Ⅱ embedded file system research and design
  4. Based on embedded linux device management research and the application of I2C driver
  5. Design and Implementation of the Process for Opening Secure Digital Card
    SunLiHua ·Beijing University of Technology ·2011 ·Master's thesis
  6. Design of the Development Platform for Advanced Instrumentation Based on MCF52259 Specialty
  7. Study on File System Application in Wireless Sensor Networks
    ELiBo ·Shanghai Jiaotong University ·2009 ·Master's thesis
  8. Terminal design of fault diagnosis system of intelligent equipment under a cloud service environment
  9. Research and Design on Defects Detection System for Natural Gas Pipeline
    ZhangWei ·Harbin Engineering University ·2013 ·Master's thesis
  10. The Collection and Storage of Physiological Signals System Based on STM32
    LiuShuai ·Shandong Normal University ·2014 ·Master's thesis
  11. The design of file system for embedded data acquisition device
  12. Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
    ZhaoBo ·Dalian Polytechnic University ·2012 ·Master's thesis
  13. Research on Online Programming System Based on CAN-bus
  14. Design of the Paper Quality Control System Based on Industrial Ethernet
    LiQiZuo ·Chongqing University ·2013 ·Master's thesis
  15. Research and implementation of data recorder SD card and embedded USB host based
  16. Design and Implement of Wide-range Accurate Temperature Measurement and Storage System
    YuanYongPing ·Harbin Engineering University ·2013 ·Master's thesis
  17. Research and Realization of Embedded Wireless Sensor Networks
    ZhangJiPing ·Dalian Polytechnic University ·2013 ·Master's thesis
  18. Research and design of intelligent 3D pulse peak field strength tester
  19. Implementation of Windows File System Virtualization Based on Sandbox Technology
  20. Design and Implementation of Cross-platform Website Anti-tamper System Based on File Filter Driver
    LinYiXin ·South China University of Technology ·2013 ·Master's thesis