The Design of IDE Disk Driver Based on ARM9 PLATFORM

Author
ChenQian
Advisor
ZuoGuoKu
School
Dalian Maritime University
Major
Applied Computer Technology
Classification
TP368.12 Microprocessor
Degree
Master's thesis
Year
2008
Downloads
210
Citations
1

Request the full text

Abstract

This topic is implemented in embedded Linux IDE hard drive , IDE hard disk management . On this basis , a simple FAT16 file system to meet the general requirements of read and write operations ; take full advantage of the Linux Resource completed the transplant ARM9 embedded platform IDE drive , combined with the actual needs of the FAT16 file system load Linux system , complete the following work : 1 . hardware platform operation . Including the realization of communication between S3C2410 a brief description and the choice of hardware platform , the establishment of the host software environment , the host and target machine and the target machine VIVI, kernel and file system compiler and programming , as well as the executable file downloaded to the target machine . Perfect hardware platform . According to the schematic build a hardware platform, connecting lines, analysis and processing due to voltage mismatch resulting from the problems encountered in the experiment , including the specific choice of the chip and pin connection, designed specifically isolate circuit, improved anti bus interference. Underlying the preparation of the IDE drive . Comprehensive analysis comparing the IDE hard disk and ARM board interface defined in the ARM board register address , write the underlying access control function of the hard disk 's read / write control , interface level call . Design FAT16 file system . According to the system , simplified FAT16 file system was designed and implemented . Including master boot settings , the FAT table operation the FDT table operation and simplified file / directory operations , write a flow chart of some important operations . 5 the transplantation under Linux IDE driver , describes the detailed process . 6.IDE drive loaded achieve . Modular basis underlying driver , the driver , and manually load the \Analysis of several important data structures , detailing the principles and processes of the driver loaded , including registration block device , several important functions in the process of preparing block_device_operations data structure , Makefile file write , and manually load achieved . Analysis and summary of the problems encountered in the implementation process as well as the reasons that cause this problem and find out the solution ; perfect place , pointing out that this is going to sound local .

Table of contents

Abstract 5-6 Abstract 6-9 Chapter 1 Introduction 9-12 1.1 Background 9-10 1.2 Current Situation Analysis 10 1.3 topics task introduction and thesis chapters arranged 10-12 Chapter 2 embedded systems foundation 12-14 2.1 embedded systems defined 12 2.2 typical embedded operating system 12-13 2.3 Selection of Embedded OS 13-14 Chapter 3 ARM9 processor hardware development platform 14-23 3.1 ARM processor 14-15 3.2 S3C2410 Processor 15-17 3.3 select development board 17 3.4 on the host development environment 17-19 3.4.1 to create the operating system of the host 17-18 3.4.2 parallel port driver installed in Windows system 18 3.4.3 cross compiler environment under Linux 18-19 3.5 Linux kernel compiled 19-20 between 3.6 host and target board communication 20-23 3.6.1 programming VIVI 20-21 3.6.2 partition and to programming kernel and file system are found; 21-23 Chapter 4 IDE hard drive to write 23-51 the IDE 4.1 Introduction 23-25 4.1.1 mode selection 23 4.1.2 hard disk interface introduced 23-25 of 4.2 ARM with IDE interface connection 25-27 4.2.1 ARM development board IDE interface 25 4.2.2 ARM IDE pin connection problems and their solutions 25-26 4.2.3 re-build the ARM IDE interface connector 26-27 4.3 hard disk read and write drive design 27-38 4.3.1 IDE register address 27-32 the 4.3.2 use interface function 32-33 4.3.3 several important functions designed 33-36 4.3.4 hard disk read and write to achieve summarize 36-38 4.4 FAT16 file system design 38-51 4.4.1 BPB design 39-40 4.4.2 FAT table and FDT table design to achieve 40-46 4.4.3 file and directory operations 46-51 Chapter 5 embedded Linux driver written 51-68 5.1 device driver Overview 51-53 5.1.1 device driver and file system relations 51-52 5.1.2 block device 52-53 5.2 device driver key data structure 53-57 5.3 IDE driver on the S3C2410 transplant 57-60 5.4 under linux IDE driver achieve 60-68 5.4.1 device device number 60-61 5.4.2 device entry point 61 5.4.3 Registration and uninstall the IDE devices 61-62 5.4.4 write access to the disk data function 62-66 5.4.5 initialization and unloading of modules 66 5.4.6 Makefile written 66 5.4.7-driven dynamic load 66-68 summarize 68-69 the References 69-71 the pursue a degree during the public papers; nbsp 71-72 Acknowledgements 72-73 the Graduate biographical 73

Related dissertations

  1. Large Food Enterprise Automation Production Equipment Management Model Research
  2. The design of file system for embedded data acquisition device
  3. The Design of Data Acquisition Controller Based on Wireless Ad-Hoc Network Technology
  4. Research and Design of Modular Reconfigurable Robot Control System
  5. Intelligent Soccer Robot’s Control System Design
    WangHuiLing ·Chang'an University ·2013 ·Master's thesis
  6. Dynamic Learning Algorithms of Neural Networks for Large-scale Data Sets
  7. Higher Mathematics Teaching Design and Implementation of Research Site
    YangDeZhi ·Qingdao Technological University ·2013 ·Master's thesis
  8. The Student Records Management System of Zhejiang Institute of Communications Based on Hibernate
  9. Research and Implementation of Cluster Nas Storage System Based on Modularization
    ZhangQiang ·Shandong University ·2013 ·Master's thesis
  10. Design of Programmable Radar Signal Synchronization System by FPGA
  11. Design and Implementation of Automatic Measurement of Parameters for Multi-channel Circuit
    JiangYaGuang ·Harbin Engineering University ·2013 ·Master's thesis
  12. Pharmacy Technician Schools into Professional Emulation Modular Teaching System from Layer to Layer
    ZhuKe ·Shandong University ·2013 ·Master's thesis
  13. Design of the Miniature Rice Harvester and Study of the Main Part
  14. The Design of High Power LED Lighting Module
    SunYi ·Harbin Institute of Technology ·2012 ·Master's thesis
  15. The Research of Parallel Current-sharing for Modular High-power DC Power Supply
    ZhaoLiJuan ·Hebei University of Technology ·2012 ·Master's thesis
  16. Design and Implementation of a Battery Formation and Grading Control System Based on Bit Vector Search Algorithm
    ZengGuoShi ·Xiamen University ·2014 ·Master's thesis
  17. Research on STATCOM Based on MMCC-SDBC
  18. Digital Control and Its Implementation of Modular Three-phase Four-wire Shunt Active Power Filter
    ZhongXiaoJian ·Zhejiang University ·2014 ·Master's thesis
  19. Modular Non-isloated Photovoltaic Grid-tied Inverters and Generation Systems
  20. Research on High Voltage Input Large Current Ouput DC-DC Converter