JPH04347788A - Ic memory card - Google Patents
Ic memory cardInfo
- Publication number
- JPH04347788A JPH04347788A JP3120352A JP12035291A JPH04347788A JP H04347788 A JPH04347788 A JP H04347788A JP 3120352 A JP3120352 A JP 3120352A JP 12035291 A JP12035291 A JP 12035291A JP H04347788 A JPH04347788 A JP H04347788A
- Authority
- JP
- Japan
- Prior art keywords
- signal
- memory
- password
- circuit
- card
- 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
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Abstract] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【0001】0001
【産業上の利用分野】本発明は、IC(集積回路)メモ
リを内蔵したICメモリカードに関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an IC memory card incorporating an IC (integrated circuit) memory.
【0002】更に詳述すれば、本発明はデータを記憶す
るICメモリと、データを不正に読み出されることを防
止するため、および、本体から該ICメモリカードが純
正品であるかコピー品であるかを識別するための専用の
制御回路とを内蔵したICメモリカードに関する。More specifically, the present invention provides an IC memory for storing data, a method for preventing data from being read out illegally, and a method for detecting whether the IC memory card is a genuine product or a copy from the main body. The present invention relates to an IC memory card having a built-in dedicated control circuit for identifying the IC memory card.
【0003】ここで純正品とは、正当な手段で製造され
たものを示し、コピー品とは、正当に該ICメモリカー
ドを製造する権利を有しない第三者によって製造された
ものをいう。[0003] Here, the term "genuine product" refers to one manufactured by legitimate means, and the term "copy product" refers to one manufactured by a third party who does not have the right to legitimately manufacture the IC memory card.
【0004】0004
【従来の技術】従来から、ICメモリを内蔵したICメ
モリカードとして、例えばマスクROM,EP(OTP
)ROM,EEPROM,SRAMを内蔵したものが知
られている。[Prior Art] Conventionally, as an IC memory card with built-in IC memory, for example, mask ROM, EP (OTP)
) Types with built-in ROM, EEPROM, and SRAM are known.
【0005】図13は、256キロビットのOTP
ROMを使用したICメモリカードの従来例について示
す。このような従来例において、例えば、カードの端子
配列をDIP ICの端子配列に変換するような端子
変換アダプタ等を製作することにより、PROMプログ
ラマなどで簡単にデータの読み書き動作を行なうことが
できてしまう。FIG. 13 shows a 256 kilobit OTP
A conventional example of an IC memory card using ROM will be described. In such conventional examples, for example, by manufacturing a terminal conversion adapter that converts the terminal arrangement of a card to that of a DIP IC, it is possible to easily read and write data using a PROM programmer, etc. Put it away.
【0006】そのため、正当に該ICメモリカードを製
造する権利を有しない第三者によってカード内のデータ
を読み出されてしまい、簡単にコピー品を製造されてし
まうおそれがあった。[0006]Therefore, there was a risk that the data in the card could be read out by a third party who did not have the right to legally manufacture the IC memory card, and that copies could easily be manufactured.
【0007】[0007]
【発明が解決しようとする課題】よって本発明の目的は
、データを不正に読み出されることを防止するため、お
よび、本体から該ICメモリカードが純正品であるかコ
ピー品であるかを識別するための専用の制御回路とを内
蔵したICメモリカードを提供することにある。SUMMARY OF THE INVENTION Therefore, an object of the present invention is to prevent data from being read out illegally and to identify from the main body whether the IC memory card is a genuine product or a copy. An object of the present invention is to provide an IC memory card having a built-in dedicated control circuit for the purpose of the present invention.
【0008】[0008]
【課題を解決するための手段】本発明に係るICメモリ
カードは、チップイネーブル端子に特定レベルの制御信
号が印加されたとき動作状態となるICメモリを備えた
ICメモリカードにおいて、本体装置側から供給された
複数のコントロール信号がパスワードの入力判定を指示
しているときにのみ、所定レベルの判定信号を出力する
コントロール信号判定手段と、前記判定信号の出力に応
答して、本体装置側から供給されるアドレス信号および
データ信号をそれぞれ保持する保持手段と、前記保持手
段に保持された信号が所定のパスワードに一致している
とき、一致信号を出力するパスワード判定手段と、前記
一致信号が出力された後に、前記ICメモリへのアクセ
スを指示する信号が本体装置側から与えられたとき、当
該ICメモリのチップイネーブル端子を特定レベルに設
定して該ICメモリを動作状態にするメモリ制御手段と
を具備したものである。[Means for Solving the Problems] An IC memory card according to the present invention is an IC memory card equipped with an IC memory that becomes operational when a control signal of a specific level is applied to a chip enable terminal. control signal determining means for outputting a determination signal of a predetermined level only when the plurality of supplied control signals instruct password input determination; holding means for holding an address signal and a data signal, respectively; password determining means for outputting a matching signal when the signals held in the holding means match a predetermined password; and password determining means for outputting a matching signal. and then, when a signal instructing access to the IC memory is given from the main device side, a memory control means sets a chip enable terminal of the IC memory to a specific level to put the IC memory into an operating state. It is equipped with
【0009】また、本発明に係る他のICメモリカード
は、チップイネーブル端子に特定レベルの制御信号が印
加されたとき動作状態となるICメモリを備えたICメ
モリカードにおいて、本体装置側から供給された複数の
コントロール信号がパスワードの入力判定を指示してい
るときにのみ、所定レベルの判定信号を出力するコント
ロール信号判定手段と、前記判定信号の出力に応答して
、本体装置側から供給されるアドレス信号およびデータ
信号をそれぞれ保持する保持手段と、前記保持手段に保
持された信号が複数種あるパスワードのいずれかに一致
しているとき、当該パスワードを特定するための一致信
号を出力するパスワード判定手段と、特定のカードID
情報を記憶しておくIDレジスタと、前記一致信号の種
別に応じて、前記ICメモリへのアクセスもしくは前記
IDレジスタの読み出しを可能に制御手段とを具備した
ものである。[0009] Another IC memory card according to the present invention is an IC memory card equipped with an IC memory that becomes operational when a control signal of a specific level is applied to a chip enable terminal. control signal determining means for outputting a determination signal of a predetermined level only when the plurality of control signals instructing password input determination; Holding means for holding an address signal and a data signal, respectively; and a password determination for outputting a matching signal for identifying the password when the signal held in the holding means matches one of a plurality of passwords. Means and specific card ID
The device is equipped with an ID register for storing information, and a control means that enables access to the IC memory or reading from the ID register depending on the type of the coincidence signal.
【0010】0010
【作用】本発明によれば、専用の制御回路の働きにより
、本体からパスワードに相当する特定の信号を入力しな
い限り、ICメモリが動作状態にならないようにしてあ
るので、不正に第三者にデータを読み出されてコピー品
を製造されてしまうことを防止することができる。[Operation] According to the present invention, the dedicated control circuit works to prevent the IC memory from becoming operational unless a specific signal equivalent to a password is input from the main unit. It is possible to prevent the data from being read and copy products being manufactured.
【0011】また本発明では、特定のパスワードが入力
されたときにのみ、ICメモリカード特有のカードID
を読み出すことができる。[0011] Furthermore, in the present invention, only when a specific password is input, the card ID unique to the IC memory card is
can be read out.
【0012】すなわち本発明では、データを記憶するI
Cメモリのほかに、不正にコピー品を製造されることを
防止するための専用の制御回路を搭載し、本体からパス
ワード入力しない限り、この専用の制御回路により当該
ICメモリカードに固有なカードIDを読み出したり、
またICメモリが動作状態とはならないようにし、IC
メモリへの読み書き動作をできなくしたところに特徴が
ある。ここで、パスワードとは、カードIDを読み出し
たり、ICメモリを動作状態にして読み書きを可能にす
るための、特定の信号のことを表す。That is, in the present invention, the I
In addition to the IC memory, it is equipped with a dedicated control circuit to prevent unauthorized copy products from being manufactured, and unless a password is entered from the main unit, this dedicated control circuit will automatically store the card ID unique to the IC memory card. or read out the
Also, prevent the IC memory from entering the operating state, and
The feature is that reading and writing operations to memory are not possible. Here, the password refers to a specific signal for reading out the card ID or putting the IC memory into operation to enable reading and writing.
【0013】[0013]
【実施例】実施例1
図1は、本発明の第1の実施例を示すブロック図である
。また、図2および図3は、図1をより詳細に示した回
路図である。Embodiment Embodiment 1 FIG. 1 is a block diagram showing a first embodiment of the present invention. 2 and 3 are circuit diagrams showing FIG. 1 in more detail.
【0014】図1および図2,図3に示した第1の実施
例では、ICメモリカード端子とICメモリメ7の間に
、コントロール信号判定回路1,アドレス信号保持回路
2,データ信号保持回路3,アドレスX判定回路4,デ
ータDX判定回路5,反転CE出力制御回路6の6種類
の回路から構成される専用の制御回路が接続されている
。In the first embodiment shown in FIGS. 1, 2, and 3, a control signal determination circuit 1, an address signal holding circuit 2, and a data signal holding circuit 3 are provided between the IC memory card terminal and the IC memory card terminal. , an address X determination circuit 4, a data DX determination circuit 5, and an inverted CE output control circuit 6.
【0015】本実施例におけるICメモリ7には、25
6キロビットのOTP ROMを用いており、図4の
メモリマップに示すようなメモリ構成としてある。The IC memory 7 in this embodiment has 25
A 6 kilobit OTP ROM is used, and the memory configuration is as shown in the memory map of FIG.
【0016】また、このICメモリ7を用いた際の動作
モードは、図5に示すとおりである。但し、本実施例に
おいて、通常のアクセス手法により(すなわち、各種コ
ントロール信号のレベルのみを設定することにより)、
ICメモリ7へのアクセスを行うことは不可能である。
その詳細な理由は、以下に述べるとおりである。Further, the operation mode when this IC memory 7 is used is as shown in FIG. However, in this embodiment, by the normal access method (that is, by setting only the levels of various control signals),
It is impossible to access the IC memory 7. The detailed reason is as described below.
【0017】図1〜図3において、A15はICメモリ
側と専用の制御回路側とを切り換えるためのアドレス信
号であり、ICメモリの最上位アドレス信号を使用して
いる。このA15が“L”のときにはICメモリ7のア
クセスが可能になり(図5参照。但し、直接的にアクセ
スすることは不可能であり、予めパスワードの入力が必
要となる。)、“H”のときにはパスワードの入力が可
能になる。In FIGS. 1 to 3, A15 is an address signal for switching between the IC memory side and the dedicated control circuit side, and uses the highest address signal of the IC memory. When this A15 is "L", the IC memory 7 can be accessed (see FIG. 5. However, direct access is not possible and a password must be entered in advance), and "H" When this happens, you can enter the password.
【0018】また、1はコントロール信号判定回路であ
り、A15が“H”レベルの時に、本体から書き込み命
令を出した時に“L”レベルが出力される。2および3
はアドレスおよびデータ信号の保持回路であり、コント
ロール信号判定回路1からの信号が“L”レベルから“
H”レベルに立ち上がるときに、そのとき入力されてき
たアドレスおよびデータの信号を保持する回路である。Reference numeral 1 denotes a control signal determination circuit, which outputs an "L" level when a write command is issued from the main body when A15 is at an "H" level. 2 and 3
is a holding circuit for address and data signals, and the signal from the control signal determination circuit 1 changes from "L" level to "
This circuit holds the address and data signals input at that time when the signal rises to the H'' level.
【0019】4および5はアドレスおよびデータ信号の
判定回路であり、アドレス信号保持回路2およびデータ
信号保持回路3で保持された信号が、それぞれX,DX
すなわちパスワードと一致するときのみ、それぞれ“H
”レベルを出力する。4 and 5 are address and data signal determination circuits, in which the signals held in the address signal holding circuit 2 and the data signal holding circuit 3 are X, DX, respectively.
In other words, only when the password matches, “H”
”Output the level.
【0020】6は、反転CE(チップイネーブル)出力
回路であり、判定回路4,5からの出力が“H”レベル
の時に、本体からA15に“L”レベル、反転CEに“
L”レベルを入力すると、ICメモリ7の反転CE端子
に“L”レベルが入力されて、ICメモリ7が動作状態
になり、ICメモリを読み書き可能な状態にすることが
できる。6 is an inverted CE (chip enable) output circuit, and when the outputs from the determination circuits 4 and 5 are at the "H" level, the main body outputs the "L" level to A15 and the "L" level to the inverted CE.
When the "L" level is input, the "L" level is input to the inverted CE terminal of the IC memory 7, and the IC memory 7 enters the operating state, making it possible to read and write the IC memory.
【0021】したがって、本体からアドレスバスおよび
データバスにパスワードとなる特定の信号を入力する、
すなわち、特定番地Xに特定データDXを書き込む命令
を入力することによりはじめて、ICメモリ7を動作状
態にすることができるようになり、ICメモリ7への読
み書きが可能になる。[0021] Therefore, inputting a specific signal serving as a password from the main body to the address bus and data bus,
That is, only by inputting a command to write the specific data DX to the specific address X, can the IC memory 7 be brought into operation, and can the IC memory 7 be read and written.
【0022】このようにすれば、汎用の読み出し装置で
はデータを読み出すことができなくなるので、不正にコ
ピー品を製造されてしまうことを防止できる。[0022] In this way, the data cannot be read out with a general-purpose reading device, so that it is possible to prevent unauthorized copy products from being manufactured.
【0023】以上述べたとおり、本実施例はICメモリ
と、コントロール信号が特定の場合のみ出力信号が“L
”となるコントロール信号判定回路と、該コントロール
信号判定回路からの出力信号が“L”から“H”に切り
換わるときに、本体からのアドレス信号およびデータ信
号をそのまま出力信号として保持するアドレス信号保持
回路およびデータ信号保持回路と、該アドレス信号保持
回路およびデータ信号保持回路からの出力信号が特定の
場合のみ“H”レベルを出力するアドレス信号判定回路
およびデータ信号判定回路とを有し、該アドレス信号判
定回路およびデータ信号判定回路からの出力がすべて“
H”でかつ本体からのコントロール信号(反転CE)お
よびアドレス制御信号A15が“L”の場合のみ、IC
メモリの反転CE入力端子へ“L”信号を出力する反転
CE出力制御回路によって、ICメモリへの読み書き動
作等が可能となる。As described above, in this embodiment, the output signal is set to "L" only when the IC memory and the control signal are specified.
”, and an address signal holding circuit that holds the address signal and data signal from the main unit as output signals when the output signal from the control signal judgment circuit switches from “L” to “H”. circuit, a data signal holding circuit, and an address signal judgment circuit and a data signal judgment circuit that output "H" level only when the output signals from the address signal holding circuit and the data signal holding circuit are specific, All outputs from the signal judgment circuit and data signal judgment circuit are “
Only when the control signal from the main unit (inverted CE) and address control signal A15 are “L”, the IC
The inverted CE output control circuit that outputs an "L" signal to the inverted CE input terminal of the memory enables read/write operations to the IC memory.
【0024】すなわち、本体からパスワードを入力した
後でなければ、本体からICメモリを動作させるために
、本体からコントロール信号(反転CE)を“L”を入
力しても、この専用の制御回路により、ICメモリの反
転CE端子には“H”が入力されてICメモリは動作状
態にはならず、読み書きを行うことはできない。そのた
め、パスワードを入力する機能を持った読み出し装置で
なければ、データを読み出すことができないので、汎用
の読み出し装置等で不正にデータを読み出されてしまう
ことを防止できる。In other words, even if the control signal (inverted CE) is input to "L" from the main body in order to operate the IC memory from the main body, this dedicated control circuit will not work unless the password is input from the main body. , "H" is input to the inverted CE terminal of the IC memory, and the IC memory is not in an operating state and cannot be read or written. Therefore, the data cannot be read unless the reading device has a password input function, so it is possible to prevent the data from being read out illegally by a general-purpose reading device or the like.
【0025】なお、上述した第1の実施例においては、
専用の制御回路で反転CE信号を制御しているが、反転
OE(アウトプット・イネーブル)信号を制御すること
により、パスワード入力前は書き込みのみ可能で、パス
ワード入力により読み出しもできるようになるICメモ
リカードを実現することも可能である。これを、反転P
GM信号で実施すると、前述の動作と逆に、パスワード
入力前は読み出しのみ可能で、パスワード入力により書
き込みもできるようになるICメモリカードを実現する
ことも可能である。[0025] In the first embodiment described above,
The inverted CE signal is controlled by a dedicated control circuit, but by controlling the inverted OE (output enable) signal, IC memory can only be written to before entering a password, and can also be read by entering a password. It is also possible to implement a card. Invert this to P
If implemented using the GM signal, it is also possible to realize an IC memory card that can only be read before a password is input, and can also be written when a password is input, contrary to the above-described operation.
【0026】実施例2
上述した第1の実施例では、ICメモリをアクセスする
のに先立って、パスワードを入力しなければならない構
成とした。ここで述べる第2の実施例では、上記メモリ
アクセスの他に、ICメモリカード固有のカードIDを
パスワード入力によって読み出すよう構成したものであ
る。Embodiment 2 In the first embodiment described above, a password must be entered before accessing the IC memory. In the second embodiment described here, in addition to the above-mentioned memory access, the card ID unique to the IC memory card is read out by inputting a password.
【0027】この第2の実施例は、ICメモリと、コン
トロール信号が特定の場合のみ出力信号“L”となるコ
ントロール信号判定回路と、該コントロール信号判定回
路からの出力信号が“L”から“H”に切り換わるとき
に、本体からのアドレス信号およびデータ信号をそのま
ま出力信号として保持するアドレス信号保持回路および
データ信号保持回路と、該アドレス信号保持回路および
データ信号保持回路からの出力信号が特定の場合のみ“
H”レベルを出力するアドレス信号判定回路およびデー
タ信号判定回路とを有し、該アドレス信号判定回路およ
びデータ信号判定回路によって、カードIDの読み出し
およびICメモリデータの読み書きを制御できることを
特徴とするものである。The second embodiment includes an IC memory, a control signal determination circuit that outputs an "L" signal only when the control signal is specified, and an output signal from the control signal determination circuit that changes from "L" to "L". When switching to "H", the address signal holding circuit and data signal holding circuit that hold the address signal and data signal from the main unit as output signals, and the output signals from the address signal holding circuit and data signal holding circuit are specified. Only if “
The device is characterized in that it has an address signal determination circuit and a data signal determination circuit that output an H" level, and can control card ID reading and reading and writing of IC memory data by the address signal determination circuit and data signal determination circuit. It is.
【0028】更に詳述すれば、第2の実施例では、デー
タを記憶するICメモリのほかに、データを不正に読み
出されることを防止するため、および、本体から該IC
メモリカードが純正品であるかコピー品であるかを識別
するための専用の制御回路を搭載し、本体からパスワー
ドX・Y・Zを入力することにより、それぞれ、NOR
MALモード(ICメモリの読み書き可能なモード)へ
の切り換え、IDモード(カードID読み出し可能なモ
ード)への切り換え、カードIDの読み出しを行うこと
ができ、X・Y・Zのいずれとも一致しないパスワード
を入力することにより、RESETモード(前述の3種
のいずれとも不可能なモード)への切り換えを行うこと
ができるところに特徴がある。More specifically, in the second embodiment, in addition to the IC memory for storing data, there is also an IC memory for preventing data from being read out illegally.
Equipped with a dedicated control circuit to identify whether the memory card is a genuine product or a copy, by entering passwords X, Y, and Z from the main unit, NOR
It is possible to switch to MAL mode (IC memory read/write mode), switch to ID mode (card ID readable mode), and read the card ID, and a password that does not match any of X, Y, or Z. The feature is that by inputting , it is possible to switch to the RESET mode (a mode in which none of the above three types is possible).
【0029】すなわち、図11に示すように、本体から
パスワードYを入力し、IDモードに切り換えることに
より、この専用の制御回路内のID出力制御回路により
カードIDが出力可能状態となる。この状態の下で、パ
スワードZを入力することにより、専用の制御回路内の
IDレジスタよりカードIDが出力される。このカード
IDを本体で識別することにより、純正品であるかコピ
ー品であるかを知ることができる。That is, as shown in FIG. 11, by inputting the password Y from the main body and switching to the ID mode, the card ID can be output by the ID output control circuit in this dedicated control circuit. In this state, by inputting the password Z, the card ID is output from the ID register in the dedicated control circuit. By identifying this card ID on the main body, it is possible to know whether it is a genuine product or a copy product.
【0030】また、図11に示すように本体からパスワ
ードXを入力し、NORMALモードに切り換えること
により、この専用の制御回路内の反転CE出力制御回路
によりICメモリが動作状態となり、ICメモリへの読
み書きを行うことができるようになる。Furthermore, as shown in FIG. 11, by inputting the password Be able to read and write.
【0031】ここで、入力したパスワードがX・Y・Z
のいずれとも一致しない場合は、RESETモードに切
り換わり、カードID読み出し、ICメモリ読み書き、
のいずれも行うことはできないモードとなる。[0031] Here, the password you entered is X, Y, Z.
If it does not match any of the above, it switches to RESET mode and reads the card ID, reads and writes the IC memory,
This mode does not allow you to do either of the following.
【0032】このように、パスワードXを入力しない限
り、この専用の制御回路によりICメモリが動作状態と
はならず、ICメモリへの読み書きを行うことができな
いので、汎用の読み出し装置等で不正にデータを読み出
されてしまい、コピー品を製造されてしまうことを防止
できる。[0032] In this way, unless password It is possible to prevent data from being read and copy products being manufactured.
【0033】さらに、仮に何らかの方法でICメモリの
データを読み出されてしまったとしても、カードIDを
識別する機能を本体に持たせておけば、正しいIDが出
力されない限り、本体で動作しないようにすることがで
きるので、コピー品を製造されたとしても、本体で動作
してしまうことを防止できる。Furthermore, even if the data in the IC memory is read out by some method, if the main body has a function to identify the card ID, the main body will not operate unless the correct ID is output. Therefore, even if a copy product is manufactured, it can be prevented from operating on the main body.
【0034】次に、図6〜図9を参照して、この第2の
実施例を詳細に説明する。Next, this second embodiment will be explained in detail with reference to FIGS. 6 to 9.
【0035】図6は第2の実施例全体を示すブロック図
、図7〜図9は図6をより詳細に示した回路図である。
これら各図において、符号1〜7は第1の実施例で述べ
た各要素と同じであり、本実施例では符号8〜12の各
要素が新たに加えられている。FIG. 6 is a block diagram showing the entire second embodiment, and FIGS. 7 to 9 are circuit diagrams showing FIG. 6 in more detail. In each of these figures, numerals 1 to 7 are the same as the elements described in the first embodiment, and in this embodiment, numerals 8 to 12 are newly added.
【0036】すなわち、ICメモリカード端子とICメ
モリ7の間に、コントロール信号判定回路1、アドレス
信号保持回路2、データ信号保持回路3、データDX・
DY判定回路5,8、アドレスX・Y・Z判定回路4,
9,10、反転CE出力制御回路6、ID出力制御回路
12、IDレジスタ11の11種類の回路から構成され
る専用の制御回路を接続している。That is, between the IC memory card terminal and the IC memory 7, a control signal determination circuit 1, an address signal holding circuit 2, a data signal holding circuit 3, a data DX/
DY determination circuits 5, 8, address X/Y/Z determination circuit 4,
9, 10, an inverted CE output control circuit 6, an ID output control circuit 12, and an ID register 11.
【0037】なお、ICメモリ7としては第1の実施例
と同じく256キロビットのOTPROMを使用してい
るが、そのメモリマップは図10に示したとおりとなっ
ている。Note that as the IC memory 7, a 256 kilobit OTPROM is used as in the first embodiment, and its memory map is as shown in FIG.
【0038】このICメモリ7に関する動作モードは、
図12に示すとおりである。図12と図5(第1の実施
例)との相違は、「ID読出し」モードが新たに追加さ
れている点である。The operation mode regarding this IC memory 7 is as follows:
As shown in FIG. The difference between FIG. 12 and FIG. 5 (first embodiment) is that an "ID read" mode is newly added.
【0039】図6〜図9において、A15はICメモリ
側と専用の制御回路側とを切り換えるためのアドレス信
号であり、ICメモリの最上位アドレス信号を使用して
いる。このA15が“L”のときにはICメモリ7のア
クセスが可能になり、“H”のときにはパスワードの入
力、すなわち動作モードの切り換えおよびカードIDの
読み出しが可能になる。In FIGS. 6 to 9, A15 is an address signal for switching between the IC memory side and the dedicated control circuit side, and uses the highest address signal of the IC memory. When this A15 is "L", it is possible to access the IC memory 7, and when it is "H", it is possible to input a password, that is, to switch the operation mode and read the card ID.
【0040】また、1はコントロール信号判定回路であ
り、A15が“H”レベルの時に、本体から書き込み命
令を入力した時に“L”レベルを出力する。2および3
はアドレスおよびデータ信号の保持回路であり、コント
ロール信号判定回路1からの信号が“L”レベルから“
H”レベルに立ち上がるときに、そのとき入力されてき
たアドレスおよびデータの信号を保持する回路である。Reference numeral 1 denotes a control signal determination circuit, which outputs an "L" level when a write command is input from the main body when A15 is at an "H" level. 2 and 3
is a holding circuit for address and data signals, and the signal from the control signal determination circuit 1 changes from "L" level to "
This circuit holds the address and data signals input at that time when the signal rises to the H'' level.
【0041】4,9および5,8はアドレスおよびデー
タ信号の判定回路であり、アドレスおよびデータ信号保
持回路2,3で保持された信号が、それぞれパスワード
X,パスワードYと一致するときのみ、それぞれ“H”
レベルを出力する。4, 9 and 5, 8 are address and data signal determination circuits, and only when the signals held in the address and data signal holding circuits 2 and 3 match passwords X and password Y, respectively. “H”
Output the level.
【0042】10はアドレス信号判定回路であり、本体
からのアドレス信号が、パスワードZと一致するときの
み、“H”レベルを出力する。Reference numeral 10 denotes an address signal determination circuit, which outputs an "H" level only when the address signal from the main body matches the password Z.
【0043】6は反転CE出力制御回路であり、判定回
路4,5からの入力が“H”レベルの場合に、本体から
A15に“L”レベル、反転CEに“L”レベルを入力
したときに、ICメモリ7の反転CE入力端に“L”レ
ベルを供給して、ICメモリ7を動作状態にし、ICメ
モリ7を読み書き可能な状態にする。6 is an inverted CE output control circuit; when the inputs from the judgment circuits 4 and 5 are at the "H" level, when the main body inputs the "L" level to A15 and the "L" level to the inverted CE; Then, the "L" level is supplied to the inverted CE input terminal of the IC memory 7 to put the IC memory 7 into an operating state and to make it readable and writable.
【0044】12はID出力制御回路であり、判定回路
8,9からの入力が“H”レベルの時に、本体からA1
5に“H”レベル、反転CEに“L”レベルを入力した
ときに、IDレジスタ11の反転CE入力端に“L”レ
ベルを供給して、IDレジスタ11をID出力可能状態
にし、カードIDを読み出し可能な状態にする。このと
き、アドレス判定回路10より“H”レベル、本体から
反転OEに“L”レベルを入力することにより、IDレ
ジスタ11よりカードIDが出力される。12 is an ID output control circuit, and when the inputs from the determination circuits 8 and 9 are at "H" level, the A1 output from the main body is
When the "H" level is input to 5 and the "L" level is input to the inverted CE, the "L" level is supplied to the inverted CE input terminal of the ID register 11 to enable the ID register 11 to output the ID, and the card ID is output. Make it readable. At this time, by inputting an "H" level from the address determination circuit 10 and an "L" level from the main body to the inverted OE, the card ID is output from the ID register 11.
【0045】したがって、本体からアドレスバスおよび
データバスにパスワードとなる特定の信号を入力するこ
とにより、動作モードの切り換えおよびカードIDの読
み出しをすることができる。[0045] Therefore, by inputting a specific signal serving as a password from the main body to the address bus and data bus, the operation mode can be switched and the card ID can be read.
【0046】ここで、パスワードとは、XおよびYにつ
いては特定番地X(またはY)にデータDX(またはD
Y)を書き込む命令を本体から入力することを示し、Z
については特定番地Zよりデータを読み出す命令を本体
から入力することをいう(図11参照)。Here, the password refers to data DX (or D
Indicates that the command to write Y) is input from the main unit, and Z
This means that a command to read data from a specific address Z is input from the main body (see FIG. 11).
【0047】すなわち、特定番地Xに特定データDXを
書き込む命令を入力することによりはじめて、ICメモ
リ7を動作状態にすることができるようになり、ICメ
モリ7の読み書きが可能になる。このようにすれば、汎
用の読み出し装置ではデータを読み出すことができなく
なるので、不正にコピー品を製造されてしまうことを防
止できる。That is, only by inputting a command to write the specific data DX to the specific address X, can the IC memory 7 be put into an operating state, and can the IC memory 7 be read and written. In this way, the data cannot be read out with a general-purpose reading device, so it is possible to prevent illegally manufactured copies.
【0048】また、特定番地Yに特定データDYを書き
込む命令を入力することによりはじめて、カードIDを
出力可能状態にすることができるようになり、カードI
Dの読み出しが可能になる。この状態の下で、特定番地
Zよりデータを読み出す命令を入力することにより、カ
ードIDを読み出すことができる。[0048] Furthermore, only by inputting a command to write specific data DY to a specific address Y can the card ID be enabled for output.
D can now be read. Under this state, the card ID can be read by inputting a command to read data from the specific address Z.
【0049】なお、上述した第2の実施例では専用の制
御回路で反転CE信号を制御しているが、反転OE信号
を制御することにより、パスワードX入力前は書き込み
のみ可能で、パスワードX入力により読み出しもできる
ようになるICメモリカードを実現することも可能であ
る。これを、反転PGM信号で実施すると、前述の動作
と逆に、パスワードX入力前は読み出しのみ可能で、パ
スワードX入力により書き込みもできるようになるIC
メモリカードを実現することも可能である。Note that in the second embodiment described above, the inverted CE signal is controlled by a dedicated control circuit, but by controlling the inverted OE signal, only writing is possible before password X is input; It is also possible to realize an IC memory card that can also be read. If this is carried out using an inverted PGM signal, the IC will be able to read only before inputting password X, and can also write after inputting password
It is also possible to realize a memory card.
【0050】[0050]
【発明の効果】以上説明したとおり本発明によれば、専
用の制御回路の働きにより、本体から所定のパスワード
を入力しない限り、ICメモリが動作状態にならないよ
うにしてあるので、不正に第三者にデータを読み出され
てコピー品を製造されてしまうことを防止することがで
きる。As explained above, according to the present invention, the dedicated control circuit works to prevent the IC memory from becoming operational unless a predetermined password is input from the main unit. It is possible to prevent someone from reading the data and manufacturing a copy.
【0051】また、本体側から特定のパスワードを入力
しない限り、カードIDを読み出せないようにしてある
ので、不正に第三者にデータを読み出されてコピー品を
製造されてしまったとしても、正しいカードIDが出力
されているかどうかを識別する機能を本体に付加するこ
とにより、コピー品が本体で動作してしまうことを防止
でき、コピー品としての意味をなくすことができる。[0051] Furthermore, since the card ID cannot be read unless a specific password is entered from the main unit, even if a third party were to illegally read the data and manufacture a copy of the product. By adding a function to the main body to identify whether or not the correct card ID is output, it is possible to prevent a copy from operating on the main body, thereby eliminating the meaning of the product as a copy.
【図1】本発明の第1の実施例を示すブロック図である
。FIG. 1 is a block diagram showing a first embodiment of the present invention.
【図2】第1の実施例の詳細な回路図である。FIG. 2 is a detailed circuit diagram of the first embodiment.
【図3】第1の実施例の詳細な回路図である。FIG. 3 is a detailed circuit diagram of the first embodiment.
【図4】第1の実施例におけるメモリマップ(ICメモ
リが256キロビットのOTPROMの場合)を示す図
である。FIG. 4 is a diagram showing a memory map in the first embodiment (when the IC memory is a 256 kilobit OTPROM).
【図5】第1の実施例におけるICメモリの動作モード
を示す図である。FIG. 5 is a diagram showing the operation mode of the IC memory in the first embodiment.
【図6】本発明の第2の実施例を示すブロック図である
。FIG. 6 is a block diagram showing a second embodiment of the present invention.
【図7】第2の実施例の詳細な回路図である。FIG. 7 is a detailed circuit diagram of a second embodiment.
【図8】第2の実施例の詳細な回路図である。FIG. 8 is a detailed circuit diagram of a second embodiment.
【図9】第2の実施例の詳細な回路図である。FIG. 9 is a detailed circuit diagram of the second embodiment.
【図10】第2の実施例におけるメモリマップ(ICメ
モリが256キロビットのOTPROMの場合)を示す
図である。FIG. 10 is a diagram showing a memory map in the second embodiment (when the IC memory is a 256 kilobit OTPROM).
【図11】第2の実施例における動作モードを示す図で
ある。FIG. 11 is a diagram showing operation modes in the second embodiment.
【図12】第2の実施例における動作モードを示す図で
ある。FIG. 12 is a diagram showing operation modes in the second embodiment.
【図13】従来技術の説明図である。FIG. 13 is an explanatory diagram of the prior art.
1 コントロール信号判定回路 2 アドレス信号保持回路 3 データ信号保持回路 4 アドレスX判定回路 5 データDX判定回路 6 反転CE出力制御回路 7 ICメモリ 8 データDY判定回路 9 アドレスY判定回路 10 アドレスZ判定回路 11 IDレジスタ 12 ID出力制御回路 1 Control signal judgment circuit 2 Address signal holding circuit 3 Data signal holding circuit 4 Address X judgment circuit 5 Data DX judgment circuit 6 Inverted CE output control circuit 7 IC memory 8 Data DY judgment circuit 9 Address Y judgment circuit 10 Address Z judgment circuit 11 ID register 12 ID output control circuit
Claims (2)
制御信号が印加されたとき動作状態となるICメモリを
備えたICメモリカードにおいて、本体装置側から供給
された複数のコントロール信号がパスワードの入力判定
を指示しているときにのみ、所定レベルの判定信号を出
力するコントロール信号判定手段と、前記判定信号の出
力に応答して、本体装置側から供給されるアドレス信号
およびデータ信号をそれぞれ保持する保持手段と、前記
保持手段に保持された信号が所定のパスワードに一致し
ているとき、一致信号を出力するパスワード判定手段と
、前記一致信号が出力された後に、前記ICメモリへの
アクセスを指示する信号が本体装置側から与えられたと
き、当該ICメモリのチップイネーブル端子を特定レベ
ルに設定して該ICメモリを動作状態にするメモリ制御
手段とを具備したことを特徴とするICメモリカード。Claim 1: In an IC memory card equipped with an IC memory that becomes operational when a control signal of a specific level is applied to a chip enable terminal, a plurality of control signals supplied from the main device side determine the input of a password. control signal determining means that outputs a determination signal of a predetermined level only when an instruction is given; and holding means that retains the address signal and data signal supplied from the main device side, respectively, in response to the output of the determination signal. password determining means for outputting a match signal when the signal held in the holding means matches a predetermined password; and a signal for instructing access to the IC memory after the match signal is output. 1. An IC memory card comprising memory control means for setting a chip enable terminal of the IC memory to a specific level to put the IC memory into an operating state when the IC memory is given from the main device side.
制御信号が印加されたとき動作状態となるICメモリを
備えたICメモリカードにおいて、本体装置側から供給
された複数のコントロール信号がパスワードの入力判定
を指示しているときにのみ、所定レベルの判定信号を出
力するコントロール信号判定手段と、前記判定信号の出
力に応答して、本体装置側から供給されるアドレス信号
およびデータ信号をそれぞれ保持する保持手段と、前記
保持手段に保持された信号が複数種あるパスワードのい
ずれかに一致しているとき、当該パスワードを特定する
ための一致信号を出力するパスワード判定手段と、特定
のカードID情報を記憶しておくIDレジスタと、前記
一致信号の種別に応じて、前記ICメモリへのアクセス
もしくは前記IDレジスタの読み出しを可能にする制御
手段とを具備したことを特徴とするICメモリカード。2. In an IC memory card equipped with an IC memory that becomes operational when a control signal of a specific level is applied to a chip enable terminal, a plurality of control signals supplied from the main device side determine the input of a password. control signal determining means that outputs a determination signal of a predetermined level only when an instruction is given; and holding means that retains the address signal and data signal supplied from the main device side, respectively, in response to the output of the determination signal. and a password determining means for outputting a matching signal for identifying the password when the signal held in the holding means matches one of the plurality of passwords, and a password determining means for storing specific card ID information. An IC memory card comprising: an ID register in which the ID register is stored; and control means that enables access to the IC memory or reading of the ID register depending on the type of the coincidence signal.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3120352A JPH04347788A (en) | 1991-05-24 | 1991-05-24 | Ic memory card |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3120352A JPH04347788A (en) | 1991-05-24 | 1991-05-24 | Ic memory card |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH04347788A true JPH04347788A (en) | 1992-12-02 |
Family
ID=14784099
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3120352A Pending JPH04347788A (en) | 1991-05-24 | 1991-05-24 | Ic memory card |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH04347788A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07205528A (en) * | 1993-12-31 | 1995-08-08 | Samsung Electronics Co Ltd | Printer lockout system |
-
1991
- 1991-05-24 JP JP3120352A patent/JPH04347788A/en active Pending
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH07205528A (en) * | 1993-12-31 | 1995-08-08 | Samsung Electronics Co Ltd | Printer lockout system |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5056009A (en) | IC memory card incorporating software copy protection | |
| US5206938A (en) | Ic card with memory area protection based on address line restriction | |
| CA1208803A (en) | Method for checking storage protection and a circuit for carrying out the same | |
| US5089951A (en) | Microcomputer incorporating memory | |
| US20020166034A1 (en) | Protection circuit for preventing unauthorized access to the memory device of a processor | |
| JP3025842B2 (en) | Apparatus for protecting a memory area of an electronic system with a microprocessor | |
| JPH04347788A (en) | Ic memory card | |
| JP2929696B2 (en) | Single chip microcomputer | |
| JPH0697442B2 (en) | Micro computer | |
| JP2001043140A (en) | Memory access control circuit | |
| JPS6126700B2 (en) | ||
| JPS62251857A (en) | Memory control system | |
| JP2619671B2 (en) | Memory control circuit | |
| JPS58208999A (en) | Memory device | |
| JPH0378196A (en) | Semiconductor integrated circuit | |
| JPH04304540A (en) | Semiconductor memory circuit | |
| JPS60140449A (en) | Memory protection system | |
| JPS6393059A (en) | Memory card | |
| JPS63301390A (en) | Ic card | |
| JPH02301846A (en) | Semiconductor storage element | |
| JPS6052462B2 (en) | Memory control method | |
| JPH1185620A (en) | Microcomputer with built-in nonvolatile memory | |
| JPH0528050A (en) | Method and circuit for copy protection of memory ic card | |
| JPS62126455A (en) | Input/output port | |
| JPS6285357A (en) | Memory protecting device |