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

A method and system for real-time viewing of embedded software debugging parameters

A technology of embedded software and debugging parameters, which is applied in 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: 2017-09-01
SICHUAN CHANGHONG ELECTRIC CO LTD
View PDF5 Cites 0 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
  • A method and system for real-time viewing of embedded software debugging parameters
  • A method and system for real-time viewing of embedded software debugging parameters
  • A method and system for real-time viewing of embedded software debugging parameters

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 viewed 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 host...

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 present invention relates to the technical field of software debugging. The present invention discloses a method for real-time viewing of embedded software debugging parameters, which specifically includes the following steps: Step 1. Setting up a serial communication module, the serial communication module is used to control the The serial port on the control unit MCU performs 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, and the serial communication module outputs the debugging parameters to the host computer in real time, The upper computer receives and analyzes the debugging parameters for the debugging personnel to check in real time. The present invention sets the serial port on the MCU, and sends the debugging parameters to the upper computer through the serial port, and the upper computer analyzes and displays it to the debugging personnel for real-time viewing, thereby realizing real-time viewing of the debugging parameter information in the program, which facilitates the online debugging of the debugging personnel.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F11/36
Inventor 谢鹏
Owner SICHUAN CHANGHONG ELECTRIC CO LTD