Design and Implementation of embedded systems cross debugger

Author
LiangQuan
Advisor
LeiHang
School
University of Electronic Science and Technology
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2008
Downloads
117
Citations
2

Request the full text

Abstract

Cross debugger is a crucial tool for developers in embedded system domain. It provides the facilities to control and introspect into other running programs, which is important for the programmer to find where the bug is, and then fix the bug. As a debugger for cross development environment, cross debugger not only has traditional debugger’s features such as breakpoint, variable inspecting, etc. but also should provide many cross facilities, for example, remote downloading, remote controlling, and every command from the host will be parsed and executed by the debugger agent in the target.This dissertation discloses the magic of cross debugger’s theory and its design principles, also with the implementations and detail internals. We firstly review the history of cross debugger’s development. Then we analyze the main frame and core technology of debugger’s designing, such as hardware and operating system’s surport, breakpoint and single stepping, controlling execution, inspecting data and variables, program context and so on.Insight is a front end for GNU debugger(GDB). We analyze each of its modules and dig deeply into its source code. Some modification is done to make it fit the need from our debugging environment.In embedded field, there are various target hardwares with different architecture. So making a debugging agent that can run on multiple hardwares is meaningful. This dissertation dedicates to research on designing this kind of debug agent. And a version based on PC104 is developped. And the details of individual module are described.Embedded research is going forward in several areas such as realtime, ditributing, SOC, which bring out new challenge to cross debugging. There are much work should be done in the future in this field.

Table of contents

Chinese Abstract 4-5 ABSTRACT 5-9 Chapter Introduction 9-23 1.1 Embedded Systems Overview 9-13 the the 1.1.1 embedded systems concept and features 10-11 the the 1.1.2 embedded systems development direction 11-13 1.2 embedded cross-debugging techniques Overview 13-21 1.2.1 cross-debugging features 13-14 the the 1.2.2 cross debugging technology development REVIEW 14-16 1.2.3 the research and application status 16-18 the the 1.2.4 embedded cross debugger development direction 18 1.2.5 cross-debugging system structure 18-20 1.2.6 cross-debugging process 20-21 1.3 topics based on research content 21 1.4 This article structure 21-23 Chapter II commissioning technical analysis and research 23-47 the the 2.1 debugger designs should follow the principle of 23 2.2 debugger structure 23-24 2.3 hardware debugging support 24-28 2.3.1 hardware debugging features 24-27 2.3.2 contemporary CPU debug support 27-28 2.4 operating system debugging support 28-31 2.4.1 debugger and operating system interaction model 29 2.4.2 contemporary operating system debugging support 29-31 2.5 program run control 31-33 2.6 breakpoints and single-step execution 33-39 2.6.1 breakpoints 33-35 2.6.2 single step 35-39 2.7 program context Analysis 39-42 2.7.1 source-level view 39 2.7.2 program stack 39-41 2.7.3 assembler level debugging 41-42 2.8 to view a variety of data and variables 42-46 2.9 Summary 46-47 the Insight structure analysis 47-56 3.1 Insight structure hierarchy 47-49 3.2 module structure 49-51 3.3 remote serial communication protocol 51-53 3.4 stub debug mode 53-56 Chapter cross-platform debugging agent structure design 56-61 4.1 debug agent technology research 56-58 4.1.1 debugging proxy workflow 56-58 4.1.2 debug agent functionality 58 4.2 cross-platform technology 58-60 4.2.1 cross-platform debugging proxy basic design idea 59 4.2.2 cross-platform debugging agent hierarchy 59-60 4.3 cross-platform debugging agent structure 60-61 Chapter debug agent implementations 61-76 5.1 achieve cross-platform debugging agent 61-73 5.1.1 initialization module 61-62 the 5.1.2 debug function module achieve 62-64 5.1.3 interface module 64-66 5.1.4 communication module implementations 66-67 5.1.5 program load modules to achieve 67-69 5.1.6 program download cured function modules to achieve 69-70 5.1.7 command-line interface module implementation 70-73 5.2 Other function 73-76 5.2.1 restart the debugger 74 5.2.2 abort debugger 74-76 Chapter 6 Conclusions 76-77 Acknowledgements 77-78 the References 78-81 during attack Master made research 81-82

Related dissertations

  1. Effects of the Multi-National Corporation to China embedded industrial agglomeration
    ZhengLiFang ·Capital University of Economics ·2014 ·Master's thesis
  2. The Remote Wireless Control System Based on ARM Processor
    WangHui ·Nanchang University ·2014 ·Master's thesis
  3. The Research and Design of Security Monitoring System Based on Embedded and Cloud Storage
    ChenYunLong ·Wuhan University of Technology ·2013 ·Master's thesis
  4. Engine Room Monitoring System Based on the Embedded Web Server
  5. Rearch on Intelligent Monitoring Technology That Access to Internet
  6. Design of Indoor Environmental Quality Monitoring System Based on ARM
  7. Design of Industrial Equipment State Wireless Monitoring System Based on STM32
    ZhangDongSheng ·Dalian University of Technology ·2013 ·Master's thesis
  8. Design and Implementation of Intelligent Network Dome Based on DaVinci Technology
  9. 3G Agricultural Experiment Station of intelligent design and development of remote monitoring system based on
  10. Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
  11. Embedded Software Design of AC Field Detection Instrument Based on ARM
  12. Design and Realization of Farm Machinery Working State Real Time Wireless Monitoring System
    WangZuo ·Harbin Engineering University ·2013 ·Master's thesis
  13. Design of Farmland Environment Remote Monitoring System Based on ZigBee Network
    GuoJia ·Henan Agricultural University ·2013 ·Master's thesis
  14. Design and Implementation of Video Capture System Based on Embedded Technology
    RanYuFeng ·Shandong University ·2013 ·Master's thesis
  15. Research of Surface Roughness Network Data Collector System Based on ARM
  16. The Design and Implementation of Gateway and Client of Embedded Smart Home System
  17. The Embedded Industrial Control Module Based on iCAN Protocol
    GouZuo ·Inner Mongolia University of Technology ·2013 ·Master's thesis
  18. A Design of Embedded Motion Controller for4-axis Industrial Robot
    LiuZhiWei ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. Study on Function Modules of the Mobile Robots in Sudden Accident
    ZhangChen ·Hebei University of Technology ·2013 ·Master's thesis
  20. Research on Embedded Control System for Palletizing Robot
    YangYang ·Nanjing Forestry University ·2013 ·Master's thesis