The Implementation and Optimization of Hard Disk Data Transfer Based on Embedded WINDOWS CE.NET System
- Author
- ZhangWei
- Advisor
- HuChen
- School
- Southeast University
- Major
- Microelectronics and Solid State Electronics
- Classification
- TP316 Operating system
- Degree
- Master's thesis
- Year
- 2006
- Downloads
- 190
- Citations
- 2
Abstract
With the handheld embedded products diversification, system storage space is increasing. At the same time, the rapid development of the hard disk technology, the new micro hard disk capacity is increasing, while the volume and the price has decreased. In a variety of handheld embedded products such as handheld computers, personal media players, handheld GPS navigation devices, the more widespread use of micro hard disk, the hard disk will be a strong contender flash and other memory. PXA255 processor core, bus way and I / 0 way to connect many peripheral circuit module on the Pocket PC platform based embedded system Windows CE.net 4.2 hard disk data transfer function. PXA255 processor memory controller can provide a variety of hard disk access, memory PCMCIA / CF interface, another VLIO (variable latency input / output) interface. Based on the the PXA255 processor memory characteristics, hard disk controller interface characteristics and ATA (Advanced Technology Attachment) transport protocol, design connectivity solutions using the memory interface CPLD (Complex Programmable Logic Device) hard drive to the PXA255 processor VLIO hardware, CPLD The processor outputs a control signal and an address signal to produce a chip select, and other transmission control signals required by the hard disk controller. The circuit design of the program is simple, low power consumption, and at the same time support the PIO (Programmed I / O) and DMA (Direct Memory Access) data transmission. Based This hardware connection design, according to the characteristics of embedded system Windows CE.net 4.2 block device driver, the form of a stream interface hard disk software drivers. Realized the hard disk read and write operations, and other input and output control interface functions, PIO and DMA data transfer mode to achieve the same interface, and two transmission modes were compared and analyzed. In order to reduce the occupancy rate of the processor in the data transfer process, drive hard drive data transfer interrupt control. Because the battery embedded systems is limited, and hard drive power consumption is relatively large, drive hard disk power management interface to reduce the overall power consumption of the system. Finally, on the hard disk drive software optimized to improve data transfer rates, and the testing and analysis. This paper describes the work has been completed. After testing, the data transfer speed of the hard disk in the PIO mode 2.2 to 2.3MB / s, the DMA mode, the transfer speed of 2.4 to 2.5MB / s. The hard data transmission is stable, the entire system is running well.
Table of contents
Summary 4-5
the Abstract 5-7
first chapter 7-9 the
study 1.1 Background 7 <br / 1.2 The main contents nbsp 7-8
1.3 thesis organizational structure; Chapter II hard disk storage with ATA protocol 8-9
9-21
2.1 Introduction of hard disk storage 9-10
2.2 ATA interface protocol; nbsp 10-20
2.2.1-ATA development history 11
2.2.2 ATA interface agreement 11-18
2.2.3 ATA controller registers model 18-19
2.2.4 ATA command set 19-20
2.3 hard disk data transfer mode the Chapter 20-21
hardware and software platform introduced 21-25
3.1 software platform; nbsp 21-22
3.2 hardware platform 22-25 <br the /> fourth hardware connection design 25-30
4.1 ATA the physical interface 25-26
4.2 PXA255 processor interface 26-28
4.2.1 memory interface 26-27
4.2.2 DMA controller 27-28
4.3 hardware connectivity solutions 28-30 the
fifth chapter driver software design 30-52
5.1 Windows CE storage management system 30-32
5.2 Windows CE device drivers 32-33
5.3 hard drive interface definition 33-34
5.4 driver software specific to achieve 34-47
5.4.1 The main data structure is 34-36
5.4.2 driver initialization the 5.4.3 disk IO operations to achieve 36-38
38-45
5.4.4 interrupt control to achieve 45-47
5.5 hard disk power management 47-49
5.5.1 Windows CE system power management 47-48
5.5.2 hard disk power state 48-49
5.6 system image generated 49-52
5.6.1 to modify the configuration file 50
5.6.2 add a registry key 50-51
5.6.3 running 51-52
Chapter drive optimization and test 52-55
6.1 driver optimization 52-53
6.2 driver testing and analysis 53-55
summarize of and Prospects 55-56
Acknowledgements 56-57
reference literature 57-59
list of papers published during the school 59
Related dissertations
- The Research for the Engraving Machine Control System Based on ARM and FPGA
- The Key Technology Research of Smart Home System
- Research on the Embedded System of Image Acquisition for Ultraviolet Corona Detection
- Research and Design of Embedded Control System Based on Windows CE
- Research and Development of Farmland Soil Information Acquisition System Based on ARM
- Of portable intelligent information terminal leaf area measurement system development
- A Design of State Var Compensator Based on Embedded System
- Embedded Control System for Greenhouse
- Development and Application of Intelligent Control Node Based on Embedded Agent
- PMP Audio Driver Design and Realization
- Key Techniques Research on Windows CE Based Open-Architecture CNC System
- Application and Research of FPGA in Encryption Card for Hard Disk
- The Real-time Control of CNC System Based on Windows CE
- The Design of Small Coal Mine Remote Monitoring System Based on ARM
- Research and Development of Froth Flotation Video Surveillance Hardware Platform Based on DSP
- The Research and Design of Embedded Graphic Remote Monitor Terminal
- The Study of Physiological Parameters Monitoring and Remote Wireless Alarming System Based on ARM
- Research and Realization of Dynamic Simulation Circulating Water Device Control and Data Processing System Based on ARM
- The Design and Implementation of Integrated Data Acquisiton Instrument Hardware Platform for Gas Station
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal