JP2000099676A - Memory card and data transmitting and receiving device - Google Patents

Memory card and data transmitting and receiving device

Info

Publication number
JP2000099676A
JP2000099676A JP11266052A JP26605299A JP2000099676A JP 2000099676 A JP2000099676 A JP 2000099676A JP 11266052 A JP11266052 A JP 11266052A JP 26605299 A JP26605299 A JP 26605299A JP 2000099676 A JP2000099676 A JP 2000099676A
Authority
JP
Japan
Prior art keywords
memory card
data
control device
interface means
switch
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
JP11266052A
Other languages
Japanese (ja)
Inventor
Takumi Okanoe
拓己 岡上
Yoshio Kondo
嘉男 近藤
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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP11266052A priority Critical patent/JP2000099676A/en
Publication of JP2000099676A publication Critical patent/JP2000099676A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PROBLEM TO BE SOLVED: To prevent stored data from being erroneously deleted or overwriten with other data and also freely switch an erroneous deletion preventing switch. SOLUTION: Upon receiving a register instruction for confirming the state of a memory card 2 through an S/P(serial/parallel) &P/S(parallel/serial) sequencer 31, a command generator 35 sets the state of an erroneous deletion preventing switch 23 in a register, and transmits this register content through the S/P & P/S sequencer 31 to a host computer. The host computer judges whether or not write protect is turned on, based on the register content from the memory card 2, and operates a processing for prohibiting write when the write protect is turned on.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、誤消去防止機能を
備えたメモリカード及びそのデータ送受信装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory card having an erroneous erasure prevention function and a data transmission / reception device therefor.

【0002】[0002]

【従来の技術】従来より、コンピュータ,ディジタルス
チルカメラ等の電子機器からのデータを記憶するため
に、磁気テープ,磁気ディスク,光ディスク,メモリカ
ード等の外部記憶装置が使用されている。特に、メモリ
カードは、携帯性に優れ、かつ、転送レートが高速であ
ることから広く使用されている。
2. Description of the Related Art Conventionally, external storage devices such as magnetic tapes, magnetic disks, optical disks, and memory cards have been used to store data from electronic devices such as computers and digital still cameras. In particular, memory cards are widely used because of their excellent portability and high transfer rates.

【0003】[0003]

【発明が解決しようとする課題】メモリカードは、フレ
キシブル・ディスクと同様に、記憶しているデータを誤
って消去することを防止するための誤消去防止スイッチ
を設けている。しかし、従来の誤消去防止スイッチはカ
ードメモリ本体の主面部に設けられているため、メモリ
カードが電子機器に装着されているときは、利用者はそ
のスイッチの切り換えをすることができない。
The memory card, like the flexible disk, is provided with an erasure prevention switch for preventing erroneous erasure of stored data. However, since the conventional erasure prevention switch is provided on the main surface of the card memory main body, the user cannot switch the switch when the memory card is mounted on the electronic device.

【0004】これでは、電子機器にメモリカードを挿入
していて書き込みが不可の場合、利用者が既に記憶され
てるデータに上書きして新たなデータを記憶させること
ができず、甚だ不便であった。また、かかる場合、ユー
ザはわざわざメモリカードを電子機器から抜き出して誤
消去防止スイッチを切り換えて書き込み可能にして再び
メモリカードを装着する必要があり、誤消去防止スイッ
チの切り換え操作の向上が望まれていた。
[0004] In this case, when the memory card is inserted into the electronic device and writing is not possible, the user cannot overwrite the already stored data and store new data, which is extremely inconvenient. . In such a case, it is necessary for the user to take out the memory card from the electronic device, switch the erroneous erasure prevention switch to enable writing, and re-attach the memory card, and it is desired to improve the operation of switching the erroneous erasure prevention switch. Was.

【0005】本発明は、このような実情に鑑みてなされ
たものであり、誤って記憶されているデータを消去した
り他のデータによって上書きされるのを防止しつつ、誤
消去防止スイッチを自由に切り換えることができるメモ
リカード及びそのデータ送受信装置を提供することを目
的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of such circumstances, and it is possible to freely set an erroneous erasure prevention switch while preventing erroneously stored data from being erased or overwritten by other data. It is an object of the present invention to provide a memory card and a data transmitting / receiving device for the memory card, which can be switched to another.

【0006】[0006]

【課題を解決するための手段】本発明は、制御装置から
送信されるデータを記憶するメモリカードにおいて、上
記制御装置からのデータを記憶するフラッシュメモリ
と、上記フラッシュメモリへのデータの書き込みを禁止
する設定を行うスイッチと、上記制御装置とのインター
フェース手段と、上記制御装置から上記インターフェー
ス手段を介して送信される命令に応じて上記制御装置か
ら上記インターフェース手段を介して送信されるデータ
を上記フラッシュメモリに記憶するよう制御する制御手
段とを備え、上記制御手段は、上記スイッチの設定状態
を上記インターフェース手段を介して上記制御装置に送
信することを特徴とする。
According to the present invention, in a memory card for storing data transmitted from a control device, a flash memory for storing data from the control device, and writing of data to the flash memory is prohibited. A switch for performing setting, interface means for the control device, and flashing data transmitted from the control device via the interface means in response to a command transmitted from the control device via the interface means. And control means for controlling the switch to store it in a memory, wherein the control means transmits the setting state of the switch to the control device via the interface means.

【0007】また、本発明は、制御装置とメモリカード
とでデータの送受信を行うデータ送受信装置において、
上記メモリカードは、上記制御装置から送信されるデー
タを記憶するフラッシュメモリと、上記フラッシュメモ
リへのデータの書き込みを禁止する設定を行うスイッチ
と、上記制御装置とのインターフェース手段と、上記制
御装置から上記インターフェース手段を介して送信され
る状態読み出し命令に応じて上記スイッチの設定状態を
上記インターフェース手段を介して上記制御装置に送信
するとともに、上記スイッチに書き込み禁止に設定され
ていない場合に上記制御装置から上記インターフェース
手段を介して送信される書き込み命令に応じて上記書き
込み命令とともに送信されるデータを上記フラッシュメ
モリに記憶するよう制御する制御手段とを備え、上記制
御装置は、上記メモリカードとのインターフェース手段
を備え、上記メモリカードに上記インターフェース手段
を介して状態読み出し命令を送信し、上記フラッシュメ
モリに対するデータの書き込み禁止されているか否かを
判断し、データの書き込みが禁止されていない場合に、
上記インターフェース手段を介して上記メモリカードに
書き込み命令とデータを送信することを特徴とする。
Further, the present invention relates to a data transmitting / receiving apparatus for transmitting / receiving data between a control device and a memory card.
The memory card includes a flash memory that stores data transmitted from the control device, a switch that performs setting for prohibiting writing of data to the flash memory, an interface unit with the control device, In response to a status read command transmitted through the interface means, the setting state of the switch is transmitted to the control device via the interface means, and the control device is set when the switch is not set to write-protected. And control means for storing data transmitted together with the write command in the flash memory in response to the write command transmitted from the interface means, and wherein the control device has an interface with the memory card. Equipped with the above note Sends a status read command to the card via the interface means, and determines whether or not the write-protected data to the flash memory, when the writing of data is not prohibited,
A write command and data are transmitted to the memory card via the interface means.

【0008】また、本発明は、制御装置から送信される
データを記憶するメモリカードにおいて、上記制御装置
からのデータを記憶するフラッシュメモリと、上記フラ
ッシュメモリへのデータの書き込みを禁止する設定を行
うスイッチと、上記制御装置とのインターフェース手段
と、上記制御装置から上記インターフェース手段を介し
て送信される命令に応じて上記フラッシュメモリに記憶
されたデータを消去するよう制御する制御手段とを備
え、上記制御手段は、上記スイッチの設定状態を上記イ
ンターフェース手段を介して上記制御装置に送信するこ
とを特徴とする。
Further, according to the present invention, in a memory card for storing data transmitted from a control device, a flash memory for storing data from the control device and a setting for inhibiting data writing to the flash memory are performed. A switch, interface means for the control device, and control means for controlling to erase data stored in the flash memory in accordance with a command transmitted from the control device via the interface means, The control means transmits the setting state of the switch to the control device via the interface means.

