Analysis and Design of Debugging Technology in Embedded System

Author
HuangHongYan
Advisor
ChenWenZhi
School
Zhejiang University
Major
Computer System Architecture
Classification
TP316 Operating system
Degree
Master's thesis
Year
2006
Downloads
461
Citations
21

Request the full text

Abstract

In today 's rapid development of digital information technology and network technology , embedded systems have been widely penetrated into every aspect of people's daily life . Debugging embedded system development process is a very important part of the debugger is an important factor to measure the pros and cons of a system development environment . The embedded systems determine the characteristics of cross-debugging the inevitability of the development process . The paper first describes the characteristics of embedded systems as well as the principle of cross - debugging . After the current commonly used in the development of embedded systems hardware debugging ICE , BDM , JTAG realization of the principle , the system structure made ??a detailed analysis, and for comparison, the respective advantages and disadvantages . Popular software instrumentation program is easy to implement it in the development and debugging of embedded systems . In order to achieve better design gdbstub , an understanding of the structure of the internal GDB functional modules and their respective location in debugging , from the very important papers one by one analysis GDB three subsystems ( the user interface, symbolic processing , target system processing ) . The paper also discusses the implementation of the GDB remote debugging debugging kernel , embedded systems , GDB remote serial protocol , a detailed analysis of the the GDB debug agent in various implementations of the kernel layer, application layer . Finally, according to the authors involved in the development of Frame29 platform for Intel Xscale GDBstub the realization of a under the premise does not modify the system kernel debug the application method . Portability and eliminates the need to modify the system kernel may bring hidden dangers , reducing the workload brought about because of changes in the kernel . Show that this method is very effective in debugging microkernel operating system service application .

Table of contents

Abstract 3-4 Abstract 4-7 Chapter 1 Introduction 7-10 1.1 Overview of embedded systems 7-8 1.1.1 Embedded Systems Concepts 7 1.1.2 Embedded System Features 7-8 1.1.3 Embedded system development trend 8 1.1.4 embedded systems software development environment 8 1.2 Background papers 8-9 1.3 papers organizational structure 9-10 cross-debugging techniques Chapter 2 Introduction 10-14 2.1 cross-debugging principle 10-11 2.2 cross-debugging method 11-14 2.2.1 Rom Monitor mode 12-13 2.2.2 ROM Emulator 13-14 Chapter 3 Emulator 14-19 3.1 ICE Introduction 14-15 3.2 ICE system architecture 15-17 3.3 ICE disadvantages 17-19 Chapter 4 on-chip debugging method 19-36 4.1 On-Chip Debugger Introduction 19 4.2 Background Debug Adapter (Background Debug Mode, BDM) 19-22 4.3 Joint Test Action Group (JTAG) 22-29 4.3.1 JTAG Introduction 22-23 4.3.2 Boundary Scan Test principle 23-24 4.3.3 JTAG circuit structure 24-29 4.4 ARM core structure and JTAG debugging method 29-36 4.4.1 ARM JTAG Debugger Architecture 29-31 4.4.2 ARM7TDMI JTAG instruction register and frequently used commands 31-32 4.4.3 EmbeddedICE-RT Logic 32-33 4.4.4 Debugging achieve 33-36 Chapter 5 based on GDB remote debugging program design 36-56 5.1 GDB 36-44 5.1.1 GDB overall structure 37 5.1.2 User Interface 37-38 5.1.3 symbolic processing 38-40 5.1.4 target system processing 40-42 5.1.5 Algorithm 42-44 5.2 RSP agreement 44-47 5.2.1 Request 45-46 5.2.2 reply 46-47 5.3 target machine stub 47-56 5.3.1 kernel level debugging model 48-51 5.3.2 application debugging model 51-53 5.3.3 premise does not modify the kernel debug applications 53-56 Chapter 6 summarizes 56-57 References 57-59 Thanks 59

Related dissertations

  1. The Research and Design of Remote Debugger in Embedded-IDE
    HuangGuangHong ·Hefei University of Technology ·2007 ·Master's thesis
  2. Multi-platform embedded Linux debugging and driver development
    MaoBiBo ·Institute of Software ·2003 ·Master's thesis
  3. Research and Implementation of Remote Debug Technology for ARM-Based Embedded System
    ZhangQunZhong ·East China Normal University ·2006 ·Master's thesis
  4. SOPC based ICE debugger Research Design and Implementation
  5. Research of Linux Kernel’s Software Debugging Technology
  6. Study on Robot Controller Based on Heterogeneous Multi-core PAC
    QianWanTao ·Chang'an University ·2013 ·Master's thesis
  7. EJTAG Debugging in Loongson3A System
  8. PACDSP CORE Oriented Multi-core Debug Controller Hardware Design and Software Validation
  9. The Design and Verification of DFT Integration of High Speed Interface IP Cores for High Performance CPU
  10. Design and Realize the JTAG Debugging Module on MCU
  11. Research on Model Based System Engineering Methodology for Control Systems
  12. Optimization of Nature Gas Pipe Network Pressure Energy in Power Generation and Ice Making System
    LuHan ·South China University of Technology ·2013 ·Master's thesis
  13. Technological Development and Applied Research of Nature Gas Pipe Network Pressure Energy in Power Generation and Ice Making
  14. Research on Icebound Eutrophication's Feature of Wuliangsuhai Lake
  15. The Study on the Mechanism of Enhancement of Solution Crystallization by Power Ultrasound
  16. The Monitoring and Mamagement System of Internal Network Security Based on Middleware
  17. The Research of Streaming Media Traversal NAT Based on the Improvement of ICE Protocol
    ChenLiang ·South China University of Technology ·2012 ·Master's thesis
  18. Research on Remote Debugging System of Excitation Device
    WangMengRan ·Hebei University of Technology ·2012 ·Master's thesis
  19. The Research and Design of the Debugger Basing on ACoral Operating System
  20. With the implementation of ICE Internet social service oriented community design based on