Debugging ARM Embedded System Research and Implementation of abnormal

Author
YangDong
Advisor
QiZhengWei , QiZhenYu
School
Shanghai Jiaotong University
Major
Software Engineering
Classification
TP368.12 Microprocessor
Degree
Master's thesis
Year
2009
Downloads
79
Citations
1

Request the full text

Abstract

In recent years, the rapid development of embedded technology, embedded everywhere. Based on ARM core chip has a low power, high performance characteristics, widely used in embedded products. This paper aims to study abnormal debugging ARM Embedded System technology, design and implement a comprehensive set of ARM exception debug system, accelerate embedded software development tools in the domestic promotion. The main work and achievements include: abnormal for embedded systems difficult to debug, debugger, expensive features, proposed and designed a set of debugging tools ARM embedded system abnormalities, its functions and features include: 1. Based on price considerations. System is mainly implemented in software rather expensive ICD aside other debugging tools, hardware components using only one communication cable, simply complete host and embedded development board communications can be. 2 easy to operate. Use graphical user interface, easy to use. Debug commands easy to remember, and to provide help menu. 3 powerful. This tool brings together a variety of debugging system crashes methods and routes, automated complete. Can debug a variety of crashes, providing rich and powerful debugging capabilities to full-positioning system problems. 4 software architecture is good, easy expansion. The tool uses a component software architecture approach to facilitate the expansion of demand in actual use can be flexibly modified according to the current component you can easily add new components. This exception to the ARM debug embedded system key technologies involved in the study, first proposed and implemented based on ARM processor and compiler stack armcc backtracking method, the debugger will be able to directly view the current call stack for all tasks the list, and in the way the function name list display, more convenient and more accurately locate the crash problem. Disable interrupts for the crash case, CPU status abnormal characteristics, the paper presents the originality of the polling type serial communication as debugging channels to resolve the issue. In the debugging tools side, according to the embedded development board running different software versions, using dynamically loaded image file parsing symbol table method, designed and implemented a database symbol table, the symbol table searching and matching algorithms. In the structural design, the system is divided into three modules, the definition and implementation of a lightweight fit on the bus in the UART transmit remote communication module, located inside a simple embedded system debug module EDB (Embedded DeBug system), as well as located in the host-side debugging control software PDB (PC DeBug system), EDB and PDB have adopted the way of software architecture components can be flexible and convenient features to enhance existing modules and new modules to add new features extend through the PDB control EDB, can be convenient and effective information collection system, debug the system, improve development efficiency. In the paper also summarized the embedded system development process may encounter a variety of errors, and the reasons for each error, analysis, debugging methods.

Table of contents

Abstract 5-7 ABSTRACT 7-12 1 Introduction 12-15 1.1 remote debugging technology development review 12 - 13 1.2 ARM debug systems and research status 13-14 1.3 dissertation research objectives 14-15 2 ARM embedded system analysis 15-24 2.1 Embedded System Overview 15-16 2.2 ARM architecture Profile 16-19 2.2.1 ARM calling conventions 16 -17 2.2.2 ARM exception stack checking methods 17-19 2.3 ARM processor briefly 19-21 2.3.1 ARM processor Performance characteristics 19-20 2.3.2 ARM processor exception model 20 2.3.3 ARM abnormal state register 20-21 2.4 ARM abnormal flow 21-24 3 key technical design 24-33 3.1 abnormal state system information collection 24-31 3.1. a stack trace list 24-27 3.1.2 stack information 27-28 3.1.3 Memory information 28-30 3.1.4 current task information 30 3.1.5 task-related information 30 3.1.6 Event Information 30-31 3.2 data communication 31-32 3.3 Information Display 32 3.4 Summary 32-33 4 ARM exception debug system design and implementation 33-45 <br / > 4.1 Exception Debugging System Framework 33 4.2 Embedded Software EDB part of the design and implementation of 33-39 4.2.1 EDB procedural framework for the design and implementation of 34 -35 4.2.2 stack trace subsystem architecture design and implementation 35-37 4.2.3 memory subsystem design and implementation of information collection 37 4.2. 4 task information collection subsystem design and implementation 37-38 4.2.5 event information collection subsystem design and implementation 38-39 4.3 PDB host software design and implementation 39-41 4.3.1 stack trace information display design and implementation 40 4.3.2 Other information display design and implementation 40-41 4.4 Test Data 41-44 4.4.1 Help menu 41-42 4.4.2 current task information 42 4.4.3 Memory Pool Information 42 4.4.4 stack information 42-43 4.4.5 stack trace list 43-44 4.5 Summary 44 -45 5 system validation and functional assessment 45-49 5.1 Exception debugging system functional evaluation 45-46 5.2 system verification 46-48 5.3 Summary 48-49 6 Conclusion 49-51 6.1 paper work done and features 49-50 6.2 further work 50-51 References 51-54 Appendix 1 54-56 Appendix 2 56-58 Thanks 58-59 papers published during the study for a degree directory 59-60

Related dissertations

  1. Engine Room Monitoring System Based on the Embedded Web Server
  2. Design of Human Physiological Parameters Acquisition System Based on Embedded Linux
  3. Research of Surface Roughness Network Data Collector System Based on ARM
  4. The Embedded Industrial Control Module Based on iCAN Protocol
    GouZuo ·Inner Mongolia University of Technology ·2013 ·Master's thesis
  5. Research and Design on Embedded Face Recognition Entrance Guard System
    LiuXinPeng ·Hebei University of Engineering ·2013 ·Master's thesis
  6. Research of the Embedded Tumor Medical Image Analyzer
    GongLiWu ·East China Jiaotong University ·2013 ·Master's thesis
  7. Research on Image Processing System of Embedded Digital Inkjet Printer
    HuangWei ·Donghua University ·2014 ·Master's thesis
  8. The Study and Design of Embedded Multifunction CNC Platform Based on ARM
    QianZuo ·Nanchang University ·2013 ·Master's thesis
  9. Plant3D Information Acquisition System Automatically
  10. Research and Implementation of Embedded Remote Monitoring System Based on ARM
    YangHong ·Xi'an Technological University ·2013 ·Master's thesis
  11. The Design of Multi-channel Data Acquisition System for Marine
  12. Distributed Optical Fiber Temperature Measurement System Based on ARM
  13. Research and Design of the Embedded Network Control System Based on ARM&Linux
  14. Research and Implementation of Controller for Data Acquisition Based on ARM&Linux
  15. Design of Embedded Remote Monitoring System for Intelligent Home
    LiaoXuan ·West China University ·2013 ·Master's thesis
  16. Research and Implementation of Embedded System in Intelligent Household
    LiNa ·Dalian Maritime University ·2012 ·Master's thesis
  17. Effects of the Multi-National Corporation to China embedded industrial agglomeration
    ZhengLiFang ·Capital University of Economics ·2014 ·Master's thesis
  18. The Remote Wireless Control System Based on ARM Processor
    WangHui ·Nanchang University ·2014 ·Master's thesis
  19. The Research of Household Remote Monitoring Based on Embedded Web Server
  20. Remote Monitor System for Oil Wells Working Condition Based on GPRS