【0009】さらに、本発明は、制御装置とメモリカー
ドとでデータの送受信を行うデータ送受信装置におい
て、上記メモリカードは、上記制御装置から送信される
データを記憶するフラッシュメモリと、上記フラッシュ
メモリへのデータの書き込みを禁止する設定を行うスイ
ッチと、上記制御装置とのインターフェース手段と、上
記制御装置から上記インターフェース手段を介して送信
される状態読み出し命令に応じて上記スイッチの設定状
態を上記インターフェース手段を介して上記制御装置に
送信するとともに、上記スイッチに書き込み禁止に設定
されていない場合に上記制御装置から上記インターフェ
ース手段を介して送信される消去命令に応じて上記消去
命令とともに送信されるアドレスによって指定されるデ
ータを上記フラッシュメモリから消去するよう制御する
制御手段とを備え、上記制御装置は、上記メモリカード
とのインターフェース手段を備え、上記メモリカードに
上記インターフェース手段を介して状態読み出し命令を
送信し、上記フラッシュメモリに対するデータの書き込
み禁止されているか否かを判断し、データの書き込みが
禁止されていない場合に、上記インターフェース手段を
介して上記メモリカードに消去命令と消去の対象となる
アドレスを送信することを特徴とする。
Further, the present invention relates to a data transmission / reception device for transmitting / receiving data between a control device and a memory card, wherein the memory card includes: a flash memory for storing data transmitted from the control device; A switch for setting to prohibit writing of the data, an interface means for the control device, and a setting state of the switch in response to a status read command transmitted from the control device via the interface means. And the address transmitted with the erase command in response to the erase command transmitted from the control device via the interface means when the switch is not set to write-protected. The specified data is Control means for controlling erasing from the memory, wherein the control device includes an interface means with the memory card, transmits a status read command to the memory card via the interface means, and stores data in the flash memory. It is characterized in that whether or not writing is prohibited is determined, and if data writing is not prohibited, an erasure command and an address to be erased are transmitted to the memory card via the interface means. .

【0010】[0010]

【発明の実施の形態】以下、本発明の実施の形態につい
て、図面を参照しながら説明する。本発明は、図1に示
すホストコンピュータ及びこのホストコンピュータから
のデータを記憶するメモリカードに適用することができ
る。なお、本実施の形態では、ホストコンピュータから
送信される画像データをメモリカードに書き込む場合に
ついて説明するが、オーディオデータや他のデータにつ
いても同様であるのは言うまでもない。
Embodiments of the present invention will be described below with reference to the drawings. The present invention can be applied to the host computer shown in FIG. 1 and a memory card that stores data from the host computer. In the present embodiment, a case will be described in which image data transmitted from a host computer is written to a memory card, but it goes without saying that the same applies to audio data and other data.

【0011】上記ホストコンピュータ1は、図1に示す
ように、静止画の画像データ,オーディオデータ等の様
々のデータを記憶するハードディスク11と、ハードデ
ィスク11からの画像データ等を一旦記憶して読み出す
RAM(Random Access Memory)12と、ディスプレイ
・インターフェース(以下、ディスプレイI/Fとい
う。)13を介して供給される画像データに基づいて画
像を表示するディスプレイ14と、3本のデータ線を介
してメモリカード2とのデータの送受信を行うシリアル
インターフェース(以下、シリアルI/Fという。)1
5と、バス16と、全体を制御するCPU(Central Pr
ocessing Unit)17とを備える。
As shown in FIG. 1, the host computer 1 includes a hard disk 11 for storing various data such as still image data and audio data, and a RAM for temporarily storing and reading image data and the like from the hard disk 11. (Random Access Memory) 12, a display 14 for displaying an image based on image data supplied via a display interface (hereinafter referred to as a display I / F) 13, and a memory via three data lines. Serial interface (hereinafter referred to as serial I / F) 1 for transmitting and receiving data to and from the card 2
5, bus 16 and a CPU (Central Pr
Ocessing Unit) 17.

【0012】RAM12は、例えば、バス16を介して
ハードディスク11に記憶されている画像データを一旦
記憶し、必要に応じて画像データをバス16を介してシ
リアルI/F15に供給する。
The RAM 12 temporarily stores, for example, image data stored in the hard disk 11 via the bus 16 and supplies the image data to the serial I / F 15 via the bus 16 as needed.

【0013】ディスプレイ14には、ハードディスク1
1から読み出された画像データがバス16,ディスプレ
イI/F13を介して供給されたり、メモリカード2か
らの画像データが供給されて、これらの画像データに基
づく静止画や動画が表示される。
The display 14 has a hard disk 1
The image data read from the device 1 is supplied via the bus 16 and the display I / F 13, or the image data is supplied from the memory card 2, and a still image or a moving image based on the image data is displayed.

【0014】シリアルI/F15は、3本のデータ線を
介して、メモリカード2に画像データを送信したり、メ
モリカード2に記憶されている画像データを受信する。
具体的には、シリアルI/F15は、第1のデータ線を
介して、メモリカード2に書き込むための画像データや
制御データを送信したり、メモリカード2から読み出さ
れた画像データを受信する。シリアルI/F15は、第
2のデータ線を介して、第1のデータ線での画像データ
又は制御データの切り換えに応じて、その切り換えた状
態を示すステータス信号を出力する。さらに、シリアル
I/F15は、第3のデータ線を介して、上記制御デー
タや画像データの送信の際のシリアルクロックSCLK
を送信する。
The serial I / F 15 transmits image data to the memory card 2 and receives image data stored in the memory card 2 via three data lines.
More specifically, the serial I / F 15 transmits image data and control data to be written to the memory card 2 and receives image data read from the memory card 2 via the first data line. . The serial I / F 15 outputs, via the second data line, a status signal indicating the switched state in response to switching of image data or control data on the first data line. Further, the serial I / F 15 is connected to the serial clock SCLK at the time of transmitting the control data and the image data via the third data line.
Send

【0015】CPU17は、RAM12やハードディス
ク11の画像データを読み出したり、RAM12等に画
像データを書き込むことを制御したり、メモリカード2
との画像データ等の送受信の制御も行う。例えば、CP
U17は、メモリカード2の後述する誤消去防止スイッ
チのライトプロテクトがオンになっているかを判断する
ためのレジスタ命令を発行したり、メモリカード2に対
してアドレスを指定して所定の画像データの書き込み命
令を発行する。
The CPU 17 controls reading of image data from the RAM 12 and the hard disk 11, writing of image data to the RAM 12 and the like,
It also controls the transmission and reception of image data etc. For example, CP
U17 issues a register command for determining whether or not a write-protection of an erroneous erasure prevention switch described later of the memory card 2 is turned on, or designates an address to the memory card 2 to store predetermined image data. Issue a write instruction.

【0016】一方、メモリカード2は、図2に示すよう
に、上記ホストコンピュータ1からの画像データや制御
データを受信するコントロールIC21と、画像データ
を記憶するフラッシュメモリ22と、フラッシュメモリ
22に記憶されている画像データを誤って消去すること
を防止するための誤消去防止スイッチ23を備える。
On the other hand, as shown in FIG. 2, the memory card 2 includes a control IC 21 for receiving image data and control data from the host computer 1, a flash memory 22 for storing image data, and a flash memory 22 for storing image data. An erroneous erasure prevention switch 23 is provided for preventing erroneous erasure of the image data being erased.

