JPS62173547A - Data processor - Google Patents
Data processorInfo
- Publication number
- JPS62173547A JPS62173547A JP1628886A JP1628886A JPS62173547A JP S62173547 A JPS62173547 A JP S62173547A JP 1628886 A JP1628886 A JP 1628886A JP 1628886 A JP1628886 A JP 1628886A JP S62173547 A JPS62173547 A JP S62173547A
- Authority
- JP
- Japan
- Prior art keywords
- data
- address
- memory
- write
- specific address
- 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
- 230000007246 mechanism Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 1
Landscapes
- Storage Device Security (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
本発明は不揮発性メモリを用いたデータ処理装置に関す
る。DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data processing device using nonvolatile memory.
従来、バッテリバックアップされた不揮発性メモリ、又
は電気的消去可能なROMを用いたデータ処理装置にお
いて、意図しない書込みに対しデータを保護するための
保護機構を持ったものがある。2. Description of the Related Art Conventionally, some data processing apparatuses using battery-backed nonvolatile memory or electrically erasable ROM have a protection mechanism for protecting data against unintended writing.
上述した従来の書込み保護機構は、書込保護動作を書込
み禁止レジスタによりその機能の作動。The above-mentioned conventional write protection mechanism performs the write protection operation using a write inhibit register.
解除を行っており、第三者がこの書込み禁止レジスタの
存在を知れば、書込保護機能を解除することは、容易な
ことであり秘密性の高いデータを不発揮性メモリ装置内
に記憶されておく用途には使用できないという欠点があ
った。If a third party learns of the existence of this write-protected register, it is easy to remove the write-protection function and prevent highly confidential data from being stored in the non-volatile memory device. The drawback was that it could not be used for storage purposes.
本発明の目的は、このような欠点を除き、秘密性を高め
、重要データを容易に書きかえのできないようにしたデ
ータ処理装置を提供することにある。SUMMARY OF THE INVENTION An object of the present invention is to provide a data processing device that eliminates these drawbacks, improves confidentiality, and prevents important data from being easily rewritten.
本発明の構成は、特定アドレスに書込保護のキーデータ
をあらかじめ記憶させた不揮発性のメモリをもつデータ
処理装置において、アドレス設定手段から入力させるア
ドレスと前記メモリの特定アドレスとを比較するアドレ
ス比較手段と、前記メモリの前記特定アドレスに対する
記憶データと書込まれようとするデータとを比較するデ
ータ比較手段と、このデータ比較手段の一致出力がある
とき前記メモリへの書込みを許可する書込制御手段と、
前記アドレス比較手段の一致出力があり前記データ比較
手段の一致出力がないとき前記特定アドレス以外のデー
タ読出を許可する続出制御手段とを備え、前記メモリの
記憶保護を行うことを特徴とする。The configuration of the present invention is that, in a data processing device having a non-volatile memory in which write-protection key data is stored in advance at a specific address, an address comparison is performed in which an address input from an address setting means is compared with a specific address of the memory. a data comparing means for comparing stored data for the specific address of the memory with data to be written; and a write control for permitting writing to the memory when there is a matching output from the data comparing means. means and
The apparatus is characterized in that it includes a succession control means for permitting reading of data other than the specific address when there is a match output from the address comparison means and no match output from the data comparison means, and protects the memory.
r実施例〕 次に本発明について図面を参照して説明する。r Example] Next, the present invention will be explained with reference to the drawings.
第1図は本発明の一実施例の不揮発性メモリ装置の書込
み保護機構を示すブロック図である。図において、11
はアドレス比較器で、アドレス設定器15と中央処理装
置より出力される不揮発性メモリ13のアドレスを比較
する。12は書込み保護のためのキーデータの読出制御
器で、書込保護モードで、かつアドレス設定器15で設
定されたアドレスに書込動作を行った時に不揮発性メモ
リ13からデータ比較器14に入力するための書込保護
のためのキーデータの出力を制御する。このデータ比較
器14は、中央処理装置から出力されるデータと不揮発
性メモリ13から読出しな書込保護のためのキーデータ
の照合を行ない、これらが等しい場合に書込保護モード
レジスタ22を書込保護モードから書込可能モードにセ
ットする。FIG. 1 is a block diagram showing a write protection mechanism of a nonvolatile memory device according to an embodiment of the present invention. In the figure, 11
is an address comparator, which compares the address of the address setter 15 and the address of the nonvolatile memory 13 output from the central processing unit. Reference numeral 12 denotes a key data read controller for write protection, which inputs data from the nonvolatile memory 13 to the data comparator 14 when a write operation is performed to the address set by the address setter 15 in the write protection mode. Control the output of key data for write protection. This data comparator 14 compares the data output from the central processing unit with the key data for read write protection from the non-volatile memory 13, and when they are equal, writes the write protection mode register 22. Set from protected mode to writable mode.
ANDゲート23は書込み可能モードの場合、不揮発性
メモリ13へ書込信号を供給する。ANDゲート16、
インバータ17、ANDゲーI・18は書込保護モード
の場合に書込保護のためのキーデータが書込保護モード
の場合、外部に読出されることを禁止するためのもので
ある。インバータ1つとANDゲート20は書込可能モ
ード時にキーデータ読出制御器12の書込保護のための
キーデータの読出しを禁止する。AND gate 23 supplies a write signal to nonvolatile memory 13 in the writable mode. AND gate 16,
The inverter 17 and the AND gate I/18 are for prohibiting key data for write protection from being read out to the outside in the write protection mode. One inverter and an AND gate 20 prohibit reading of key data for write protection of the key data read controller 12 in the write enable mode.
以上説明したように、本発明は、不揮発性メモリの特定
番地に書込まれたデータを書込保護機構を解除するため
のキーワードとして用いることにより、従来の書込保護
機構よりも秘密性が向上する。さらに、適時にこのキー
ワードを変更することが可能なため、より一層秘密性を
高めることが可能であり、容易に書き換えられては困る
重要なデータの記憶ができるデータ処理装置を容易に実
現することができる。As explained above, the present invention improves confidentiality compared to conventional write protection mechanisms by using data written to a specific address in nonvolatile memory as a keyword for canceling the write protection mechanism. do. Furthermore, since it is possible to change this keyword in a timely manner, it is possible to further enhance confidentiality, and it is possible to easily realize a data processing device that can store important data that cannot be easily rewritten. I can do it.
第1図は本発明の一実施例のデータ書込保護機構を示し
たブロック図である。
11・・・アドレス比較器、12・・・読出し制御器、
13・・・不揮発性メモリ、14・・・データ比較器、
15・・・アドレス制定器、16,18,20.23・
・・ANDゲート、17.19・・・インバータ、21
・・・ORゲート、22・・・モードレジスタ。FIG. 1 is a block diagram showing a data write protection mechanism according to an embodiment of the present invention. 11... Address comparator, 12... Read controller,
13... Non-volatile memory, 14... Data comparator,
15... Address enactor, 16, 18, 20.23.
...AND gate, 17.19...Inverter, 21
...OR gate, 22...mode register.
Claims (1)
させた不揮発性のメモリをもつデータ処理装置において
、アドレス設定手段から入力されるアドレスと前記メモ
リの特定アドレスとを比較するアドレス比較手段と、前
記メモリの前記特定アドレスに対する記憶データと書込
まれようとするデータとを比較するデータ比較手段と、
このデータ比較手段の一致出力があるとき前記メモリへ
の書込みを許可する書込制御手段と、前記アドレス比較
手段の一致出力があり前記データ比較手段の一致出力が
ないとき前記特定アドレス以外のデータ読出を許可する
読出制御手段とを備え、前記メモリの記憶保護を行うこ
とを特徴とするデータ処理装置。In a data processing device having a non-volatile memory in which write-protection key data is stored in advance at a specific address, an address comparing means for comparing an address input from an address setting means and a specific address of the memory, and the memory data comparison means for comparing the stored data for the specific address of the memory and the data to be written;
a write control means for permitting writing to the memory when there is a match output from the data comparison means; and a write control means for permitting writing to the memory when there is a match output from the address comparison means and when there is no match output from the data comparison means, reading data other than the specific address; 1. A data processing device, comprising: read control means for permitting readout, and protects the memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1628886A JPS62173547A (en) | 1986-01-27 | 1986-01-27 | Data processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP1628886A JPS62173547A (en) | 1986-01-27 | 1986-01-27 | Data processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS62173547A true JPS62173547A (en) | 1987-07-30 |
Family
ID=11912359
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP1628886A Pending JPS62173547A (en) | 1986-01-27 | 1986-01-27 | Data processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS62173547A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0769951B2 (en) * | 1991-02-19 | 1995-07-31 | ジェムプリュス カード アンテルナショナル | How to protect integrated circuits from unauthorized use |
-
1986
- 1986-01-27 JP JP1628886A patent/JPS62173547A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH0769951B2 (en) * | 1991-02-19 | 1995-07-31 | ジェムプリュス カード アンテルナショナル | How to protect integrated circuits from unauthorized use |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6076149A (en) | Programmable logic device using a two bit security scheme to prevent unauthorized access | |
US5014191A (en) | Security for digital signal processor program memory | |
US5432950A (en) | System for securing a data processing system and method of operation | |
JP2001014871A (en) | Non-volatile semiconductor storage | |
WO1997023829A1 (en) | Memory manager allowing flash memory to supplement main memory | |
US20100023780A1 (en) | Flash device security method utilizing a check register | |
US20020166034A1 (en) | Protection circuit for preventing unauthorized access to the memory device of a processor | |
JP2004287541A (en) | Nonvolatile memory access control system | |
JP2842442B2 (en) | Microcomputer, nonvolatile semiconductor memory device, and method for writing and erasing the same | |
JPS62173547A (en) | Data processor | |
JPS61278951A (en) | Memory information protecting circuit | |
JP3028567B2 (en) | Microcomputer with built-in EEPROM | |
JP2833621B2 (en) | Non-volatile storage device | |
JPH01232452A (en) | One-chip processor | |
JP2701790B2 (en) | Nonvolatile semiconductor memory device | |
JPH01123342A (en) | Writing protecting circuit for memory | |
JPS63266562A (en) | semiconductor integrated circuit | |
JPS62165253A (en) | LSI with built-in non-volatile memory | |
JPS60129860A (en) | Detection system for addressing exception | |
JPH05120891A (en) | Semiconductor storage device | |
JPH04304540A (en) | Semiconductor memory circuit | |
JP2619671B2 (en) | Memory control circuit | |
JPH02176843A (en) | Dma controller | |
JPH1185620A (en) | Microcomputer with built-in non-volatile memory | |
JPH0212441A (en) | Semiconductor device |