Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and system for recovering single-chip microcomputer software error

A technology of software errors and single-chip microcomputers, which is applied to the generation of response errors, error detection of redundant data in calculations, program loading/starting, etc., and can solve problems such as large circuit board area, complex circuit system, and occupancy

Active Publication Date: 2016-01-27
TSINGHUA UNIV
View PDF3 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Although the software backup method of triple-mode redundancy can greatly improve the ability of the program memory to resist unrecoverable errors, this method needs to add an additional program memory and a majority of decision devices outside the microcontroller, resulting in a complex circuit system and a large area of ​​the circuit board. , making the system cost increase
In addition, the external program memory needs to occupy the IO port of the single-chip microcomputer, which limits the IO expansion performance of the single-chip microcomputer

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 recovering single-chip microcomputer software error
  • Method and system for recovering single-chip microcomputer software error
  • Method and system for recovering single-chip microcomputer software error

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] The specific implementation manners of the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0053] The invention describes a method and a system for performing software backup and selective guidance in the internal program memory of the single-chip microcomputer to realize recovery of software errors of the single-chip microcomputer. Realize the error recovery of the main program and interrupt service function of the single chip microcomputer software.

[0054] Embodiment 1 of the present invention proposes a method for recovering single-chip microcomputer software errors, such as image 3 As shown, the method includes the following steps:

[0055]S101. Back up the main program in the single-chip microcomputer software, obtain multiple software backups of the m...

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 technical field of single-chip microcomputers, and discloses a method and system for recovering a single-chip microcomputer software error. The method comprises the following specific steps: backing up a main program in single-chip microcomputer software, obtaining a plurality of software backups of the main program, and sorting the plurality of software backups; conserving the plurality of software backups in a storage space of the single-chip microcomputer program ; when the single-chip microcomputer software is in error, verifying the plurality of software backups of the single-chip microcomputer software and acquiring a verification result; according to the verification result, conserving a backup serial number of the software backup passing the verification into a memory space; and guiding the single-chip microcomputer software to skip to a certain software backup passing the verification according to the backup serial number, and realizing the recovery of the single-chip microcomputer software error. According to the method and system for recovering the single-chip microcomputer software error provided by the invention, by setting multiple software backups in a single-chip microcomputer program area and performing a selective guide in a plurality of software backups when the software error occurs, the single-chip microcomputer software error recovery capacity can be improved.

Description

technical field [0001] The invention relates to the technical field of single-chip microcomputers, in particular to a method and system for recovering software errors of single-chip microcomputers. Background technique [0002] In the application scenario of the single-chip microcomputer with harsh environment, the software stored in the program area of ​​the single-chip microcomputer often produces unrecoverable errors due to the influence of the external harsh environment (such as high temperature, radiation), and such software errors cannot be recovered by re-powering the single-chip microcomputer . Regardless of whether the single-chip software is stored in EPROM memory, EEPROM memory, or FLASH memory, there may be unrecoverable errors in one or some program bits, resulting in permanent malfunction or failure of the entire software. [0003] In order to deal with unrecoverable errors in the single-chip software, the existing solution is to perform triple-mode redundant ...

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/14G06F9/445
Inventor 葛宁殷柳国张浩陆建华
Owner TSINGHUA UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products