Research and Realization of Embedded File System Based on μC/OS II

Author
YuDongDong
Advisor
XiaYuRen , FangAnPing
School
Shanghai Jiaotong University
Major
Computer technology
Classification
TP316 Operating system
Degree
Master's thesis
Year
2007
Downloads
323
Citations
3

Request the full text

Abstract

With the rise of the deepening of embedded systems applications, and the degree of industrialization, the new application environment and industrial demand more stringent requirements of the embedded system software. New demand driven embedded operating system and stable performance, real-time, open-source, low cost, fully functional, become an important factor to consider when select the operating system. Embedded operating system μC / OS-II has the above advantages, which is widely available. ΜC / OS-II is real-time kernel, do not have the system clock management, document management, graphical user interface (GUI) and other functions. In order to achieve a relatively complete, embedded real-time multi-tasking operating system must also function expansion. However, due to the customized nature of hardware resources, operating environment and application needs of embedded system products, these extensions are often tailored to the needs. ΜC / OS-II good scalability basis of the file management capabilities of μC / OS-II expansion, designed to achieve a relatively reliable, efficient and flexible file management module. The extension of the file management functions both enrich and strengthen the function of the embedded operating system, but also greatly enhance the data management and processing power of embedded systems, but also from the other application software development support and promote the role, with a very high practical significance. This paper first analyzes the application needs of embedded systems, discusses the necessity of the file management features introduced in the embedded operating system; generic desktop file system, and the current mainstream embedded file system characteristics, performance, use fields after the analysis and comparison of the design goals of the embedded file system; through a focus on the realization of the embedded file system technology at the same time on the common architecture of the embedded file system, method of organization and implementation; Finally, based on S3C2410 and μC / OS-II platform, drawing on the Minix file system designed to achieve an ability to create, delete, read and write as well as file and directory management functions based NAND FLASH file management module. The file management module is a separate, self-contained whole μC / OS-II task level. It uses a clear hierarchy of design, so that each layer to achieve relatively independent, and by the POSIX standard API interface to the file and directory management functions, and thus to facilitate the further improvement and transplantation of the file management module. The same time, it uses the device driver table to automatically select the drive, the file system and the device-independent, and thus can be applied to different system resources. In addition, also uses a block cache to reduce the number of times of access to the storage medium, thereby improving the efficiency of the file system. The file management module application proved smart meters, turbine protection instrumentation system meet embedded system multitasking and real-time requirements, has some versatility and promotional value.

Table of contents