【0017】コントロールIC21,フラッシュメモリ
22,誤消去防止スイッチ23は、図3に示すように、
略板状に形成されている板状部材24の中に設けられて
いる。上記誤消去防止スイッチ23は、板状部材24の
長手方向の一端側にあって、かつ、装着方向の反対側に
設けられている。誤消去防止スイッチ23は、上記板状
部材24の長手方向に直交する方向にスライド自在にな
っている。図3に示すように、誤消去防止スイッチ23
が装着方向に向かって左側に位置しているときは、画像
データを記録することができる状態、すなわちライトプ
ロテクトがオフになっている。
The control IC 21, the flash memory 22, and the erroneous erasure prevention switch 23 are, as shown in FIG.
It is provided in a plate-like member 24 formed in a substantially plate shape. The erroneous erasure prevention switch 23 is provided on one end side of the plate member 24 in the longitudinal direction and on the opposite side to the mounting direction. The erroneous erasure prevention switch 23 is slidable in a direction orthogonal to the longitudinal direction of the plate member 24. As shown in FIG.
Is located on the left side in the mounting direction, the state in which image data can be recorded, that is, the write protection is off.

【0018】また、図4に示すように、誤消去防止スイ
ッチ23が装着方向に向かって右側に位置しているとき
は、空隙部25が現れる。このとき、メモリカード2
は、画像データを記録することができない状態、すなわ
ちライトプロテクトがオンになっている。したがって、
利用者は、メモリカード2のみを例えば被服のポケット
等にいれておいても、上記空隙部25の有無を触覚で判
断することができ、ライトプロテクトされているかを容
易に判断することができる。
As shown in FIG. 4, when the erroneous erasure prevention switch 23 is located on the right side in the mounting direction, a gap 25 appears. At this time, memory card 2
Indicates that the image data cannot be recorded, that is, the write protection is turned on. Therefore,
Even if the user puts only the memory card 2 in, for example, a pocket of clothes, the user can judge by touch the presence or absence of the gap 25 and can easily judge whether or not the memory card 2 is write-protected.

【0019】コントロールIC21は、ホストコンピュ
ータ1から送信された画像データをフラッシュメモリ2
2に書き込む前に、誤消去防止スイッチ23のライトプ
ロテクトがオン/オフの何れに設定されているかを判断
して、ライトプロテクトがオンに設定されているときの
み画像データをフラッシュメモリ22に書き込むように
なっている。
The control IC 21 stores the image data transmitted from the host computer 1 in the flash memory 2.
Before writing to the flash memory 22, it is determined whether the write protection of the erroneous erasure prevention switch 23 is set to ON or OFF, and the image data is written to the flash memory 22 only when the write protection is set to ON. It has become.

【0020】ここで、コントロールIC21は、具体的
には、シリアル/パラレル・パラレル/シリアル・イン
ターフェース・シーケンサ(以下、S/P&P/Sシー
ケンサという。)31と、S/P&P/Sシーケンサ3
1からの画像データを一時記憶するページバッファ32
と、ページバッファ32からの画像データをフラッシュ
メモリ22に供給するフラッシュ・インターフェース・
シーケンサ(以下、フラッシュI/Fシーケンサとい
う。)33と、誤り訂正の処理を行うECCエンコーダ
/デコーダ34と、所定の制御コマンドを発生するコマ
ンド・ジェネレータ35と、バージョン情報等が記憶さ
れているコンフィグレーションROM(Read Only Memo
ry)36と、各回路にクロックを供給する発振器37と
を備える。S/P&P/Sシーケンサ31は、上述の第
1乃至第3のデータ線を介して、ホストコンピュータ1
のシリアルI/F15に接続している。したがって、S
/P&P/Sシーケンサ31には、ホストコンピュータ
1からステータス信号やシリアルクロックSCLKや画
像データ及び制御データからなるシリアルデータDIO
が供給される。
Here, the control IC 21 specifically includes a serial / parallel / parallel / serial interface sequencer (hereinafter, referred to as an S / P & P / S sequencer) 31 and an S / P & P / S sequencer 3.
Page buffer 32 for temporarily storing image data from
And a flash interface for supplying image data from the page buffer 32 to the flash memory 22.
A sequencer (hereinafter referred to as a flash I / F sequencer) 33, an ECC encoder / decoder 34 for performing error correction processing, a command generator 35 for generating a predetermined control command, and a configuration storing version information and the like. ROM (Read Only Memo
ry) 36 and an oscillator 37 for supplying a clock to each circuit. The S / P & P / S sequencer 31 is connected to the host computer 1 via the first to third data lines.
Connected to the serial I / F 15. Therefore, S
/ P & P / S sequencer 31 has status data, serial clock SCLK, serial data DIO including image data and control data from host computer 1.
Is supplied.

【0021】そして、S/P&P/Sシーケンサ31
は、ホストコンピュータ1から供給されるシリアルデー
タDIOを上記シリアルクロックSCLKに同期してパ
ラレルデータに変換する。S/P&P/Sシーケンサ3
1は、このパラレルデータの内、例えば制御データをコ
マンド・ジェネレータ35に供給し、画像データをペー
ジバッファ32に供給する。
The S / P & P / S sequencer 31
Converts the serial data DIO supplied from the host computer 1 into parallel data in synchronization with the serial clock SCLK. S / P & P / S sequencer 3
1 supplies, for example, control data of the parallel data to the command generator 35 and supplies image data to the page buffer 32.

