DD299018A7 - METHOD FOR CHECKING STORAGE STORAGE - Google Patents
METHOD FOR CHECKING STORAGE STORAGE Download PDFInfo
- Publication number
- DD299018A7 DD299018A7 DD28627986A DD28627986A DD299018A7 DD 299018 A7 DD299018 A7 DD 299018A7 DD 28627986 A DD28627986 A DD 28627986A DD 28627986 A DD28627986 A DD 28627986A DD 299018 A7 DD299018 A7 DD 299018A7
- Authority
- DD
- German Democratic Republic
- Prior art keywords
- memory
- read
- memory circuit
- devices
- test
- Prior art date
Links
Abstract
Die Erfindung betrifft das Gebiet der Fehlererkennung in mikrorechnergesteuerten Geraeten und Einrichtungen, insbesondere im Rahmen der Eigendiagnose. Das Ziel besteht in der Erhoehung der Fehlererkennungsrate. Aufgabe ist es, den Speicherinhalt von Festwertspeichern mit programmtechnischen Mitteln vollstaendig zu pruefen, d. h. einschlieszlich des Festwertspeicherpruefprogrammes sowie der Sollwerte selbst. Erfindungsgemaesz werden auf der Basis zyklischer Kodes Istpruefsummen gebildet und mit Sollpruefsummen verglichen, wobei alle Sollpruefsummen in einen ausgewaehlten Speicherschaltkreis eingespeichert werden. Fuer diesen ausgewaehlten Speicherschaltkreis wird die Sollpruefsumme Null benutzt. FigurThe invention relates to the field of error detection in microcomputer-controlled devices and devices, in particular in the context of self-diagnosis. The goal is to increase the error detection rate. The task is to completely check the memory contents of read-only memories with program-technical means, d. H. According to the invention, actual checksums are formed on the basis of cyclic codes and compared with setpoint checksums, all setpoint checksums being stored in a selected memory circuit. For this selected memory circuit, the reference check sum zero is used. figure
Description
Auf Grund spezieller Eigenschaften der zyklischen Kodes kann auch der die Sollprüfsummentabelle enthaltende Festwertspeicherschaltkreis im Gegensatz zu birh-jr bekannten Verfahren in die Prüfung mit einbezogon werden. Kerngedanke des erfindungsgemäßiin Verfahrens ist die gezielte Erreichung der Prüfsumme Null für den die Prüfsummentabelle enthaltenden Festwertspeicherechaltkreis. Der zu prüfende Speicherinhalt muß dazu um seine eigene Prüfsumme erweitert werden. Bildet man erneut die Prüfsumme, so erhält man unabhängig vom Informationsinhalt stets Null. Das trifft z. B. bei der zyklischen Kodierung mit oben genanntem Generatorpolynom P(x) zu.Due to special characteristics of the cyclic codes, the read-only memory circuit including the target check sum table may also be included in the test, in contrast to birh-jr known methods. The core idea of the method according to the invention is the targeted achievement of the checksum zero for the read-only memory circuit containing the check sum table. The memory contents to be checked must be extended by its own checksum. If you form the checksum again, you always get zero regardless of the information content. This meets z. B. in the cyclic coding with the above generator polynomial P (x).
Das erfindungsgemäße Prüfverfahren wird demgemäß folgendermaßen erreicht. Mit Hilfe eines M'krorechnerentwicklungssystems wird in üblicher Weise mittels eine:, speziellen Prüfsummenbildungsprogrammes, welches die zyklische Kodierung mit einem geeigneten Generatorpolynom ausführt, die Sollprüfsumme von jedem Speicherschaltkreis, mit Ausnahme eines ausgewählten Speicherschaltkreises, berechnet. Diese Sollprüfsummen werden in Form einer Sollprüfsummentabello in den ausgewählten Speicherschaltkreis eingespeichert, wobei für diesen Speicherschaltkreis selbst die Sollprüf summe Null benutzt wird. Nun wird das Prüfsummenbildungsprogramm auf den ausgewählten Speicherschaltkreis mit Ausnahme einer Anzahl freier Speicherplätze, angewendet. Die so ermittelte Zwischenprüfsumi e wird auf die freien Speicherplätze eingetragen und damit der endgültige Speicherinhalt des ausgewählten Speicherschaltkreises programmiert. Damit wird die für das Verfahren erforderliche SollprUfsumme Null bei dem ausgewählten Speicherschaltkreis erzielt.The test method according to the invention is accordingly achieved as follows. By means of a microcomputer development system, the target checksum of each memory circuit except a selected memory circuit is computed in the usual way by means of a special checksum program which executes the cyclic coding with a suitable generator polynomial. These Sollprüfsums are stored in the form of a Sollprüfsummentabello in the selected memory circuit, for which this memory circuit itself the Sollprüf sum zero is used. Now, the checksum program is applied to the selected memory circuit except a number of free memory locations. The thus determined Zwischenprüfsumi e is entered in the free memory locations and thus programmed the final memory content of the selected memory circuit. This achieves the desired check sum zero required for the method in the selected memory circuit.
AusführungsbelsplolAusführungsbelsplol
Der Nachweis für den korrekten Speicherinhalt eines mikrorechnergesteuerten Systems wird durch ein Festwertspeicherprüfprogramm erbracht, dessen Kernstück das Unterprogramm EDC (error-detection code) für die Prüfsummenbildung gemäß Generatorpolyriom P(x) = x'e + x12 + xb + x° ist. Das Prüfprogramm bildet nacheinander die Istprüfsuminen der EPROM-Schaltkreise und vergleicht sie mit der jeweiligen Sollprüfsumme der Sollprüfsummentabelle. Bei Übereinstimmung ist der Speicherinhalt mit hoher Wahrscheinlichkeit korrekt, bei Nichtübereinstimmung liegt ein Fehler vor, der eine Fehlermeldung mit Angabe der Nummer des fehlerbehafteten EPROM auslöst. Letzteres muß gerätebezogen realisiert werden.The evidence for the correct memory contents of a micro-computer-controlled system is provided by a Festwertspeicherprüfprogramm whose core the subroutine EDC (error-detection code) for the checksum according Generatorpolyriom P (x) = x 's + x 12 + x b + x °. The test program successively forms the actual checksums of the EPROM circuits and compares them with the respective reference checksum of the setpoint check sum table. If there is a match, the memory contents are likely to be correct; in the event of a mismatch, there is an error that triggers an error message indicating the number of the errored EPROM. The latter must be realized device-related.
Nachfolgend soll die gezielte Erreichung der SollprUfsumme Null an einem Beispiel näher erläutert werden. Ein Mikrorechnerprogramm beansprucht ca. 3,5 kByte Speicherkapazität. Verwendet werden 4 EPROM zu je 1 kByte. Der 4. EPROM enthält zusätzlich das Festwertspeicherprüfprogramm einschließlich des Unterprogramms EDC sowie des Fehlerbehandlungsprogrammes und die Soliprüfsummentabolle gemäß Zeichnung. Die ermittelten Sollprüfsumman PS 1 bis PS 3 der ersten 3 EPROM haben folgende hexadezimale Werte:In the following, the targeted achievement of the nominal test sum zero will be explained in more detail using an example. A microcomputer program takes about 3.5 kbytes of storage capacity. 4 EPROMs of 1 kByte each are used. The 4th EPROM also contains the read-only memory check program including the subprogram EDC as well as the error handling program and the sample summation tool as per drawing. The determined Sollprüfsumman PS 1 to PS 3 of the first 3 EPROM have the following hexadecimal values:
1. EPROM: PS 1 =38A4H1st EPROM: PS 1 = 38A4H
2. EPROM:PS2 = OB2CH 3.EPROM:PS3 = F344H2. EPROM: PS2 = OB2CH 3.EPROM: PS3 = F344H
Weiterhin wird die Zwischenprüfsumme PS 4' der ersten 1022 Speicherplatte des 4. EPROM berechnet (PS 4' = 379BH) und in der Reihenfolge höherweniger Teil und niederwertiger Teil auf die Speicherplätze 10231J nd 1024 gebracht. Damit ergibt sich für alle 1024 Speicherplätze schließlich die gewünschte Sollprüfsumme PS 4 = 0000 H.Furthermore, the intermediate checksum PS 4 'of the first 1022 memory disk of the 4th EPROM is calculated (PS 4' = 379BH) and brought to the memory locations 1023 1 J 1024 in the order of the less-significant part and the low-order part. This results in the desired setpoint checksum PS 4 = 0000 H for all 1024 memory locations.
Die 8 Byte lange Sollprüfsummentabelle ist als Einzelheit in der Zeichnung dargestellt.The 8-byte long check-sum table is shown as a detail in the drawing.
Das Verfahren ist unabhängig von der Speicherkapazität der Speicherschaltkreise. Es läßt sich ebenfalls auf Festwertspeicherschaltkreise höherer Speicherkapazität anwenden, ebenso auf maskenprogrammierte ROM-Speicher.The method is independent of the storage capacity of the memory circuits. It also applies to read-only memory circuits of higher storage capacity, as well as to mask-programmed ROM memories.
Das angegebene Verfahren kann geringfügig modifi/irt werden:The procedure given may be slightly modified:
- Die SollprUfsumme Null des letzten EPROM kann in der Sollprüfsummentabelle entfallen, dies muß aber im Prüfprogramm entsprechend berücksichtigt werden.- The set check sum zero of the last EPROM can be omitted in the set check sum table, but this must be taken into account accordingly in the check program.
- Prüfprogramm und Sollprüfsummentabelle müssen nicht unbedingt gemeinsam im ausgewählten letzten EPROM (mit der höchsten Anfangsadresse) untergebracht sein. Der EPROM, der die rollprüfsummentabella enthält, muß aber grundsätzlich nach dem beschriebenen Verfahren auf die Sollprüfsumme Null gebracht werden.- Check program and set check sum table do not necessarily have to be located together in the selected last EPROM (with the highest start address). The EPROM, which contains the roll-checksum tabella, must, however, always be brought to the reference checksum zero according to the described method.
Neben einsr rein programmtechnischen Lösung für das Verfahren ist auch eine Realisierung durch die Einbeziehung von vorhandenen programmierbaren Ein-/Ausgabeschaltkreisen wie z. B. die SIO U 856 oder von rückgekoppelten Schieberegistern in bekannter Art möglich, wodurch eine gemischte Software-Hardware-Lösung entsteht. Als zusätzlicher Vorteil ergibt sich eine wesentlich schnellere Prüfsummenbildung und damit eine wesentliche Verkürzung der Testzeit.In addition to a purely programmatic solution for the process is also a realization by the inclusion of existing programmable input / output circuits such. As the SIO U 856 or feedback shift registers in a known manner possible, creating a mixed software hardware solution. As an additional advantage results in a much faster checksum formation and thus a significant reduction in the test time.
In Betracht gezogene Druckschriften:Documents considered:
DE-PS 142618,G11C29/00DE-PS 142618, G11C29 / 00
DE-OS 2916710, G11C29/00DE-OS 2916710, G11C29 / 00
US-PS 4490783, G 06 F11 /00U.S. Patent 4,490,783, G 06 F11 / 00
Görko, W.: Testmöglichkeiten für LSI-Schaltkreise.Görko, W .: Test options for LSI circuits.
ZhV. Elektronische Rechenanlagen, 20 (1978) H.5, S.220-227.ZHV. Electronic Rechenanlagen, 20 (1978) H.5, p.220-227.
Claims (2)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DD28627986A DD299018A7 (en) | 1986-01-17 | 1986-01-17 | METHOD FOR CHECKING STORAGE STORAGE |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DD28627986A DD299018A7 (en) | 1986-01-17 | 1986-01-17 | METHOD FOR CHECKING STORAGE STORAGE |
Publications (1)
Publication Number | Publication Date |
---|---|
DD299018A7 true DD299018A7 (en) | 1992-03-26 |
Family
ID=5575952
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
DD28627986A DD299018A7 (en) | 1986-01-17 | 1986-01-17 | METHOD FOR CHECKING STORAGE STORAGE |
Country Status (1)
Country | Link |
---|---|
DD (1) | DD299018A7 (en) |
-
1986
- 1986-01-17 DD DD28627986A patent/DD299018A7/en not_active IP Right Cessation
Similar Documents
Publication | Publication Date | Title |
---|---|---|
DE3590661C2 (en) | ||
DE3125048C2 (en) | ||
DE3124425C2 (en) | Method and device for error detection and error correction | |
EP1224546B1 (en) | Method for protecting a program flow | |
EP0011685A1 (en) | Programmable memory protection arrangement for microprocessors and circuitry with such an arrangement | |
DE2518588C3 (en) | Method for monitoring the consistency of code signal groups in telecommunications equipment | |
DE2659031B2 (en) | Error correction and control system | |
DE102006005817B4 (en) | An error detection device for an address decoder and an error detection device for an address decoder | |
DE2715029C3 (en) | Circuit arrangement for diagnosing or testing functional hardware errors in a digital EDP system | |
DE3828988A1 (en) | MANUFACTURING METHOD FOR AN ELECTRONIC DEVICE | |
DE102006007326A1 (en) | Error correction circuit for dynamic RAM system, has read tree to receive data from data memory and parity data from parity memory, and also configured to produce display, whether error is occurred in data during storage within data memory | |
WO2004064075A1 (en) | Method for the recognition and/or correction of memory access errors and electronic circuit arrangement for carrying out said method | |
DD299018A7 (en) | METHOD FOR CHECKING STORAGE STORAGE | |
DE19725581A1 (en) | Arrangement with memory cells and method for checking the function of memory cells | |
WO2001022225A1 (en) | Method and circuit configuration for storing data words in a ram module | |
WO2006089943A1 (en) | Method for data protection and device for carrying out the same | |
EP3550748A1 (en) | Method for detecting data falsification in a data transfer over error-proof communication link | |
DE3433679C2 (en) | ||
DE2846890A1 (en) | Test system for random access memories - writes cell address into cell and then compares reading with read cell address for fault indication | |
DE2823457A1 (en) | PROCEDURE AND CIRCUIT ARRANGEMENT FOR ERROR MONITORING IN STORAGE SYSTEMS OF DIGITAL COMPUTER SYSTEMS | |
DE4300025C1 (en) | Error coding data transmission method - recognising and/or correcting one and more bit errors and involves division of data word and test word into four bit wide part words | |
DE102005016051A1 (en) | Memory checking device and method for checking a memory | |
EP0029216B1 (en) | Data transmission device with a buffer memory and devices for data protection | |
EP0046963B1 (en) | Circuit configuration for the recognition and correction of error bursts | |
EP0576917B1 (en) | Method to maintain data integrity in write-read memories |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
ENJ | Ceased due to non-payment of renewal fee |