Design and Implementation of CSoC Online Debugger System Based on JTAG

Author
WuJiXian
Advisor
KangBo , ZhangZiNing
School
University of Electronic Science and Technology
Major
Software Engineering
Classification
TN47 LSI,ultra LSI
Degree
Master's thesis
Year
2013
Downloads
3
Citations
0

Request the full text

Abstract

The current system-on-chip technology has become design VLSI mainstreamtechnology, but also one of the most promising technologies of the21st century, the ICindustry boomed and opportunities. SoC has a high level of integration and complexity,the corresponding test is also very complicated, in this context, there is growingemphasis on lower-cost but high efficiency JTAT testing technology. SoC, embeddedsoftware debug accounted for the vast majority of system debugging tasks, which alsomakes embedded software debugging become a key technology in the SoC testtechnology. Configurable SoC SoC technology. This article. This article is based on the8051microcontroller hard-core embedded operating system, OCDS debugging interfaceto achieve the research and design of the system based on the the CSoC JTAG on-chipdebugging.The core of the on-chip debug system debugging software design, this project isdivided into three sections, keil interface layer, the driver layer and hardware layer.Logic processing chip select flashy Microelectronics FS7805, through efficientprogrammable module, the module interface transfer characteristics of the softwaredesign, the programmable module interface is simulated as JTAG waveform signalcontrol interface, and finally to design the best waveform descriptor, the debuggingsignal accuracy testing of internal logic.The subject of another debugger achieve the study, the realization that the JTAGlogic the debug signal through the the debugger internal cache data projectionsprojected through the PC. This paper also compares the two implementations ofdifferent, ultimately derived from the point of view of software design through the PCprojection JTAG logic method is more effective, and the system’s portability andscalability better. The article also from the correctness point of the second method toachieve the debugger for testing and performance evaluation.The subject with a lower cost, basic debugging hardware/software addbreakpoints, single-stepping and pause, run and terminate MCU reset and register toview, read/modify the external memory is worth the read and modify. The debuggingprocess is not tight independently of the MCU, the MCU running real-time will not beaffected, with a high reference value for other debugger design.

Table of contents

Abstract 5-6 ABSTRACT 6-7 catalog 7-11 first chapter 11-15 <br / > 1.1 research background 11-12 1.2 research situation at home and abroad worth 12-13 1.3 research 13 1.4 thesis structure arrangements 13-15 Chapter debugger system framework design 15-21 2.1 Overview 15 2.1.1 debugger basic concepts 15 2.1.2 cross compiler 15 2.2 debugger functional requirements introduced 15-16 2.3 system modules 16-19 overall block diagram 2.3.1 system 16-18 2.3.2 debug host 18 2.3.3 debugger module 18 2.3.4 target machine module 18-19 2.4 software design and function 19-20 2.4.1 software layered model 19-20 <br / > 2.4.2 system Function 20 2.4.3 debugging based on the principles 20 2.5 Chapter Summary 20-21 Chapter debugger drivers design 21-30 3.1 KEIL IDE Overview 21-22 3.2 KEIL interface introduced 22-28 3.2.1 initialization function 23 3.2.2 memory function 23-25 ?? 3.2.3 register function 25 3.2.4 breakpoint function 25-26 3.2.5 address indicates 26-27 3.2.6 debugging 27-28 3.3 debugger interface 28 3.4 debugger architecture 28-29 3.5 Summary 29-30 Chapter IV JTAG agreement with OCDS design 30-40 4.1 debug protocol 30 4.2 JTAG protocol 30-35 4.2.1 JTAG principle 30-32 4.2.2 TAP controller 32-33 4.2.3 data access 33-34 4.2.4 test 34-35 4.3 OCDS 35-39 4.3. a modular structure 35-36 4.3.2 test Interface 36 4.3.3 instruction access Register 36-37 4.3.4 NEXUS register 37-38 4.3.5 other registers 38-39 4.4 Summary 39-40 chapter PC -driven design 40-45 5.1 OCDS achieve 40-41 5.1.1 Nexus register read and write 40 5.1.2 Memory read 40 achieve -41 5.1.3 executes instructions 41 5.2 debug function interface design 41-43 5.2.1 register control interface design 41 5.2.2 memory operation interface design 41-43 5.2.3 Run / Step / stop / Goto function interface design 43 5.2.4 software / hardware breakpoint interface design 43 5.3 USB drive interface design 43-44 5.4 Summary 44-45 Chapter VI system interface firmware design 45-56 6.1 system firmware communication connection diagram 45 6.2 FS7850 structures and design 45-53 6.2.1 Command mode 48-53 6.2.2 FIFO mode 53 6.3 communications protocol 53-54 6.4 system firmware system processes 54-55 6.5 Chapter Summary 55-56 Chapter VII of the system testing and performance evaluation 56-63 7.1 software configuration 56-57 7.2 hardware configuration 57-58 7.3 KEIL debugging 58-60 7.3.1 debugger 58-59 7.3.2 start debugging 59 7.3.3 reset / run / stop / single -step operation 59-60 7.4 performance evaluation 60-62 7.4.1 two kinds analysis and comparison of 60 7.4.2 debugger performance evaluation 60-62 7.5 Chapter Summary 62-63 summary and Chapter VIII Looking 63-65 Thanks 65-66 references published during the 66-69 pursue a degree academic catalog 69 -70