【0022】ページバッファ32は、S/P&P/Sシ
ーケンサ31から供給される画像データを1ページ(=
512バイト)毎に記憶するバッファメモリである。ペ
ージバッファ32に記憶された画像データは、ECCエ
ンコーダ/デコーダ34によって誤り訂正符号が付加さ
れる。ページバッファ32は、誤り訂正符号の付けられ
た1ページの画像データを、フラッシュI/Fシーケン
サ33を介して、フラッシュメモリ22a〜22dに供
給する。こうして、フラッシュメモリ22a〜22dに
は、ホストコンピュータ1からの画像データが書き込ま
れるようになっている。
The page buffer 32 stores the image data supplied from the S / P & P / S sequencer 31 in one page (=
(512 bytes). An error correction code is added to the image data stored in the page buffer 32 by the ECC encoder / decoder 34. The page buffer 32 supplies the image data of one page to which the error correction code is added to the flash memories 22a to 22d via the flash I / F sequencer 33. Thus, the image data from the host computer 1 is written in the flash memories 22a to 22d.

【0023】また、フラッシュメモリ22a〜22dか
ら読み出された画像データは、フラッシュI/Fシーケ
ンサ33を介してページバッファ32に供給される。
The image data read from the flash memories 22a to 22d is supplied to the page buffer 32 via the flash I / F sequencer 33.

【0024】ページバッファ32は、フラッシュI/F
シーケンサ33からの画像データを記憶する。このと
き、ECCエンコーダ/デコータ34は、ページバッフ
ァ32に記憶されているデータに付加されている誤り訂
正符号に基づいて誤り訂正処理を施す。そして、ページ
バッファ32は、誤り訂正処理済みのデータを1ページ
毎に読み出して、このデータをS/P&P/Sシーケン
サ31に供給する。そして、S/P&P/Sシーケンサ
31は、ページバッファ32から供給されるパラレルの
画像データをシリアルデータDIOに変換して上述のホ
ストコンピュータ1に送信する。
The page buffer 32 has a flash I / F
The image data from the sequencer 33 is stored. At this time, the ECC encoder / decoder 34 performs an error correction process based on the error correction code added to the data stored in the page buffer 32. Then, the page buffer 32 reads the error-corrected data for each page, and supplies the data to the S / P & P / S sequencer 31. Then, the S / P & P / S sequencer 31 converts the parallel image data supplied from the page buffer 32 into serial data DIO and transmits the serial data DIO to the host computer 1 described above.

【0025】コマンド・ジェネレータ35は、S/P&
P/Sシーケンサ31からの制御データに基づいて制御
コマンドを発生する。例えば、コマンド・ジェネレータ
35は、メモリカード2の動作状態をみるためのリード
・ステータス・レジスタ命令を受けると、誤消去防止ス
イッチ23の設定内容を判断し、その設定内容に応じて
画像データの書き込みを行うか否かを判断する。
The command generator 35 has a function of S / P &
A control command is generated based on control data from the P / S sequencer 31. For example, when the command generator 35 receives a read status register command for checking the operation state of the memory card 2, it determines the setting of the erroneous erasure prevention switch 23, and writes image data according to the setting. Is determined.

【0026】また、コマンド・ジェネレータ35は、フ
ラッシュメモリ22に画像データを書き込んでいたり又
はフラッシュメモリ22から画像データを読み出してい
る状態を示すビジー(busy)・コマンド(以下、ビジー
信号という。)を発生し、これをS/P&P/Sシーケ
ンサ31を介してホストコンピュータ1に送信する。そ
して、コマンド・ジェネレータ35は、画像データの書
き込み又は読み出しが終了すると、その終了を示すレデ
ィ(ready)・コマンド(以下、レディー信号とい
う。)を発生して、これをS/P&P/Sシーケンサ3
1を介してホストコンピュータ1に送信する。ホストコ
ンピュータ1は、これらのビジー信号やレディ信号を受
信することによって、メモリカード2の動作状態を認識
している。
The command generator 35 outputs a busy command (hereinafter referred to as a busy signal) indicating that image data is being written to the flash memory 22 or image data is being read from the flash memory 22. And sends it to the host computer 1 via the S / P & P / S sequencer 31. When the writing or reading of the image data is completed, the command generator 35 generates a ready command (hereinafter, referred to as a ready signal) indicating the completion of the writing or reading, and sends it to the S / P & P / S sequencer 3.
1 to the host computer 1. The host computer 1 recognizes the operating state of the memory card 2 by receiving these busy signals and ready signals.

【0027】コンフィグレーションROM36には、メ
モリカード2のバージョン情報や初期設定値の情報が記
憶されている。したがって、ホストコンピュータ1とメ
モリカード2が接続されると、コマンド・ジェネレータ
35は、最初にS/P&P/Sシーケンサ31を介して
コンフィグレーションROM36から上記バージョン情
報等を読み出して、この情報に基づいて所定のコマンド
を発生することによってメモリカード2の所定の初期設
定を行うようになっている。
The configuration ROM 36 stores version information of the memory card 2 and information of initial setting values. Therefore, when the host computer 1 and the memory card 2 are connected, the command generator 35 first reads the version information and the like from the configuration ROM 36 via the S / P & P / S sequencer 31, and based on this information, By issuing a predetermined command, a predetermined initial setting of the memory card 2 is performed.

【0028】このような構成のホストコンピュータ1及
びメモリカード2において、ホストコンピュータ1の画
像データをメモリカード2に書き込むときは、図5に示
すように、ホストコンピュータ1はステップS1〜ステ
ップS8までの処理を行い、このときメモリカード2は
ステップS11〜ステップS14の処理を行う。
In the host computer 1 and the memory card 2 configured as described above, when writing the image data of the host computer 1 to the memory card 2, the host computer 1 performs steps S1 to S8 as shown in FIG. At this time, the memory card 2 performs the processing of steps S11 to S14.

【0029】ホストコンピュータ1においてメモリカー
ド2への画像データの書き込みが設定されると、CPU
17は、メモリカード2の状態を確認するためのリード
・ステータス・レジスタ命令を発行して(ステップS
1)、このレジスタ命令をシリアルI/F15を介して
メモリカード2に送信する。なお、このリードステータ
ス・レジスタ命令の発行は、送信すべきファイル毎に行
っている。
When writing of image data to the memory card 2 is set in the host computer 1, the CPU
17 issues a read status register instruction for confirming the state of the memory card 2 (step S
1), this register command is transmitted to the memory card 2 via the serial I / F 15; This read status register instruction is issued for each file to be transmitted.

【0030】メモリカード2において、コマンド・ジェ
ネレータ35は、S/P&P/Sシーケンサ31を介し
て上記レジスタ命令を受信すると、誤消去防止スイッチ
23の状態をレジスタにセットして、このレジスタの内
容をS/P&P/Sシーケンサ31を介してホストコン
ピュータ1に送信する(ステップS11)。換言する
と、コマンド・ジェネレータ35は、誤消去防止スイッ
チ23がオン、つまりメモリカード2のライトプロテク
ト(書き込み禁止)がオンになっているか否かの状態を
レジスタにセットして、このレジスタ内容をホストコン
ピュータ1に送信する。
In the memory card 2, when the command generator 35 receives the register command via the S / P & P / S sequencer 31, the command generator 35 sets the state of the erroneous erasure prevention switch 23 to the register, and stores the contents of this register. The data is transmitted to the host computer 1 via the S / P & P / S sequencer 31 (step S11). In other words, the command generator 35 sets the state of whether the erroneous erasure prevention switch 23 is turned on, that is, whether the write protection (write protection) of the memory card 2 is turned on, in a register, and stores the contents of this register in the host. Send to computer 1.

【0031】ホストコンピュータ1において、CPU1
7は、メモリカード2からのレジスタ内容に基づいて、
ライトプロテクトがオンになっているかを判断し(ステ
ップS2)、ライトプロテクトがオンになっているとき
は書き込み禁止の処理を行う(ステップS3)。
In the host computer 1, the CPU 1
7 is based on the register content from the memory card 2
It is determined whether or not the write protect is turned on (step S2). If the write protect is turned on, a write prohibition process is performed (step S3).

【0032】CPU17は、ライトプロテクトがオンに
なっていないと判断したときは、ライト・ページ・バッ
ファ命令を発行するとともに、例えばハードディスク1
1から512バイトの画像データを読み出して、これら
のライト・ページ・バッファ命令と画像データをシリア
ルI/F15を介してメモリカード2に送信する(ステ
ップS4)。
When the CPU 17 determines that the write protect is not turned on, it issues a write page buffer instruction and, for example,
The image data of 1 to 512 bytes is read, and the write page buffer command and the image data are transmitted to the memory card 2 via the serial I / F 15 (step S4).

【0033】CPU17は、さらに、セットコマンド命
令を発行して、メモリカード2に上記画像データを書き
込むアドレスを指定して書き込み命令を発行する(ステ
ップS5)。CPU17は、これらのコマンド命令をシ
リアルI/F15を介してメモリカード2に送信する。
The CPU 17 further issues a set command instruction, and specifies a write address of the image data in the memory card 2 and issues a write instruction (step S5). The CPU 17 transmits these command instructions to the memory card 2 via the serial I / F 15.

【0034】メモリカード2において、コマンド・ジェ
ネレータ35は、S/P&P/Sシーケンサ31を介し
てホストコンピュータ1からのセットコマンド命令を受
信すると、動作中であることを示すビジー(busy)状態
をレジスタにセットして、このレジスタ内容を示すビジ
ー信号をS/P&P/Sシーケンサ31を介してホスト
コンピュータ1に送信する(ステップS12)。なお、
このビジー信号は、レジスタにレディ(ready)状態が
セットされるまで、ホストコンピュータ1に送信され続
ける。
In the memory card 2, upon receiving a set command command from the host computer 1 via the S / P & P / S sequencer 31, the command generator 35 registers a busy state indicating that the apparatus is operating. And sends a busy signal indicating the contents of the register to the host computer 1 via the S / P & P / S sequencer 31 (step S12). In addition,
This busy signal is continuously transmitted to the host computer 1 until a ready state is set in the register.

【0035】そして、コマンド・ジェネレータ35は、
書き込みを実行するコマンドを発行して、上述の指定さ
れたフラッシュメモリ22のアドレスに1ページ分の画
像データを書き込ませる(ステップS13)。コマンド
・ジェネレータ35は、上記1ページ分の画像データの
書き込みが終了すると、レジスタにレディ状態をセット
して、そのレジスタ内容を示すレディ信号をS/P&P
/Sシーケンサ31を介してホストコンピュータ1に送
信する(ステップS14)。
Then, the command generator 35
A command to execute writing is issued, and one page of image data is written to the specified address of the flash memory 22 (step S13). When the writing of the image data for one page is completed, the command generator 35 sets a ready state in the register, and sends a ready signal indicating the contents of the register to the S / P & P.
It is transmitted to the host computer 1 via the / S sequencer 31 (step S14).

【0036】一方、ホストコンピュータ1では、CPU
17は、上述のステップS5でセットコマンドの命令を
発行した後、リード・ステータス・レジスタ命令を発行
して、メモリカード2の状態を確認する(ステップS
6)。そして、CPU17は、メモリカード2からシリ
アルI/F15を介して送信される信号がビジー信号で
あるかを判断し、ビジー信号でないときは再びリード・
ステータス・レジスタ命令を発行する(ステップS
6)。すなわち、メモリカード2からビジー信号が送信
されている間は、ステップS6及びステップS7の処理
が繰り返し行われる。CPU17は、メモリカード2か
ら送信された信号がビジー信号でないと判断したとき、
すなわち送信された信号がレディ信号であると判断した
ときは、メモリカード2に送信すべき続きの画像データ
があるかを判断し、続きの画像データがあるときはステ
ップS4に進み、続きの画像データがないときは画像デ
ータの送信を終了する(ステップS8)。すなわち、記
録対象となる画像データのファイルは、ステップS4〜
ステップS8までの処理及びステップS12〜ステップ
S14の処理が繰り返し行われることによって、1ペー
ジ毎にメモリカード2に書き込まれる。
On the other hand, in the host computer 1, the CPU
17 issues a set command instruction in step S5, issues a read status register instruction, and checks the state of the memory card 2 (step S5).
6). Then, the CPU 17 determines whether or not the signal transmitted from the memory card 2 via the serial I / F 15 is a busy signal.
Issue a status register instruction (step S
6). That is, while the busy signal is being transmitted from the memory card 2, the processes of steps S6 and S7 are repeatedly performed. When the CPU 17 determines that the signal transmitted from the memory card 2 is not a busy signal,
That is, when it is determined that the transmitted signal is a ready signal, it is determined whether or not there is continuous image data to be transmitted to the memory card 2. If there is no data, the transmission of the image data ends (step S8). That is, the file of the image data to be recorded is stored in steps S4 to S4.
By repeatedly performing the processing up to step S8 and the processing of steps S12 to S14, data is written to the memory card 2 for each page.

