Research and Designing of Target Monitor in Embedded Software Developing Environment
- Author
- SuMing
- Advisor
- ZhaoKeJia , LuKai
- School
- National University of Defense Science and Technology
- Major
- Computer Science and Technology
- Classification
- TP311.52 Software Development
- Degree
- Master's thesis
- Year
- 2003
- Downloads
- 140
- Citations
- 0
- embedded software developing environment
- communication protocol
- target monitor
- Debugger
- remote debug interface
Abstract
This paper discusses the implement technology of target monitor in embedded software developing environment. At first, we analyzed the running and debugging environment of GDB and Gdbserver-a suite of the GNU debug tools in embedded software developing environment. We analyzed the source code of GDB and Gdbserver, and introduced the GDB remote communication protocol. The execution flow, communication mechanism, and the specific implement procedure to support the GDB debug function are analyzed more intensive.Targeted at the requirement of our project - the embedded software development environment and tools, this paper thoroughly investigated the implement technology of target monitors, and designed a prototype of target monitor of booting type with debugging functions based on Angel monitor. This target monitor prototype runs on our embedded evaluation mainboard with ARM CPU. The architecture of the target monitor in the design consists of four parts: boot procedure of the target machine, generating debug environment, task management and implement of the debug function.In order to connecting the prototype to GDB and supporting the debug function of the latter, this paper presents using the Angel communication protocol as the communication protocol of the prototype. The proposed communication protocol is hierarchical with three layers ~ data provider layer, channel layer and device layer. It is the protocol that enables the target monitor designed in this paper can successfully integrate GDB into the embedded developing environment, because GDB can communicate with this protocol via GDB Remote Debug Interface.
Table of contents
Abstract 8-9
ABSTRACT 9-10
first chapter 10-12
§ 1.1 subject background 10-11
§ 1.2 subject objectives and work content 11
§ 1.3 paper organization 11-12
run the development environment 12-22 < br /> § 2.1 Runtime Environment Overview 12-15
2.1.1 Introduction to the GDB 12-13
2.1.2 of Cirrus Logic CL-PS7500FE About 13 - 14
2.1.3 GDB debugging of embedded software in use 14-15
§ 2.2 development tools 15-20
2.2.1 the ARM Project Manager ( APM) 15-16
2.2.2 ARM Debugger 16-18
2.2.3 ARMulator 18
2.2.4 embedded software development process instance 18-20
§ 2.3 technology base 20-22
Chapter III target monitoring device technology research 22-28
§ 3.1 software monitoring device 22-23
3.1.1 boot the target monitor 22-23
3.1.2 application targets the monitor 23
§ 3.2 Hardware Monitor 23-25 ??
3.2.1 the ICE 24
3.2.2 the ICD 24
3.2.3 ROM, simulation device 24-25
§ 3.3 software emulator 25
§ 3.4 software analog monitor 25-26
§ 3.5 target monitor contrast 26 - 28 Analysis of
Chapter embedded debug environment 28-39
§ 4.1 GDB communication protocol analysis 28-31
§ 4.2 Gdbserver analysis of 31-39 the
4.2.1 Gdbserver is the source structure 31-32 the
4.2.2 Gdbserver is the implementation process 32-33
4.2.3 Gdbserver communication mechanism 33-35
4.2.4 Gdbserver command is handling mechanism 35-39
Chapter target monitoring is designed 39-56
§ 5.1 topics Overview 39
§ 5.2 software monitor design goals 39-41
§ 5.3 boot targets monitor structural design 41-48
5.3.1 the target board to guide 41-43
5.3.2 a monitoring environment 43
5.3.3 Task Manager 43-46
5.3. 4 Monitor the implementation of the application 46-48
§ 5.4 target to monitor communication protocol design 48-54
5.4.1 Data providers layer 48-50 < br /> 5.4.2 channel layer 50-52
5.4.3 device layer 52-53
5.4.4 remote communication protocol interface (RDI) 53-54
§ 5.5 target processing mechanism to monitor debugging function 54-56
Chapter VI Summary and Recommendations 56-57
thank 57-58
Appendix: during the thesis for Master 58-59
Reference 59-60
Related dissertations
- Design and Research of Data Acquisition System of Current Meter
- Design and Implementation of Network Office System Based on Enterprise Instant Messaging Tool MyQQ
- Development of Test Resource Interface Specification Inspection Equipment
- Design and Implementation of Distributed File System for Proxy Services
- The Research of Wireless Broadband Elevator Emergency Communication System Terminal
- Research of Multi-User Underwater Acoustic Cooperative Communication Based on MMSE-DFD Algorithm
- The Development of Control System of Lighting Based on Power Line Carrier Communication Technology
- Software Design of Dual-stage Based on Real-time Operating System Vxworks
- Indoor Dimming Control System Based on Power Line Carrier
- Practical Research on Merging Unit Based on IEC61850
- Research of Household-Type Photovoltaic Inverter Software System
- The Design and Applications of Automatic Engine End of Line (EOL) System
- Research and Design of CAN Bus Network Architecture for Electric Vehicle
- Development and Simulation of Automotive Immobilizer System Based on CAN Bus
- Key Technology Design of Automotive Body Network
- For the design and implementation of portable tester GPS vehicle terminal.
- Design and Verification of the CVIS Data Exchange Standards
- Research of GPRS Technology Applied in Urban Rail Train Monitoring System for Critical Equipment
- Research on the Inertial Navigation System of Four Rotor Helicopter
- Intelligent Management System for Miner's Lamp-Charging