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

Self-recovery method of embedded device application

A technology for embedded devices and applications, applied in the directions of responding to errors, software engineering design, and non-redundancy-based fault handling, etc. and other problems, to achieve the effect of reliable and stable self-recovery function, fast response, and fast startup speed

Active Publication Date: 2020-06-09
WILLFAR INFORMATION TECH CO LTD
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to unexpected power failure or other failures, the programming of Flash was suddenly interrupted, so the programming was not completed.
However, the current embedded chips generally do not have the U-boot self-recovery function of the linux system, so the consequence is that the program cannot run normally, and the program needs to be burned with an emulator after returning to the factory.

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
  • Self-recovery method of embedded device application

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] Such as figure 1 Shown is the method flowchart of the present invention, below is example with the DSP chip of TI company, illustrates the concrete method of the present invention:

[0021] The self-recovery method of this embedded device application program provided by the present invention comprises the following steps:

[0022] S1. According to the instruction set of control chip, develop the secondary bootload program of control chip, described secondary bootload program can read and write Flash, boot mode switch and read control chip I / O pin level signal;

[0023] Specifically, to develop a set of secondary bootLoad program, the program functions include: through GPIO detection button state, to determine whether the secondary bootload program loads the factory program from the 30 Block of Flash, or loads the application program from the 200 Block of Flash; When flashing program content, find the SectionLoad (0×58535901) logo according to TI’s AIS format descriptio...

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 an embedded device application program self-recovery method. The embedded device application program self-recovery method comprises the steps that a secondary bootload program and a factory program of a control chip are developed to obtain compiling files, and the compiling files are burned in Flash; if an application program of the control chip cannot be started normally, the control chip is restarted, a primary bootload program is automatically loaded, and the secondary bootload program is loaded; the level signal change of an I / O pin is detected, and the factory program is loaded from the Flash; the factory program reads data of an embedded device communication interface, completes application program reading and stores the program in the Flash; the control chip is restarted again, the primary bootload program is automatically loaded, and the secondary bootload program is loaded; the stored application program is loaded in the Flash, and self recovery of the control chip program is completed. The embedded device application program self-recovery method makes a self-recovery function of the application program of the control chip more reliable, stable and high in speed.

Description

technical field [0001] The invention belongs to a self-recovery method of an embedded device application program. Background technique [0002] With the development of economy and technology and the improvement of people's living standards, embedded devices are used more and more widely, and embedded devices also play an incomparable role in people's production and life. [0003] Embedded devices generally have functions such as self-control and intelligent algorithms because of the presence of embedded chips. And the play of the control function of the embedded chip completely depends on the control program of the embedded chip. At present, the application program of the embedded system is placed on the off-chip Flash. When the application program is upgraded, the embedded chip will adopt the Flash Boot mode. However, due to an unexpected power failure or other faults, the programming of the Flash was suddenly interrupted, so the programming was not completed. However, 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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/654G06F11/07
CPCG06F8/654G06F11/0793
Inventor 田丰
Owner WILLFAR INFORMATION TECH CO LTD