Single-line simulation device of microcontroller and encoding and decoding method

A technology of microcontrollers and simulation devices, applied in general control systems, control/adjustment systems, instruments, etc., can solve problems such as complex operation, large resource occupation, and increased difficulty in emulator development, achieving reduced development difficulty and simple structure , The effect of simple and fast connection operation

Pending Publication Date: 2021-12-03
江苏集萃智能集成电路设计技术研究所有限公司
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Aiming at the problems in the prior art that the emulator is connected to the microcontroller through the JTAG interface or the SWD interface, the operation is complex and takes up a lot of resources, and when the emulator is connected to the host computer PC through the USB interface, a driver needs to be installed. The problem of increasing the development difficulty of the emulator, the invention provides a single-line emulation device for a microcontroller, its structural design is simple and reasonable, it is convenient for the emulator to be connected with the microcontroller, and the development difficulty of the emulator can be reduced

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
  • Single-line simulation device of microcontroller and encoding and decoding method
  • Single-line simulation device of microcontroller and encoding and decoding method
  • Single-line simulation device of microcontroller and encoding and decoding method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0055] In order to enable those skilled in the art to better understand the solutions of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0056] It should be noted that the terms "comprising" and "having" in the description and claims of the present invention and the above drawings, as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, including a series of steps or units A process, method, device, product or device is not ne...

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 simulation device of a microcontroller and an encoding and decoding method of the single-line simulation device. A simulator can be connected with the microcontroller conveniently, and the development difficulty of the simulator is reduced. The single-line simulation device comprises the simulator, the simulator is respectively connected with the microcontroller and an upper computer, the simulator is in single-line connection with the microcontroller, one end of the single wire is connected with a debugging port of the microcontroller, the other end of the single wire is connected with a communication pin of the simulator, the simulator is connected with an upper computer through USB HID equipment, and the simulator comprises hardware modules such as a controller, a clock and a timer. The encoding and decoding method comprises an encoding method, a communication method and a decoding method of the simulator and the microcontroller. In the encoding method, Manchester encoding is adopted as a communication protocol of the simulator and the microcontroller, when the Manchester code is decoded, the capturing function of the timer is used, and when the simulator receives data sent by the microcontroller and decodes the data, the data is decoded in an interrupt program in a capturing mode of the timer.

Description

technical field [0001] The invention relates to the technical field of microcontrollers, in particular to a microcontroller single-line emulation device and an encoding and decoding method. Background technique [0002] A microcontroller (MCU) is a single-chip microcomputer that integrates the main parts of a microcomputer on a chip, and its development requires the use of corresponding development tools and simulation tools. At present, the simulation tools on the market are mainly emulators. The emulation interfaces used by the emulator to communicate with the microcontroller mainly include JTAG interface and SWD interface. The JTAG interface is a four-wire protocol, and the SWD interface is a three-wire protocol (excluding power line VCC and ground GND). Developers can download programs through the simulation interface, and can implement breakpoint setting, view variables, full-speed operation, single-step operation and other operations through the Keil system. [0003]...

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
IPC IPC(8): G05B17/02
CPCG05B17/02
Inventor 张立新刘阳阳杨棒棒宁尚波赵海吕超英
Owner 江苏集萃智能集成电路设计技术研究所有限公司
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