【0037】以上のように、本発明は、ファイルを記録
する毎に、メモリカード2のライトプロテクトがオンか
オフかを判断しているので、例えばメモリカード2をホ
ストコンピュータ1に装着しているときに誤消去防止ス
イッチ23によるライトプロテクトの設定が変わって
も、その設定内容に応じて画像データの書き込み禁止の
処理を行ったり、又は、画像データの記録を行うことが
できる。
As described above, according to the present invention, each time a file is recorded, it is determined whether the write protection of the memory card 2 is on or off. Therefore, for example, the memory card 2 is mounted on the host computer 1. Even if the setting of the write protection by the erroneous erasure prevention switch 23 is changed, it is possible to perform the process of prohibiting the writing of image data or to record the image data according to the setting.

【0038】また、誤消去防止スイッチ23は、メモリ
カード2がホストコンピュータ1に装着されているとき
であってもライトプロテクトの設定変更が可能であるた
め、わざわざメモリカード2をホストコンピュータ1か
ら抜き出して誤消去防止スイッチ23の切り換えを行う
必要がなくなり、利用者の操作性の向上を図ることがで
きる。
The erroneous erasure prevention switch 23 allows the write protection setting to be changed even when the memory card 2 is mounted on the host computer 1. Therefore, it is not necessary to switch the erroneous erasure prevention switch 23, and the operability of the user can be improved.

【0039】次に、メモリカード2に記憶されている画
像データを消去するときの動作について説明する。メモ
リカード2に記憶されている画像データを消去するとき
は、図6に示すように、ホストコンピュータ1はステッ
プS21〜ステップS27までの処理を行い、このとき
メモリカード2はステップS31〜ステップS34の処
理を行う。
Next, the operation for erasing the image data stored in the memory card 2 will be described. When erasing the image data stored in the memory card 2, as shown in FIG. 6, the host computer 1 performs the processing of steps S21 to S27, and at this time, the memory card 2 performs the processing of steps S31 to S34. Perform processing.

【0040】ホストコンピュータ1においてメモリカー
ド2に記憶されている画像データの消去が設定される
と、CPU17は、メモリカード2の状態を確認するた
めのリード・ステータス・レジスタ命令を発行して(ス
テップS21)、このレジスタ命令をシリアルI/F1
5を介してメモリカード2に送信する。なお、このリー
ド・ステータス・レジスタ命令の発行は、送信すべきフ
ァイル毎に行っている。メモリカード2において、コマ
ンド・ジェネレータ35は、上記レジスタ命令を受信す
ると、誤消去防止スイッチ23の状態をレジスタにセッ
トして、このレジスタの内容をS/P&P/Sシーケン
サ31を介してホストコンピュータ1に送信する(ステ
ップS31)。換言すると、コマンド・ジェネレータ3
5は、メモリカード2のライトプロテクトがオンになっ
ているか否かの状態をレジスタにセットして、このレジ
スタ内容をホストコンピュータ1に送信する。
When erasure of image data stored in the memory card 2 is set in the host computer 1, the CPU 17 issues a read status register command for confirming the state of the memory card 2 (step). S21), this register instruction is transferred to the serial I / F1
5 to the memory card 2. This read status register instruction is issued for each file to be transmitted. In the memory card 2, when the command generator 35 receives the register command, the command generator 35 sets the state of the erroneous erasure prevention switch 23 in the register, and stores the contents of this register via the S / P & P / S sequencer 31 in the host computer 1. (Step S31). In other words, command generator 3
Reference numeral 5 sets a state as to whether the write protect of the memory card 2 is on or not in a register, and transmits the contents of the register to the host computer 1.

【0041】ホストコンピュータ1において、CPU1
7は、メモリカード2からのレジスタ内容に基づいて、
ライトプロテクトがオンになっているかを判断し(ステ
ップS22)、ライトプロテクトがオンになっていると
きは消去禁止の処理を行う(ステップS23)。
In the host computer 1, the CPU 1
7 is based on the register content from the memory card 2
It is determined whether or not the write protection is turned on (step S22). If the write protection is turned on, erasure prohibition processing is performed (step S23).

【0042】そして、CPU17は、セットコマンド命
令を発行して、消去の対象となる画像データのアドレス
を指定して消去命令を発行する(ステップS24)。C
PU17は、これらのコマンド命令をシリアルI/F1
5を介してメモリカード2に送信する。
Then, the CPU 17 issues a set command instruction, designates an address of image data to be erased, and issues an erase instruction (step S24). C
PU 17 transmits these command instructions to serial I / F 1
5 to the memory card 2.

【0043】一方、メモリカード2においては、コマン
ド・ジェネレータ35は、ホストコンピュータ1から上
述のセットコマンド命令を受信すると、ビジー信号をS
/P&P/Sシーケンサ31を介してホストコンピュー
タ1に送信する(ステップS32)。
On the other hand, in the memory card 2, when the command generator 35 receives the above-mentioned set command command from the host computer 1, it issues a busy signal to the S
The data is transmitted to the host computer 1 via the / P & P / S sequencer 31 (step S32).

