A single-wire interface method for on-chip debugging

An on-chip debugging, single-wire technology, applied in the field of integrated circuits, can solve the problems of occupying a lot of resources and low efficiency, and achieve the effect of simple interface design, fast debugging information, and stable communication protocol design.

Active Publication Date: 2022-05-06
HEFEI CHIPSEA ELECTRONICS TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, this patent application still requires the traditional bus control mode, although it can guarantee the data transmission rate, it takes up a lot of resources and has low efficiency

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 single-wire interface method for on-chip debugging
  • A single-wire interface method for on-chip debugging
  • A single-wire interface method for on-chip debugging

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0070] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0071] see figure 1 Shown, be the single-wire interface method (abbreviation CS-SWD, English meaning is Chipsea Single Wire Debug) for the on-chip debugging realized by the present invention, this method comprises hardware part and software part, and wherein hardware part is realized by MCU, in MCU Including on-chip debugging controller and hardware transceiver, MCU has a CS-SWD interface, the microprocessor performs signal encoding and decoding through digital logic, and then performs serial-to-parallel conversion to obtain a parallel control bus, which is finally merged with the microprocessor b...

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 discloses a single-line interface method for on-chip debugging. The method is realized by a hardware part and a software part, the hardware part is realized by a microprocessor, the microprocessor has a single-line interface, and the microprocessor performs signal encoding and decoding through digital logic Finally, serial-to-parallel conversion is performed to obtain a parallel control bus, which is finally combined with the microprocessor bus to control the on-chip peripherals of the MCU through a single-wire interface. The software part encodes and decodes the signal through the underlying functions of the software, and then passes the converted byte information to the upper layer as a function parameter, and finally passes it to the PC through the USB protocol.

Description

[0001] method field [0002] The invention belongs to the field of integrated circuit methods, in particular to an interface method for on-chip debugging. Background technique [0003] In the MCU core based on the on-chip debugging module (In-Circuit Debug, ICD), it is the core technology for real-time simulation debugging of embedded systems. The most important technical module of ICD technology is the debugging port communication technology. [0004] At present, the debugging technology of MCU mainly includes ICE (In-Circuit Emulation) and ICD. Compared with ICE technology, the biggest feature of ICD technology is on-chip debugging, that is, single-step debugging directly on the real MCU, with high real-time performance, and the results of debugging and running are basically the same as the final running results. Foreign microcontroller manufacturers, such as TI's MSP430 series, ARM's Cortex series, etc., have their own debugging patented technology. General debugging te...

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/36G06F13/42
CPCG06F13/42G06F30/20
Inventor 周乾江秦晨钟崔伟青谢韶波
Owner HEFEI CHIPSEA ELECTRONICS TECH CO LTD
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