The Design and Implementation of VxWorks BSP Based on ARM9
- Author
- LiYong
- Advisor
- LiuHongLi
- School
- Hunan University
- Major
- Electronic Science and Technology
- Classification
- TP316.2 Real-time operating system
- Degree
- Master's thesis
- Year
- 2009
- Downloads
- 481
- Citations
- 6
Abstract
In recent years, with the rapid development of embedded technology , embedded applications become a hot topic , and showing a huge market demand , to become a new economic growth point for the IT industry . As microprocessor performance enhanced embedded processor to complete more and more complex functions , you need to use the operating system to manage the program running in the device . To enhance compatibility , embedded operating systems typically use a board support package (Board Support Package) shielding the underlying hardware differences , support for different platforms . In order to meet the needs of the college teaching embedded systems , this paper designed an embedded development board for embedded system teaching and secondary development . The development board using the ARM9 microprocessor as the central processing unit to provide support for real-time operating system VxWorks Board Support Package written . This article uses the Cadence software to complete the circuit design of the system , including the power supply module , serial module , SDRAM modules , Flash module , Ethernet module , CAN bus module , USB host module , JTAG interface module , etc. . Hardware circuit test by the underlying software design and development , the first to achieve the bootrom based on serial communication , generate VxWorks minimum load the image , use the minimum system development board running the VxWorks bootrom boot image , and through a serial connection to the host debug ; development board and then refer to the architecture of the network drive under VxWorks , writing Ethernet bottom drive , the TCP / IP protocol stack join the BSP -based Ethernet bootrom and debugging ; then VxWorks I / O system CAN bus driver to complete the the CAN link- layer connection ; USB OHCI controller USB host driver ; TrueFFS file system management development board Flash device . Finally, to complete the system test , test results show that : the VxWorks operating system run successfully on the development board , and all the drive is operating normally .
Table of contents
Abstract 5-6
Abstract 6-11
Chapter 1 Introduction 11-16
1.1 Embedded Systems Overview 11-12
the 1.1.1 embedded systems definition 11
the
characteristics of 1.1.2 embedded systems 11-12
1.2 Embedded Processor 12-13
1.3 embedded operating system 13-14
1.4 subject research background and significance 14-15
1.5 In this thesis, the main content 15-16
Chapter 2 ARM and VxWorks system Introduction 16-25
2.1 ARM system structure 16-20
2.1.1 ARM instruction set architecture 16
2.1.2 ARM pipeline organization 16-17
2.1.3 ARM processor mode 17-18
2.1.4 ARM registers introduced 18-20
2.1.5 ARM bus architecture 20
2.2 VxWorks operating system Introduction 20-23
2.2.1 VxWorks real-time system characteristics 21
2.2.2 VxWorks system kernel structure 21-22
2.2.3 Task Status 22-23
2.2.4 Task Manager 23
2.2.5 inter-task communication 23
2.3 VxWorks system development environment Tornado 23-24
2.4 This chapter Summary 24-25
Chapter 3 based on AT91RM900 embedded development board hardware design 25-33
3.1 overall design 25-26
3.2 chip selection 26-27
3.2.1 ARM chip 26-27
3.2.2 FLASH chip 27
3.2.3 CAN controller chip 27
3.2.4 network chip 27
3.3 function module hardware design 27-32
3.3.1 power module 27-28
3.3.2 SDRAM interface circuit 28-29
3.3.3 FLASH memory circuit 29-30
3.3.4 CAN bus interface 30
3.3.5 serial circuit 30-31
3.3.6 Ethernet interface circuit 31
3.3.7 USB host interface circuit 31-32
3.3.8 the JTAG interface circuit 32
3.4 This chapter Summary 32-33
Design and Implementation of Chapter 4 VxWorks minimum system 33-47
the
VxWorks 4.1 start the process 33-35
4.1.1 VxWorks image type 33
4.1.2 the VxWorks bootrom and load type image starts process 33-35
4.2 VxWorks minimum system configuration and related procedures designed 35-46
4.2.1 Makefile and config.h file 36-37
the 4.2.2 compilation initialization code 37-38
4.2.3 interrupted connection 38-39
4.2.4 Address Mapping 39-40
4.2.5 clock drive 40-41
4.2.6 serial driver 41-45
4.2.7 hardware initialization 45-46
4.3 This chapter Summary 46-47
Chapter 5, the system peripheral device driver design and realization 47-66
5.1 Ethernet driver 47-56
5.1.1 VxWorks in network-driven structure 47-51
5.1.2 underlying drive to achieve 51-55
5.1.3 the network drive to join the BSP 55
5.1.4 using the network boot system image and debugging 55-56
5.2 CAN bus driver 56-60
5.2.1 Under VxWorks I / O driver structure 56-57
5.2.2 VxWorks CAN bus devices to communicate achieve 57-60
5.3 file system 60-63
5.3.1 TrueFFS mechanism analysis 60-62
5.3.2 TrueFFS in VxWorks achieve 62-63
5.4 USB host driver 63-65
5.4.1 USB host driver structure 63-64
5.4.2 USB host driver design 64-65
5.5 Chapter Summary 65-66
Chapter 6 system debugging and analysis 66-75
6.1 test platform to build 66
6.2 Test Method 66
6.3 test analysis and conclusions 66-74
6.3.1 bootrom test 66-67
6.3.2 VxWorks smallest image test 67-69
6.3.3 Ethernet driver test 69-71
6.3.4 CAN bus driver test 71-73
6.3.5 USB host driver test 73-74
6.3.6 TrueFFS file system driver test 74
6.4 This chapter Summary 74-75
Summary and Outlook The 75-77
the
References 77-80
Acknowledgements 80-81
the
Appendix A (papers) pursue a degree during the 81-82
Appendix B (degree during participation in research projects) 82
Related dissertations
- Application of Embedded-System Technology in MIMO Experiment System
- Development of the VxWorks BSP Based on the RSC S3C2440A Platform
- Development of a Mobile Video Surveillance Car Based on ARM and Linux Platform
- Research of Signal Processing Platform Based on the PowerPC and the VxWorks
- Hardware Research on the Measurement System of Ring Laser Resonant Cavity
- Extensible Solid-State Storage Recorder Based on VXS Bus
- Research and Development of Farmland Soil Information Acquisition System Based on ARM
- Research and Realization on BSP of Teaching Experimental Board of Embedded System Based on u-boot
- Embedded Control System for Greenhouse
- Research and Low-Power Design of Embedded System Based on MPC8270
- The Research and Realization of Measurement and Control System Mainboard for Mass Spectrograph Based on ARM9
- Research on Electro-hydraulic Position Servo Control System Based on Arm Microprocessor
- Embedded wireless remote monitoring terminal design and implementation
- The Application of Embedded System in Electric Vehicle
- Design and Realization of Embedded System on EP9315 Microprocessor
- Design of Image Acquisition System Based on ARM9
- Study and Design of Web Video Surveillance System Based on ARM/VxWorks
- The Design and Implementation of the VxWorks BSP Based on Universal Control Platform
- A Design and Implementation for VxWorks BSP Based on MPC860
- The Embedded System of Lighting Control Base on Art-Net Protocol Research and Design