Research and Implementation of SoC embedded microprocessor debugging technique
- Author
- ZhaoYan
- Advisor
- WangZhiHua , CaoJian
- School
- Central South University
- Major
- Circuits and Systems
- Classification
- TP332 Arithmetic unit and the controller (CPU)
- Degree
- Master's thesis
- Year
- 2005
- Downloads
- 217
- Citations
- 2
- SoC
- The on-chip real - time debugging system
- Serial port debugging
- PSTN short message terminal system software
Abstract
As SoC ( System on a Chip System-on-Chip ) development , embedded microprocessors has become a core part of the SoC . Due to the continuous improvement of SoC integration and chip package size and pin count constraints , traditional debugging methods now can not meet the requirements of the embedded software debugging . So , embedded microprocessor or SoC debug function it is very necessary hardware support . The existing on-chip debug system based on microprocessor debug mode support . For application PSTN SMS terminal SoC design and debug functions support 8 -bit microprocessor IP core , the paper presents a design method the microprocessor debug mode does not support extended debugging features of the system , not destroy the CPU IP structure is complete , the CPU IP clock management instruction / data breakpoints , single-step , run / stop , CPU reset , view the CPU core registers , read / modify the function of the external memory , as well as online programming , and debug command set and execute completely independent of the CPU, to ensure that the real-time CPU running . This thesis is on the use of the PSTN a short message terminal SoC chip UART ( Universal Asynchronous Receiver and Transmitter, universal asynchronous transceiver , serial port ) to achieve software debugging method for hardware expansion . The case of real-time can not design using on-chip debug system , for example , due to the time factor , the use of software debugging is also regarded as a good choice . Finally , as the application of these two debugging methods , the paper also studied several key technical PSTN short message terminal SoC system software design , and the completion of various programs from the data link layer to the application layer , the PSTN a short message terminal SoC demonstration system . Proposed and implemented in this paper two debugging methods , as well as all the procedures of the demonstration system , through validation on in Spartan Ⅲ xc3s200 FPGA platform .
Table of contents
Chapter Summary of 7-13
1.1 SoC and embedded systems
1.2 embedded system debugging method 7-9
the 1.3 debug the difficulties faced 9-10
1.4 the PSTN short message terminal the SoC structure of 10-11
1.5 paper mainly work structure 11-13
Chapter II JTAG and EJTAG 13-22
2.1 about the JTAG 13-18
2.1.1 the Boundary Scan 13-14
2.1.2 TAP 14-18
2.2 a CPU support debug mode ICD - EJTAG 18 - 22
real-time on-chip debug system design 22-40
3.1 SoC structure as well as the CPU timing of the on-chip real-time debugging system design 22-23 <br / > 3.2 on the design of real-time debugging system to achieve 23-38
3.2.1 principles and the overall structure of 23-24
3.2.2 the CPU Monitor module 24-30
3.2.3 Debug Control Module 30-32
3.2.4 Debug an Access of Port module 32-35
3.2.5 clock and reset management the MEN / SFR 35
3.2.6 access multiplexer 35-36
3.2.7 JTAG the timing generation the 36-38 3.3 debug instance
38-39
3.4 on-chip real-time debugging system limitations 39-40
the nbsp method of the fourth chapter of the use of on-chip UART debug software; 40-54
4.1 works 40-41
4.2 workflow 41 -46
4.2.1 workflow 42
4.2.2 workflow 42-45
4.2.3 workflow 45
4.2.4 workflow 45-46
4.2.5 workflow 46
4.3 Debug Monitor nbsp communication function of the program; 46-47
4.4 debug subcommand 47-50
4.5 debug function 50-52
4.6 to take advantage of the on-chip UART debugging limitations 52-54
Chapter PSTN Short Message Terminal SoC system software design key technology research 54-63
5. a peripheral address mapping 54-56
5.2 storage space divided its mapping hardware implementation solve 56-57
5.3 FLASH-based Von Neumann writes the bottlenecks in the storage structure the 5.4 communication core state machine design 57-59
59-60
5.5 out clock application 60-61
5.6 demo system software 61-63
Chapter VI hardware verification platforms a References 63-64
64 - 68
Acknowledgements the degree 68-69
main research during 69
Related dissertations
- Research and Design of Low-power WSN Node Based on SOC
- Design and Implementation of the Mobile Corporation Security Management Platform
- Establishment and Verification of the Timing and Power Consumption Model for the Embedded SRAM Compiler
- The Design and Implementation of Embedded Flash Accelerator
- H.264/AVC Coding Chip FPGA Prototype Verification Platform Key Technologies Research
- Flexibly Configurable H.264Video System Design Basing on Refined Accelerator
- Verification of AMBAIO System Based on SoC
- The Design and Reaserch of System-level Modeling and Simulation Platform for SoC
- Research of Automation of RTL Design and Verification for SoC Reset Technology
- The Design and Analysis of SoC Architecture Based on AXI Bus
- Design and Implementation of TV Chip HS2801FPGA Verification Platform
- The Research of High Performance New Ultraviolet Detector Structure and CMOS Readout Circuit
- Research on SOC Estimation of Lithium Battery Based on Modified Strong Tracking Filter
- The Research of VRLA Battery SOC Estimation
- Research of Battery Management System Based on CANopen Protocol
- Particle Systems' Applied and Achieved in the Virtual Environment
- The Analysis of Hybrid Electric Vehicle Battery Management System
- Research on Battery Remaining Capacity Calculation Method and Battery Management System of EV
- Intelligent Estimation Study on18650Power Battery SOC
- The Design of Battery Management System for Electric Vehicles Based on ARM