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

Method and system for protecting DRAM stored data of embedded system software

An embedded system and a technology for storing data, which is applied in the direction of data error detection, protection of storage content to prevent loss, and response to error generation, etc., can solve the problems of difficulty in meeting the cost requirements of ordinary products, rising system costs, Software errors, etc.

Inactive Publication Date: 2016-05-25
METTLER TOLEDO (CHANGZHOU) MEASUREMENT TECH CO LTD +2
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Use static SRAM as system memory and data storage and use battery backup. The advantage of this method is that all data can be temporarily saved after the system is powered off or shut down, and the data will not be lost when the system is reset; but this method The biggest disadvantage of SRAM is: the capacity of SRAM is limited, and there is a lack of large-capacity and low-cost SRAM in the market. If a large-capacity SRAM is used, the system cost will increase significantly, and it is difficult to meet the cost requirements of ordinary products.
This method seems to protect the data well, but it still has a fatal shortcoming: before the data is safely saved to the non-volatile memory, various software deadlocks, software errors, external interference, etc. Cause software abnormality, once these software abnormalities occur, it is impossible for the system software to safely back up the data to the non-volatile memory, then manual reset or software reset is required to restart the system
However, DRAM data cannot be guaranteed to be safe during system restart

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 protecting DRAM stored data of embedded system software

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0016] The present invention will be further explained below in conjunction with specific embodiments and drawings. In the following description, more details are set forth in order to fully understand the present invention. However, the present invention can obviously be implemented in many other ways different from the description herein. Those skilled in the art can make similar promotion and deduction according to actual application conditions without violating the connotation of the present invention. Therefore, the content of this specific embodiment should not limit the protection scope of the present invention.

[0017] have to be aware of is, figure 1 These are only examples, and they are not drawn on the condition of equal proportions, and should not be taken as limiting the scope of protection actually required by the present invention.

[0018] The DRAM storage data protection system of embedded system software includes the main system CPU and DRAM of the embedded syste...

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

A method for protecting DRAM (Dynamic Random Access Memory) stored data of embedded system software can ensure security of stored data when the system software undergoes an exception. According to the method, an MCU is used to take charge of hardware resetting of an entire embedded system, to monitor software resetting of the embedded system, and to communicate with a main system CPU of the embedded system, so as to learn a current working status of the embedded system; when a system reset signal is detected, the MCU takes over control of a DRAM, and sending a self-refresh command to the DRAM, to enable the DRAM to enter a self-refresh mode, so as to ensure security of DRAM data during an entire resetting period of the embedded system; and after completion of resetting of the embedded system and before a boot program of the embedded system runs and prepares to initialize the DRAM, the MCU sends a quit self-refresh command to the DRAM, and releases and returns the control of the DRAM to the main system CPU, so that after the main CPU takes over the DRAM, the data stored in the DRAM is still valid.

Description

Technical field [0001] The invention relates to a method and system for protecting DRAM (Dynamic Random Access Memory) storage data when the software of an embedded system is abnormal. Background technique [0002] Many embedded applications need to save user data, field data, various configuration information, parameters, program running status, etc., so that the scene can be easily restored after the system restarts, or the previously saved data can be reloaded. The safe method is to save the data to various non-volatile storage media. But before the data is safely saved to the non-volatile storage medium, there are still various risks and possible errors: program deadlock, system software error, external interference, other software abnormalities, etc. When these abnormalities occur in the system software, most systems will use the watchdog function to reset the system in order to restart the system. In a few cases, a hardware reset must be initiated. However, when the syste...

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 Applications(China)
IPC IPC(8): G06F12/16G06F11/14
Inventor 谢建忠张强丁日春
Owner METTLER TOLEDO (CHANGZHOU) MEASUREMENT TECH CO LTD
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