Assisted Debugging of Embedded Systems Development Environment

Author
LiBaoDan
Advisor
WangAnSheng
School
Beijing University of Posts and Telecommunications
Major
Software Engineering
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2009
Downloads
86
Citations
2

Request the full text

Abstract

The functions of embedded system developing utilities during the development have become more and more important, and the research and techniques concerning this field also update rapidly. With continuous promotion and upgrade of hardware performance, more intelligent household appliances, intelligent mobiles, even advanced game consoles employ embedded system as developing platform. As the key part of embedded development, debugging section becomes the main obstacle in the developing procedure. As the fast promotion of hardware performance, the software dimension also rapidly enlarges, which makes the debug operation more difficult. So the character of embedded system decided that embedded software must be debugged by remote-debugging. This thesis’s researching content is the research and design of remote debugger in embedded software IDE.The design of debugger is always based on the analysis of the specific object file format containing the debugging information. So the format of the ELF ( Executable and Linkable File) and DWARF (Debugging With Attribute Record Format) which provided the debugging information which is really loaded by the target system is illuminated in the thesis. The Executable and Linking Format was originally developed and published by UNIX System Laboratories (USL) as part of the Application Binary Interface (ABI). ELF is also the standard target file format in Linux system, the format is relatively simple, it is also the most common embedded system executable file format. DWARF is a language unrelated to support industry-standard format for debugging information. Bell Labs was originally proposed by the system V of sdb debugger developed later by the UNIX programming language of international organizations special interest group (PLSIG) standardization. Because of its mass on the open tool interface standards (TIS) Committee is of the opinion DWARF is to meet present and future information needs of debugging computer language the most flexible format. Eclipse platform is IBM donated to the open source community development framework, Eclipse is that it’s value can be extended to create the integrated development environment provides an open source platform allows anyone to build with the environment and other tools seamlessly integrated tool. Here as a tool for Eclipse plug-ins for integration.It puts forward a method of distill object file debug information by analyses ofELF/DARF objeet file format, designs a flexible data structure, and realizes the debug information distilled, translated the binary into the readable text, and generate strong readable HTML format file.Established the Eclipse GDB debug platform, drive the DSP serial port, so that host and target machines could communicate each other through it,on which the program in DSP can be debugged conveniently, Furthermore, the cost for purchasing expensive debug hardware and software has been dramatically decreased.

Table of contents

Abstract 4-6 ABSTRACT 6-10 Chapter Introduction 10-13 1.1 topics background 10-11 < br /> 1.2 topics task 11-12 1.3 I work 12 1.4 paper structure 12-13 Chapter ELF file format analysis 13-23 2.1 ELF file Info 13 2.2 ELF file overall structure 13-14 2.3 object file data types 14-15 2.4 ELF header (ELF Header) 15-18 2.5 node zone (Sections) 18-19 2.6 string table (String table) 19-20 2.7 symbol Table (Symbol Table) 20-21 2.8 program header table (Program Header Table) 21-23 <br / > Chapter DWARF debugging information format analysis 23-32 3.1 ELF associated with the debug section 23-24 3.2 DWARF2 debugging information indicates 24 -27 3.3 debugging information portal 27-28 3.4 additional debugging information organization 28-31 3.5 ELF object file in the distribution of various debugging information section between 31-32 Chapter information extraction and generates readable files to achieve 32-50 4.1 information extraction and treatment methods 32-33 4.2 for symbolic names and variable names 33 4.3 debugging information extraction and analysis 33-35 4.4 examples of analysis , programming and testing 35-48 4.4.1 ELF header extraction analysis 38-39 4.4.2 program header table extraction and analysis 39-41 4.4. 3 zone extraction analysis 41-45 4.4.4 symbol table extraction and analysis 45-47 4.4.5 unsigned and signed data type LEB128 decoding 47-48 4.5 generates readable HTML file 48-50 Chapter embedded remote GDB debugger environment to achieve 50-60 <br / > 5.1 Eclipse platform Brief 50-53 5.1.1 Eclipsep platform architecture 50-51 5.1.2 Eclipse plug-in mechanism 51-52 < br /> 5.1.3 Eclipse 's SWT / JFace 52-53 5.1.4 Eclipse application 53 5.2 cross debugger implementation 53-58 5.2.1 GNU compiler toolset and runtime environment 54-55 5.2.2 debugger package module 55 5.2.3 output information processing 55 5.2.4 editor 55 5.2.5 implementation process and threading 55-56 5.2.6 debugging 56-58 5.3 DSP serial port communication and testing 58-60 Chapter 6 Conclusion 60-61 6.1 Summary 60 <br / > 6.2 problems with the next development 60-61 References 61-62 Thanks 62

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