Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Microcontroller built-in type on-line simulation debugging system

A technology of microcontroller and debugging system, applied in the field of semiconductor integrated circuit design, can solve the problems of processing the code flow of the internal bus of the microcontroller and unable to track in real time, etc.

Inactive Publication Date: 2008-04-02
SHANGHAI EASTSOFT MICROELECTRONICS
View PDF0 Cites 43 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
  • Microcontroller built-in type on-line simulation debugging system
  • Microcontroller built-in type on-line simulation debugging system
  • Microcontroller built-in type on-line simulation debugging system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0064] Please refer to Figure 1, microcontroller embedded online simulation debugging system structure 1, including communication port control module 2, state control module 3, debugging command control module 7, hardware breakpoint monitoring trigger module 8, the above-mentioned modules send by the host The dedicated debugging instructions are set inside the microcontroller chip to control the work of the entire online simulation debugging system; among them, the communication port control module 2 controls the entire system and the external host through 5, and controls the data communication of other modules of the system through 6, as well as external debugging The decoding of order, control operation; State control module 3 carries out the data processing of the whole system, state control, various register operations; Debug instruction control module 7 produces the debug execution code that is exported to the micro-controller according to the external input debug instructi...

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

The invention provides a microcontroller flush bonding on-line simulation debugging system, comprising a communication port control module, a state control module, a debugging command control module and a hardware breakpoint monitoring trigger module; the modules are collected into a chip through a special debugging command transmitted by a mainboard to control the work of the whole on-line simulation debugging system; complex boundary scan to the inside of the chip through a standard test boundary scan can be finished; the microcontroller chip is controlled according to an outer command to be converted into a debugging mode from a normal mode; a program can be downloaded and numerated from any position in a memorizer of the microcontroller through the debugging communication interface of the mainboard to support the target system single-step debugging and support software breakpoints and hardware breakpoints; the contents of a specific function register, a data memorizer and a program memorizer of the inside of the chip are checked and altered real-time; address bus and data bus are monitored, and the functions of real-time logical tracing, etc. are realized. The invention is of clear and simple structure, high-efficient operating effect and precise real-time monitoring.

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 Applications(China)
IPC IPC(8): G06F11/36
Inventor 陈立权张鹏飞
Owner SHANGHAI EASTSOFT MICROELECTRONICS
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products