Research and Implementation of Embedded Linux Software Debugging Technology
- Author
- WangQiong
- Advisor
- YangFuMin
- School
- Huazhong University of Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 204
- Citations
- 1
Abstract
Recently years, with the rapid development of the embedded technology, embedded system has been widely used in our daily lives. The debug of embedded system plays an important role during the development of embedded software as its indispensability.After analyzing various methods and technologies of embedded software debugging, an embedded debug system based on JTAG is designed. The design includes three parts: user interface, downloading file to the target, debugging embedded software.The first part is to realize a graphical user interface, it provides graphical debugging interface for users in the host. An interpreter is designed to parse commands that users enter, and transform valid commands to the representations specified by given format.The second part is realization of downloading file to the target. It is based on the communication between the debugger in the host and the bootloader in the target. The remote communication protocol between them is introduced in detail. The protocol is devided into three levels. It prescribes the message fomats and interactive processes between debugger and bootloader, and make sure the communication is efficient and accurate.The last part is to perform the function of dynamic debug and static debug. It is based on JTAG and the Embedded ICE in ARM kernel. Attention is concentrated on the debugging of ARM Linux kernel. The contents of memory and registers are sent to debugger through JTAG. The process state and function call sequences are tracked after analyzing the stack and the contents of memory.
Table of contents
Abstract 4-5
Abstract 5-8
1 Introduction 8-15
1.1 project background 8-9
1.2 abroad before 9-14
1.3 The main research work 14-15
2 overall design 15-23
2.1 JTAG technology 15-17
2.2 S3C2410 chip JTAG debug principle 17-18
2.3 embedded debugging system requirements analysis 18-20
2.4 debugging system's overall framework 20-22
2.5 Chapter Summary 22-23
3 User Interface 23-32
3.1 interface design 23-24
3.2 debugger supports command set 24-27
3.3 command interpreter 27-30
3.4 command processing functions to achieve 30-31
3.5 Summary 31-32
4 download and curing 32-41
4.1 communication environment created 32-33
4.2 Communication protocol design and implementation 33-36
4.3 debugger interaction with the bootloader 36-38
4.4 file download and curing 38-40
4.5 Chapter Summary 40-41
5 static debugging 41-65
5.1 static debugging design description 41
5.2 ARM memory management 41-43
5.3 shared memory technology 43-46
5.4 View current process status 46-53
5.5 Get all system processes information 53-57
5.6 stack trace 57-64
5.7 Chapter Summary 64-65
6 Conclusion 65-67
6.1 summarizes research 65-66
6.2 Further work 66-67
Thanks 67-68
References 68-71
Related dissertations
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- The Study of Remote Video Monitor System Baced on ARM
- Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
- Video Surveillance System Based on Embedded Technology Research
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Research and implementation of remote monitor system of ship based on the technology of the Internet of things
- Design of Video Surveillance Software Based on Ti Dm6446Processor
- Data Acquisition System of Cavern Based on Embedded Web Server
- Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
- Research on the Indoor Air Monitoring System Based on Embedded Linux
- Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
- Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
- Research on Meteorological Data Acquisition and Processing System
- The Research of the Design and Application for Embedded Remote Terminal Unit
- Design and Implementation of Magnetic Card Detection System Based on Embedded System
- Design of distributed control system based on embedded platform
- Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
- The Research of CANopen Protocol Based on Embedded Systems
- The Research and Design of Smart Home System Based on Zigbee Technology