RAM internal storage detection method and device

A technology of memory detection and memory, which is applied in the direction of error detection of redundant codes, error detection of redundant data in calculations, generation of response errors, etc. Incorrect etc.

Inactive Publication Date: 2014-03-26
CHONGQING CHUANYI AUTOMATION
View PDF3 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] At present, the traditional CRC (Cyclical Redundancy Check) algorithm is usually used to judge whether the data storage in the RAM memory of the microcontroller is correct. Although the traditional CRC algorithm can detect whether the data storage in the RAM memory is correct, it cannot detect the cause Reasons for incorrect data storage, such as physical damage to data and damage to the data line of the microcontroller
[0004] It can be seen from the above that the current method of detecting whether the data storage in the single-chip RAM memory is correct has the disadvantage of not being able to detect the cause of the incorrect data storage.

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
  • RAM internal storage detection method and device
  • RAM internal storage detection method and device
  • RAM internal storage detection method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0052] The application provides a RAM memory detection method, which can determine that the data in the RAM memory area to be detected is the original code; the inverse code generated after the inversion of the original code is stored in the backup memory area; if the original code and There is the same data in the inverse code, and it is determined that the data in the original code is physically damaged; otherwise, the inverse code read from the backup memory area is reversed, and ...

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 provides an RAM internal storage detection method. The method includes the steps that it is determined that data in an RAM internal storage area to be detected are true codes; one's complement codes generated after negation is conducted on the true codes are stored into a backup internal storage area; if same data exist in the true codes and the one's complement codes, it is judged that physical damages exist in the data in the true codes, or else negation operation is conducted on the one's complement codes read from the backup internal storage area, a CRC algorithm is utilized to check data on which the negation operation is conducted, and then backup CRC check codes are generated; original CRC check codes corresponding to the true codes and the backup CRC check codes are compared, whether the original CRC check codes corresponding to the true codes and the backup CRC check codes are consistent or not is judged, if yes, it is judged that a data line relevant to the RAM internal storage area to be detected is not damaged or the data in the true codes are not tampered, and if not, it is judged that the data line relevant to the RAM internal storage area to be detected is damaged or the data in the true codes are tampered. Consequently, by the adoption of the RAM internal storage detection method and device, the reason for causing incorrect data storage can be detected.

Description

technical field [0001] The present application relates to the field of memory detection, in particular to a RAM memory detection method and device. Background technique [0002] At present, in order to enhance the anti-interference and error identification capabilities of the single-chip microcomputer and prevent the data in the RAM (Random Access Memory) memory of the single-chip microcomputer from being tampered with or lost, it is necessary to detect the data in the RAM memory of the single-chip microcomputer. [0003] At present, the traditional CRC (Cyclical Redundancy Check) algorithm is usually used to judge whether the data storage in the RAM memory of the microcontroller is correct. Although the traditional CRC algorithm can detect whether the data storage in the RAM memory is correct, it cannot detect the cause Reasons for incorrect data storage, such as physical damage to data and damage to the data line of the microcontroller. [0004] It can be seen from the ab...

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): G06F11/10G06F11/14
Inventor 蒋浩石磊
Owner CHONGQING CHUANYI AUTOMATION
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