【0044】そして、コマンド・ジェネレータ35は、
指定されたアドレスの画像データを消去するためのコマ
ンドを発行して、フラッシュメモリ22に記憶されてる
指定された画像データを消去させる。(ステップS3
3)。なお、フラッシュメモリ22では、1ページ(5
12バイト)の画像データ及び18バイトの管理情報を
1組とするものが所定数からなるブロック毎に、画像デ
ータが消去される。
Then, the command generator 35
A command for erasing the image data at the designated address is issued, and the designated image data stored in the flash memory 22 is erased. (Step S3
3). In the flash memory 22, one page (5
The image data is erased for each predetermined number of blocks each of which is a set of image data of 12 bytes) and management information of 18 bytes.

【0045】コマンド・ジェネレータ35は、上記画像
データの消去が終了すると、レジスタにレディ状態をセ
ットして、そのレジスタ内容を示すレディ信号をS/P
&P/Sシーケンサ31を介してホストコンピュータ1
に送信する(ステップS34)。
When the erasure of the image data is completed, the command generator 35 sets a ready state in the register and sends a ready signal indicating the contents of the register to the S / P.
Host computer 1 via & P / S sequencer 31
(Step S34).

【0046】一方、ホストコンピュータ1では、CPU
17は、上述のステップS24でセットコマンドの命令
を発行した後、リード・ステータス・レジスタ命令を発
行して、メモリカード2の状態を確認する(ステップS
25)。そして、CPU17は、メモリカード2からシ
リアルI/F15を介して送信される信号がビジー信号
であるかを判断し、ビジー信号でないときは再びリード
・ステータス・レジスタ命令を発行する(ステップS2
6)。したがって、メモリカード2からビジー信号が送
信されている間は、ステップS25及びステップS26
の処理が繰り返し行われる。
On the other hand, in the host computer 1, the CPU
17 issues a set command instruction in step S24, issues a read status register instruction, and checks the state of the memory card 2 (step S24).
25). Then, the CPU 17 determines whether the signal transmitted from the memory card 2 via the serial I / F 15 is a busy signal, and if not, issues a read status register command again (step S2).
6). Therefore, while the busy signal is being transmitted from the memory card 2, steps S25 and S26 are performed.
Is repeated.

【0047】CPU17は、メモリカード2から送信さ
れた信号がビジー信号でないと判断したとき、すなわち
送信された信号がレディ信号であると判断したときは、
メモリカード2に消去すべき画像データがあるかを判断
し、消去すべき続きの画像データがあるときはステップ
S24に進み、消去すべき続きの画像データがないとき
は画像データの消去を終了する(ステップS27)。す
なわち、消去の対象となる画像データのファイルは、上
述のステップS24〜ステップS27及びステップS3
2〜ステップS34の処理が繰り返し行われることによ
って、上述のブロック毎に消去される。
When the CPU 17 determines that the signal transmitted from the memory card 2 is not a busy signal, that is, determines that the transmitted signal is a ready signal,
It is determined whether or not there is image data to be erased in the memory card 2. If there is continuous image data to be erased, the process proceeds to step S 24. If there is no continuous image data to be erased, the erasure of the image data ends. (Step S27). That is, the file of the image data to be erased is stored in the above-described steps S24 to S27 and step S3.
2 to step S34 are repeatedly performed, so that each block is erased.

【0048】以上のように、本発明は、ファイルを消去
する毎に、メモリカード2のライトプロテクトがオンか
オフかを判断しているので、例えばメモリカード2をホ
ストコンピュータ1に装着しているときに誤消去防止ス
イッチ23によるライトプロテクトの設定が変わって
も、その設定内容に応じて画像データの消去禁止の処理
を行うことができる。
As described above, according to the present invention, each time a file is erased, it is determined whether the write protection of the memory card 2 is on or off. Therefore, for example, the memory card 2 is mounted on the host computer 1. Even if the setting of the write protection by the erroneous erasure prevention switch 23 is changed, the process of prohibiting erasure of the image data can be performed according to the setting.

【0049】なお、本発明は、上述の実施の形態に限定
されるものではなく、特許請求の範囲に記載された技術
的思想の範囲内において、種々の設計上の変更が可能で
あるのは言うまでもない。
It should be noted that the present invention is not limited to the above embodiment, and that various design changes are possible within the scope of the technical idea described in the claims. Needless to say.

【0050】例えば、誤消去防止スイッチ23は、上述
したように、板状部材24の長手方向の一端側であって
装着方向の反対側にあり、かつ、上記長手方向に直交す
る方向にスライド自在であればよい。したがって、例え
ば図7及び図8に示すように、板状部材24の主面に設
けてもよい。このとき、図7に示すように、誤消去防止
スイッチ23が装着方向に対して左側に位置していると
きは、ライトプロテクトをオフに設定することができ
る。また、図8に示すように、誤消去防止スイッチ23
が装着方向に対して右側に位置しているときは、空隙部
26が形成される。このとき、ライトプロテクトをオン
に設定することができる。したがって、利用者は、メモ
リカード2のみを例えば被服のポケット等にいれておい
ても、上記空隙部26の有無を触覚で判断することがで
き、ライトプロテクトされているかを容易に判断するこ
とができる。
For example, as described above, the erroneous erasure prevention switch 23 is slidable in one direction in the longitudinal direction of the plate member 24 and on the opposite side to the mounting direction, and in a direction orthogonal to the longitudinal direction. Should be fine. Therefore, for example, as shown in FIGS. 7 and 8, it may be provided on the main surface of the plate member 24. At this time, as shown in FIG. 7, when the erroneous erasure prevention switch 23 is located on the left side with respect to the mounting direction, the write protection can be set to off. Also, as shown in FIG.
Is located on the right side with respect to the mounting direction, the gap 26 is formed. At this time, the write protection can be set to ON. Therefore, even if the user puts only the memory card 2 in, for example, a pocket of clothes, the user can judge the presence or absence of the gap 26 by tactile sensation, and easily determine whether or not the memory card 2 is write-protected. it can.

【0051】[0051]

【発明の効果】以上詳細に説明したように、本発明に係
るメモリカードでは、フラッシュメモリへのデータの書
き込みを禁止する設定を行うスイッチの設定状態を制御
手段によりインターフェース手段を介して制御装置に送
信するので、上記フラッシュメモリへのデータの書き込
みが禁止されていない場合に、上記制御装置から上記イ
ンターフェース手段を介して送信されるデータをフラッ
シュメモリに記憶することができ、上記スイッチの設定
内容に応じてデータの書き込み禁止の処理を行ったり、
又は、データの記録を行うことができる。
As described above in detail, in the memory card according to the present invention, the setting state of the switch for setting the writing of data to the flash memory to be inhibited is controlled by the control means via the interface means to the control device. Since transmission is performed, when data writing to the flash memory is not prohibited, data transmitted from the control device via the interface means can be stored in the flash memory, and the setting contents of the switch can be stored in the flash memory. In accordance with the data write-protection process,
Alternatively, data can be recorded.

【0052】また、本発明に係るデータ送受信装置で
は、制御装置は、メモリカードにインターフェース手段
を介して状態読み出し命令を送信し、フラッシュメモリ
に対するデータの書き込み禁止されているか否かを判断
し、データの書き込みが禁止されていない場合に、上記
インターフェース手段を介して上記メモリカードに書き
込み命令とデータを送信して、上記メモリカードのフラ
ッシュメモリに記憶させることができる。
In the data transmitting / receiving apparatus according to the present invention, the control device transmits a status read command to the memory card via the interface means, and determines whether or not data writing to the flash memory is prohibited. When the writing of data is not prohibited, a write command and data can be transmitted to the memory card via the interface means and stored in the flash memory of the memory card.

