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

Method, programmable logic device, system and apparatus for checking memory data

A data verification and programming logic technology, applied in the computer field, can solve problems such as program running errors, inability to verify immediately, abnormal program execution, etc., and achieve the effects of improving work efficiency, reducing circuit board crashes, and reducing CPU resources

Active Publication Date: 2010-06-02
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, during the working process of the memory on the circuit board, some memory cells may fail due to temperature stress, electrical stress, device aging, etc., but it cannot be verified immediately, and the specified memory address space cannot be verified on-site; It is easy to cause errors in program operation, and it is difficult to locate the cause; it will still cause the CPU to crash due to instruction errors when executing instructions when the circuit board is starting or running, or program execution exceptions due to data errors
Therefore, the existing technology cannot realize that when the circuit board needs to detect the data in the memory, it can independently detect

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, programmable logic device, system and apparatus for checking memory data
  • Method, programmable logic device, system and apparatus for checking memory data
  • Method, programmable logic device, system and apparatus for checking memory data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] Example 1, see figure 1 , a method of data validation:

[0023] Step 101: The CPU sends a storage verification command, which includes a start address, an end address, and a start flag; the meaning of the start mark can be to tell the data verification device to start data verification after storing the start address and the end address That is to say, the data verification cannot be started immediately after receiving the storage verification command. If only the start address is stored but the end address is not stored, it will cause program confusion;

[0024] Step 102: the data verification device receives and stores the storage verification command sent by the CPU;

[0025] Step 103: After receiving the command, the data verification device clears the previously saved verification results.

[0026] In this step, if this step is executed for the first time, the verification result is the initial value set by the system, which is not a practical verification result...

Embodiment 2

[0035] Example 2, see figure 2 , the embodiment of the present invention also provides a method for data verification:

[0036] Step 201: The CPU sends a storage verification command, which includes a start address, an end address, and a start flag; the meaning of the start mark can be to tell the data verification device to start data verification after storing the start address and the end address That is to say, the data verification cannot be started immediately after receiving the storage verification command. If only the start address is stored but the end address is not stored, it will cause program confusion.

[0037] Step 202: the data verification device receives and stores the storage verification command sent by the CPU, and clears the previously saved verification results;

[0038] In this step, if this step is executed for the first time, the verification result is the initial value set by the system, which is not a practical verification result; correspondingl...

Embodiment 3

[0047] Example 3, see image 3 , corresponding to Embodiment 1 of the present invention, the embodiment of the present invention also provides a data verification device, which includes:

[0048] The read-write control unit 301 is used to receive a check command, which includes a start address, an end address, and a start identifier; the start address in the check command is stored in the start address register, and the end address is stored in the end address register, and Preserving the start flag in the command register; and reading and verifying the memory data according to the start address in the check command, the end address and the start mark; after the check is completed, the check result is stored in the detection result register 305;

[0049] Wherein, the check command includes a start address, an end address, and a start flag. When the check command is stored, the start address in the check command is specifically stored in the start address register 302, and the ...

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 a method for checking storage data, which comprises the following steps: check commands are received, which comprise initial addresses, end addresses and start-up labels; the check commands are stored; data in a storage are read and checked; on completion of check, the check results are stored. The invention further discloses a storage data check device which comprises a read-write control unit, an initial address register, an end address register, a command register, and a check result register. The invention further discloses a storage data check system which comprises a controller, a data check device and a storage. In addition, the invention further discloses a programmable logic device and a storage data check system comprising the programmable logic device. The data check device can be used for checking the storage in time when a circuit board needs to check the data in the storage through the controller involved in the invention.

Description

technical field [0001] The invention relates to the computer field, in particular to a memory data verification method, device, programmable logic device and system. Background technique [0002] There is usually a CPU (controller) on the circuit board of the embedded system, and functions such as business processing, device control, and system management are completed through the execution of software. In order to ensure that the circuit board can run automatically when it is powered on, and that the saved software code and important data will not be lost when the circuit board is powered off, the software code is generally stored in a non-volatile memory, such as EPROM (Erasable Programmable Read Only Memory erasable, programmable read-only memory), EEPROM (Electrically Erasable Programmable Read Only Memory, electrically erasable, programmable read-only memory), etc. [0003] The memory on the circuit board is generally divided into two parts. The first part saves the in...

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): G06F11/00
Inventor 李延松
Owner HUAWEI 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