Abstract 5-7 ABSTRACT 7-12 the first Chapter Introduction 12-16 1.1 Background 12-14 1.2 Research purpose and significance 14-15 1.3 of this paper organized 15-16 Chapter II embedded operating system 16-25 2.1 embedded operating system concepts and features 16-18 2.2 mainstream embedded operating system 18-21 2.3 embedded operating system, the principle of selection 21-22 2.4 Select μC / OS-II 22-25 2.4.1 μC / OS-II characteristics 22-23 2.4.2 μC / OS-II expansion 23-25 File System Overview 25-38 3.1 file system concept and type 25-26 3.1.1 file system concept 25 3.1.2 file system type 25-26 3.2 generic desktop system file system 26-31 3.2.1 DOS / Windows operating system, file system 26-28 3.2.2 Linux operating system, file system 28-31 the the 3.3 embedded file system features 31-32 3.4 introduces the necessity of the embedded file system 32-33 3.5 mainstream embedded file system overview 33-36 the 3.6 embedded file system design goals 36-38 Chapter embedded file system design 38-63 4.1 document process 38-39 4.2 file system architecture design 39-42 traditional 4.2.1 file system structure model 39-40 the 4.2.2 common embedded file system architecture 40-42 the of 4.2.3 embedded file system architecture design characteristics 42 4.3 files and directories to achieve 42-50 4.3.1 users view files and directories 42-44 4.3.2 file to achieve 44-48 4.3.3 directory implementation 48-50 4.4 storage medium of choice 50-53 4.4.1 NOR FLASH and NAND FLASH Features 51-52 4.4.2 NAND FLASH interface to the underlying operating 52-53 4.5 storage media management 53-55 4.5.1 block size 53-54 4.5.2 recording free block 54-55 4.5.3 debris recycling 55 4.6 file system reliability 55-58 4.6.1 bad block management 55-57 4.6.2 wear control 57 4.6.3 consistency 57-58 4.7 file system performance 58-59 4.7.1 block cache 58-59 4.7.2 block group technology 59 4.8 file protection mechanism 59-63 the CFFS file system specific implementation 63-75 5.1 the CFFS the system structure design 63-65 5.2 drive interface 65 5.3 blocks management 65-70 5.3.1 file system layout 65-67 5.3.2 superblock management 67 5.3.3 block management 67-68 5.3.4 block cache 68-70 5.4 file management 70-73 5.4.1 I-node management 70-72 5.4.2 file descriptor management 72-73 5.5 application interface layer 73-75 the Chapter VI the CFFS file system hardware platform and its testing and certification 75-84 6.1 CFFS file system, hardware platform 75-77 the characteristics of 6.1.1 ARM microprocessor 75-76 6.1.2 test board Introduction 76-77 6.1.3 Select the Boot Loader 77 6.2 μC / OS-II transplantation 77-82 6.2.1 OS_CPU.H transplant 78-79 6.2.2 OS_CPU_C.C transplant 79 6.2.3 OS_CPU_A.S transplant 79-82 6.3 CFFS file system testing and validation 82-84 6.3.1 test preparations 82 6.3.2 CFFS test validation 82-84 Chapter VII Conclusion 84-86 7.1 work Recalling 84-85 7.2 insufficient and Prospects 85-86 the References 86-88 the Appendix 1 μC / OS-II on the S3C2410 transplant code 88-94 Acknowledgements 94-95 the pursuing a master's degree during been published or accepted papers 95

Related dissertations

  1. Design of Control System for Sight-seeing Fountain Base on CAN-Bus
    WuZhiWen ·East China Normal University ·2008 ·Master's thesis
  2. Building of AMB Control and Debug Platform & Software Development
    HuaKai ·Suzhou University ·2007 ·Master's thesis
  3. Research and Design of Intelligent Controller in Breaker Based on the Embedded Real Time Operation System-μC/OS-Ⅱ
    FangJinYong ·Fuzhou University ·2004 ·Master's thesis
  4. Research on Platform of Protective Relay Based Real-Time Operating System
  5. The Reasearch of Data Acquisition System Based on MSC1210 PCM Embedded System
  6. Reach and Application of the Embedded Real-time Operationg System μC/OS-II
  7. The Product Development Process Based on PDM Related Technical Research
  8. Design and Implementation of Administration Document Management System
    WangHaiLong ·Shandong University ·2013 ·Master's thesis
  9. The Design and Implementation of Document Management System for Deyang Industry and Commerce Bureau
  10. Universities OA Document Management and Document Flow System Design and Implementation
  11. Design and Implementation of Electronic Office System of China Mobile Shanghai Company
    PanXiaoJun ·Dalian University of Technology ·2013 ·Master's thesis
  12. The Design and Implementation of Internet Document Management System Supported Full-text Search
  13. Design and Realization of a Government Document Management System
    XuWei ·Tianjin University ·2012 ·Master's thesis
  14. Analysis and Design of Enterprise Document Management System
    MiQingLong ·Xiamen University ·2013 ·Master's thesis
  15. Document Management System Design and Implementation of Branch of the Chinese Academy of Science
  16. The Analysis and Design of Office Automation System Based on C/S Mode
    ZhangHanJun ·Xiamen University ·2014 ·Master's thesis
  17. Design and Implementation of Enterprise Office Automation System
    ZuoRuiZuo ·Xiamen University ·2014 ·Master's thesis
  18. Design and Implementation of District Government Documents Transceiver Management System
    MaZuoZuo ·Xiamen University ·2014 ·Master's thesis
  19. Research and Implement of Document Management System Based on Hadoop Storage
  20. The Software Design of Automatic Doffing System
    WangFei ·Donghua University ·2013 ·Master's thesis