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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 