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

Human-computer interactive debugging method of EC (Electronic Computer) by inputting character string command based on UART (Universal Asynchronous Receiver/Transmitter) terminal

A human-computer interaction and string technology, which is applied in the field of human-computer interaction debugging EC based on UART terminal input string commands, can solve the problem of inability to perform human-computer interaction debugging, and achieves improved debugging efficiency and accuracy, low cost, Efficient effect

Inactive Publication Date: 2010-10-13
JIANGSU LEMOTE TECH CORP
View PDF0 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem to be solved by the present invention is to provide a method for man-machine interactive debugging EC based on UART terminal input string commands, this method can effectively improve the efficiency of debugging, and solve the problem that human-computer interactive debugging cannot be performed in the general serial port debugging method The problem

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0012] The method for man-machine interactive debugging EC based on UART terminal input character string command comprises the following steps:

[0013] (1) Add the code to parse the specified format string received from the serial port terminal to obtain relevant commands and parameters and execute the command in the EC firmware;

[0014] (3) Connect the UART interface integrated in the EC to the COMx PORT of the HOST;

[0015] (2) Use the function of receiving and sending character strings of the serial terminal tool in the operating system of HOST to realize the interactive debugging with EC:

[0016] a. When the string sending function of the serial port terminal tool of HOST sends a string in the specified format to the EC, after the EC receives the string through the UART interface, it calls the string parsing function to parse the string, obtains relevant commands and parameters, and then Execute the relevant command, and convert the execution result into a character s...

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 human-computer interactive debugging method of an EC (Electronic Computer) by inputting a character string command based on a UART (Universal Asynchronous Receiver / Transmitter) terminal, which comprises the following steps of: firstly, adding and analyzing a character string of specified format, received from a serial terminal, to an EC firmware to obtain a related command and parameters, and executing codes of the command; then, realizing interactive debugging with EC by using the character string receiving and sending functions of a serial terminal tool in an operating system of HOST. The method can be used for carrying out human-computer interactive debugging on the development of EC and other embedded systems provided with the UART interface, and can perform reading and writing debugging by using a command to instantly obtain required feedback results; the operating state of each module of the firmware can be visually observed, the problem that the traditional debugging method using a bright LED lamp is not visualized and not convenient is completely solved, the debugging efficiency and accuracy are greatly increased, and meanwhile, the method has low realization cost, great flexibility and high efficiency.

Description

technical field [0001] The invention relates to a method for debugging an EC (Embedded Cotroller), in particular to a method for debugging an EC based on a character string command input by a UART terminal. Background technique [0002] The method of debugging using the UART interface is a common debugging method for the development of single-chip microcomputers, ECs, and embedded systems. At present, the general serial port debugging method is to connect the device to be debugged with the serial port of HOST, and open the serial port terminal tool of HOST, and then power on the device to be debugged, then passively print out the relevant debugging information on the serial port terminal window. Although this method can observe the running state of the system very well, it can only observe limited debugging information for ICs such as single-chip microcomputers and ECs that only have firmware but no operating system, because a large number of debugging information is added t...

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): G06F11/36
Inventor 吴少刚黄伟刘军良
Owner JIANGSU LEMOTE TECH CORP
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