JPS6393059A - Memory card - Google Patents

Memory card

Info

Publication number
JPS6393059A
JPS6393059A JP61237853A JP23785386A JPS6393059A JP S6393059 A JPS6393059 A JP S6393059A JP 61237853 A JP61237853 A JP 61237853A JP 23785386 A JP23785386 A JP 23785386A JP S6393059 A JPS6393059 A JP S6393059A
Authority
JP
Japan
Prior art keywords
memory
memory card
write
information
level
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
Application number
JP61237853A
Other languages
Japanese (ja)
Inventor
Susumu Matsuda
進 松田
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.)
Toshiba Corp
Original Assignee
Toshiba Corp
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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP61237853A priority Critical patent/JPS6393059A/en
Publication of JPS6393059A publication Critical patent/JPS6393059A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To prevent the destruction of identifying information stored in an identifying register and to protect this information, by inhibiting writing actions in the identifying register while a memory card is kept under a write protection state. CONSTITUTION:When the write protection state is secured with a WP switch 11 connected to a power supply VCC, the input terminal of an inverter gate 17 is set at an H level with the write protection signal set at an L level. Thus the output of an AND gate 13 is also set at the L level to inhibit the information to be written in a memory 1. Then a port address indicating write of the identifying information and the write signal are applied to a control circuit 9. Thus an identifying register load signal is set at the H level and given to the other input terminal of an AND gate 15. Even under such conditions, the input terminal at one side of the gate 15 is set at the L level since the write protection signal is kept at the L level. Then it is inhibited to write the identifying information in an identifying register 5.

Description

【発明の詳細な説明】 U発明の目的コ (産業上の利用分野) この発明は、ライトプロテクト機能をu6え、識別レジ
スタを内蔵したメモリカードに関し、特に識別レジスタ
に格納される識別情報の保護を図ったメモリカードに関
する。
[Detailed Description of the Invention] Purpose of the Invention (Field of Industrial Application) The present invention relates to a memory card equipped with a write protection function and a built-in identification register, and in particular to protection of identification information stored in the identification register. The present invention relates to a memory card designed to

(従来の技術) 近年、クレジットサイズのカード形パッケージにメモリ
チップを埋設したメモリカードが、例えばマイクロコン
ピュータ等の外部記憶装Uとして用いられはじめており
、埋設されるメモリチップは、用途に応じてその種類及
び容重が様々である。
(Prior Art) In recent years, memory cards with memory chips embedded in credit-sized card-shaped packages have begun to be used, for example, as external storage devices U for microcomputers, etc., and the embedded memory chips vary depending on the purpose. There are various types and weights.

このようなメモリカードは、メモリカードに設けられた
コネクタによりマイクロコンピュータ笠の外部機器(本
体)に装着され、容易に差し換えができるようになって
J3す、メモリカードに内蔵されたインターフェイス回
路を介して、外部機器(本体)と情報の入出力が行われ
るようになっている。また、メモリカードには、メモリ
カードにJT設されたメモリの誤占き込みを防止して古
き込まれた情報を保護スるためのライ1〜プロチク1〜
機能を有しているものがある。
This kind of memory card is attached to the external device (main body) of the microcomputer through a connector provided on the memory card, and can be easily replaced. Information is input and output to and from external devices (main unit). In addition, the memory card is equipped with a program 1 to 1 to protect the old information by preventing erroneous reading of the memory set in the memory card.
Some have functions.

