Embedded software development environment remote debugging technology research and application

Author
LiuZuo
Advisor
GuJianHua
School
Northwestern Polytechnical University
Major
Applied Computer Technology
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2004
Downloads
227
Citations
11

Request the full text

Abstract

Currently, Embedded Systems such as mobile phone, Personal Data Assistant (PDA) witness fast development. This trend make the development of Embedded Software a significant branch in Computer. Due to speciality, platform-relativity, real-time, high-reliability of Embedded Software, its development is much more difficult compared with the development of traditional application. Thus, it poses more high requests for corresponding development tools. Debugging tools, as a critical component in development tools, play important roles in them. Good debugging tools can help customers develop high-quality software effectively. However, the majority of debugging tools currently used in China are from exports, with their high prices, these exports are not easy to be popularized.’ So, the research and application work on debugging tools in the field of Embedded Software possesses significant value both on theoretical and on practical work. This thesis , with reference to the project- "M*Core 2107 Embedded Software Development Platform" , will focus on the research and application of debugging technology in Embedded Software, under the condition that there is no Operating System on target.This thesis mainly includes the following aspects:Firstly, this thesis researches remote debugging technology used in Embedded Software development, analyzes its advantages and disadvantages, compared with native debugging. At the same time, this thesis carries research work on technologies widely used in remote debugging technology and their own strong and weak points. On the basis of this work, this thesis designs the framework of the remote debugging system in "M*Core 2107 Embedded Software Development Platform" and verifies the technology used in it.Secondly, this thesis puts forward a 3-level architecture for the communication system of the remote debugging system. Based on this architecture, this thesis designs and implements communication protocol. This protocol realizes effective and reliable communication between debugger and monitor, and simplifies their design.Thirdly, this thesis designs the software architecture for themonitor on target and based on this architecture, it designs and implements the monitor. This monitor possesses good modularity, expansibility and portability.Finally, this thesis discusses the implementation of remote debugging when Operating System is introduced to the target."M*Core2107 Embedded Software Development Platform" has been released and performs pretty good under the use of many enterprises, colleges and research institutes.

Table of contents

The first chapter 8-15 1.1 Project Background 8-10 1.1.1 Project sources and embedded software development tools, the status and role 8 < br /> 1.1.2 embedded software development process 8-9 1.1.3 characteristics of embedded software development and remote debugging techniques proposed 9-10 1.2 remote Debugging technical principles and processes 10-11 1.2.1 remote debugging technique of key terms 10 1.2.2 remote Debugging technology development review 10 - 11 1.3 remote debugging features 11-12 1.4 remote Debugging the problem to be solved 12 1.4.1 host and target machine communication problems between 12 1.4.2 debugger on the host design and implementation 12 1.4.3 remote debugging efficiency 12 1.5 remote debugging Techniques selection 12-13 1.6 remote debugging process 13-14 1.6.1 debugger and monitor the distribution of tasks between programs 14 1.6 .2 monitoring Program Design and optimization 14 1.7 thesis contents and structure 14-15 Chapter communication protocol design and implementation 15-31 2.1 communication protocol design 15-18 2.1.1 hierarchical division of communication protocols and functions of each description 15-16 2.1.1.1 debug information layer (Debug Message Level) 16 2.1.1.2 frame layer (Framing Level) 16 2.1.1.3 physical Layer (Psysical Level) 16 2.1.2 The problem to be solved 16-18 2.1.2.1 physical Layer 16-17 2.1.2.2 data link layer 17-18 <br / > 2.2 communication Protocol 18-30 2.2.1 debug information layer key technology implementations 18-27 2.2.1.1 debug commands defined 18-23 2.2.1.2 data representation issues 23 2.2.1.3 control information definition 23-25 ?? 2.2.1.4 error handling 25 -27 2.2.2 frame layer key technology implementations 27-30 2.2.2.1 definition of the data frame 27-30 2.2.2.2 error processing 30 2.3 Summary 30-31 Chapter III monitoring Program Design and Implementation 31-56 3.1 functional Description 31 < br /> 3.2 problems to be solved 31-32 3.2.1 modularity, scalability and portability 31 3.2.2 monitoring program and the program being debugged relationship 31-32 3.2.3 monitoring Program optimization 32 3.3 monitoring Program design 32-36 3.3.1 monitoring the relationship between the program and the user program 32 3.3.2 monitoring Program state diagram 32-34 3.3.3 function module division and the relationship 34 - 36 3.4 news, event queue module 36-39 3.4.1 events and event queue 36-37 3.4.2 messages and message buffer pool 37 3.4.3 the main event handler 37-38 3.4.4 the main message processing function 38-39 3.5 event processing module 39-51 3.5.1 target machine introduced 39-40 3.5.2 debug request event handler 40-51 3.5.2.1 step (step), continue (continue) command 40-51 3.6 initialization module 51-54 3.6.1 interrupt system establishment 52-53 <br / > 3.6.2 user program execution environment initialization 53-54 3.6.2.1 monitoring program end work done 53-54 3.6.2.2 download completed work 54 3.6.2.3 first run to complete the work 54 3.7 monitoring Program optimization 54-55 3.8 Summary 55 -56 fourth chapter is based on the operating system for remote debugging research 56-61 4.1 Why should the introduction of the operating system on the target side ? 56-57 4.2 introduction operating system on an existing remote debugging system effects 57 4.3 operating system and the monitoring procedure involved 57-59 4.3.1 Option One : Monitor as an independent program runs on the operating system 57-58 4.3.2 Option Two: will monitor embedded into the target operating system kernel 58 4.3.3 monitoring procedures in the operating system the integrated 58-59 4.4 drawbacks 59-60 4.5 Summary 60-61 Conclusion 61-62 Thanks 62-63 References 63-65

