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

Request the full text

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

  1. Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
    PanZuoZuo ·Dalian Polytechnic University ·2010 ·Master's thesis
  2. The Study of Remote Video Monitor System Baced on ARM
    GuoZuo ·Hebei University of Technology ·2012 ·Master's thesis
  3. Design and Implementation of Intelligent Video Surveillance System Based on Embedded Linux
    JinPing ·Central South University ·2013 ·Master's thesis
  4. Video Surveillance System Based on Embedded Technology Research
  5. Design of Video Monitoring System Based on the Embedded
  6. The Design of Embedded Network Video Surveillance System Based on ARM9
  7. Research and implementation of remote monitor system of ship based on the technology of the Internet of things
  8. Design of Video Surveillance Software Based on Ti Dm6446Processor
    YuanWei ·Zhejiang University of Technology ·2013 ·Master's thesis
  9. Data Acquisition System of Cavern Based on Embedded Web Server
  10. Research and Realization of Embedded Data Acquisition and Recording System for Industrial Process Based on ARM
    LiuDaoLin ·Dalian Polytechnic University ·2008 ·Master's thesis
  11. Research on the Indoor Air Monitoring System Based on Embedded Linux
  12. Research and Realization on the Key Technology of Monitoring System about Granary Environment Based on ARM9
    SunZuoLi ·Hunan University ·2013 ·Master's thesis
  13. Automatic Switcher Based on Embedded System Design and Implementation of Test Platform
  14. Research on Meteorological Data Acquisition and Processing System
    ZhaoSheng ·Wuhan University of Technology ·2013 ·Master's thesis
  15. The Research of the Design and Application for Embedded Remote Terminal Unit
    XiaRui ·Northeastern University ·2013 ·Master's thesis
  16. Design and Implementation of Magnetic Card Detection System Based on Embedded System
  17. Design of distributed control system based on embedded platform
    JieZhouKai ·Xi'an Optics and Fine Mechanics ·2010 ·Master's thesis
  18. Design and Implementation of Car Embedded Systems to Multimedia Intelligent Terminal
    LiShun ·Northeastern University ·2012 ·Master's thesis
  19. The Research of CANopen Protocol Based on Embedded Systems
  20. The Research and Design of Smart Home System Based on Zigbee Technology
    ZhangZhiDong ·Liaoning Normal University ·2013 ·Master's thesis