A Microcontroller Embedded Online Simulation Debugging System

A technology of microcontroller and debugging system, applied in the field of semiconductor integrated circuit design, can solve the problem of not being able to track and process the code flow of the internal bus of the microcontroller in real time, etc.

Inactive Publication Date: 2011-12-28
SHANGHAI EASTSOFT MICROELECTRONICS
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This is mainly for processors with standard test boundary scan debug ports. At present, almost all high-speed embedded processors have standard test boundary scan debug ports. The emulator controls the operation of the microcontroller through the debug port, but the actual operation still needs to be performed. The processor is generated by itself. Therefore, before the target board can be debugged, the processor, crystal oscillator and memory must be guaranteed to run normally. This kind of microcontroller online emulator cannot track and process the code flow of the microcontroller's internal bus in real time.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A Microcontroller Embedded Online Simulation Debugging System
  • A Microcontroller Embedded Online Simulation Debugging System
  • A Microcontroller Embedded Online Simulation Debugging System

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0061] see figure 1 , Microcontroller embedded online simulation debugging system structure 1, including communication port control module 2, state control module 3, debugging instruction control module 7, hardware breakpoint monitoring trigger module 8, the above-mentioned modules send special debugging instruction sets through the host control the entire online simulation debugging system inside the microcontroller chip; among them, the communication port control module 2 controls the entire system and the external host through 5, controls the data communication of other modules of the system through 6, and decodes external debugging commands. Control operation; the state control module 3 performs data processing, state control, and various register operations of the entire system; the debugging instruction control module 7 generates debugging execution codes output to the microcontroller according to external input debugging instructions, and outputs to the state control thr...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A micro-controller embedded online simulation debugging system, including a communication port control module, a state control module, a debugging command control module, and a hardware breakpoint monitoring and triggering module. The above-mentioned modules are controlled inside the chip through the special debugging command set sent by the host The entire online simulation debugging system works; it can complete the complex boundary scan of the chip through the standard test boundary scan, control the microcontroller chip from the normal mode to the debugging mode according to the external command, and through the debugging communication interface with the host, the program can be from Download or read from any location in the memory of the microcontroller, support single-step debugging of the target system, support software and hardware breakpoints, view or modify the contents of special function registers, data memory and program memory inside the chip in real time, monitor address bus and data bus , to achieve real-time logic tracking and other functions. The structure is clear and simple, the operation effect is efficient, and the real-time monitoring is accurate.

Description

technical field [0001] The invention belongs to the field of semiconductor integrated circuit design, in particular to an embedded on-line simulation debugging system of a microcontroller (microcontroller). Background technique [0002] The embedded online emulation and debugging system of the microcontroller is an indispensable and important tool for developers in the development process of the application system with the microcontroller as the core. In previous engineering applications, an external in-circuit emulator is usually used to scan and test the program memory and the inside of the chip. This external in-circuit emulator has an extremely complicated structure and is expensive. The ability to internal chip timing, real-time input and output, and bus detection cannot meet the precise requirements of the engineering field. From another perspective, because the external in-circuit emulator usually does not exactly correspond to the internal structure of each version...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 陈立权张鹏飞
Owner SHANGHAI EASTSOFT MICROELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products