Debugging method and debugging device for embedded device

A technology of embedded devices and debugging methods, applied in software testing/debugging and other directions, to achieve the effect of remote remote debugging and low debugging cost

Active Publication Date: 2017-05-17
SHENZHEN SINEXCEL ELECTRIC
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] Aiming at the above-mentioned problems in the prior art, the present invention provides a debugging method and a debugging device applied to a resource-limited embedded device that does not run a Linux operating system and has a TCP/IP network communication f

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 debugging device for embedded device
  • Debugging method and debugging device for embedded device

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0036] Example one:

[0037] Such as figure 1 As shown, the debugging method for embedded devices in the present invention can be applied to embedded devices (such as embedded single-chip microcomputers) that do not run the Linux operating system and have TCP / IP network communication functions.

[0038] Including the following steps:

[0039] S1. The user determines the debugging information used to debug the embedded device, and inputs the debugging information into the embedded device to be debugged through the input unit; preferably, the input unit includes an API interface, and the user calls The API interface inputs the debugging information into the embedded device to be debugged;

[0040] S2. The debugging information network receiving unit in the embedded device to be debugged receives and outputs the debugging information; the receiving function of the debugging information network receiving unit can be realized by programming;

[0041] S3. The debugging information network pr...

Example Embodiment

[0050] Embodiment two:

[0051] Such as figure 2 As shown, the debugging device for embedded devices in the present invention can also be applied to embedded devices (such as embedded single-chip computers) that do not run the Linux operating system and have TCP / IP network communication functions, including:

[0052] An input unit, which is set in the embedded device to be debugged, and is used for the user to input determined debugging information for debugging the embedded device; in this embodiment, the input unit may be an input unit such as a button or a touch screen ;

[0053] A debugging information network receiving unit, which is arranged in the embedded device to be debugged and connected to the input unit, for receiving and outputting the debugging information;

[0054] A debugging information network processing unit, which is set in the embedded device to be debugged, and is connected to the debugging information network receiving unit, for receiving debugging 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 and debugging device for an embedded device. The debugging method includes that: a user determines debugging information for debugging the embedded device, and transmits the debugging information to a debugging information network receiving unit; the debugging information network receiving unit receives the debugging information and outputs the debugging information to a debugging information network processing unit; and the debugging information network processing unit receives the debugging information, processes the debugging information, and outputs the processed debugging information. The debugging device includes an input unit for allowing the user to input the debugging information; the debugging information network receiving unit for receiving and outputting the debugging information; and the debugging information network processing unit for receiving the debugging information outputted by the debugging information network receiving unit, processing the debugging information, and outputting the processed debugging information. The debugging method has the advantages of the conventional debugging methods, and can overcome the defects of the conventional debugging methods; and the debugging device is simple in structure, is easy to operate, can save lots of the program debugging time and cost.

Description

technical field [0001] The invention relates to the field of equipment debugging, in particular to a debugging method and a debugging device for embedded equipment. Background technique [0002] At present, for resource-limited embedded devices that do not run the Linux operating system, such as embedded single-chip software, the debugging methods mainly include the following: [0003] 1) Add several LED indicators through the hardware, and use the LED indicators to observe and diagnose the status, timing and logic of the program running; [0004] 2) Use an emulator such as Jlink or Stlink to set breakpoints online and debug; [0005] 3) Print debugging information through the serial port. [0006] However, the above debugging method has the following defects: [0007] 1) If debugging is performed by adding LED indicators to the hardware to observe and diagnose the running status of the program, it can only be used for very simple function debugging, and it is difficult t...

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
IPC IPC(8): G06F11/36
Inventor 郑吉祥苏蒙平王厚林
Owner SHENZHEN SINEXCEL ELECTRIC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products