Related dissertations

  1. Based on Can Field-bus Technology and Web Service Home Intelligent Control System Design and Realization
  2. Design of Dynamic Pressure Controller Based on μC/OS-Ⅱ
  3. Research on Pulsating Vacuum Pressure Steam Sterilization Control System Based on ARM
    FuAiJun ·Nanchang University of Aeronautics and ·2013 ·Master's thesis
  4. The Design and Implementation of Multi-functional Smart Home System
  5. Research of High-voltage Circuit Breaker Standard Signal Genetator
    ZhaoXiuFeng ·Hebei University of Technology ·2013 ·Master's thesis
  6. Design and Implementation of Marine Sensors Platform Based on Embedded System
    HouPingYu ·Ocean University of China ·2013 ·Master's thesis
  7. The Data Acquisition System Design Based on Linux
    RuanYan ·Hubei University ·2012 ·Master's thesis
  8. Solid-phase Extraction Workstation Mechanism Optimize and Servo Control System Design
    WangYuLin ·South China University of Technology ·2013 ·Master's thesis
  9. Gas Sensor Array Pattern Recognition Algorithms and Hardware Implementation
  10. The Design and Implementation of the Equipment Management Module of the Embedded RFID Middleware
  11. The Research on Component-based Real-time Embedded Operation System
  12. The Transplant of Embedded Real-time Operating System FreeRTOS on x86Platform
  13. The System Migration and Development of Embeded Linux Based on MagicARM2410
    WangLiDong ·Tianjin Normal University ·2012 ·Master's thesis
  14. Hardware-software Partitioning and Design of Embedded Operating System
  15. Log Analysis Technology Using AADL Modeling and Tool Development
    LuoWei ·Hunan University ·2012 ·Master's thesis
  16. Design and Implementation a Laser Printing Software Based on the DC1100
    WangNa ·Tianjin University ·2012 ·Master's thesis
  17. Design and Implementation of Embedded Operating System for Sensor Network
    MaWenTao ·Chongqing University ·2013 ·Master's thesis
  18. Research of Highway Vehicle Over-limit Pre-detection System Based on Embedded Technology
    WeiLiFeng ·Xi'an Technological University ·2013 ·Master's thesis
  19. Wireless Voice Broadcast System Based on H9200CS
    LuXiaoRong ·Shandong University ·2013 ·Master's thesis
  20. The Research of Embedded Platform Based on SOPC