Research and implementation of simulation development environment based embedded debugging
- Author
- YaoYuan
- Advisor
- LuoKeLu
- School
- University of Electronic Science and Technology
- Major
- Applied Computer Technology
- Classification
- TP391.9 Computer simulation
- Degree
- Master's thesis
- Year
- 2008
- Downloads
- 95
- Citations
- 1
Abstract
Embedded systems are a hot topic of today's computer software development . With the development of embedded hardware technology , in the case of growing embedded applications as well as the increasing complexity of embedded systems is bound to the size and complexity of the requirements of the embedded software continuously improve . Has a very important significance in the embedded software development process , debugging techniques , debugging means of a direct impact on the efficiency and quality of software development . Debugging techniques and means there are two categories of hardware - and software - based , they have their own advantages and disadvantages . In the process of the development and debugging of embedded systems often require two debugging tools complement each other to ensure product quality . Simulation development platform based debugging solutions , but there is often not take into account the hard and soft , debugging model is not scalable, debug interface unfriendly , less efficient debugging and many other issues . This paper first analyzes two debugging model for software debugging techniques and hardware debugging techniques several debug mode , and hardware and software debugging advantages and disadvantages of comparative analysis . Then the specific research simulation development platform IsIm framework , workflow simulation run mechanism and debugging system . Finally designed and implemented a simulation - based development platform debugging system . It contains simulation cross debugging and software OCD debug friendly debugging interface , unified debugging command interface , the debugger can be extended to support a variety of the debug communication protocols and different protocols . Simulation cross debugging subsystem according to the program whether the operating system supports two debugging model . Host -side package as the core GDB debugger , target -side debugging agent simulation run environmental management in collaboration with specific debugging features , both through the RSP protocol to communicate . Software OCD debugging subsystem to drive technology IsIm based signaling system and cycle accurate timing simulation technology characteristics , and solve related hardware debugging demand . The design has to support the debugging of both hard and soft , scalability , user-friendly, high efficiency of debugging , development simulation debugging system has certain reference value .
Table of contents
Abstract 4-5
Abstract 5-12
Chapter Introduction 12-16
1.1 Background 12-13
1.2 research status 13
1.3 embedded the simulation debug system proposed 13-14
1.4 subject sources and research 14
1.5 paper is organized 14-16
debugging principle analysis 16-30
2.1 debug basic concepts 16-17
2.1.1 breakpoints 16
2.1.2 stack frame 16
2.1.3 single-step mode 16-17
2.1.4 single-step execution 17
2.1.5 continue to perform 17
2.2 embedded software debugging techniques 17-22
2.2.1 GDB-stub debugging model 18-19
2.2.2 GDB-Server debug model 19-20
2.2.3 debug information indicates 20-22
2.3 embedded hardware debugging techniques 22-28
2.3.1 Crash and Burn 22-23
2.3.2 ROM Monitor 23-24
2.3.3 ROMEmulator 24-25
2.3.4 In-Circuit Emulator 25-26
2.3.5 On-Chip Debug 26-28
2.4 hardware and software debugging technical analysis 28-29
2.5 Summary 29-30
the Chapter simulation development platform IsIm framework 30-45
3.1 Simulation Development Overview 30-31
3.2 simulation development platform IsIm 31-35
3.2.1 System architecture 32-34
3.2.2 Simulation component library design 34-35
3.3 simulation run mechanism 35-40
3.3.1 simulation run environmental structure 35-36
3.3.2 simulation run environmental management 36-40
the
of 3.4 simulated target board workflow 40-42
3.4.1 workflow simulation environment 40-41
3.4.2 simulation component workflow 41-42
3.5 debugging workflow 42-44
3.5.1 Simulation cross-debugging 42-43
3.5.2 software OCD debug 43-44
3.6 Summary 44-45
Chapter simulation debugging environment Design and Implementation 45-75
4.1 simulation debugging technology 45-46
4.2 simulation cross debugging model 46-47
4.2.1 without operating system support program debugging 46-47
4.2.2 on operating system support for program debugging 47
4.3 host debugging end design 47-58
4.3.1 GDB / MI interface analysis 47-51
4.3.2 GNU toolset compiler and runtime environment 51-52
4.3.3 graphical front-end functional requirements 52-54
4.3.4 graphical front-end to achieve 54-58
4.4 target machine debugging end design 58-67
4.4.1 RSP protocol analysis 58-63
the 4.4.2 debug agent design ideas 63-65
4.4.3 debug agent implementations 65-67
the
the 4.5 software OCD debug design and realization 67-74
4.5.1 Functional Requirements 67-68
4.5.2 Overall structure 68-69
4.5.3 virtual communication 69
4.5.4 unified debugging interface 69-71
4.5.5 debugging front-end interface and debugging process flow 71
4.5.6 breakpoint functionality 71-72
4.5.7 Timing Analysis 72-74
4.6 Summary 74-75
Chapter debugging system validation and analysis 75-80
5.1 debug effect 75-77
5.2 Advantages and disadvantages 77-79
5.3 Looking 79-80
Chapter VI Conclusion 80-82
Acknowledgements 82-83
the
References 83-86
studying for a master's degree during research 86
Related dissertations
- The Electrical Control System Design of Fine Grinding Machine for Rail Welds
- Design and research -based the PROFIBUS fieldbus cigarette automatic sorting system
- Active magnetic bearing system controller design and simulation debugging research
- A software logic analyzer SimLA Research and Implementation
- Development platform architecture of embedded systems simulation
- The Design and Implement of 16/32-bit MCU Software Simulator