Research and Implementation of Flash Memory Device Management Technology in Embedded System

Author
FengXiang
Advisor
LiRenFa
School
Hunan University
Major
Applied Computer Technology
Classification
TP333 Memory
Degree
Master's thesis
Year
2004
Downloads
237
Citations
5

Request the full text

Abstract

With the constantly growing requirements of applications, embedded system becomes more and more complicated. Flash memory is the most common nonvolatile memory used in embedded system, so the management and access technology of flash memory have great effects on performance and portability of the whole system. The management technology of flash memory device in embedded system is implemented through flash I/O software. At present, most flash management technologies are insufficient in portability and flexibility. So it is important for embedded system applications to develop a scheme of flash management, which is easy to be ported, has high efficiency and a unified access interface.Firstly, the paper studies the I/O software design ideas and principles of flash memory device in embedded system theoretically. Based on analysis of the principle of policy and mechanism separation which is widly used in operating system software design, the paper proposes a layered software architecture of flash memory device management technology, which divide the flash I/O software into hardware driver layer, raw device layer, and device layer. Also the paper compares the user space scheme with kernel space scheme of flash memory device I/O software. Secondly, the paper studies the I/O device management mechanism in embedded Linux, presents a flash management implementation scheme, which has high modularity, portability and flexibility. Then the paper analyzes the key technical problems in this scheme and presents the corresponding methods, such as blocked I/O, read and write request function design, and so on. Finally, the paper chooses embedded Linux based on a PowerPC860T board as the target system platform and implements the I/O software scheme of the flash memory device mentioned above on it.The portability of I/O software can be evaluated by proportion of device dependent and independent code size in the implemetation. So the paper is proved to have good portability because the proportion of device dependent code is 24.1%. Also the paper tests the typical performance of the scheme, as file operation cost and data throughput. The test results shows that the scheme above not only can provide the application program with a unified access interface which is easy to be used, but also have high modularity which make the scheme easy to be ported to other flash chips of different types.

Table of contents

Abstract 7-8 Abstract 8-10 illustrations index 10-11 Schedule index 11-12 <br / Chapter 1 Introduction 12-19 1.1 topics 12 1.2 Research significance and objectives 12-14 1.2.1 Embedded Systems the impact of the development trend of the flash memory device management technology 12-13 the 1.2.2 flash memory devices in embedded systems application status 13-14 1.2.3 research objectives 14 1.3 Background 14-17 -1.3.1 embedded system I / O management mechanism 14-16 1.3.2 embedded -system flash memory devices, storage management technology 16-17 1.4 This paper 17-18 1.5 paper structure 18-19 2 Chapter embedded systems flash memory management technology in the I / O software design 19-34 2.1 Introduction 19 2.2 embedded operating system Overview 19-21 < br /> 2.2.1 embedded Linux kernel architecture 19-20 2.2.2 user mode and kernel mode 20-21 2.3 strategies and mechanisms for the separation of design thinking 21-27 2.3.1 Strategies and mechanisms the 21-22 2.3.2 Strategies and mechanisms embodies the principle of separation of operating system design 22-23 2.3.3 I / O software design goals the 23-25 ??2.3.3 flash memory device I / O software strategy and mechanism of separation idea 25-27 <br / > 2.4 I / O software design implementations 27-30 the 2.4.1 kernel space I / O software design 27-28 2.4.2 user space I design analysis / O software 28-29 2.4.3 flash memory devices the I / O software in the user / kernel space programs compare 29-30 2.5 I / O Software in the data buffer mechanism discussed the 30-32 2.5.1 works of high-speed buffer the 30-31 2.5.2 cache advantages and disadvantages 31-32 2.5.3 buffer of the special role of the flash memory device 32 2.6 Summary 32-34 Chapter 3 embedded Linux device management mechanism flash the I / O software design key issues 34-47 3.1 Introduction 34 3.2 the VFS and the I / O device management 34-37 3.2.1 VFS working mechanism 34-35 3.2.2 VFS Device Manager 35-37 3.3 flash storage device I / O software design key issues 37-43 3.3.1 drivers structural framework 37-39 3.3.2 blocking I / O design methodology 39-40 3.3.3 competing state solution 40-41 3.3.4 Flash memory devices operating delay solution the 41-42 3.3.5 devices to share access to achieve 42-43 3.4 device interface and access mechanisms the 43-46 3.4.1 device access technology based on the I / O port 43-45 3.4.2 flash device interface particularity of 45-46 3.5 Summary 46-47 Chapter 4 flash device I / O Software Design and Implementation 47-68 4.1 Introduction 47 4.2 embedded Linux system development process the 47-49 4.2.1 hardware development environment 47-48 < br /> 4.2.2 cross-development process 48-49 4.3 design overview 49-52 4.3.1 layered architecture model 49-51 the 4.3.2 core functionality of the module and its working mechanism the 51-52 4.4 hardware driver layer design and realization 52-58 4.4.1 chip detection program the 52-55 4.4.2 flash hardware basic operation routines to achieve 55-58 4.4.3 flash created with the settings of the main original equipment 58 4.5 Design and Implementation of original equipment layer the 58-62 4.5.1 Flash Original Equipment abstract 58-60 4.5.2 device partition to achieve 60-61 4.5.3 flash configuration management interface designed to achieve the the 61-62 4.6 device layer software design and implementation 62-67 4.6.1 character devices to achieve 62-63 4.6.2 block devices to achieve the 63-64 the 4.6.3 block device read and write requests processing function of the design to achieve 64-65 the 4.6.4 block devices to read and write buffer management 65-67 4.7 Summary 67-68 Chapter 5 System testing and data analysis 68-74 5.1 Introduction 68 5.2 test method 68-70 5.3 test results and analysis 70-73 5.4 Summary 73-74 conclusion to References 74-76 76-79 thank the 79-80 Appendix A (for Master during the published catalog) 80