【0053】また、本発明に係るメモリカードでは、フ
ラッシュメモリへのデータの書き込みを禁止する設定を
行うスイッチの設定状態を制御手段によりインターフェ
ース手段を介して制御装置に送信するので、上記フラッ
シュメモリへのデータの書き込みが禁止されていない場
合に、上記制御装置から上記インターフェース手段を介
して送信される命令に応じて上記フラッシュメモリに記
憶されているデータを消去することができ、上記スイッ
チの設定内容に応じてデータの消去を禁止にしたり、又
は、データの消去を可能にしたりすることができる。
Also, in the memory card according to the present invention, the setting state of the switch for setting the writing of data to the flash memory is prohibited is transmitted by the control means to the control device via the interface means. When the writing of the data is not prohibited, the data stored in the flash memory can be erased according to a command transmitted from the control device via the interface means, and the setting contents of the switch can be erased. Erasure of data can be prohibited or erasure of data can be enabled in accordance with the conditions.

【0054】さらに、本発明に係るデータ送受信装置で
は、制御装置は、メモリカードにインターフェース手段
を介して状態読み出し命令を送信し、フラッシュメモリ
に対するデータの書き込み禁止されているか否かを判断
し、データの書き込みが禁止されていない場合に、デー
タの書き込みが禁止されていない場合に、上記インター
フェース手段を介して上記メモリカードに消去命令と消
去の対象となるアドレスを送信するので、上記消去命令
とともに送信されるアドレスによって指定されるデータ
を上記メモリカードのフラッシュメモリから消去するこ
とができる。
Further, in the data transmission / reception device according to the present invention, the control device transmits a status read command to the memory card via the interface means, and determines whether or not data writing to the flash memory is prohibited. If the writing of data is not prohibited, and if the writing of data is not prohibited, the erase command and the address to be erased are transmitted to the memory card via the interface means. The data specified by the specified address can be erased from the flash memory of the memory card.

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明を適用したホストコンピュータの構成を
示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a host computer to which the present invention has been applied.

【図2】本発明を適用したメモリカードの構成を示すブ
ロック図である。
FIG. 2 is a block diagram showing a configuration of a memory card to which the present invention is applied.

【図3】上記メモリカードの外観斜視図である。FIG. 3 is an external perspective view of the memory card.

【図4】上記メモリカードの外観斜視図である。FIG. 4 is an external perspective view of the memory card.

【図5】ホストコンピュータとメモリカードの動作を説
明するフローチャートである。
FIG. 5 is a flowchart illustrating operations of a host computer and a memory card.

【図6】ホストコンピュータとメモリカードの動作を説
明するフローチャートである。
FIG. 6 is a flowchart illustrating operations of a host computer and a memory card.

【図7】上記メモリカードの他の外観斜視図である。FIG. 7 is another perspective view of the external appearance of the memory card.

【図8】上記メモリカードの他の外観斜視図である。FIG. 8 is another perspective view of the external appearance of the memory card.

【符号の説明】[Explanation of symbols]

11 ハードディスク、17 CPU、21 コントロ
ールIC、22 フラッシュメモリ、23 誤消去防止
スイッチ、31 S/P&P/Sシーケンサ、35 コ
マンド・ジェネレータ
11 hard disk, 17 CPU, 21 control IC, 22 flash memory, 23 erasure prevention switch, 31 S / P & P / S sequencer, 35 command generator

Claims (18)

