JPS6224342A - Controller incorporating memory data protection circuit - Google Patents
Controller incorporating memory data protection circuitInfo
- Publication number
- JPS6224342A JPS6224342A JP16337185A JP16337185A JPS6224342A JP S6224342 A JPS6224342 A JP S6224342A JP 16337185 A JP16337185 A JP 16337185A JP 16337185 A JP16337185 A JP 16337185A JP S6224342 A JPS6224342 A JP S6224342A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- data
- signal
- write
- protection circuit
- 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.)
- Pending
Links
Landscapes
- Storage Device Security (AREA)
Abstract
Description
【発明の詳細な説明】
産業上の利用分野
本発明は主にWA算処理装置にマイクロプロ廿ツサーを
用いた各種制御ld器において、演痺処1!I!装置の
暴走時に演nデータなどが破壊されない様にするf−夕
保護回路を含む制御]装置に関する。DETAILED DESCRIPTION OF THE INVENTION Field of Industrial Application The present invention is mainly applicable to various control devices using a microprocessor as a WA processing device. I! The present invention relates to a control device including a protection circuit for preventing data, etc., from being destroyed when the device goes out of control.
従来の技術
近年、マイクロコンピュータを利用した各種の制御機器
が増えており、その機器の長期信頼性が必要となってき
ている。BACKGROUND OF THE INVENTION In recent years, the number of various control devices using microcomputers has increased, and it has become necessary for these devices to have long-term reliability.
第4図は従来の制wJ機器の一実施例を六す。1は演算
処1g!11(以下、CPUと称す)で、リード・オン
リー・メモリ2(以下、ROMと称す]あるいはランダ
ム・アクセス・メモリ3〔以下、RAMと称す〕に記憶
されているプログラム・データと、必要時にはインター
フェイス4を通じて外部機器とのデータの授受を行なっ
て目的の制御を行なう。FIG. 4 shows an embodiment of a conventional WJ control device. 1 is arithmetic processing 1g! 11 (hereinafter referred to as CPU), which interfaces with program data stored in read-only memory 2 (hereinafter referred to as ROM) or random access memory 3 (hereinafter referred to as RAM) when necessary. 4, it exchanges data with external equipment and performs the desired control.
発明が解決しようとする問題点
このような従来の構成では、一時的な電源変動とか外部
からの雑音により目的外の動作・処理(暴走)を行なう
場合がある。これはシステムにM走監視回路を採用した
としてもシステムダウンを防止するだけで、データの保
護に対しては無力である。Problems to be Solved by the Invention In such a conventional configuration, unintended operation or processing (runaway) may occur due to temporary power fluctuations or external noise. Even if an M-run monitoring circuit is adopted in the system, it only prevents the system from going down and is powerless to protect data.
本発明CPUの暴走が発生した場合にメモリ上のデータ
が破壊しない様に保護できる制御I装置を提供すること
を目的とする。It is an object of the present invention to provide a control device capable of protecting data on a memory from being destroyed in the event of runaway of a CPU.
問題点を解決するための手段
本発明のメモリーデータ保護回路内蔵制御装置は、プロ
グラムデータに従って各種の演舞処理を行なう演算処理
装置と、この演舞処理装置の演舞データを記憶する保護
対象メモリと、前記演舞処理装置と外部回路とを接続す
るインターフェイスと、通常は保護対象メモリ書き込み
不可状態にあって閤き込み時に解除アドレスがアクセス
されると保護対象メモリ書き込み可能とし、データを書
き込んだ直後に自動的に保護対象メモリ書き込み不可の
状態に戻して保護対象メモリデータを保護するデータ保
護回路とを設けたことを特徴とする。Means for Solving the Problems A control device with a built-in memory data protection circuit according to the present invention includes: an arithmetic processing device that performs various dance processing according to program data; a protected memory that stores performance data of the performance processing device; The interface that connects the performance processing device and the external circuit is normally in a state where writing to the protected memory is disabled, but when the release address is accessed during a write-in, the protected memory becomes writable, and the data is automatically written immediately after data is written. The present invention is characterized in that a data protection circuit is provided to protect the protected memory data by returning the protected memory to a writable state.
作用
この構成によると、書き込み時にデータ保護回路の解除
アドレスをアクセスする事により初めてメモリ内き込み
が可能となり、この手順を踏まないとメモリ書き込みが
出来ないため、演算処理装置の暴走からメモリのデータ
を保護できる。Effect: According to this configuration, it is possible to write into the memory only by accessing the release address of the data protection circuit at the time of writing, and since it is not possible to write to the memory unless this procedure is followed, the data in the memory may be lost due to runaway of the arithmetic processing unit. can be protected.
実施例
以下、本発明の一実施例を第1図〜第3図に基づいて説
明する。EXAMPLE Hereinafter, an example of the present invention will be described based on FIGS. 1 to 3.
第1図は本発明のメモリーデータ保護回路内蔵制n装置
を示す。第2図はメモリー上のデータをアクセスする際
のタイミング図、第3図は第1図におけるデータ保護回
路6の具体回路図である。FIG. 1 shows a control device with a built-in memory data protection circuit according to the present invention. FIG. 2 is a timing diagram when accessing data on the memory, and FIG. 3 is a specific circuit diagram of the data protection circuit 6 in FIG. 1.
まず第1図により本発明の一実施例の構成を説明する。First, the configuration of an embodiment of the present invention will be explained with reference to FIG.
CPUIはROM2および第1のRAM3に記憶されて
いるプログラム・データと、必要時にはインターフェイ
ス4を1通じて外部機器とのデータ授受を行って目的の
動作・処理を行ない、処理の結果は、第2のRAM5に
格納される。6はCPU1が外部要因により暴走した時
に保護対象である第2のRAM5のデータが破壊しない
様にするデータ保護回路である。データ保護回路6では
、第2図に示すようにメモリ書き込み制御信号は通常は
“H”で磨き込み不可状態となっているが、データ閤き
込み解除信号の立ち下がりパルス7でメモリ内き込み制
御信号が“し”になると1回のみのメモリアクセスが許
される状態〔“し”の期間8〕となり、メモリアクセス
信号C8のパルスでメモリに−読み書きを行なうと、パ
ルス9の立上りでメモリーき込み制御信号が“H”とな
り書き込み不可となる。The CPU exchanges programs and data stored in the ROM 2 and the first RAM 3 with external devices through the interface 4 when necessary to perform desired operations and processes. It is stored in the RAM 5 of. Reference numeral 6 denotes a data protection circuit that prevents data in the second RAM 5 to be protected from being destroyed when the CPU 1 goes out of control due to an external factor. In the data protection circuit 6, as shown in FIG. 2, the memory write control signal is normally "H" and polishing is not possible, but the falling pulse 7 of the data write release signal causes the memory write control signal to be disabled. When the control signal becomes "Yes", only one memory access is allowed ("No" period 8), and when reading and writing to the memory is performed with the pulse of the memory access signal C8, the memory is read and written at the rising edge of the pulse 9. The write control signal becomes "H" and writing is disabled.
データ保護回路6の具体構成は、第3図に示すようにラ
ッチ回路10と、負論WANDゲート11から構成され
ており、メモリーき込み制御信号12は通常はH″であ
り、ゲート11は動作せず、メモリ内き込み信号(WE
’ )は書き込み不可となっている。この状態でデー
タ囚き込み解除信号でラッチ回路10のクリア端子13
にパルスを加えると、メモリ書き込み制御信号12が“
L”になり、メモリ書き込み信号(WE’ )がメモリ
に対して有効になる。その後、メモリアクセス信号によ
りメモリにアクセスすると、メモリ内き込み制御信号1
2が“H”にmet、、上記の手順を踏まない場合のメ
モリアクセスを禁止する。The specific structure of the data protection circuit 6 is, as shown in FIG. The memory write signal (WE
') are not writable. In this state, the data capture release signal is used to clear the latch circuit 10 at the clear terminal 13.
When a pulse is applied to , the memory write control signal 12 becomes “
"L", and the memory write signal (WE') becomes valid for the memory.After that, when the memory is accessed by the memory access signal, the memory write control signal 1
2 is set to "H", memory access is prohibited unless the above procedure is followed.
発明の詳細
な説明のように本発明の制御装置は、通常は保護対象メ
モリ書き込み不可状態にあって書き込み時に解除アドレ
スがアクセスされると保護対象メモリ書き込み可能とし
、データを閤き込んだ直 後に自動的に保護対
象メモリ書き込み不可の状態に戻して保護対象メモリデ
ータを保護するデータ保護回路を設けたため、データ保
護の対象となるメモリへの歯き込み動作について手順と
制限を付けることができ、不当なメモリ書き込みに対し
て保護をすることが出来、データの信頼性を向上させる
ことが出来るものである。As described in the detailed description of the invention, the control device of the present invention normally disables writing to the protected memory, but when the release address is accessed during writing, the control device enables writing to the protected memory, and immediately after data is written. We have installed a data protection circuit that protects the protected memory data by automatically returning the protected memory to a write-disabled state, making it possible to set procedures and restrictions on the operation of writing into the memory that is subject to data protection. It is possible to protect against illegal memory writing and improve data reliability.
第1図は本発明の制御装置の一実施例の構成図、
”第2図は第1図におけるデータ保護回路のタイミ
ング図、第3図は第1図のデータ保護回路の具体回路図
、第4図は従来の制御11機器の構成図である。
1・・・演樟処理装置、2・・・リード・オンリー・
メそり−、3・・・第1のランダム・アクセス・メモリ
(RAM) 、4・・・インターフェイス、5・・・第
2のランダム・アクセス・メモリ〔保護対象メモリ〕、
6・・・データ保護回路、10・・・ラッチ回路、11
・・・負論理ANDゲート
代理人 森 本 義 弘
第1図
第2図
CPUへ64
第4図FIG. 1 is a configuration diagram of an embodiment of the control device of the present invention;
2 is a timing diagram of the data protection circuit shown in FIG. 1, FIG. 3 is a specific circuit diagram of the data protection circuit shown in FIG. 1, and FIG. 4 is a configuration diagram of a conventional control device 11.
1...Dialogue processing device, 2...Read-only
3... First random access memory (RAM), 4... Interface, 5... Second random access memory [protected memory],
6... Data protection circuit, 10... Latch circuit, 11
...Negative logic AND gate agent Yoshihiro Morimoto Figure 1 Figure 2 To CPU 64 Figure 4
Claims (1)
演算処理装置と、この演算処理装置の演算データを記憶
する保護対象メモリと、前記演算処理装置と外部回路と
を接続するインターフエイスと、通常は保護対象メモリ
書き込み不可状態にあつて書き込み時に解除アドレスが
アクセスされると保護対象メモリ書き込み可能とし、デ
ータを書き込んだ直後に自動的に保護対象メモリ書き込
み不可の状態に戻して保護対象メモリデータを保護する
データ保護回路とを設けたメモリーデータ保護回路内蔵
制抑装置。1. An arithmetic processing unit that performs various arithmetic processing according to program data, a protected memory that stores the arithmetic data of this arithmetic processing unit, an interface that connects the arithmetic processing unit to an external circuit, and usually a protected memory. Data that protects the protected memory data by making the protected memory writable when the release address is accessed during writing when the memory is in a writable state, and automatically returning the protected memory to the writable state immediately after data is written. A suppressor with a built-in memory data protection circuit.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16337185A JPS6224342A (en) | 1985-07-23 | 1985-07-23 | Controller incorporating memory data protection circuit |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP16337185A JPS6224342A (en) | 1985-07-23 | 1985-07-23 | Controller incorporating memory data protection circuit |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6224342A true JPS6224342A (en) | 1987-02-02 |
Family
ID=15772608
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP16337185A Pending JPS6224342A (en) | 1985-07-23 | 1985-07-23 | Controller incorporating memory data protection circuit |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6224342A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0250749A (en) * | 1988-08-12 | 1990-02-20 | Seiko Epson Corp | Information processor |
-
1985
- 1985-07-23 JP JP16337185A patent/JPS6224342A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0250749A (en) * | 1988-08-12 | 1990-02-20 | Seiko Epson Corp | Information processor |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5144660A (en) | Securing a computer against undesired write operations to or read operations from a mass storage device | |
US4493031A (en) | Memory write protection using timers | |
CN105718208A (en) | Design method for Flash program memory protection and hardware implementation device | |
US20030154392A1 (en) | Secure system firmware using interrupt generation on attempts to modify shadow RAM attributes | |
JPS6224342A (en) | Controller incorporating memory data protection circuit | |
JPS59231800A (en) | Preventing device for foul writing to main memory | |
US20190212930A1 (en) | Data storage chip and data access method | |
JPH1078919A (en) | Device for preventing illegal access | |
JPH0340413B2 (en) | ||
JPS60142452A (en) | Storage protecting system | |
JPS6250863B2 (en) | ||
JPH05334195A (en) | Information processor | |
JPS61278943A (en) | Register protecting circuit | |
JPH0716190Y2 (en) | Vending machine controller | |
JPS61121146A (en) | Memory protection system | |
JPS63250753A (en) | Memory access checking system | |
JPH02238536A (en) | Storage protecting circuit | |
JPS6225214B2 (en) | ||
JPS62286143A (en) | Semiconductor memory device | |
JP2602909B2 (en) | Write-protection method during CPU runaway | |
JPH04142625A (en) | Information processing unit | |
JPS59231799A (en) | Preventing device for foul writing to main memory | |
JPH02189661A (en) | Write protection system for memory | |
JPH01261759A (en) | Computer system | |
JPH05241966A (en) | Memory controller |