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

Debugging method and equipment

A debugging method and equipment technology, applied in the field of communication, can solve the problems of difficult analysis and positioning, difficult positioning, and limited connection distance, etc., and achieve the effect of simple debugging connection, convenient reading, and strong reliability

Active Publication Date: 2013-02-20
DATANG MOBILE COMM EQUIP CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In the first debugging method, serial port-based debugging requires a customized serial port cable, and the connection distance is limited and the speed is slow.
In the second debugging method, the debugging data channel based on the protocol stack needs to run through the complete TCP / IP protocol stack. The protocol stack itself is relatively complicated. In the case of rewriting the protocol stack, the debugging function will be unavailable, which will cause great difficulties in analyzing and locating the problem.

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 equipment
  • Debugging method and equipment
  • Debugging method and equipment

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0039] Embodiment 1 of the present invention provides a debugging method. The debugging control device performs related debugging operations. The debugging control device includes but is not limited to: a device based on an Ethernet controller; or a device based on a serial fast input and output controller; or , a device based on peripheral component interconnection; or, a device based on advanced data link control; or, a virtual device based on shared memory, or, an interrupt-based virtual device, or, a virtual device based on interprocessor notification, or , a virtual device based on an inter-core notification, or a virtual device based on an inter-processor message, or a virtual device based on an inter-core message, or a virtual device based on a multi-core, or a virtual device based on a multi-processor. In the method, the debugging control device receives the debugging data from the terminal, and determines the debugging information according to the debugging data; then,...

Embodiment 2

[0053] Based on the first embodiment above, the second embodiment of the present invention provides a block diagram for implementing a device for a debugging method, as shown in image 3 As shown, it includes terminal debugging tools, board debugging agents, and multiple physical devices. It can be seen that the debugging device is simpler and more reliable than the existing protocol stack debugging scheme. For the convenience of description, in the embodiment of the present invention, a specific example based on the Ethernet controller is used for description; by simulating an Ethernet-based controller Virtual IO devices, and complete system debugging based on virtual IO devices.

[0054] Such as Figure 4 As shown, it is a block diagram of the realization of system debugging through a virtual IO device. In the embodiment of the present invention, the data type of the debugging data and debugging information is an Ethernet frame (in this embodiment, an Ethernet controller is...

Embodiment 3

[0079] Based on the same inventive concept as the above method, an embodiment of the present invention provides a debugging control device, including:

[0080] a debugging controller, configured to receive debugging data from a terminal; and send a debugging result to the terminal;

[0081] a debugging driver, configured to determine debugging information according to the debugging data; and send a debugging result to the debugging controller;

[0082] The virtual IO device is used to notify the debugging agent task of the debugging information; and send the debugging result to the debugging driver;

[0083] The debugging agent task is configured to determine a debugging result according to the debugging information, and send the debugging result to the virtual IO device.

[0084] The debugging driver is specifically used to obtain the debugging data in the debugging controller by interrupting, and analyze the debugging data to obtain the debugging information;

[0085] The de...

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 embodiment of the invention discloses a debugging method and debugging equipment. The debugging method comprises the following steps that: debugging control equipment receives debugging data from a terminal and determines debugging information according to the debugging data; and the debugging control equipment acquires a debugging result according to the debugging information and transmits the debugging result to the terminal. In the embodiment, the debugging method and the debugging equipment have the advantages of convenience of debugging data reading, universality, simpleness in debugging connection, high speed, high reliability, convenience and usability.

Description

technical field [0001] The present invention relates to the field of communication technology, in particular to a debugging method and equipment. Background technique [0002] During the product design process, designers usually need to spend a considerable part of their time on system integration and software and hardware debugging; especially in real-time systems such as engine management, hard disk control and modem. At present, the operating systems used by embedded processors include Linux and VxWorks. Linux and VxWorks have high system complexity and complex software models. Generally, an online debugging tool is needed to debug the system. [0003] Specifically, a debugging method is to use a serial port connection between the board and a PC (Personal Computer, ie terminal), and adopt a serial port debugging method. However, serial port debugging has certain limitations, requiring special serial port lines (such as the form of serial port connectors at both ends and ...

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): H04L12/26
Inventor 笪禹刘博强董继炳潘晨聪
Owner DATANG MOBILE COMM EQUIP CO LTD