このように、メモリカードは、その種類及び容量が(、
l々であり、外部別器(本体)に対して差し換えが自由
に行えるようになっているために、差し換えが行われた
場合には、メモリカードの種類、8釘及び書き込まれて
いる情報を識別する必要が生じることになる。
In this way, memory cards have different types and capacities (,
Since the external device (main body) can be freely replaced, if the memory card is replaced, the type of memory card, 8 pins, and the information written on it will be checked. There will be a need to identify.

そこで、メモリカードには、メモリカードの種類及び容
■あるいはメモリカードに書き込まれた情報を識別する
ための識別情報が格納される識別レジスタを内蔵してい
るものがあり、この識別レジスタに格納される識別情報
は、メモリカードの種類及び8良あるいは占ぎ込まれた
情報に応じて、外部から容易に占き換えられるようにな
っている。
Therefore, some memory cards have a built-in identification register that stores identification information for identifying the type and capacity of the memory card or the information written on the memory card. The identification information can be easily changed from the outside depending on the type of memory card and the information that has been entered.

(発明が解決しようとづる問題点) 以上説明したように、メモリカードに内蔵される識別レ
ジスタに格納される識別情報は、外部から容易に内き換
えられるようになっているため、誤って識別情報が古さ
換えられた場合には、メモリカードの種類、容ωあるい
は占き込まれている情報を容易に判別することが困難と
なり、最悪の場合にはメモリカードを使用することがで
きなくなるという不具合をIn <ことになる。
(Problems to be Solved by the Invention) As explained above, the identification information stored in the identification register built into the memory card can be easily changed from the outside, so it is easy to mistakenly identify the card. If the information is outdated, it becomes difficult to easily determine the type, content, or information of the memory card, and in the worst case, the memory card becomes unusable. This will cause this problem.

そこで、この発明は、上記に鑑みてなされたものであり
、識別レジスタへの誤書き込みを防止して、識別レジス
タに格納されている識別情報の保護を図ったメモリカー
ドを提供することを目的とする。
Therefore, the present invention has been made in view of the above, and an object of the present invention is to provide a memory card that prevents erroneous writing to the identification register and protects the identification information stored in the identification register. do.

[発明の構成] (問題点を解決するための手段) 上記目的を達成するために、メモリカードに埋設される
メモリへの書込み動作を必要に応じて禁止させるライト
プロテクト機能を備え、前記メモリに書込まれた情報あ
るいはメモリカードの種類、容a等を識別するだめの識
別情報を格納する識別レジスタを内蔵したメモリカード
において、この発明は、該メモリカードがライトプロテ
クト状態にある場合に前記識別レジスタへの書込み動作
を禁止する囚込み禁止手段により構成される。
[Structure of the Invention] (Means for Solving the Problems) In order to achieve the above object, a memory card is provided with a write protect function that prohibits writing to a memory embedded in the memory as necessary. In a memory card having a built-in identification register for storing written information or identification information for identifying the type, capacity, etc. of the memory card, the present invention provides for a memory card having a built-in identification register for storing written information or identification information for identifying the type, capacity, etc. of the memory card. It is constituted by trapping prohibition means that prohibits write operations to registers.

(作用) この発明のメモリカードにあっては、メモリカードがラ
イトプロテクト状態にある場合に、識別レジスタへの占
込み動作を禁止するようにした。
(Function) In the memory card of the present invention, when the memory card is in the write protect state, the operation of occupying the identification register is prohibited.

(実施例) 以下、図面を用いてこの発明の実施例を説明する。(Example) Embodiments of the present invention will be described below with reference to the drawings.

第1図はこの発明の一実施例に係るメモリカードの構成
を示すブロック図である。このメモリカードは、本体例
えばマイクロコンピュータ(図示Uず)から供給される
情報を格納するメモリ1、このメモリ1が読出し及び丙
込み動作を行う際のアドレスをメモリ1に供給するアド
レスカウンタ3、識別情報を格納する識別レジスタ5.
メモリ1、アドレスカウンタ3.識別レジスタ5のそれ
ぞれの出力を選択出力するセレクタ7、メモリ1゜アド
レスカウンタ3.識別レジスタ5.セレクタ7を制御す
る制御回路9を有している。また、このメモリカードは
、必要に応じてメモリ1への情報の内込み動作を禁止す
るライトプロテクトスイッヂ(以下「WPスイッヂ」と
呼ぶ〉11を備えている。
FIG. 1 is a block diagram showing the configuration of a memory card according to an embodiment of the present invention. This memory card includes a memory 1 that stores information supplied from a main body, such as a microcomputer (not shown), an address counter 3 that supplies addresses to the memory 1 when this memory 1 performs read and write operations, and an identification number. Identification register for storing information5.
Memory 1, address counter 3. a selector 7 for selectively outputting each output of the identification register 5; a memory 1; an address counter 3; Identification register5. It has a control circuit 9 that controls the selector 7. This memory card also includes a write protect switch (hereinafter referred to as "WP switch") 11 that prohibits the operation of storing information into the memory 1 as necessary.

メモリ1は、メモリカードの用途、目的に応じて、様々
な種類、容?のメモリが用いられている。
Memory 1 has various types and capacities depending on the use and purpose of the memory card. memory is used.

また、所望の容重を(9るためにメモリ1を複数のメモ
リで構成してもよい。メモリ1は、メモリライト信号と
ライトプロテクト信号が入力されるアンドゲート13の
出力がハイレベルになると、本体から供給される情報を
格納し、メモリリードf二号が入力されると、格納され
た情報をセレクタ7を介して本体へ出力する。
In addition, in order to obtain a desired capacity (9), the memory 1 may be composed of a plurality of memories.When the output of an AND gate 13 to which a memory write signal and a write protect signal are input becomes high level, the memory 1 It stores information supplied from the main body, and when memory read f2 is input, the stored information is output to the main body via the selector 7.

アドレスカウンタ3は、メモリ1に接続されており、ア
ドレスカウンタリード信号が入力されると、格納された
任意のメモリアドレス、あるいはメモリアドレスを順次
インクリメントするカウント機能により連続したメモリ
アドレスをメモリ1に供給する。このメモリアドレスは
、メ七り1に対して読出し及び書込み動作が行われる前
に、アドレスカウンタロード信号の入力により、予め本
体からアドレスカウンタ3に書込まれる。したがって、
所定のメモリアドレスが、本体からアドレスカウンタ3
に書込まれた後、この書込まれたメモリアドレスでメモ
リ1がアクセスされて、メ廿り1の読出しあるいはN込
み動作が行われる。
Address counter 3 is connected to memory 1, and when the address counter read signal is input, it supplies memory 1 with any stored memory address or continuous memory addresses by a counting function that sequentially increments memory addresses. do. This memory address is written into the address counter 3 from the main body in advance by inputting an address counter load signal before reading and writing operations are performed on the memory 1. therefore,
A predetermined memory address is transferred from the main unit to address counter 3.
After being written to, memory 1 is accessed using the written memory address to perform a read or N write operation of the memory 1.

識別レジスタ5は、メモリ1に格納されている情報を識
別したり、メモリ1の種類、容量等を識別するための識
別情報を格納する。したがって、この識別レジスタ5は
、識別レジスタロード信号とライトプロチク1ル信号を
入力するアンドゲート15の出力がハイレベルになると
、メモリ1に格納される情報あるいはメモリ1の種類、
容量等に応じて、格納される識別情報が吉換えられるよ
うになっている。
The identification register 5 stores identification information for identifying information stored in the memory 1 and identifying the type, capacity, etc. of the memory 1. Therefore, when the output of the AND gate 15 inputting the identification register load signal and the write process signal becomes high level, the identification register 5 determines whether the information stored in the memory 1 or the type of memory 1 is stored in the memory 1.
The stored identification information can be changed depending on the capacity, etc.

セレクタ7は、メモリ1、アドレスカウンタ3、識別レ
ジスタ5に接続されており、イネーブル信号が入力され
ることによりメモリ1に格納されている情報を選択し、
また、アドレスカウンタリード信号が入力されることに
よりアドレスカウンタ3に格納されているメモリアドレ
ス情報を選択し、さらに、識別レジスタリード信号が入
力されることにより識別レジスタ5に格納されている識
別情報を選択して、それぞれ選択された情報を本体に転
送するものである。
The selector 7 is connected to the memory 1, the address counter 3, and the identification register 5, and selects information stored in the memory 1 by inputting an enable signal.
Furthermore, when the address counter read signal is input, the memory address information stored in the address counter 3 is selected, and when the identification register read signal is input, the identification information stored in the identification register 5 is selected. The selected information is transferred to the main unit.

制υU回路9は、メモリ1.アドレスカウンタ3゜識別
レジスタ5における情報の入出力を制DD’する信号を
それぞれに供給するものである。制御回路9は、本体か
ら与えられるポートアドレスにしたがって、メ七り1.
アドレスカウンタ3.識別レジスタ5の中から情報の入
出力を行おうとするものを指定する。さらに、本体から
与えられるリード信号及びライト信号にしたがって、読
出し動作を摺合するリード信号(イネーブル信号、メモ
リリード信号、アドレスカウンタし−ド信号、識別レジ
スタリード信号)あるいは、書込み動作を指令するロー
ド信号(メモリロード信号、アドレスカウンタロード信
号、識別レジスタロード13号〉を出力する。
The control υU circuit 9 is connected to the memory 1. A signal DD' for controlling the input/output of information in the address counter 3 and identification register 5 is supplied to each of them. The control circuit 9 performs the following functions according to the port address given from the main body: 1.
Address counter 3. One of the identification registers 5 to which information is to be input/output is specified. Furthermore, according to the read signal and write signal given from the main body, a read signal (enable signal, memory read signal, address counter read signal, identification register read signal) that coordinates the read operation or a load signal that commands the write operation (Outputs memory load signal, address counter load signal, identification register load No. 13).

WPスイッチ11は、電源VCCとグランドGNDとを
切換えてハイレベルあるいはロウレベルの信用を、出力
端がアンドゲート11の一方の入力端に1賃続されたイ
ンバータゲ−1〜17の入力端に与える。したがって、
WPスイッチ11が電源VCO側に切換えられている時
には、インバータゲート17の出力であるライトプロテ
クト信号はロウレベルとなり、WPスイッチ11がグラ
ンドGND側に切換えられている時には、ライトプロテ
クト13号はハイレベルとなる。このw Pスイッチ1
1は、第2図に示すように、メモリカードの周縁部に設
けられている。
The WP switch 11 switches between the power supply VCC and the ground GND to give high level or low level trust to the input ends of inverter gates 1 to 17 whose output ends are connected to one input end of the AND gate 11. . therefore,
When the WP switch 11 is switched to the power supply VCO side, the write protect signal that is the output of the inverter gate 17 is at a low level, and when the WP switch 11 is switched to the ground GND side, the write protect signal 13 is at a high level. Become. This w P switch 1
1 is provided at the periphery of the memory card, as shown in FIG.

以上説明したように、この実施例は構成されており、次
にこの実施例の作用を説明する。
As explained above, this embodiment is constructed, and the operation of this embodiment will be explained next.

まず、WPスイッチ11がグランドGND側に接続され
ている場合には、インバータゲート17の入力INはロ
ウレベルとなり、ライトプロテクト信号はハイレベルと
なる。このため、アンドゲート13の一方の入力端はハ
イレベルとなり、メモリライト信号がハイレベルになる
と、アンドグー]へ13の出力はハイレベルとなり、メ
モリ1への情報の害込み動作が行われることになる。
First, when the WP switch 11 is connected to the ground GND side, the input IN of the inverter gate 17 is at a low level, and the write protect signal is at a high level. Therefore, one input terminal of the AND gate 13 becomes a high level, and when the memory write signal becomes a high level, the output of the AND gate 13 becomes a high level, and an operation of corrupting information to the memory 1 is performed. Become.

また、ライ1〜プロテクト信号がハイレベルになると、
アンドゲート15の一方の入力端もハイレベルになる。
Also, when the lie 1~protect signal becomes high level,
One input terminal of the AND gate 15 also becomes high level.

これにより、識別レジスタロード信gがハイレベルとな
り、識別レジスタ5への識別情報の占込み動作は行われ
ることになる。
As a result, the identification register load signal g becomes high level, and the operation of loading the identification information into the identification register 5 is performed.

次に、WPスイッチ11が電源VCC側に接続されてメ
モリカードがライトプロテクト状態になると、インパー
クゲート17の入力端はハイレベルとなり、ライトプロ
テクト信号はロウレベルとなる。これにより、アンドゲ
ート13の一方の入力端はロウレベルとなるため、アン
ドゲート13の出力はロウレベルとなり、メモリ1への
情報の占込み動作は禁止される。
Next, when the WP switch 11 is connected to the power supply VCC side and the memory card enters the write protect state, the input terminal of the impark gate 17 becomes high level and the write protect signal becomes low level. As a result, one input terminal of the AND gate 13 becomes a low level, so that the output of the AND gate 13 becomes a low level, and the operation of filling information into the memory 1 is prohibited.

このような状態にあって本体がメモリカードの識別レジ
スタ5への識別情報の書込みを指令すべく、ボートアド
レス及びライト(5号が制御回路9に与えられると、識
別レジスタロード信号はハイレベルとなり、このハイレ
ベルの識別レジスタロード信号がアンドゲート15の他
方の入力端に与えられる。しかしながら、ライトプロテ
クト13号はロウレベルにあるので、アンドゲート15
の一方の入力端はロウレベルとなる。したがって、アン
トゲ−[・15の出力はロウレベルとなり、識別レジス
フ5・\の識別情報の書込みは禁1ヒされる。
In such a state, when the boat address and write (No. 5) are given to the control circuit 9 in order to instruct writing of identification information to the identification register 5 of the memory card, the identification register load signal becomes high level. , this high level identification register load signal is applied to the other input terminal of AND gate 15. However, since write protect No. 13 is at low level, AND gate 15
One input terminal of becomes low level. Therefore, the output of the controller 15 becomes low level, and writing of identification information to the identification register 5.\ is prohibited.

このように、メモリカードがライトプロテクト状態にな
ると、識別レジスタ5への情報の占込みが禁止され、こ
れにより、識別レジスタ5への誤書込みが防止されるこ
とになる。
In this way, when the memory card enters the write-protected state, writing of information to the identification register 5 is prohibited, thereby preventing erroneous writing to the identification register 5.

なお、この実施例におけるメモリカードは、I10バス
方式のものであるが、例えばメモリバス方式のメモリカ
ードでもよいことは勿論であり、また、上述したメモリ
カードに埋設されるメモリの種類及び容ωは限定される
ものではなく、メモリカードの仕様に応じて定めればよ
い。
Although the memory card in this embodiment is of the I10 bus type, it goes without saying that a memory card of the memory bus type may also be used, and the type and capacity of the memory embedded in the above-mentioned memory card may be is not limited, and may be determined according to the specifications of the memory card.

[発明の効果] 以上説明したように、この発明によれば、メモリカード
がライトプロテクト状態にある場合に、識別レジスタへ
の占込み動作を禁止するようにしたので、識別レジスタ
に格納されている識別情報の破壊を防止して、識別情報
の保護を図ることができる。その結果、該メモリカード
を用いたシステムにおける信頼性の向上に奇与し得るメ
モリカードを提供することができる。
[Effects of the Invention] As explained above, according to the present invention, when the memory card is in the write protect state, the operation of occupying the identification register is prohibited, so that the data stored in the identification register is It is possible to protect the identification information by preventing destruction of the identification information. As a result, it is possible to provide a memory card that can significantly improve the reliability of a system using the memory card.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図はこの発明の一実施例に係るメモリカードの溝底
を示すブロック図、第2図はメモリカードの外観を示す
図である。 (図の主要な部分を表わす符号の説明)5・・・識別レ
ジスタ 9・・・制御回路 11・・・ライトプロテクトスイッチ 15・・・アンドゲート
FIG. 1 is a block diagram showing the groove bottom of a memory card according to an embodiment of the present invention, and FIG. 2 is a diagram showing the external appearance of the memory card. (Explanation of symbols representing main parts in the figure) 5...Identification register 9...Control circuit 11...Write protect switch 15...AND gate

Claims (1)

【特許請求の範囲】[Claims] メモリカードに埋設されるメモリへの書込み動作を必要
に応じて禁止させるライトプロテクト機能を備え、前記
メモリに書込まれた情報あるいはメモリカードの種類、
容量等を識別するための識別情報を格納する識別レジス
タを内蔵したメモリカードにおいて、該メモリカードが
ライトプロテクト状態にある場合に前記識別レジスタへ
の書込み動作を禁止する書込み禁止手段を有することを
特徴とするメモリカード。
Equipped with a write protect function that prohibits writing to the memory embedded in the memory card as necessary, the information written in the memory or the type of memory card,
A memory card having a built-in identification register for storing identification information for identifying capacity, etc., characterized in that the memory card has a write inhibiting means for prohibiting a write operation to the identification register when the memory card is in a write protect state. memory card.
JP61237853A 1986-10-08 1986-10-08 Memory card Pending JPS6393059A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61237853A JPS6393059A (en) 1986-10-08 1986-10-08 Memory card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61237853A JPS6393059A (en) 1986-10-08 1986-10-08 Memory card

Publications (1)

Publication Number Publication Date
JPS6393059A true JPS6393059A (en) 1988-04-23

Family

ID=17021379

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61237853A Pending JPS6393059A (en) 1986-10-08 1986-10-08 Memory card

Country Status (1)

Country Link
JP (1) JPS6393059A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02126490A (en) * 1988-11-04 1990-05-15 Mitsubishi Electric Corp Memory card
CN106463157A (en) * 2016-06-15 2017-02-22 深圳市锐明技术股份有限公司 Memory electromagnetic interference protection circuit and vehicle electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH02126490A (en) * 1988-11-04 1990-05-15 Mitsubishi Electric Corp Memory card
CN106463157A (en) * 2016-06-15 2017-02-22 深圳市锐明技术股份有限公司 Memory electromagnetic interference protection circuit and vehicle electronic equipment

Similar Documents

Publication Publication Date Title
US4777355A (en) IC card and system for checking the functionality thereof
US5826007A (en) Memory data protection circuit
US5056009A (en) IC memory card incorporating software copy protection
US20010027511A1 (en) 1-chop microcomputer and IC card using same
JPH05173890A (en) Data protecting microprocessor circuit for portable data carrier
US7260690B2 (en) Microprocessor circuit for data carriers and method for organizing access to data stored in a memory
US5615381A (en) Security for a data processing system having multiple distinct program instruction sections
EP0483978B1 (en) I.C. card
JPH01219982A (en) Ic card
US5812446A (en) Method and apparatus for the protection of non-volatile memory zones
KR20020025793A (en) Memory device and memory access control method
EP0374733B1 (en) Single-chip microcomputer including EPROM therein
US6549475B2 (en) Semiconductor memory device and information device
JP2002015584A (en) Read/protect circuit for non-volatile memory
JPS6393059A (en) Memory card
JPH0822422A (en) Memory device
US6240377B1 (en) Integrated circuit with embedded reprogrammable EEPROM and emulation method to facilitate debugging
JPH048838B2 (en)
RU2169951C2 (en) Semiconductor memory device
US9092373B2 (en) Microcomputer with bootable flash memory
JPS6329859A (en) Memory protection circuit
JPH05225361A (en) Register rewriting system
JPH06187520A (en) Ic memory card
JPS6336349A (en) Preventing circuit for memory writing in microprocessor
KR940006823B1 (en) Circuit for protecting memory write