Related dissertations

  1. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  2. Design of Video Monitoring System Based on the Embedded
  3. The Design of Embedded Network Video Surveillance System Based on ARM9
  4. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  5. Design of Industrial Ethernet Motion Controller Based on ARM
  6. AGV car design and development of image recognition and motion control technology based on
  7. Transplant OpenCV to Embedded System and Face Recognition
    ChenYang ·Liaoning Normal University ·2012 ·Master's thesis
  8. Linux System Transplantation and USB Driver Development Based on CK-CPU Embedded Platform
    XueJiaYin ·Harbin Institute of Technology ·2012 ·Master's thesis
  9. Design and Implementation of Unidirectional Data Transmission Device Based on Removable Storage Media
  10. Design and Realizing of the Video Monitoring System Based on the Embedded Network
    ZhangZuo ·Northeastern University ·2010 ·Master's thesis
  11. Design and Implementation of Video Acquisition and Wireless Transmission System Based on Embedded System
    LiuYu ·Ningxia University ·2014 ·Master's thesis
  12. Software Design of Visual Conversational Embedded System
  13. Research and Implementation of IoT Gateway Based on Embedded Linux System
    ChangYingLiang ·Beijing Jiaotong University ·2014 ·Master's thesis
  14. Design and Implementation of Gateway Based on ARM9and Zigbee
    LiuHongBo ·Hubei University ·2013 ·Master's thesis
  15. Design of Image Acquisition and Wireless Transmission System for Barley Field Based on ARM and WiFi
    MaoHongYu ·Gansu Agricultural University ·2013 ·Master's thesis
  16. Research and Realization of a Smart Home Gateway Based on Linux
    ShaoChunZuo ·Chang'an University ·2013 ·Master's thesis
  17. Research and Design of BD/GPS Dual-Mode Intelligent Vehicle System
    XiaoYongJun ·Hunan University ·2013 ·Master's thesis
  18. The GPS/CNSS Navigation System Reaearch Based on Linux
  19. Design of a Data Communication System for Theodolite Based on Embedded Technology
  20. Design and Implementation of the Embedded Video Surveillance Server Based on ARM and Linux
    JiaoFangChao ·Shandong Normal University ·2012 ·Master's thesis