【特許請求の範囲】[Claims] 【請求項1】 制御装置から送信されるデータを記憶す
るメモリカードにおいて、 上記制御装置からのデータを記憶するフラッシュメモリ
と、 上記フラッシュメモリへのデータの書き込みを禁止する
設定を行うスイッチと、 上記制御装置とのインターフェース手段と、 上記制御装置から上記インターフェース手段を介して送
信される命令に応じて上記制御装置から上記インターフ
ェース手段を介して送信されるデータを上記フラッシュ
メモリに記憶するよう制御する制御手段とを備え、 上記制御手段は、上記スイッチの設定状態を上記インタ
ーフェース手段を介して上記制御装置に送信することを
特徴とするメモリカード。
1. A memory card for storing data transmitted from a control device, a flash memory for storing data from the control device, a switch for performing a setting for prohibiting writing of data to the flash memory, An interface unit with a control device, and control for controlling to store data transmitted from the control device via the interface unit in the flash memory in accordance with a command transmitted from the control device via the interface unit. Means, wherein the control means transmits the setting state of the switch to the control device via the interface means.
【請求項2】 上記インターフェース手段は、少なくと
も1つのデータ用接続端子を含む9つの接続用端子を備
えることを特徴とする請求項1記載のメモリカード。
2. The memory card according to claim 1, wherein said interface means includes nine connection terminals including at least one data connection terminal.
【請求項3】 上記インターフェース手段を介して上記
制御装置とシリアル通信を行うことを特徴とする請求項
1記載のメモリカード。
3. The memory card according to claim 1, wherein serial communication is performed with said control device via said interface means.
【請求項4】 複数の面にわたる凹部を備え、 上記スイッチは上記凹部に構成されることを特徴とする
請求項1記載のメモリカード。
4. The memory card according to claim 1, further comprising a concave portion extending over a plurality of surfaces, wherein the switch is configured in the concave portion.
【請求項5】 上記スイッチは、上記凹部の少なくとも
1つの面に沿った方向にスライド自在とされていること
を特徴とする請求項4記載のメモリカード。
5. The memory card according to claim 4, wherein the switch is slidable in a direction along at least one surface of the recess.
【請求項6】 上記スイッチを一方向にスライドしたと
きに空隙部が形成されることを特徴とする請求項5記載
のメモリカード。
6. The memory card according to claim 5, wherein a gap is formed when the switch is slid in one direction.
【請求項7】 制御装置とメモリカードとでデータの送
受信を行うデータ送受信装置において、 上記メモリカードは、上記制御装置から送信されるデー
タを記憶するフラッシュメモリと、上記フラッシュメモ
リへのデータの書き込みを禁止する設定を行うスイッチ
と、上記制御装置とのインターフェース手段と、上記制
御装置から上記インターフェース手段を介して送信され
る状態読み出し命令に応じて上記スイッチの設定状態を
上記インターフェース手段を介して上記制御装置に送信
するとともに、上記スイッチに書き込み禁止に設定され
ていない場合に上記制御装置から上記インターフェース
手段を介して送信される書き込み命令に応じて上記書き
込み命令とともに送信されるデータを上記フラッシュメ
モリに記憶するよう制御する制御手段とを備え、 上記制御装置は、上記メモリカードとのインターフェー
ス手段を備え、上記メモリカードに上記インターフェー
ス手段を介して状態読み出し命令を送信し、上記フラッ
シュメモリに対するデータの書き込み禁止されているか
否かを判断し、データの書き込みが禁止されていない場
合に、上記インターフェース手段を介して上記メモリカ
ードに書き込み命令とデータを送信することを特徴とす
るデータ送受信装置。
7. A data transmitting / receiving device for transmitting / receiving data between a control device and a memory card, wherein the memory card includes a flash memory for storing data transmitted from the control device, and a data write to the flash memory. A switch for setting to prohibit, an interface means with the control device, and a setting state of the switch via the interface means in response to a status read command transmitted from the control device via the interface means. In addition to transmitting the data to the control device, the data transmitted together with the write command in response to the write command transmitted from the control device through the interface means when the switch is not set to write-protected, to the flash memory. Control to control to remember The control device includes an interface unit with the memory card, transmits a status read command to the memory card via the interface unit, and determines whether data writing to the flash memory is prohibited. A data transmission / reception device which transmits a write command and data to the memory card via the interface means when data writing is not prohibited.
【請求項8】 上記メモリカードのインターフェース手
段は、少なくとも1つのデータ用接続端子を含む9つの
接続用端子を備えることを特徴とする請求項7記載のデ
ータ送受信装置。
8. The data transmission / reception device according to claim 7, wherein the interface means of the memory card includes nine connection terminals including at least one data connection terminal.
【請求項9】 上記メモリカードと上記制御装置は、各
々の上記インターフェース手段を介してシリアル通信を
行うことを特徴とする請求項7記載のデータ送受信装
置。
9. The data transmission / reception device according to claim 7, wherein the memory card and the control device perform serial communication via the respective interface means.
【請求項10】 制御装置から送信されるデータを記憶
するメモリカードにおいて、 上記制御装置からのデータを記憶するフラッシュメモリ
と、 上記フラッシュメモリへのデータの書き込みを禁止する
設定を行うスイッチと、 上記制御装置とのインターフェース手段と、 上記制御装置から上記インターフェース手段を介して送
信される命令に応じて上記フラッシュメモリに記憶され
たデータを消去するよう制御する制御手段とを備え、 上記制御手段は、上記スイッチの設定状態を上記インタ
ーフェース手段を介して上記制御装置に送信することを
特徴とするメモリカード。
10. A memory card for storing data transmitted from a control device, a flash memory for storing data from the control device, a switch for setting a setting to prohibit writing of data to the flash memory, Interface means for a control device, and control means for controlling to erase data stored in the flash memory in accordance with a command transmitted from the control device via the interface means, wherein the control means comprises: A memory card for transmitting a setting state of the switch to the control device via the interface means.
【請求項11】 上記インターフェース手段は、少なく
とも1つのデータ用接続端子を含む9つの接続用端子を
備えることを特徴とする請求項10記載のメモリカー
ド。
11. The memory card according to claim 10, wherein said interface means includes nine connection terminals including at least one data connection terminal.
【請求項12】 上記インターフェース手段を介して上
記制御装置とシリアル通信を行うことを特徴とする請求
項10記載のメモリカード。
12. The memory card according to claim 10, wherein serial communication is performed with said control device via said interface means.
【請求項13】 複数の面にわたる凹部を備え、 上記スイッチは上記凹部に構成されることを特徴とする
請求項10記載のメモリカード。
13. The memory card according to claim 10, further comprising a recess extending over a plurality of surfaces, wherein the switch is configured in the recess.
【請求項14】 上記スイッチは、上記凹部の少なくと
も1つの面に沿った方向にスライド自在とされているこ
とを特徴とする請求項13記載のメモリカード。
14. The memory card according to claim 13, wherein the switch is slidable in a direction along at least one surface of the recess.
【請求項15】 上記スイッチを一方向にスライドした
ときに空隙部が形成されることを特徴とする請求項14
記載のメモリカード。
15. A gap is formed when the switch is slid in one direction.
The memory card as described.
【請求項16】 制御装置とメモリカードとでデータの
送受信を行うデータ送受信装置において、 上記メモリカードは、上記制御装置から送信されるデー
タを記憶するフラッシュメモリと、上記フラッシュメモ
リへのデータの書き込みを禁止する設定を行うスイッチ
と、上記制御装置とのインターフェース手段と、上記制
御装置から上記インターフェース手段を介して送信され
る状態読み出し命令に応じて上記スイッチの設定状態を
上記インターフェース手段を介して上記制御装置に送信
するとともに、上記スイッチに書き込み禁止に設定され
ていない場合に上記制御装置から上記インターフェース
手段を介して送信される消去命令に応じて上記消去命令
とともに送信されるアドレスによって指定されるデータ
を上記フラッシュメモリから消去するよう制御する制御
手段とを備え、 上記制御装置は、上記メモリカードとのインターフェー
ス手段を備え、上記メモリカードに上記インターフェー
ス手段を介して状態読み出し命令を送信し、上記フラッ
シュメモリに対するデータの書き込み禁止されているか
否かを判断し、データの書き込みが禁止されていない場
合に、上記インターフェース手段を介して上記メモリカ
ードに消去命令と消去の対象となるアドレスを送信する
ことを特徴とするデータ送受信装置。
16. A data transmitting / receiving apparatus for transmitting / receiving data between a control device and a memory card, wherein the memory card includes a flash memory for storing data transmitted from the control device, and a data write to the flash memory. A switch for setting to prohibit, an interface means with the control device, and a setting state of the switch via the interface means in response to a status read command transmitted from the control device via the interface means. Data specified by an address transmitted to the control device and transmitted together with the erase command in response to the erase command transmitted from the control device via the interface means when the switch is not set to write-protected. From the above flash memory The control device includes an interface with the memory card, transmits a status read command to the memory card via the interface, and inhibits writing of data to the flash memory. A data transmission / reception device for transmitting an erasure command and an address to be erased to the memory card via the interface means if the data writing is not prohibited. .
【請求項17】 上記メモリカードのインターフェース
手段は、少なくとも1つのデータ用接続端子を含む9つ
の接続用端子を備えることを特徴とする請求項16記載
のデータ送受信装置。
17. The data transmission / reception device according to claim 16, wherein the interface means of the memory card includes nine connection terminals including at least one data connection terminal.
【請求項18】 上記メモリカードと上記制御装置は、
各々の上記インターフェース手段を介してシリアル通信
を行うことを特徴とする請求項16記載のデータ送受信
装置。
18. The memory card and the control device,
17. The data transmission / reception device according to claim 16, wherein serial communication is performed via each of said interface means.
JP11266052A 1999-09-20 1999-09-20 Memory card and data transmitting and receiving device Pending JP2000099676A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11266052A JP2000099676A (en) 1999-09-20 1999-09-20 Memory card and data transmitting and receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11266052A JP2000099676A (en) 1999-09-20 1999-09-20 Memory card and data transmitting and receiving device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP9146913A Division JPH10340575A (en) 1997-06-04 1997-06-04 External memory device, its controller and data transmission/reception device

Publications (1)

Publication Number Publication Date
JP2000099676A true JP2000099676A (en) 2000-04-07

Family

ID=17425724

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11266052A Pending JP2000099676A (en) 1999-09-20 1999-09-20 Memory card and data transmitting and receiving device

Country Status (1)

Country Link
JP (1) JP2000099676A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7284132B2 (en) 2002-01-24 2007-10-16 Matsushita Electric Industrial Co., Ltd. Memory card

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7284132B2 (en) 2002-01-24 2007-10-16 Matsushita Electric Industrial Co., Ltd. Memory card

Similar Documents

Publication Publication Date Title
JPH10340575A (en) External memory device, its controller and data transmission/reception device
JP3104646B2 (en) External storage device
JP3718578B2 (en) Memory management method and memory management device
JP3898305B2 (en) Semiconductor storage device, control device and control method for semiconductor storage device
US7360715B2 (en) External storage apparatus and control apparatus thereof, and data transmission/reception apparatus
US4891506A (en) Multi-use portable electronic device
TW484057B (en) External storage device using non-volatile semiconductor memory
JP2005327296A (en) Method and apparatus to erase hidden memory in memory card
US6786417B1 (en) Memory card with write protection switch
JP3519954B2 (en) Chip enable signal generation circuit and memory device
JP2004213574A (en) Data storage
JP2003242470A (en) External connecting device and host device
JP2008225672A (en) Semiconductor memory device
JP2003196613A (en) Device and method for controlling memory card
JP2000099676A (en) Memory card and data transmitting and receiving device
JP4337873B2 (en) Memory card, control device therefor, and data transmission / reception system
JPH11317068A (en) Memory card
JP2009176147A (en) Electronic equipment and method for determining permission of access to memory of electronic equipment
JP4438692B2 (en) Memory card, control device and data processing system
JP2002183700A (en) Memory card, control device, data processing system and data processing method
JP3080722U (en) Extended compact memory card with write protection
TW202213071A (en) Vga card assembly, control device thereof, and image output method performed thereby
KR200296225Y1 (en) Copydevice equipping SD player
JP2002024788A5 (en)
JP2007206957A (en) Ic card, information processing system, integrated circuit chip, and data processor

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040615

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20040816

A911 Transfer of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20040826

A912 Removal of reconsideration by examiner before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20050107