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

Debugging method and system for application program developed on hardware platform

A hardware platform and application technology, applied in software testing/debugging, program control devices, software emulation/interpretation/simulation, etc., can solve the problems of complicated operation process and expensive hardware emulator, and achieve a short development cycle and reduce Development cost and ease of debugging

Active Publication Date: 2018-06-01
BEIJING SENSESHIELD TECH
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, the operation process of building the hardware platform during development is more complicated, and the price of the hardware emulator is also more expensive.

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
  • Debugging method and system for application program developed on hardware platform
  • Debugging method and system for application program developed on hardware platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0029] The present invention will be described in detail below in conjunction with the accompanying drawings.

[0030] According to an embodiment of the present invention, a debugging method for an application program developed by a hardware platform is provided, which may include the following steps:

[0031] Step S1, determine the IO operation of the hardware platform, and use the IO operation code in the host computer system to simulate the IO operation of the hardware platform.

[0032] Generally, the hardware platform will provide an API (Application Programming Interface) for the application program. Since the operating system of the hardware platform is often very streamlined, its API is generally an IO operation. Therefore, the API provided by the hardware platform for the application program can be used to determine the hardware platform. I / O operations. Wherein, the IO operations of the hardware platform may include file IO operations, graphics display, clocks, hard...

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 and device for an application program developed on a hardware platform. The debugging method includes the following steps: step S1, determining the IO operation of the hardware platform, and using the IO operation code in the upper computer system to simulate the hardware The IO operation of the platform; step S2, compiling the IO operation code used for simulation into a library file, compiling the application program to be debugged into an executable program of the host computer, and performing the respective execution codes of the library file and the executable program Initial link; step S3, run and debug the executable program on the host computer through the simulated IO operation. The present invention uses the IO operation code of the upper computer to simulate the main IO operation of the hardware platform, so that the running logic and running effect of the application program debugged on the upper computer are consistent with those when running on the hardware platform, thereby solving the problem of the hardware platform. The problem of complex simulation operation process encountered when developing software on the Internet, so the development cost can be reduced.

Description

technical field [0001] The invention mainly relates to debugging of application programs, and relates to a debugging method and system for application programs developed on a hardware platform. Background technique [0002] Usually, the hardware platform (especially the embedded system development platform) has very limited operating system functions and does not provide debuggable support (that is, there is no hardware emulator or hardware virtual machine in the hardware platform). The development operation is in a state of high complexity and low visibility. In order to verify the correctness of the developed program, the development operation generally uses a hardware emulator (also called a hardware debugger). In the prior art, a debugger (DeBugger) is one of the most important, direct and indispensable mechanisms for software maintenance and error correction. In the application, the debugger is generally connected to the host computer (ie computer) software through a s...

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): G06F9/455G06F11/36
Inventor 孙吉平韩勇
Owner BEIJING SENSESHIELD TECH