Unlock instant, AI-driven research and patent intelligence for your innovation.

Method and system for checking embedded software debugging parameter in real time

A technology of embedded software and debugging parameters, which is applied in the direction of software testing/debugging, etc., can solve the problem that the program debugging method cannot check the debugging parameters in real time, and achieve the effect of convenient program debugging

Active Publication Date: 2015-04-08
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the technical problem that the program debugging method in the prior art cannot check the debugging parameters in real time. The invention discloses a method for checking the debugging parameters of embedded software in real time. The invention also discloses an embedded software debugging method. A system for viewing parameters 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
  • Method and system for checking embedded software debugging parameter in real time
  • Method and system for checking embedded software debugging parameter in real time
  • Method and system for checking embedded software debugging parameter in real time

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The present invention will be further described below in combination with specific embodiments and accompanying drawings.

[0014] The invention discloses a method for real-time viewing of embedded software debugging parameters, which specifically includes the following steps: Step 1, setting a serial communication module, the serial communication module is used to control the serial port set on the micro control unit MCU to perform asynchronous Communication; step 2, the micro control unit MCU performs software debugging; step 3, the debugging program obtains the debugging parameters from the emulator and runs, the serial communication module outputs the debugging parameters to the host computer in real time, and the host computer receives and analyzes the debugging parameters The parameters can be checked by the debugger in real time. The present invention sets a serial port on the MCU, sends debugging parameters to a host computer through the serial port, and the hos...

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 relates to the technical field of software debugging, and discloses a method for checking an embedded software debugging parameter in real time. The method specifically comprises the following steps: 1) arranging a serial port communication module, wherein the serial port communication module is used for controlling a serial port arranged on a micro control unit (MCU) to carry out asynchronous communication; 2) carrying out software debugging by the MCU; 3) obtaining the debugging parameter from an emulator by a debugging program, operating the debugging parameter, outputting the debugging parameter to a principal computer in real time by the serial port communication module, and receiving and analyzing the debugging parameter through the principal computer for debugging workers to check in real time. The MCU is provided with the serial port, the debugging parameter is sent to the principal computer through the serial port, the principal computer analyzes and displays the debugging parameter to the debugging workers to check in real time so as to realize a purpose that the debugging parameter information in a program can be checked in real time, and convenience is brought to the debugging workers to carry out program debugging on line.

Description

technical field [0001] The invention relates to the technical field of software debugging, and discloses a method and system for real-time viewing of embedded software debugging parameters. Background technique [0002] At present, the development and debugging of embedded MCU programs must be equipped with a dedicated IDE (integrated development environment), through which functions such as Edit / Compile / Debug can be completed. Among them, the Watch function of Debug is particularly important for program developers. Through this viewing window, you can know the running status of the program, and then complete the debugging of the program. However, the WATCH window of some IDEs cannot update the parameter values ​​in the display list in real time, and can only be updated when the program is interrupted. Although some IDEs of this kind can also update the WATCH window variable list through periodic interrupts to simulate real-time parameter updates, this greatly reduces the d...

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 SICHUAN CHANGHONG ELECTRIC CO LTD