Method and system for logging in and debugging embedded devices
A technology of embedded devices and operating systems, applied in software testing/debugging, program control devices, etc., can solve problems such as difficulty in implementing application programs, and achieve the effects of convenient debugging, convenient login, and improved efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 1 A method for logging into an embedded device according to Embodiment 1 of the present invention is shown, including the following steps:
[0029] Step S11 , compiling the source program of the remote login protocol client into a target program supported by the operating system of the embedded device according to the compilation rule file. Described remote login protocol client source program can be the remote login (Telnet) protocol client source program under the Linux system, also can be the remote login (Telnet) protocol client source program under the Unix system, such as adopting the Harvard netkit-telent-0.17.orig.tar.gz source code and termcap-1.3.1.tar.gz source code.
[0030] Step S12, transplanting the target program into the embedded device. For example, use the adb tool to transplant the binary file (that is, the target program) recognizable by the Android system into the embedded device, and the embedded device is an embedded device applying an A...
Embodiment 2
[0050] Embodiment 2 of the present invention provides a method for debugging an embedded device using the method for logging into an embedded device in Embodiment 1 of the present invention, including the following steps:
[0051] Log in to the embedded device. For example, the method for logging into an embedded device described in Embodiment 1 may be used to log in to the embedded device.
[0052] The application program in the embedded device is debugged. Specifically, the method comprises the following steps: firstly, opening a cmd command window in the operating system of the computer; secondly, inputting a debugging command to debug the application program in the embedded device.
[0053] Through the above steps, the application program of the embedded device can be debugged conveniently. The process of logging into the embedded device does not need the IP address of the logged-in embedded device. It is particularly convenient and improves the efficiency of debugging a...
Embodiment 3
[0055] image 3 A system for logging into an embedded device according to Embodiment 3 of the present invention is shown, including a compilation module 31 , a transplantation module 32 , a connection module 33 and a login module 34 .
[0056] The compiling module 31 corresponds to step S11 in Embodiment 1, and is used for compiling the source program of the remote login protocol client into the target program supported by the operating system of the embedded device according to the compiling rule file.
[0057] The transplant module 32 corresponds to step S12 in Embodiment 1, and is used for transplanting the target program into the embedded device.
[0058] The connection module 33 corresponds to step S13 in Embodiment 1, and is used to establish a connection between the embedded device and a computer installed with an operating system.
[0059] The login module 34 corresponds to step S14 in Embodiment 1, and is configured to execute the target program in the embedded devic...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