Related dissertations

  1. Based on CAN Bus Monitoring System of Coal Mine Safety
    ZhaoDongQing ·University of North ·2008 ·Master's thesis
  2. The Monitor of the City Economic Development Zone Land Market
  3. Urban Sprawl Pattern and Measurements:a Case Study of Wuhan City
    MAHAMAR ATTINO ·Central China Normal University ·2014 ·Doctoral dissertation
  4. The design and Realization of flight quality monitoring system
  5. Design and Research of Data Acquisition System of Current Meter
    GaoYang ·Northeastern University ·2013 ·Master's thesis
  6. Research about Content Delivery Network Monitor Based on Web Platform
  7. The State Monitoring of the Process of High Precision Ball
    AnPing ·Zhejiang University of Technology ·2013 ·Master's thesis
  8. Design and Experimental Research of Greenhouse Environment Computer Control System
  9. The Technology of Designing and Monitoring for Complex Simulation Experiments
    WanQiuSheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  10. Design and Implementation of Business Supporting Network Management
    YangXiaoGuang ·Northeastern University ·2013 ·Master's thesis
  11. Design and Implementation of Network Office System Based on Enterprise Instant Messaging Tool MyQQ
  12. Design and Implementation of Intranet Security Management and Patch Distribution System
    WangZhongYang ·Northeastern University ·2013 ·Master's thesis
  13. The Research of Runtime Verification on Real-Time System
    WangZhen ·Central China Normal University ·2014 ·Master's thesis
  14. Research on the Malicious Codes Monitoring Technology Based on the File System
    SunHaiPeng ·Northwest Normal University ·2013 ·Master's thesis
  15. Development of Test Resource Interface Specification Inspection Equipment
    ZhangZuoDong ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Design and Implementation of Distributed File System for Proxy Services
    ZhangYongSheng ·Harbin Institute of Technology ·2012 ·Master's thesis
  17. The Research of Runtime Verification Technology Based on Timed Sequence Diagram
    GuJian ·Central China Normal University ·2014 ·Master's thesis
  18. Research on One-station and Multi-station Combined Monitoring Method of GNSS System Time Offset
  19. The Research of Wireless Broadband Elevator Emergency Communication System Terminal
  20. The Design of Smart Home Based on Zigbee
    OuYangWuLin ·Zhejiang University of Technology ·2013 ·Master's thesis