Software Design of USB and Ethernet Drivers Based on MC9328
- Author
- XuFeng
- Advisor
- ZengShuiPing
- School
- North China University of Technology
- Major
- Detection Technology and Automation
- Classification
- TP334.7 Interface devices,plug-in
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 150
- Citations
- 2
Abstract
USB data transfers and network communication are important part and have been widely applied in an embedded system to it. The paper designed USB interface and Ethernet interface for an embedded system and discusses its realization.The system mainly includes modules of CPU, power, debugging, extended memory and USB transportation. CPU module is designed by chose of Moto’s MC9328, which is composed of reset circuit, clock circuit and JTAG interface. USB interface is designed by chose of Philips’s ISP1581, which completely accords with USB2.0 protocol. Ethernet interface is designed by chose of Devicom’s dm9000, which is 10/100M PHY. Normal MCU mode was adopted in the connection between MC9328 and ISP1581, and the interrupt mode was used in data exchange.Program was designed under linux system, which includes USB firmware design , Ethernet driver and test examples. USB firmware design mainly includes interrupt, initialization and protocol handle software. USB firmware realized enum process and acquired device descriptors. Ethernet driver includes register of reading and writing, interrupt service and data packets transmit and receive. Server and client program were tested by Ethernet driver performance.When debugging the USB program, data packet is acquired by BUSHOUND. And when debugging Ethernet program, data packets is acquired by linux system TCPDUMP. The paper completed the program design of USB and Ethernet based on MC9328, and realized data exchange.
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-11
1.1 thesis research background and significance 8 < br /> 1.2 the status quo of the PMP system , problems and research directions 8-10
1.3 of this paper work and content arrangements 10-11
system hardware design 11-19
2.1 hardware design 11-12
2.2 hardware schematic design 12-17
2.2.1 32-bit embedded MC9328MX1 module 12-13
2.2.2 USB module circuit design 13-14
2.2.3 network Connection part 14-16
2.2.4 power part 16
2.2.5 serial part 16-17
2.3 electronic circuit design 17-18
2.4 anti-jamming design 18 -19
USB program development 19-34
3.1 ISP1581 is chip Features 19
3.2 firmware design 19-34
the structure and design of the 3.2.1 firmware 20-21
3.2.2 firmware functional modules 21-29
3.2.3 Bulk- Only transfer Protocol 29-31
3.2.4 SCSI instruction set 31-34
4 NIC driver development 34-49
4.1 network card driver architecture 34-36
4.2 DM9000 chip drivers to achieve 36-49
4.2.1 the underlying hardware manipulation functions 36-37
4.2.2 the DM9000 initialization 37-42
4.2.3 DM9000 open and close 42-44
4.2.4 packet send and receive 44-49
5 system debugging 49-55
5.1 USB module debugging 49-52
5.2 network module debugging 52-55
summary 55 -56
References 56-58
study results 58-59
thank 59
Related dissertations
- The Designand Realization of Embedded USB Mass Storage System
- The Designand Implement of Fingerprint Access Controlsystem Based on ARM and Linux
- Design and Implementation of Driver Module Based on Android System
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Study on Embedded Data Acquisition System Application
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
- Usb Without Invasive Data Collection Technology Research
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
- Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
- Grating Data Acquisition and Error Correction Technology
- CCD Data Acquisition System Implementation Based on FPGA