Method and system for debugging failures of electronic products based on Uboot

A debugging method and a technology for debugging a system, which are applied in software testing/debugging, electrical digital data processing, instruments, etc., can solve problems such as inconvenient product debugging and maintenance, and achieve the effects of improving convenience, avoiding malicious tampering, and improving efficiency

Active Publication Date: 2017-05-31
FUZHOU GAOTU INFORMATION TECH
View PDF10 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] The technical problem to be solved by the present invention is: the present invention provides a Uboot-based electronic product fault debugging method and system, which solves the problem that the existing Uboot-based products are not convenient for later product debugging and maintenance due to the removal of the serial port and the Uboot-based products. Safety issues brought about during commissioning and maintenance

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
  • Method and system for debugging failures of electronic products based on Uboot
  • Method and system for debugging failures of electronic products based on Uboot

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] Please refer to figure 1 , a Uboot-based electronic equipment fault debugging method, comprising the following steps:

[0064] S1: The electronic device obtains the command verification file stored in the external storage device through the USB interface or the SD card interface; the command verification file includes the first key data; the electronic device stores the second key data;

[0065] S2: comparing the second key data with the first key data;

[0066] judging whether the second key data is consistent with the first key data;

[0067] S31: If the second key data is consistent with the first key data; then enter the command mode;

[0068] S311: Obtain fault debugging information according to commands in the external storage device through the USB interface or the SD card interface;

[0069] S4: Debugging the electronic device according to the fault debugging information.

Embodiment 2

[0071] Please refer to figure 1 , a Uboot-based electronic equipment fault debugging method, comprising the following steps:

[0072] S1: The electronic device obtains the command verification file stored in the external storage device through the USB interface or the SD card interface; the command verification file includes the first key data; the electronic device stores the second key data;

[0073] S2: Compare the second key data with the first key data; determine whether the second key data is consistent with the first key data;

[0074] S32: If the second key data is inconsistent with the first key data; enter the next step of verification;

[0075] S321: Obtain third key data; the third key data is obtained by the user through a serial port input;

[0076] S322: Compare the third key data with the second key data;

[0077] judging whether the third key data is consistent with the second key data;

[0078] S3221: If the third key data is consistent with the second ke...

Embodiment 3

[0082] S1: The electronic device obtains the command verification file stored in the external storage device through the USB interface or the SD card interface; the command verification file includes the first key data; the electronic device stores the second key data;

[0083] S2: Compare the second key data with the first key data; determine whether the second key data is consistent with the first key data;

[0084] S32: If the second key data is inconsistent with the first key data; enter the next step of verification;

[0085] S321: Obtain third key data; the third key data is obtained by the user through a serial port input;

[0086] S322: Compare the third key data with the second key data;

[0087] judging whether the third key data is consistent with the second key data;

[0088] S3222, if the third key data is inconsistent with the second key data, enter the normal operation mode;

[0089] S4: Debugging the electronic device according to the fault debugging informa...

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 relates to the field of maintenance of electronic products, in particular to a method and a system for debugging failures of electronic products based on Uboot. The method for debugging the failures of the electronic products based on Uboot comprises the following steps: using electronic equipment to acquire a command verification file, stored in an external storage device, by means of a universal serial bus (USB) interface or a secure digital (SD) card interface, wherein the command verification file comprises first secret key data; comparing second secret key data with the first secret key data; if the second secret key data is consistent with the first secret key data, entering a command mode; using the electronic equipment to acquire failure debugging information by means of the USB interface or the SD card interface according to the command stored in the external storage device; debugging the electronic equipment according to the failure debugging information. A fast and safe failure debugging method is provided for the electronic equipment, especially for the electronic equipment without a serial port.

Description

technical field [0001] The invention relates to the field of electronic product maintenance, in particular to a Uboot-based electronic product fault debugging method and system. Background technique [0002] Consumer electronic products are a major application field of embedded systems. As people's daily life, production and work use consumer electronic products more and more closely, they also put forward higher requirements for the security of software and hardware of such products. requirements. [0003] Embedded software generally includes three parts: bootloader, operating system, and application program. The bootloader program is responsible for various functions such as the startup of the entire system, loading of the operating system, and software data upgrade. It is the most important part of the entire software system. Important replacement parts. Uboot is currently the most mainstream bootloader program, suitable for use in ARM, MIPS and other chips, and can be ...

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/36G06F21/46
CPCG06F11/366G06F21/46
Inventor 杜伟庆张进陈素琼
Owner FUZHOU GAOTU INFORMATION TECH
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