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

Method for debugging embedded type program

A debugging method and embedded technology, applied in the field of computer applications

Inactive Publication Date: 2009-01-28
INSPUR QILU SOFTWARE IND
View PDF0 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] For the debugging of embedded programs, the following problems are faced: how to communicate between the debugger and the debugged program, how to notify the debugger in time when the debugged program generates exceptions, how the debugger controls and accesses the debugged program, and how to identify information about the debugged program Data information and real-time viewing, how the debugger handles certain information related to the target hardware platform, etc.

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

[0006] The method of the present invention uses software to take over the exception handling and part of the interrupt handling of the target system, and waits for the debugger to send information by calling the debugging port communication module; Instructions generated by user commands. Its implementation steps are as follows:

[0007] 1) Embedded terminal - instruction set of debugger

[0008] According to the characteristics of the data structure of the embedded end and the needs of debugging, determine which data may be output during debugging, and then define an "embedded end-debugger" instruction set. The instruction set defines in detail the physical interface between the debugger and the embedded terminal, the communication transmission protocol, and the command words, parameters, return values ​​of each program instruction, and the interaction between the two ends, to illustrate how the debugger commands the embedded terminal to return data, and the embedded The da...

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 provides a method for debugging an embedded program. The method establishes communication software through insertion of a break point between a debugger host computer and the debugged program to take over exception handling and partial interrupt handling of a target system and realizes debugging of the embedded application program through insertion of a debugging port communication module into the communication software to interact with a debugger of a PC host computer. The method can be applied in debugging application programs which are operated on the target operating system, and is suitable for terminals provided with embedded systems and application programs such as a tax-control cash register, a financing tax-control cash register, a financing POS machine, a hand-held terminal and so on.

Description

technical field [0001] The invention relates to a computer application technology, in particular to an embedded application debugging method for establishing communication by inserting breakpoints between a debugger (host) and a program to be debugged. Background technique [0002] Debugging is an indispensable link in the development process, and there is a huge difference in the debugging environment between the general PC operating system and the embedded operating system. Among them, the debugging tool based on the PC operating system and the program being debugged are usually two processes running on the same device and the same operating system, and the debugger process controls and accesses the debugged process through the calling interface specially provided by the operating system. Embedded operating system debugging is also called remote debugging, and the debugger can be performed by the embedded device itself based on a specific hardware platform or by the applic...

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
Inventor 门松黄正茂王永军
Owner INSPUR QILU SOFTWARE IND
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