Check patentability & draft patents in minutes with Patsnap Eureka AI!

A debugging method of embedded system

A technology of embedded systems and debugging methods, applied in software testing/debugging, instruments, electrical digital data processing, etc., can solve problems such as the lack of breakpoint debugging functions, to ensure reliability, reduce complex information interaction, and reduce implementation. effect of difficulty

Inactive Publication Date: 2018-12-28
NR ELECTRIC CO LTD +1
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the past, visual debugging can only periodically display the current running value of the device side, and does not have the breakpoint debugging function. It is necessary to provide an efficient implementation method for the logic breakpoint debugging function of the embedded system to improve debugging and development 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 debugging method of embedded system
  • A debugging method of embedded system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Such as figure 1 As shown, the present invention provides a kind of debugging method of embedded system, comprises the steps:

[0021] (1) Setting and deleting of controller breakpoints by configuration tools

[0022] In the debug running state, the configuration tool can set a breakpoint on the algorithm module in the logic page, that is, a logic break will occur when the program runs to the algorithm module, and the configuration tool also has the function of deleting the breakpoint. The operations of setting and deleting breakpoints will send instructions to the controller, and the controller will set or delete breakpoint information in the locally maintained breakpoint table after receiving the instructions. When the controller is debugging and running, the breakpoints in the breakpoint table will be hit one by one by default.

[0023] Among them, the breakpoint table information is subject to the content stored in the controller. Whether the breakpoint informatio...

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 debugging method of an embedded system. Firstly, a configuration tool sets a breakpoint. The configuration tool control controller enters the debugging and running stage; theconfiguration tool sends instructions to the controller for the next operation mode. After the debugging, the configuration tool sends a stop debugging instruction to the controller, which causes thecontroller to end the debugging running state. The debugging method can provide the user to set or delete the breakpoint in the configuration tool, and send the instructions of single-step debugging,page-by-page debugging, module-by-module debugging and continuing execution to the controller through the configuration tool during the debugging process, so as to realize the debugging of the algorithm logic.

Description

technical field [0001] The invention belongs to the technical field of embedded systems, in particular to a debugging method for embedded systems. Background technique [0002] In the embedded control system, it is generally divided into two parts: the upper computer and the lower computer. The upper computer runs the configuration software and is used to write the control program, and the lower computer, the controller, is used to execute the control program. Before the control program written by the configuration software is officially run, it needs to be debugged to check for errors or defects in the program. [0003] In the past, the visual debugging can only display the current running value of the device side periodically, without the breakpoint debugging function. It is necessary to provide an efficient implementation method of the embedded system logic breakpoint debugging function to improve the debugging and development efficiency. Contents of the invention [0...

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 Applications(China)
IPC IPC(8): G06F11/36
CPCG06F11/3644
Inventor 谭良良吴波文继锋陈宏君刘坤曾凯
Owner NR ELECTRIC CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More