Design and Implementation of Debugging Environment for the Heterogeneous Dual-core SoC

Author
WangHuiZuo
Advisor
YangGang , YangFang
School
Xi'an University of Electronic Science and Technology
Major
Software Engineering
Classification
TN47 LSI,ultra LSI
Degree
Master's thesis
Year
2011
Downloads
57
Citations
0

Request the full text

Abstract

Embedded debugging environment for debugging and testing of embedded software , is the most crucial part of the embedded development tool chain . Embedded debugging environment for domestic and foreign popular price expensive and can only be applied to a dedicated hardware platform common debugging environment can only be applied to single-core or isomorphic multicore system - on - a - chip system for heterogeneous multi-core on-chip debugging environment has not yet appeared , which makes the development of heterogeneous dual-core debugging environment has become increasingly urgent . Commonly used the embedded debugging techniques and the advantages and disadvantages of the debugging system , combined with the characteristics of the design of the target system of this article and to achieve a high-performance heterogeneous dual-core debug environment for different debugging techniques . Support different communication mode debugging , the debugging environment : use GDB remote debugging principles and plug the pile method to achieve the serial communication mode , and JTAG communication mode based on JTAG boundary scan principle and client / server architecture to achieve . Heterogeneous dual-core architecture embedded environment synchronization , real-time , remote debugging of the target system . Finally, deployment of heterogeneous dual-core debug environment to run and test environment to verify the effectiveness and stability of the system .

Table of contents

Abstract 3-4 Abstract 4-8 first chapter 8-14 1.1 Background and significance 1.2 research status 8-12 the the 1.2.1 embedded universal debugging method 8-10 1.2.2 common embedded debugging development environment 10-11 1.2.3 debugging technology selected 11-12 1.3 main contents 12-13 1.4 chapters arranged 13-14 Chapter II embedded remote debugging technology 14-20 2.1 embedded remote development process 14-16 2.1.1 Remote development process 14-15 2.1.2 Remote compile and link 15 2.1.3 remote debugging 15-16 2.2 embedded hardware-assisted remote debugging 16-19 2.2.1 BDM debugging 16-17 2.2.2 JTAG debug 17-19 2.3 Summary 19-20 Chapter heterogeneous dual-core SoC debugging development environment needs 20-28 3.1 hardware and software platforms 20 3.2 debugging development environment, system objectives 20-21 3.3 debugging development environment System Requirements 21-27 3.3.1 debugging development environment functional requirements 21-27 3.3.2 debugging development environment performance requirements 27 3.3.3 debugging development environment other requirements 27 3.4 Summary 27-28 Chapter heterogeneous dual-core SoC debugging development environment designed 28-40 4.1 GDB About 28-30 4.1.1 GDB structure 28-29 4.1.2 GDB remote debugging methods 29 4.1.3 RSP agreement 29-30 4.2 serial communication system design 30-36 4.2.1 host-side debugger detailed design 31-32 4.2.2 the target end ARM Stub detailed design 32-35 the the 4.2.3 target end DSP Stub detailed design 35-36 4.3 JTAG communication system design 36-38 The the 4.3.1 host side debugger detailed design 37 4.3.2 GDBServer detailed design 37-38 4.4 Summary 38-40 Chapter heterogeneous dual-core SoC debugging development environment to achieve 40-56 5.1 implementation of the host-side debugger 40-43 5.1.1 symbol parsing module 40 5.1.2 Target download module 40 5.1.3 disassembly functional modules 40-41 5.1.4 debug command module 41-43 5.2 serial communication ARM implementation of the Stub 43-49 the the 5.2.1 serial communication module 43-44 5.2.2 initialization module 44 5.2.3 RSP agreement achieve module 44-45 5.2.4 command processing module 45-48 5.2.5 interrupt processing module 48-49 5.3 serial communication DSP Stub achieve 49-50 5.3.1 instruction types to determine sub-module 49 5.3.2 parallel determination the sub module 49 5.3.3 single-step debugging achieve 49-50 5.4 JTAG communication GDBServer achieve 50-54 5.4.1 initialization module 50 5.4.2 TCP connection module 50-51 5.4.3 RSP communication protocol module 51 5.4.4 JTAG debug processing module 51-54 5.4.5 heterogeneous dual-core debugging realization 54 5.5 Summary 54-56 Chapter debugging development environment running and testing 56-66 6.1 debugging development environment running 56 6.2 debugging development environment functional test 56-64 6.2.1 target file download 56-57 6.2.2 breakpoint operation 57-58 6.2.3 Get setting register 58 6.2.4 to view, modify memory 58-59 6.2.5 Stack View 59-60 6.2.6 single-step execution 60 6.2.7 continuous operation 60-61 6.2.8 jumped into the jump, skip function 61-62 6.2.9 run to the specified line 62-63 the 6.2.10, modify variables 63-64 6.3 Summary 64-66 Chapter VII Conclusion 66-68 Acknowledgements 68-70 the References 70-72 The Appendix 1 RSP Protocol command set 72-73 the Appendix 2 debugging development environment project C / C view 73-74

Related dissertations

  1. Design and Implementation of Embedded Debugging System Based on ColdFire
    ChenDai ·Suzhou University ·2008 ·Master's thesis
  2. Research on Model Based System Engineering Methodology for Control Systems
  3. Research on Remote Debugging System of Excitation Device
    WangMengRan ·Hebei University of Technology ·2012 ·Master's thesis
  4. The Research and Design of the Debugger Basing on ACoral Operating System
  5. Research and Implementation of on-Chip Debugging Solution Based on EJTAG
    WuYaJie ·Ocean University of China ·2012 ·Master's thesis
  6. The Research and Design of Remote Debugger in Embedded-IDE
    HuangGuangHong ·Hefei University of Technology ·2007 ·Master's thesis
  7. Embedded software development environment remote debugging technology research and application
    LiuZuo ·Northwestern Polytechnical University ·2004 ·Master's thesis
  8. Research and Implementation of the Remote Debugger embedded operating system
  9. A Research and Implementation of Critical Technologies to Develop Embedded Linux System
  10. Research and Implementation of Remote Debug Technology for ARM-Based Embedded System
    ZhangQunZhong ·East China Normal University ·2006 ·Master's thesis
  11. Analysis and Design of Debugging Technology in Embedded System
    HuangHongYan ·Zhejiang University ·2006 ·Master's thesis
  12. Research of Linux Kernel’s Software Debugging Technology
  13. Research and Implementation of Embedded Linux Software Debugging Technology
  14. Research and Improvement of Embedded System Debugging Method
    ZhangRong ·Jilin University ·2009 ·Master's thesis
  15. Instruction-level simulation technology and its application in the Apollo simulation
  16. Research and Implementation of Embedded shared remote debugging technology
  17. Based on multicore GDB remote task -level debugging improvements
  18. Design and Implement of Embedded Debugging Mechanism Based on Arca III
    YangYang ·Harbin Institute of Technology ·2009 ·Master's thesis
  19. The embedded software supports USB remote debugger Design and Implementation
  20. Embedded collaborative research and design debugging environment