JPS63254548A - プログラムメモリのメモリセル内容の検査方法 - Google Patents

プログラムメモリのメモリセル内容の検査方法

Info

Publication number
JPS63254548A
JPS63254548A JP63065957A JP6595788A JPS63254548A JP S63254548 A JPS63254548 A JP S63254548A JP 63065957 A JP63065957 A JP 63065957A JP 6595788 A JP6595788 A JP 6595788A JP S63254548 A JPS63254548 A JP S63254548A
Authority
JP
Japan
Prior art keywords
memory
contents
checksum
program memory
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP63065957A
Other languages
English (en)
Other versions
JP3124278B2 (ja
Inventor
デイーター・クラウス
ギユンター・ブラウン
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Robert Bosch GmbH
Original Assignee
Robert Bosch GmbH
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Robert Bosch GmbH filed Critical Robert Bosch GmbH
Publication of JPS63254548A publication Critical patent/JPS63254548A/ja
Application granted granted Critical
Publication of JP3124278B2 publication Critical patent/JP3124278B2/ja
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1004Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's to protect a block of data words, e.g. CRC or checksum
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/08Functional testing, e.g. testing during refresh, power-on self testing [POST] or distributed testing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/52Protection of memory contents; Detection of errors in memory contents

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Detection And Correction Of Errors (AREA)

Abstract

(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。

Description

【発明の詳細な説明】 産業上の利用分野 本発明は、コンピュータにおけるプログラムメモリのメ
モリセル内容の検査方法に関する。
従来の技術 データを検査するため水平方向(横方向)のチェックサ
ムと特別なチェックビットを検出して、そのデータの適
否を検査することが一般に公知である。しかしこの種の
検査方法の欠点は、高い検査信頼度が比較的多くの記憶
場所を費やさなければ得られないことである。従ってこ
の種の検査方法は通常データ伝送の際にのみ使用される
発明の目的 本発明の課題は従来技術の欠点を克服したプログラムメ
モリのメモリセル内容の検査方法を提供することである
問題点を解決するための手段 本発明によれば上述の課題は、プログラムメモリにメモ
リセル内容の和をチェックサムとしてファイルし、コン
ピュータ動作の開始時及び/又は動作中に、チェックル
ーチン内部でメモリセル内容を順次走査読出して加算し
て終値を形成し、次いでチェックサムと終値とを比較し
て偏差を検出した場合、エラー検出信号を送出すること
により解決される。
特許請求の範囲第1項の特徴部分に記載の、コンピュー
タにおけるプログラムメモリのメモリセル内容の検査方
法は従来技術に対し次のような利点を有する。即ち、記
憶されたプログラムのデータが、記憶されたチェックサ
ムと簡単に比較され、この比較から比較結果、場合によ
ってはエラー検出信号またはエラー指示信号がトリガさ
れるという利点を有する。そのために必要なチェックル
ーチンはプログラム経過の開始の都度、またはプログラ
ムの経過中に必要な頻度回数実行することができる。そ
の場合チェックルーチンは、相応の高い優先順位を有す
るコンピュータ要求(割込み)により中断することがで
きる。本発明による方法は特に次のようなマイクロプロ
セッサと関連して用いると有利である。即ち、電子制御
装置の一部とすることができ、そのメモリセル内容がチ
ェックサムと同様にそのプログラムメモリに固定的に7
アイルされているようなマイクロプロセッサと関連して
用いると有利である。メモリセル内容の検査方法に相応
して、制御装置内もしくはマイクロプロセッサ内でチェ
ックルーチンを自動的に実行させることができ、そのチ
ェックルーチンによりメモリセル内容に元からあるエラ
ーおよび動作時に初めて発生するエラーも検出される。
実施例 本発明を図面に基づいて詳細に説明する。
第1図はプログラムメモリの構成を示す。チェックルー
チンの開始時にまず、プログラムメモIJ P M (
第1図)の第1メモリセルAOの内容Doが、コンピュ
ータに付加的に備えられたサムレジスタG(第2図)に
ロードされる。続いてプログラムメモリPMにファイル
されているチェックサムPも含めた別のメモリセル内容
DI、D2.・・・Dnのすべてが、加算されてサムレ
ジスタGの内容が形成される。メモリセル内容Do−D
nはプログラムメモリ領域P M l。
PM2 、PM3にファイルされる。その際、プログラ
ムメモリーセグメントPMI 、PM3はプログラム及
び/又はデータを有する。プログラムメモリーセグメン
トPM2にはチェックサムPがファイルされており、こ
のチェックサムは内容DX、D×+1.・・・、D×十
□から合成される。
7)”L’スAnを有する最後のメモリセルの内容Dn
を加算した後、総和GSが得られる。この総和は、チェ
ックサムPに相当するメモリセル内容Dx、Dx−z、
−9Dx+mだけ減jiJlさ、h、そこから終値Sが
得られる。
比較によ、ps=pか否かが検出され得る。S=Pの場
合、サムレジスタGは消去される。所望の時点でチェッ
クルーチンを新たにアドレスAQからスタートさせるこ
とができる。
しかしながら終値SとチェックサムPとの比較の際に差
のあることが検出されると、エラールーチンFがエラ一
応答のためスタートされる。
即ち、エラービットがセットされ及び/又はエラー指示
がトリガされる。
チェックサムPと総和GSにおいてパイトフオーマット
は任意に設定される。従って例えばn×8ビツトメモリ
のチェックサムは2バイトフオーマツトに設定した場合
、DXとDx+、の成分から合成される。サムレジスタ
Gはオーバフローtlt−しない16ビツトワードレジ
スタである。
発明の効果 本発明により、記憶されたプログラムのデータが記憶さ
れたチェックサムと簡単に比較され、この比較から比較
結果、場合によってはエラー検出信号またはエラー指示
信号のトリガされるメモリセル内容の検査方法が得られ
る。
【図面の簡単な説明】
第1図はプログラムメモリの構成を説明する図、第2図
は第1図に示したプログラムメモリのメモリセル内容の
検査方法のフローチャートである。 FIG、  1

Claims (1)

  1. 【特許請求の範囲】 1、コンピュータにおけるプログラムメモリのメモリセ
    ル内容の検査方法において、プログラムメモリにメモリ
    セル内容(D0、D1・・・)の和をチェックサム(P
    )としてファイルし、コンピュータ動作の開始時及び/
    又は動作中にチェックルーチン内部でメモリセル内容(
    D0、D1・・・)を順次走査読出して加算して終値(
    S)を形成し、次いでチェックサム(P)と終値(S)
    とを比較して偏差を検出した場合エラー検出信号(F)
    を送出することを特徴とするプログラムメモリのメモリ
    セル内容の検査方法。 2、チェックルーチンですべてのメモリセル内容(D0
    、D1・・・)を加算してチェックサム(P)の値を形
    成し、そこから得られた総和値(GS)から前記チェッ
    クサム(P)を減算し、そうして検出された終値(S)
    とチェックサム(P)とを一致の存否に関して比較する
    特許請求の範囲第1項記載のプログラムメモリのメモリ
    セル内容の検査方法。 3、チェックサム(P)はプログラムメモリ(PM)と
    は独立のメモリにファイルされる特許請求の範囲第1項
    または第2項記載のプログラムメモリのメモリセル内容
    の検査方法。 4、チェックサム(P)を複数のメモリセルに配分して
    記憶するか、または、プログラムメモリ(PM)の種々
    異なるアドレス及びデータ領域にチェックサムとして配
    属された複数のチェックサムを記憶する特許請求の範囲
    第1項乃至第3項いずれか1項に記載のプログラムメモ
    リのメモリセル内容の検査方法。
JP63065957A 1987-03-23 1988-03-22 プログラムメモリのメモリセル内容の検査方法 Expired - Lifetime JP3124278B2 (ja)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE3709524A DE3709524C2 (de) 1987-03-23 1987-03-23 Verfahren zur Überprüfung der Speicherzelleninhalte eines Programmspeichers
DE3709524.2 1987-03-23

Publications (2)

Publication Number Publication Date
JPS63254548A true JPS63254548A (ja) 1988-10-21
JP3124278B2 JP3124278B2 (ja) 2001-01-15

Family

ID=6323799

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63065957A Expired - Lifetime JP3124278B2 (ja) 1987-03-23 1988-03-22 プログラムメモリのメモリセル内容の検査方法

Country Status (3)

Country Link
JP (1) JP3124278B2 (ja)
KR (1) KR0121284B1 (ja)
DE (1) DE3709524C2 (ja)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007513422A (ja) * 2003-12-04 2007-05-24 アクサルト・エス・アー 放射またはそれ以外による攻撃に対抗したプログラムの実行を保証するための方法

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2647924B1 (fr) * 1989-06-06 1994-06-17 Bull Cp8 Procede pour verifier l'integrite d'un logiciel ou de donnees, et systeme pour la mise en oeuvre de ce procede
US5023813A (en) * 1989-08-03 1991-06-11 International Business Machines Corporation Non-volatile memory usage
JP2701591B2 (ja) * 1991-05-31 1998-01-21 日本電気株式会社 自動車電話装置の自己診断方法
DE4308464A1 (de) * 1993-03-17 1994-09-22 Vdo Schindling Verfahren zur Erkennung von Hardwarefehlern auf den Leitungen eines Adressbusses in Mikroprozessoren
JP2000305859A (ja) * 1999-04-22 2000-11-02 Matsushita Electric Ind Co Ltd プロセッサ
DE10058220A1 (de) * 2000-11-23 2002-05-29 Daimler Chrysler Ag Verfahren zum Betreiben einer einen Datenspeicher aufweisenden Vorrichtung
DE102004006645A1 (de) * 2004-02-11 2005-09-22 Giesecke & Devrient Gmbh Verfahren zum sicheren Berechnen einer Prüfsumme
DE102016104012A1 (de) * 2016-03-04 2017-09-07 Infineon Technologies Ag Verarbeitung eines Datenworts

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5378127A (en) * 1976-12-22 1978-07-11 Sharp Corp Self diagnosis system of fixed program memory unit
JPS5888899A (ja) * 1981-11-19 1983-05-27 Mitsubishi Electric Corp Ram制御回路
JPS59178695A (ja) * 1983-03-30 1984-10-09 Nittan Co Ltd 読出し専用メモリチエツク装置
JPS60254258A (ja) * 1984-05-31 1985-12-14 Mitsubishi Electric Corp 読み出し専用メモリデ−タの破壊検知方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US4488300A (en) * 1982-12-01 1984-12-11 The Singer Company Method of checking the integrity of a source of additional memory for use in an electronically controlled sewing machine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5378127A (en) * 1976-12-22 1978-07-11 Sharp Corp Self diagnosis system of fixed program memory unit
JPS5888899A (ja) * 1981-11-19 1983-05-27 Mitsubishi Electric Corp Ram制御回路
JPS59178695A (ja) * 1983-03-30 1984-10-09 Nittan Co Ltd 読出し専用メモリチエツク装置
JPS60254258A (ja) * 1984-05-31 1985-12-14 Mitsubishi Electric Corp 読み出し専用メモリデ−タの破壊検知方法

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007513422A (ja) * 2003-12-04 2007-05-24 アクサルト・エス・アー 放射またはそれ以外による攻撃に対抗したプログラムの実行を保証するための方法

Also Published As

Publication number Publication date
KR880011662A (ko) 1988-10-29
DE3709524C2 (de) 1996-08-14
KR0121284B1 (ko) 1997-11-22
DE3709524A1 (de) 1988-10-06
JP3124278B2 (ja) 2001-01-15

Similar Documents

Publication Publication Date Title
US7293204B2 (en) Computer peripheral connecting interface system configuration debugging method and system
JPS63254548A (ja) プログラムメモリのメモリセル内容の検査方法
US4231089A (en) Data processing system with apparatus for correcting microinstruction errors
US4924465A (en) Memory with function test of error detection/correction device
KR940001146B1 (ko) 정보 처리 장치의 비교 체크 기능 검사를 위한 시스템
US3727039A (en) Single select line storage system address check
CN112966671A (zh) 一种合同检测方法、装置、电子设备及存储介质
CN110825572A (zh) I2c设备地址的探测方法、装置、系统及电子设备
JPS60549A (ja) メモリ試験方式
JP2001067271A (ja) メモリ回路のチェック方法
JPS583200A (ja) メモリチエツク方式
JPS6073763A (ja) メモリアドレスエラ−検出方式
JP2508193B2 (ja) 登録原文の変換装置
JPS63285654A (ja) メモリモジュ−ル実装誤り検出方式
JP2641740B2 (ja) 情報処理装置のシステム情報設定方法
JPS58103040A (ja) マイクロプログラム制御装置
JPS63821B2 (ja)
JPS59177799A (ja) 読出専用メモリのチエツク方式
JPH02137045A (ja) アドレスチェック方式
JPH01171049A (ja) システム内メモリの試験装置
JPH06110723A (ja) マイクロコンピュータに於けるramアドレス・バスの結線テスト方法
JPH0659900A (ja) メモリ書込装置
JPS62224833A (ja) デ−タ形式の適否検査方式
JPH0540583A (ja) 情報処理システム
JPH0240727A (ja) 誤り検出・訂正装置

Legal Events

Date Code Title Description
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071027

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081027

Year of fee payment: 8

EXPY Cancellation because of completion of term
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081027

Year of fee payment: 8