JP2000306389A - Storage device using non-volatile semiconductor memory - Google Patents

Storage device using non-volatile semiconductor memory

Info

Publication number
JP2000306389A
JP2000306389A JP11113197A JP11319799A JP2000306389A JP 2000306389 A JP2000306389 A JP 2000306389A JP 11113197 A JP11113197 A JP 11113197A JP 11319799 A JP11319799 A JP 11319799A JP 2000306389 A JP2000306389 A JP 2000306389A
Authority
JP
Japan
Prior art keywords
sector
host computer
data
sector data
read
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
JP11113197A
Other languages
Japanese (ja)
Inventor
Takayuki Tamura
隆之 田村
Kazuo Nakamura
一男 中村
Kunihiro Katayama
国弘 片山
Shinya Iguchi
慎也 井口
Tomihisa Hatano
富久 幡野
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.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
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 Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP11113197A priority Critical patent/JP2000306389A/en
Publication of JP2000306389A publication Critical patent/JP2000306389A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain a high-speed storage device for a sector read command in a storage device using a non-volatile semiconductor memory such as a flush memory. SOLUTION: Sector data that are not read by a host computer 2 are also stored into a data buffer 13. When the host computer 2 successively reads the sector data, the data transmission time from a flush memory 17 can be reduced since the sector data have already been stored in the data buffer 13, thus achieving a high-speed sector read.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、不揮発性半導体メ
モリを記憶媒体として用いた記憶装置に係り、特に、セ
クタデータ読み出しの高速化を図った記憶装置に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a storage device using a nonvolatile semiconductor memory as a storage medium, and more particularly, to a storage device for reading sector data at high speed.

【0002】[0002]

【従来の技術】不揮発性半導体メモリを用いた記憶装置
として、フラッシュメモリを用いた記憶装置がある。こ
の従来例として、特開平5−27924号公報に示され
る「半導体メモリを用いた外部記憶システム及びその制
御方法」がある。従来の記憶装置では、ホストコンピュ
ータが書き込んだコマンドおよびこのコマンドと一緒に
ホストコンピュータが書き込むセクタアドレスを基に、
セクタデータの書き込みや読み出し等を行っている。
2. Description of the Related Art As a storage device using a nonvolatile semiconductor memory, there is a storage device using a flash memory. As this conventional example, there is "an external storage system using a semiconductor memory and a control method thereof" described in Japanese Patent Application Laid-Open No. 5-27924. In a conventional storage device, based on a command written by the host computer and a sector address written by the host computer along with the command,
It performs writing and reading of sector data.

【0003】また、記憶装置にセクタデータを格納する
パーソナルコンピュータなどのホストコンピュータは、
連続したセクタデータを読み出すときに、複数のセクタ
リード・コマンドに分割する。例えば、64Kバイト
(128セクタ)単位にセクタデータを読み出すホスト
コンピュータが128Kバイト(256セクタ)のセク
タデータを読み出すとき、ホストコンピュータは128
セクタのセクタリード・コマンドを2回発行して、12
8Kバイトのセクタデータを読み出す。
A host computer such as a personal computer that stores sector data in a storage device includes:
When reading continuous sector data, it is divided into a plurality of sector read commands. For example, when a host computer reading sector data in units of 64 Kbytes (128 sectors) reads sector data of 128 Kbytes (256 sectors), the host computer
The sector read command of the sector is issued twice and 12
Read 8K bytes of sector data.

【0004】[0004]

【発明が解決しようとする課題】上記従来技術は、ホス
トコンピュータによるセクタデータの読み出しの際に、
連続したホストコンピュータからのセクタリード・コマ
ンドに対して配慮がなされておらず、セクタデータ読み
出しに対する高速化に問題がある。
According to the above prior art, when a host computer reads sector data,
No consideration is given to successive sector read commands from the host computer, and there is a problem in increasing the speed of reading sector data.

【0005】本発明の目的は、ホストコンピュータが連
続してセクタリード・コマンドを発行した場合に、セク
タデータ読み出しの高速化を図ることである。
An object of the present invention is to speed up the reading of sector data when the host computer issues sector read commands continuously.

【0006】[0006]

【課題を解決するための手段】上記目的を達成するため
に、本発明の記憶装置は、まず、ホストコンピュータが
読み出すセクタデータがデータバッファに格納されてい
るかどうかを判別する。データバッファにホストコンピ
ュータが読み出すセクタデータが格納されている場合に
は、記憶装置は即座に、ホストコンピュータに対してセ
クタデータの読み出しが可能であることを通知し、デー
タバッファに格納されているセクタデータをホストコン
ピュータに読み出させる。
In order to achieve the above object, a storage device of the present invention first determines whether or not sector data read by a host computer is stored in a data buffer. If the data buffer stores the sector data to be read by the host computer, the storage device immediately notifies the host computer that the sector data can be read, and notifies the host computer of the sector stored in the data buffer. The data is read by the host computer.

【0007】また、ホストコンピュータが一つのセクタ
データを読み出すときには、ホストコンピュータが読み
出すセクタデータが含まれているフラッシュメモリ内の
ブロック全部をデータバッファに読み出す。
When the host computer reads out one sector data, the host computer reads out all the blocks in the flash memory including the sector data to be read out to the data buffer.

【0008】さらに、ホストコンピュータが複数のセク
タデータを読み出すとき、ホストコンピュータが最後に
読み出すセクタデータが格納されているフラッシュメモ
リ内のブロック全部をデータバッファに読み出す。
Further, when the host computer reads a plurality of sector data, the host computer reads all blocks in the flash memory in which the sector data to be read last is stored into a data buffer.

【0009】そして、ホストコンピュータが最後に読み
出すセクタデータが、フラッシュメモリ内のブロックに
おける最後のセクタデータと一致する場合には、ホスト
コンピュータが読み出すセクタデータの次のセクタアド
レスのセクタデータが格納されているブロックをフラッ
シュメモリからデータバッファに読み出す。
If the last sector data read by the host computer matches the last sector data in the block in the flash memory, the sector data of the next sector address of the sector data read by the host computer is stored. Block from the flash memory to the data buffer.

【0010】これにより、ホストコンピュータが連続し
たセクタデータを読み出すために、続けてセクタリード
・コマンドを発行した場合、本発明の記憶装置は、ホス
トコンピュータが最初に読み出すセクタデータを準備す
るための時間を大幅に削減できる。
Accordingly, when the host computer continuously issues a sector read command in order to read continuous sector data, the storage device of the present invention provides a time required for the host computer to prepare sector data to be read first. Can be greatly reduced.

【0011】以上のように、ホストコンピュータが読み
出すセクタデータを予め準備することにより、セクタデ
ータの読み出しに対する高速化が可能になる。
As described above, by preparing the sector data to be read by the host computer in advance, it becomes possible to speed up the reading of the sector data.

【0012】[0012]

【発明の実施の形態】以下、本発明に係る不揮発性半導
体メモリを用いた記憶装置の実施例について説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of a storage device using a nonvolatile semiconductor memory according to the present invention will be described below.

【0013】図1に、本発明の一実施例である記憶装置
の構成をコンピュータの記憶装置への適用を例にとり示
す。
FIG. 1 shows an example of the configuration of a storage device according to an embodiment of the present invention, which is applied to a storage device of a computer.

【0014】図1において、1は不揮発性半導体メモリ
を用いた記憶装置であり、ホストコンピュータ2の記憶
装置である。ホストコンピュータ2は、記憶装置1に対
してセクタデータの書き込みや読み出しを行う。ホスト
コンピュータ2の例として、パーソナルコンピュータ
(PC)や、デジタルスチルカメラなどがある。
In FIG. 1, reference numeral 1 denotes a storage device using a nonvolatile semiconductor memory, which is a storage device of a host computer 2. The host computer 2 writes and reads sector data to and from the storage device 1. Examples of the host computer 2 include a personal computer (PC) and a digital still camera.

【0015】記憶装置1は、不揮発性半導体メモリとし
てフラッシュメモリを用いていることからフラッシュメ
モリカードと呼ばれる。以下、記憶装置1をフラッシュ
メモリカード1と称する。
The storage device 1 is called a flash memory card because a flash memory is used as a nonvolatile semiconductor memory. Hereinafter, the storage device 1 is referred to as a flash memory card 1.

【0016】フラッシュメモリカード1は、PCMCI
Aバス21を介してホストコンピュータ2からのコマン
ドの受け付けやセクタデータの授受を行う。図1では、
PCMCIAインタフェースに準拠したPCMCIAバ
ス21を例に説明する。PCMCIAバスの他に、ID
E(ATA)インタフェースやSCSIインタフェース
など様々なインタフェースがあり、外部記憶装置を必要
とするホストコンピュータ2と間のプロトコルの取り決
めを有するものであれば特に限定はない。
The flash memory card 1 is a PCMCI
It receives commands from the host computer 2 and transfers sector data via the A bus 21. In FIG.
The PCMCIA bus 21 conforming to the PCMCIA interface will be described as an example. In addition to the PCMCIA bus, ID
There is no particular limitation as long as there are various interfaces such as an E (ATA) interface and a SCSI interface, and a protocol agreement with the host computer 2 that requires an external storage device.

【0017】フラッシュメモリカード1において、11
は、ホストコンピュータ2とのインタフェースを司るホ
ストインタフェース部である。
In the flash memory card 1, 11
Is a host interface unit for controlling an interface with the host computer 2.

【0018】12は、ホストコンピュータ2とデータバ
ッファ13間、および、データバッファ13とフラッシ
ュメモリ17間におけるセクタデータ転送を制御するデ
ータバッファ制御部である。
Reference numeral 12 denotes a data buffer control unit for controlling sector data transfer between the host computer 2 and the data buffer 13 and between the data buffer 13 and the flash memory 17.

【0019】13は、フラッシュメモリカード1とホス
トコンピュータ2との間でセクタデータの授受を行うと
き、セクタデータを一時格納するためのデータバッファ
である。
Reference numeral 13 denotes a data buffer for temporarily storing sector data when exchanging sector data between the flash memory card 1 and the host computer 2.

【0020】15は、フラッシュメモリ17とのインタ
フェースを司るフラッシュインタフェース部である。
Reference numeral 15 denotes a flash interface unit for controlling an interface with the flash memory 17.

【0021】16は、マイクロコンピュータ(以下、マ
イコンと略す)であり、ホストコンピュータ2が書き込
むコマンドの解析や制御、ホストコンピュータ2が書き
込むセクタデータの管理、そして、フラッシュメモリ1
7の管理を行う。
Reference numeral 16 denotes a microcomputer (hereinafter abbreviated as a microcomputer) which analyzes and controls commands written by the host computer 2, manages sector data written by the host computer 2, and controls the flash memory 1
7 is performed.

【0022】17は、ホストコンピュータ2が書き込む
セクタデータを格納するためのフラッシュメモリであ
る。フラッシュメモリ17は、フラッシュバス106に
よって、フラッシュインタフェース部15に接続されて
いる。図3に、フラッシュメモリ17の内部構成を示
す。フラッシュメモリ17は、四つのセクタで一つのブ
ロックを構成している。ここで、一つのブロックは、同
時に一括消去が可能である。
Reference numeral 17 denotes a flash memory for storing sector data to be written by the host computer 2. The flash memory 17 is connected to the flash interface unit 15 by a flash bus 106. FIG. 3 shows the internal configuration of the flash memory 17. The flash memory 17 forms one block with four sectors. Here, one block can be simultaneously erased at a time.

【0023】図3に示すフラッシュメモリ17では、ブ
ロックアドレスBA(k)のブロックデータには、セク
タアドレスSA(4n)、SA(4n+1),SA(4
n+2),SA(4n+3)の四つのセクタデータが格
納されている。また、ブロックアドレスBA(m)のブ
ロックデータには、セクタアドレスSA(4n+4)、
SA(4n+5),SA(4n+6),SA(4n+
7)の四つのセクタデータが格納されている。セクタア
ドレスは、ホストコンピュータ2がアドレッシングする
セクタデータのアドレスである。ブロックアドレスは、
フラッシュメモリ17に格納されているブロックデータ
をアクセスするためのアドレスである。セクタアドレス
とブロックアドレスの関係は、マイコン16によって制
御される。
In the flash memory 17 shown in FIG. 3, the block data of the block address BA (k) includes sector addresses SA (4n), SA (4n + 1), SA (4n).
4 (n + 2) and SA (4n + 3). The block data of the block address BA (m) includes a sector address SA (4n + 4),
SA (4n + 5), SA (4n + 6), SA (4n +
7) four sector data are stored. The sector address is the address of the sector data addressed by the host computer 2. The block address is
This is an address for accessing block data stored in the flash memory 17. The relationship between the sector address and the block address is controlled by the microcomputer 16.

【0024】図2は、図1に示すフラッシュメモリカー
ド1の動作フローの概略を示している。まず、ステップ
S201において、フラッシュメモリカード1は、ホス
トコンピュータ2によるコマンドの書き込みを待つ。ホ
ストコンピュータ2が書き込むコマンドは、ホストイン
タフェース部11に書き込まれる。ホストインタフェー
ス部11は、ホストコンピュータ2がコマンドを書き込
んだ時、マイコンバス105を通して、マイコン16に
通知する。
FIG. 2 shows an outline of an operation flow of the flash memory card 1 shown in FIG. First, in step S201, the flash memory card 1 waits for writing of a command by the host computer 2. Commands written by the host computer 2 are written to the host interface unit 11. The host interface unit 11 notifies the microcomputer 16 via the microcomputer bus 105 when the host computer 2 writes the command.

【0025】次いで、ステップS202において、コマ
ンドの種類を判定する。マイコン16は、マイコンバス
105を通して、ホストインタフェース部11に書き込
まれているコマンドを読み出し、解析する。
Next, in step S202, the type of command is determined. The microcomputer 16 reads out and analyzes the command written in the host interface unit 11 through the microcomputer bus 105.

【0026】ホストコンピュータ2がセクタデータを書
き込むコマンドである「セクタライト・コマンド」を書
き込むと、フラッシュメモリカード1は「セクタライト
処理(ステップS203)」を実行する。ステップS2
03のセクタライト処理は、ホストコンピュータ2が書
き込んだセクタデータをフラッシュメモリカード1のフ
ラッシュメモリ17に格納する処理を行う。
When the host computer 2 writes a "sector write command" which is a command for writing sector data, the flash memory card 1 executes a "sector write process (step S203)". Step S2
In the sector write process 03, the sector data written by the host computer 2 is stored in the flash memory 17 of the flash memory card 1.

【0027】ホストコンピュータ2がセクタデータを読
み出すコマンドである「セクタリード・コマンド」を書
き込むと、フラッシュメモリカード1は「セクタリード
処理(ステップS204)」を実行する。ステップS2
04のセクタリード処理では、フラッシュメモリ17に
格納されているセクタデータをホストコンピュータ2に
出力する。
When the host computer 2 writes a "sector read command" which is a command for reading sector data, the flash memory card 1 executes "sector read processing (step S204)". Step S2
In the sector read process 04, the sector data stored in the flash memory 17 is output to the host computer 2.

【0028】ホストコンピュータ2がセクタデータの転
送を行わないコマンドである「非データ転送コマンド」
を書き込むと、フラッシュメモリカード1は「非データ
転送処理(ステップS205)」を実行する。ここで、
セクタデータの転送を行わないコマンドとは、フラッシ
ュメモリカード1の状態を読み出したり、フラッシュメ
モリカード1に対するパワー制御などの指示を行うコマ
ンドである。
A "non-data transfer command" which is a command by which the host computer 2 does not transfer sector data.
Is written, the flash memory card 1 executes a “non-data transfer process (step S205)”. here,
The command that does not transfer the sector data is a command that reads the state of the flash memory card 1 or instructs the flash memory card 1 to perform power control or the like.

【0029】ここで、図2におけるステップS202で
は、コマンドの種類の判定となっているが、同時に、ホ
ストコンピュータ2がアクセスするセクタデータの先頭
アドレスやセクタ数も判定する。
Here, in step S202 in FIG. 2, the type of command is determined. At the same time, the start address and the number of sectors of the sector data accessed by the host computer 2 are also determined.

【0030】次に、ステップS204のセクタリード処
理の詳細を説明する。
Next, details of the sector read process in step S204 will be described.

【0031】図13は、図2のセクタリード処理(ステ
ップS204)の一実施例である。ここで、ホストコン
ピュータ2が読み出すセクタデータをセクタデータHR
と呼ぶ。セクタデータHRは常に変化し、同一のセクタ
データを示しているわけではない。例えば、ホストコン
ピュータ2がセクタアドレスSA(n)とセクタアドレ
スSA(4n+1)の二つのセクタデータを連続(同一
コマンド)で読み出す時には、ホストコンピュータ2が
読み出す一つ目のセクタデータHRは、セクタアドレス
SA(4n)のセクタデータであり、ホストコンピュー
タ2が読み出す二つ目のセクタデータHRはセクタアド
レスSA(4n+1)のセクタデータとなる。
FIG. 13 shows an embodiment of the sector read process (step S204) of FIG. Here, the sector data read by the host computer 2 is referred to as the sector data HR.
Call. The sector data HR always changes and does not indicate the same sector data. For example, when the host computer 2 reads two sector data of the sector address SA (n) and the sector address SA (4n + 1) consecutively (same command), the first sector data HR read by the host computer 2 is the sector address. The second sector data HR read by the host computer 2 is the sector data of SA (4n), which is the sector data of the sector address SA (4n + 1).

【0032】まず、ステップS301において、データ
バッファ13に、ホストコンピュータ2が読み出すセク
タデータHRが格納されているかどうかを確認する。デ
ータバッファ13にセクタデータHRが格納されていな
い(No)場合には、ステップS302に進む。データ
バッファ13にセクタデータHRが格納されている(Y
es)時には、ステップS307に進む。
First, in step S301, it is determined whether or not the data buffer 13 stores the sector data HR read by the host computer 2. If the sector data HR is not stored in the data buffer 13 (No), the process proceeds to step S302. Sector data HR is stored in data buffer 13 (Y
es) At the time, the process proceeds to step S307.

【0033】ステップS302では、フラッシュメモリ
17からデータバッファ13へ、セクタデータHRを含
むブロックデータの転送が実行中であるかどうかを確認
している。セクタデータHRを含むブロックデータの転
送中でない(No)場合には、ステップS303に進
む。セクタデータHRを含むブロックデータのデータ転
送中である(Yes)場合には、ステップS306に進
む。
In step S302, it is confirmed whether or not block data including sector data HR is being transferred from the flash memory 17 to the data buffer 13. If the block data including the sector data HR is not being transferred (No), the process proceeds to step S303. If the data transfer of the block data including the sector data HR is being performed (Yes), the process proceeds to step S306.

【0034】ステップS303では、セクタデータHR
を含まないブロックデータの転送中であるかどうかを確
認している。セクタデータHRを含まないブロックのデ
ータ転送が実行中(Yes)ならば、ブロックデータ転
送を中断(ステップS304)し、その後、セクタデー
タHRを含むブロックのデータ転送を開始させる(ステ
ップS305)。セクタデータHRを含まないブロック
のデータ転送が実行されていない(No)ならば、セク
タデータHRを含むブロックのデータ転送を開始させる
(ステップS305)。
In step S303, the sector data HR
Checks whether block data that does not include is being transferred. If the data transfer of the block not including the sector data HR is being executed (Yes), the block data transfer is interrupted (step S304), and then the data transfer of the block including the sector data HR is started (step S305). If the data transfer of the block not including the sector data HR has not been executed (No), the data transfer of the block including the sector data HR is started (step S305).

【0035】次いで、ステップS306では、フラッシ
ュメモリ17からデータバッファ13へのセクタデータ
HRのデータ転送が終了したかどうかを確認している。
セクタデータHRのデータ転送が終了するとステップS
307に進む。
Next, in step S306, it is confirmed whether or not the data transfer of the sector data HR from the flash memory 17 to the data buffer 13 has been completed.
When the data transfer of the sector data HR is completed, step S
Proceed to 307.

【0036】ステップS307では、データバッファ1
3にホストコンピュータ2が読み出すセクタデータHR
が格納されたことをホストコンピュータ2に知らせるた
めに、ホストコンピュータ2に対するデータ・レディを
出力する。
In step S307, the data buffer 1
3, the sector data HR read by the host computer 2.
Is output to the host computer 2 in order to inform the host computer 2 that is stored.

【0037】ホストコンピュータ2は、フラッシュメモ
リカード1がデータ・レディを出力すると、セクタデー
タHRの読み出しを開始する。
When the flash memory card 1 outputs data ready, the host computer 2 starts reading sector data HR.

【0038】次いで、ステップS308(図14)にお
いて、フラッシュメモリカード1は、ホストコンピュー
タ2が読み出しているセクタデータがホストコンピュー
タ2が最後に読み出すセクタデータであるかどうかを確
認する。ホストコンピュータ2が最後に読み出すセクタ
データである場合(Yes)には、ステップS310に
進む。ホストコンピュータ2が最後に読み出すセクタデ
ータでない場合(No)には、ステップS309に進
む。
Next, in step S308 (FIG. 14), the flash memory card 1 checks whether the sector data read by the host computer 2 is the last sector data read by the host computer 2. If the sector data is read last by the host computer 2 (Yes), the process proceeds to step S310. If the host computer 2 does not read the last sector data (No), the process proceeds to step S309.

【0039】ステップS310では、ホストコンピュー
タ2が最後に読み出すセクタデータが、フラッシュメモ
リ17のブロックにおける最後のデータであるかどうか
を判定している。例えば、図3を例に説明すると、ホス
トコンピュータ2が読み出すセクタデータがセクタアド
レスSA(4n+3)ならば、Yesとなり、ステップ
S311に進む。ホストコンピュータ2が読み出すセク
タデータがセクタアドレスSA(4n)〜SA(4n+
2)ならば、Noとなり、セクタリード処理は終了す
る。
In step S310, it is determined whether or not the last sector data read by the host computer 2 is the last data in the block of the flash memory 17. For example, referring to FIG. 3, if the sector data read by the host computer 2 is the sector address SA (4n + 3), the result is Yes, and the process proceeds to step S311. The sector data read by the host computer 2 is composed of sector addresses SA (4n) to SA (4n +
If 2), the result is No, and the sector read process ends.

【0040】ステップS311では、次のセクタデータ
が格納されているブロックのデータ転送を開始してい
る。例えば、ホストコンピュータ2が読み出すセクタデ
ータが図3におけるセクタアドレスSA(4n+3)な
らば、ブロックアドレスBA(m)のデータをデータバ
ッファ13に転送することになる。
In step S311, the data transfer of the block storing the next sector data is started. For example, if the sector data read by the host computer 2 is the sector address SA (4n + 3) in FIG. 3, the data of the block address BA (m) is transferred to the data buffer 13.

【0041】また、ステップS309では、フラッシュ
メモリカード1は、ホストコンピュータ2によるセクタ
データの読み出し終了を待つ。ホストコンピュータ2に
よるセクタデータの読み出しが終了する(Yes)と、
ステップS301に戻り、同一の処理を繰り返す。
In step S309, the flash memory card 1 waits for the host computer 2 to finish reading sector data. When the reading of the sector data by the host computer 2 ends (Yes),
Returning to step S301, the same processing is repeated.

【0042】次に、図13と図14で説明したセクタリ
ード処理のフローに関して、具体的な例を用いて、以下
に説明する。
Next, the flow of the sector read process described with reference to FIGS. 13 and 14 will be described using a specific example.

【0043】図4は、ホストコンピュータ2がセクタア
ドレスSA(4n+1)とSA(4n+2)を読み出す
ときのタイミングを示したタイミングチャートである。
FIG. 4 is a timing chart showing the timing when the host computer 2 reads the sector addresses SA (4n + 1) and SA (4n + 2).

【0044】時間t001において、ホストコンピュー
タ2が「セクタリードコマンド1」を書き込むと、マイ
コン16はこれを検出し、コマンドの種類を解析する。
これは、図2におけるステップS201およびS202
に対応している。「セクタリードコマンド1」は、ホス
トコンピュータ2がセクタアドレスSA(4n+1)と
SA(4n+2)を読み出すコマンドである。
At time t001, when the host computer 2 writes the "sector read command 1", the microcomputer 16 detects this and analyzes the type of command.
This corresponds to steps S201 and S202 in FIG.
It corresponds to. “Sector read command 1” is a command by which the host computer 2 reads the sector addresses SA (4n + 1) and SA (4n + 2).

【0045】コマンドの種類が確定した後、ホストコン
ピュータ2が読み出すセクタデータがデータバッファ1
3に格納されているかどうかの判定を行う(図13のス
テップS301)。
After the type of command is determined, the sector data read by the host computer 2 is transferred to the data buffer 1.
3 is determined (step S301 in FIG. 13).

【0046】ここで、図4は、データバッファ13にホ
ストコンピュータ2が読み出すセクタデータが格納され
ていない時を示している。
FIG. 4 shows a case where the data buffer 13 does not store the sector data read by the host computer 2.

【0047】次に、時間t002において、マイコン1
6は、コマンドの種類の判定の結果から、フラッシュメ
モリ17にブロックデータの読み出しを行うために「フ
ラッシュリードコマンド1」を発行する(図13のステ
ップS305)。「フラッシュリードコマンド1」は、
フラッシュメモリ17のブロックアドレスBA(k)の
セクタアドレスSA(4n+1)以降を読み出すフラッ
シュメモリ17へのコマンドである。フラッシュメモリ
17へのコマンドは、フラッシュインタフェース部15
からフラッシュメモリ17に発行される。
Next, at time t002, the microcomputer 1
No. 6 issues a “flash read command 1” to read block data from the flash memory 17 based on the result of the command type determination (step S305 in FIG. 13). "Flash read command 1"
This is a command to the flash memory 17 for reading the sector address SA (4n + 1) and subsequent addresses of the block address BA (k) of the flash memory 17. Commands to the flash memory 17 are transmitted to the flash interface unit 15.
Is issued to the flash memory 17.

【0048】時間t003でフラッシュメモリ17から
データバッファ13への実際のデータ転送が開始され
る。セクタアドレスSA(4n+1)の転送が時間t0
04において終了すると、ホストコンピュータ2に対し
てデータ・レディを出力する(図13のステップS30
7)。ホストコンピュータ2は、データ・レディを受け
て、時間t005において、セクタアドレスSA(4n
+1)のセクタデータの読み出しを開始する。
At time t003, actual data transfer from flash memory 17 to data buffer 13 is started. The transfer of the sector address SA (4n + 1) is performed at time t0.
When the process ends in step 04, a data ready is output to the host computer 2 (step S30 in FIG. 13).
7). Upon receiving the data ready, the host computer 2 receives the sector address SA (4n) at time t005.
Reading of sector data of (+1) is started.

【0049】ここで、図6に、時間t004におけるデ
ータバッファ13の状態を示す。本実施例におけるデー
タバッファ13は、131〜134の四つのセクタデー
タを格納できる容量を持っている。ただし、データバッ
ファの容量はフラッシュメモリ17のブロックと同一ま
たはより大きい容量であれば良い。時間t004におけ
るデータバッファ13は、132にセクタアドレスSA
(4n+1)のセクタデータが格納される。131、1
33そして134は空き状態となる。
FIG. 6 shows the state of the data buffer 13 at time t004. The data buffer 13 in the present embodiment has a capacity capable of storing four sector data 131 to 134. However, the capacity of the data buffer may be the same as or larger than the block of the flash memory 17. At time t004, the data buffer 13 stores the sector address SA in 132.
(4n + 1) sector data are stored. 131, 1
33 and 134 are empty.

【0050】ホストコンピュータ2によるセクタアドレ
スSA(4n+1)のセクタデータの読み出しは、ホス
トコンピュータ2による最後のセクタデータの読み出し
ではないので、フラッシュメモリカード1は、ホストコ
ンピュータ2によるセクタアドレスSA(4n+1)の
セクタデータの読み出しが終了するまで待つ(図14の
ステップS309)。
Since the reading of the sector data of the sector address SA (4n + 1) by the host computer 2 is not the reading of the last sector data by the host computer 2, the flash memory card 1 stores the sector address SA (4n + 1) by the host computer 2. Wait until the reading of the sector data is completed (step S309 in FIG. 14).

【0051】ホストコンピュータ2によるセクタアドレ
スSA(4n+1)のセクタデータの読み出しが終了し
た後、セクタアドレスSA(4n+2)のセクタデータ
がフラッシュメモリ17からデータバッファ13に転送
されているので、時間t007において、ホストコンピ
ュータ2に対してデータ・レディを出力する(図13の
ステップS307)。ホストコンピュータ2は、データ
・レディを受けて、時間t005において、セクタアド
レスSA(4n+2)のセクタデータの読み出しを開始
する。また、ホストコンピュータ2によるセクタアドレ
スSA(4n+2)のセクタデータの読み出しは、ホス
トコンピュータ2による最後のセクタデータの読み出し
なので、「セクタリードコマンド1」に対する処理が終
了する。
After the reading of the sector data at the sector address SA (4n + 1) by the host computer 2 is completed, the sector data at the sector address SA (4n + 2) has been transferred from the flash memory 17 to the data buffer 13, so at time t007 The data ready is output to the host computer 2 (step S307 in FIG. 13). Upon receiving the data ready, the host computer 2 starts reading the sector data of the sector address SA (4n + 2) at time t005. The reading of the sector data at the sector address SA (4n + 2) by the host computer 2 is the reading of the last sector data by the host computer 2, so that the processing for the "sector read command 1" ends.

【0052】ここで、図7は、図4の時間t008にお
けるデータバッファ13の内容を示している。132〜
134にセクタアドレスSA(4n+1)〜SA(4N
+3)のセクタデータが格納されている。
FIG. 7 shows the contents of the data buffer 13 at time t008 in FIG. 132-
134, the sector addresses SA (4n + 1) to SA (4N
+3) sector data is stored.

【0053】図5は、ホストコンピュータ2がセクタア
ドレスSA(4n+3)のセクタデータを読み出すとき
のタイミングを示したタイミングチャートである。ま
た、図5のタイミングチャートは、図4に示したホスト
コンピュータ2による「セクタリードコマンド1」に続
いて、セクタアドレスSA(4n+3)のセクタデータ
を読み出している。
FIG. 5 is a timing chart showing the timing when the host computer 2 reads the sector data of the sector address SA (4n + 3). Further, in the timing chart of FIG. 5, following the "sector read command 1" by the host computer 2 shown in FIG. 4, the sector data of the sector address SA (4n + 3) is read.

【0054】まず、時間t009において、ホストコン
ピュータ2は「セクタリードコマンド2」を書き込む
と、マイコン16はこれを検出し、コマンドの種類を解
析する(図2のステップS201およびS202)。
「セクタリードコマンド2」は、ホストコンピュータ2
がセクタアドレスSA(4n+3)を読み出すコマンド
である。
First, at time t009, when the host computer 2 writes the "sector read command 2", the microcomputer 16 detects this and analyzes the command type (steps S201 and S202 in FIG. 2).
The "sector read command 2"
Is a command for reading the sector address SA (4n + 3).

【0055】図5のホストコンピュータ2によるセクタ
データの読み出しは、図4の読み出しに続いての動作で
あるので、セクタアドレスSA(4n+3)のセクタデ
ータはデータバッファ13の134に格納されている。
したがって、セクタアドレスSA(4n+3)のセクタ
データは、フラッシュメモリ17からデータバッファ1
3に転送する必要はない。
Since the reading of the sector data by the host computer 2 in FIG. 5 is an operation subsequent to the reading in FIG. 4, the sector data of the sector address SA (4n + 3) is stored in the data buffer 134.
Therefore, the sector data of the sector address SA (4n + 3) is transferred from the flash memory 17 to the data buffer 1
3 does not need to be forwarded.

【0056】つまり、コマンドの種類が確定した後、ホ
ストコンピュータ2が読み出すセクタデータがデータバ
ッファ13に格納されているので、ホストコンピュータ
2に対してデータ・レディを出力する(図13のステッ
プS307)。ホストコンピュータ2は、データ・レデ
ィを受けて、時間t010において、セクタアドレスS
A(4n+3)のセクタデータの読み出しを開始する。
That is, since the sector data read by the host computer 2 is stored in the data buffer 13 after the command type is determined, data ready is output to the host computer 2 (step S307 in FIG. 13). . The host computer 2 receives the data ready, and at time t010, the sector address S
Reading of sector data of A (4n + 3) is started.

【0057】次いで、セクタアドレスSA(4n+3)
のセクタデータは、ホストコンピュータ2が最後に読み
出すセクタデータであり、ブロックBA(k)内の最後
のセクタデータであるので、図14のステップS311
が実行される。時間t011が、図14のステップS3
11であり、ここでは、ホストコンピュータ2が最後に
読み出すセクタデータ(セクタアドレスSA(4n+
3)のセクタデータ)の次のセクタデータが含まれるブ
ロック(図3では、ブロックアドレスBA(m))を読
み出すための「フラッシュリードコマンド2」をフラッ
シュメモリ17に発行している。
Next, the sector address SA (4n + 3)
Is the last sector data read out by the host computer 2 and is the last sector data in the block BA (k), so the step S311 in FIG.
Is executed. Time t011 corresponds to step S3 in FIG.
Here, the sector data (sector address SA (4n +
A “flash read command 2” for reading a block (in FIG. 3, a block address BA (m)) including the sector data following the (3) sector data) is issued to the flash memory 17.

【0058】時間t012からt016の間において、
フラッシュメモリ17のブロックアドレスBA(m)の
ブロックデータがデータバッファ13に転送される。
From time t012 to t016,
The block data at the block address BA (m) in the flash memory 17 is transferred to the data buffer 13.

【0059】ここで、図8に時間t013におけるデー
タバッファ13の内容と、図9に時間t016における
データバッファ13の内容を示す。図9に示すように、
図5に示すセクタアドレスSA(4n+3)のセクタデ
ータの読み出しの後、さらにホストコンピュータ2によ
るセクタアドレスSA(4n+4)のセクタデータの読
み出しが新たに発生した場合、セクタアドレスSA(4
n+4)のセクタデータは既にデータバッファ13に格
納されているので、フラッシュメモリ17からの読み出
しの時間を見かけ上ゼロとすることができる。
FIG. 8 shows the contents of the data buffer 13 at time t013, and FIG. 9 shows the contents of the data buffer 13 at time t016. As shown in FIG.
After the sector data of the sector address SA (4n + 3) shown in FIG. 5 is read out, if the host computer 2 newly reads the sector data of the sector address SA (4n + 4), the sector address SA (4
Since the (n + 4) sector data has already been stored in the data buffer 13, the time taken to read data from the flash memory 17 can be apparently reduced to zero.

【0060】このように、ホストコンピュータ2が読み
出すセクタデータを予めデータバッファ13に格納して
おくことにより、ホストコンピュータ2が読み出すセク
タデータに対するフラッシュメモリ17からデータバッ
ファ13への転送時間を見かけ上ゼロとすることが可能
となり、セクタデータの読み出しの高速化が図られる。
As described above, by storing the sector data read by the host computer 2 in the data buffer 13 in advance, the transfer time from the flash memory 17 to the data buffer 13 for the sector data read by the host computer 2 is apparently zero. It is possible to speed up the reading of sector data.

【0061】次に、本発明における他の実施例につい
て、図10を用いて説明する。
Next, another embodiment of the present invention will be described with reference to FIG.

【0062】まず、時間t101において、ホストコン
ピュータ2は、PCMCIAバスを使用して、「セクタ
リードコマンド1」をフラッシュメモリカード1に書き
込む。「セクタリードコマンド1」は、図4と同一であ
り、セクタアドレスSA(4n+1)およびSA(4n
+2)の二つのセクタデータの読み出しを行うためのコ
マンドである。また、図4での説明と同様に、「セクタ
リードコマンド1」を書き込んだ時、データバッファ1
3には、セクタアドレスSA(4n+1)およびSA
(4n+2)の二つのセクタデータは格納されていない
こととして説明する。
First, at time t101, the host computer 2 writes a “sector read command 1” to the flash memory card 1 using the PCMCIA bus. “Sector read command 1” is the same as that in FIG. 4, and includes sector addresses SA (4n + 1) and SA (4n).
+2) is a command for reading the two sector data. As described with reference to FIG. 4, when the "sector read command 1" is written, the data buffer 1
3 includes the sector address SA (4n + 1) and SA
Description will be made assuming that two sector data of (4n + 2) are not stored.

【0063】図10は、図4に示すタイミングチャート
とほぼ同一である。ただし、ホストコンピュータ2に対
するデータ・レディを出力するタイミングが、図4では
セクタアドレスSA(4n+1)のセクタデータがデー
タバッファ13に転送された直後であったが、図10で
はセクタアドレスSA(4n+1)からSA(4n+
3)の三つセクタデータがデータバッファ13に転送さ
れた直後となっている。つまり、ブロックアドレスBA
(k)のブロックデータが転送された後に、ホストコン
ピュータ2のデータ転送が開始される。
FIG. 10 is almost the same as the timing chart shown in FIG. However, the timing of outputting data ready to the host computer 2 is immediately after the sector data of the sector address SA (4n + 1) is transferred to the data buffer 13 in FIG. 4, but in FIG. 10, the sector address SA (4n + 1) is output. To SA (4n +
This is immediately after the three sector data of 3) is transferred to the data buffer 13. That is, the block address BA
After the block data of (k) is transferred, the data transfer of the host computer 2 is started.

【0064】これにより、フラッシュメモリ17とデー
タバッファ13の間のデータ転送と、ホストコンピュー
タ2とデータバッファ13の間のデータ転送をそれぞれ
別々に実行することができるので、制御を簡単にでき
る。
As a result, the data transfer between the flash memory 17 and the data buffer 13 and the data transfer between the host computer 2 and the data buffer 13 can be executed separately, so that the control can be simplified.

【0065】また、図10のタイミングチャートで示す
セクタアドレスSA(4n+1)およびSA(4n+
1)のセクタデータの読み出しの後に、セクタアドレス
SA(4n+3)のセクタデータの読み出しが発生した
場合、図5と同一のタイミングチャートとなる。したが
って、ホストコンピュータ2が読み出すセクタデータを
予めデータバッファ13に格納しておくことにより、ホ
ストコンピュータ2が読み出すセクタデータに対するフ
ラッシュメモリ17からデータバッファ13への転送時
間を見かけ上ゼロとすることが可能となり、セクタデー
タの読み出しの高速化が図られる。
The sector addresses SA (4n + 1) and SA (4n +) shown in the timing chart of FIG.
When the reading of the sector data of the sector address SA (4n + 3) occurs after the reading of the sector data of 1), the timing chart is the same as that of FIG. Therefore, by storing the sector data read by the host computer 2 in the data buffer 13 in advance, the transfer time from the flash memory 17 to the data buffer 13 for the sector data read by the host computer 2 can be made apparently zero. Thus, the speed of reading the sector data is increased.

【0066】さらに、本発明における他の実施例を図1
1を用いて説明する。
FIG. 1 shows another embodiment of the present invention.
1 will be described.

【0067】まず、時間t201において、ホストコン
ピュータ2は、PCMCIAバスを使用して、「セクタ
リードコマンド1」をフラッシュメモリカード1に書き
込む。「セクタリードコマンド1」は、図4と同一であ
り、セクタアドレスSA(4n+1)およびSA(4n
+2)の二つのセクタデータの読み出しを行うためのコ
マンドである。また、図4での説明と同様に、「セクタ
リードコマンド1」を書き込んだ時、データバッファ1
3には、セクタアドレスSA(4n+1)およびSA
(4n+2)の二つのセクタデータは格納されていない
こととして説明する。
First, at time t201, the host computer 2 writes a “sector read command 1” to the flash memory card 1 using the PCMCIA bus. “Sector read command 1” is the same as that in FIG. 4, and includes sector addresses SA (4n + 1) and SA (4n).
+2) is a command for reading the two sector data. As described with reference to FIG. 4, when the "sector read command 1" is written, the data buffer 1
3 includes the sector address SA (4n + 1) and SA
Description will be made assuming that two sector data of (4n + 2) are not stored.

【0068】図11では、図4での「フラッシュリード
コマンド1」に変わり、「フラッシュリードコマンド
3」をフラッシュメモリ17に発行している(時間t2
02)。「フラッシュリードコマンド3」は、フラッシ
ュメモリ17のブロックアドレスBA(k)のブロック
データを全てデータバッファ13に転送するコマンドで
ある。
In FIG. 11, "flash read command 3" is issued to flash memory 17 instead of "flash read command 1" in FIG. 4 (time t2).
02). The “flash read command 3” is a command for transferring all block data at the block address BA (k) of the flash memory 17 to the data buffer 13.

【0069】時間t204において、セクタアドレスS
A(4n+1)のセクタデータがデータバッファ13に
転送されると、ホストコンピュータ2が時間t205か
らセクタアドレスSA(4n+1)のセクタデータの読
み出しを開始する。以後、図4と同様な動作を行う。
At time t204, sector address S
When the sector data of A (4n + 1) is transferred to the data buffer 13, the host computer 2 starts reading the sector data of the sector address SA (4n + 1) from time t205. Thereafter, the same operation as in FIG. 4 is performed.

【0070】また、図11のタイミングチャートで示す
セクタアドレスSA(4n+1)およびSA(4n+
1)のセクタデータの読み出しの後に、セクタアドレス
SA(4n+3)のセクタデータの読み出しが発生した
場合、図5と同一のタイミングチャートとなる。したが
って、ホストコンピュータ2が読み出すセクタデータを
予めデータバッファ13に格納しておくことにより、ホ
ストコンピュータ2が読み出すセクタデータに対するフ
ラッシュメモリ17からデータバッファ13への転送時
間を見かけ上ゼロとすることが可能となり、セクタデー
タの読み出しの高速化が図られる。
The sector addresses SA (4n + 1) and SA (4n +) shown in the timing chart of FIG.
When the reading of the sector data of the sector address SA (4n + 3) occurs after the reading of the sector data of 1), the timing chart is the same as that of FIG. Therefore, by storing the sector data read by the host computer 2 in the data buffer 13 in advance, the transfer time from the flash memory 17 to the data buffer 13 for the sector data read by the host computer 2 can be made apparently zero. Thus, the speed of reading the sector data is increased.

【0071】最後に、本発明における他の実施例を図1
2を用いて説明する。
Finally, another embodiment of the present invention is shown in FIG.
2 will be described.

【0072】まず、時間t301において、ホストコン
ピュータ2は、PCMCIAバスを使用して、「セクタ
リードコマンド1」をフラッシュメモリカード1に書き
込む。「セクタリードコマンド1」は、図4と同一であ
り、セクタアドレスSA(4n+1)およびSA(4n
+2)の二つのセクタデータの読み出しを行うためのコ
マンドである。また、図4での説明と同様に、「セクタ
リードコマンド1」を書き込んだ時、データバッファ1
3には、セクタアドレスSA(4n+1)およびSA
(4n+2)の二つのセクタデータは格納されていない
こととして説明する。
First, at time t301, the host computer 2 writes a “sector read command 1” to the flash memory card 1 using the PCMCIA bus. “Sector read command 1” is the same as that in FIG. 4, and includes sector addresses SA (4n + 1) and SA (4n).
+2) is a command for reading the two sector data. As described with reference to FIG. 4, when the "sector read command 1" is written, the data buffer 1
3 includes the sector address SA (4n + 1) and SA
Description will be made assuming that two sector data of (4n + 2) are not stored.

【0073】図11では、図10での「フラッシュリー
ドコマンド1」に変わり、「フラッシュリードコマンド
3」をフラッシュメモリ17に発行している(時間t3
02)。「フラッシュリードコマンド3」は、フラッシ
ュメモリ17のブロックアドレスBA(k)のブロック
データを全てデータバッファ13に転送するコマンドで
ある。
In FIG. 11, "flash read command 3" is issued to the flash memory 17 instead of "flash read command 1" in FIG. 10 (time t3).
02). The “flash read command 3” is a command for transferring all block data at the block address BA (k) of the flash memory 17 to the data buffer 13.

【0074】時間t305において、セクタアドレスS
A(4n)からSA(4n+3)のセクタデータがデー
タバッファ13に転送されると、ホストコンピュータ2
が時間t306からセクタアドレスSA(4n+1)の
セクタデータの読み出しを開始する。以後、図10と同
様な動作を行う。
At time t305, sector address S
When the sector data of A (4n) to SA (4n + 3) is transferred to the data buffer 13, the host computer 2
Starts reading the sector data at the sector address SA (4n + 1) from time t306. Thereafter, the same operation as in FIG. 10 is performed.

【0075】また、図12のタイミングチャートで示す
セクタアドレスSA(4n+1)およびSA(4n+
1)のセクタデータの読み出しの後に、セクタアドレス
SA(4n+3)のセクタデータの読み出しが発生した
場合、図5と同一のタイミングチャートとなる。したが
って、ホストコンピュータ2が読み出すセクタデータを
予めデータバッファ13に格納しておくことにより、ホ
ストコンピュータ2が読み出すセクタデータに対するフ
ラッシュメモリ17からデータバッファ13への転送時
間を見かけ上ゼロとすることが可能となり、セクタデー
タの読み出しの高速化を図ることができる。
The sector addresses SA (4n + 1) and SA (4n +) shown in the timing chart of FIG.
When the reading of the sector data of the sector address SA (4n + 3) occurs after the reading of the sector data of 1), the timing chart is the same as that of FIG. Therefore, by storing the sector data read by the host computer 2 in the data buffer 13 in advance, the transfer time from the flash memory 17 to the data buffer 13 for the sector data read by the host computer 2 can be made apparently zero. Thus, the speed of reading the sector data can be increased.

【0076】さらに、図11および図12では、それぞ
れのホストコンピュータ2によるセクタデータの読み出
しの後に、セクタアドレスSA(4n)のセクタデータ
の読み出しが発生した場合でも、セクタアドレスSA
(4n)のセクタデータに対するフラッシュメモリ17
からデータバッファ13への転送時間を見かけ上ゼロと
することが可能となり、セクタデータの読み出しの高速
化を図ることができる。
Further, in FIG. 11 and FIG. 12, even when the sector data of the sector address SA (4n) is read after the read of the sector data by the respective host computers 2, the sector address SA
Flash memory 17 for (4n) sector data
From the data buffer 13 to the data buffer 13 can be apparently reduced to zero, and the speed of reading sector data can be increased.

【0077】[0077]

【発明の効果】以上説明したように、本発明によれば、
フラッシュメモリなどの不揮発性半導体メモリを用いた
記憶装置において、セクタデータの読み出しの高速化を
実現する記憶装置を提供できる効果がある。
As described above, according to the present invention,
In a storage device using a nonvolatile semiconductor memory such as a flash memory, there is an effect that a storage device that realizes high-speed reading of sector data can be provided.

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

【図1】本発明の一実施例を示す記憶装置の構成を示す
ブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a storage device according to an embodiment of the present invention.

【図2】本発明の記憶装置の処理手順を示すフローチャ
ートである。
FIG. 2 is a flowchart illustrating a processing procedure of the storage device of the present invention.

【図3】フラッシュメモリ17の構成例を示す図であ
る。
FIG. 3 is a diagram showing a configuration example of a flash memory 17;

【図4】記憶装置からのセクタデータの読み出しを示す
タイミングチャートである。
FIG. 4 is a timing chart showing reading of sector data from a storage device.

【図5】記憶装置からのセクタデータの読み出しを示す
タイミングチャートである。
FIG. 5 is a timing chart showing reading of sector data from a storage device.

【図6】ある時間におけるデータバッファ13の内容の
一例を示す図である。
FIG. 6 is a diagram showing an example of the contents of a data buffer 13 at a certain time.

【図7】ある時間におけるデータバッファ13の内容の
一例を示す図である。
FIG. 7 is a diagram showing an example of the contents of a data buffer 13 at a certain time.

【図8】ある時間におけるデータバッファ13の内容の
一例を示す図である。
FIG. 8 is a diagram showing an example of the contents of a data buffer 13 at a certain time.

【図9】ある時間におけるデータバッファ13の内容の
一例を示す図である。
FIG. 9 is a diagram showing an example of the contents of a data buffer 13 at a certain time.

【図10】記憶装置からのセクタデータの読み出しを示
すタイミングチャートである。
FIG. 10 is a timing chart showing reading of sector data from a storage device.

【図11】記憶装置からのセクタデータの読み出しを示
すタイミングチャートである。
FIG. 11 is a timing chart showing reading of sector data from a storage device.

【図12】記憶装置からのセクタデータの読み出しを示
すタイミングチャートである。
FIG. 12 is a timing chart showing reading of sector data from a storage device.

【図13】本発明の記憶装置のセクタリード処理手順を
示すフローチャートである。
FIG. 13 is a flowchart showing a sector read processing procedure of the storage device of the present invention.

【図14】本発明の記憶装置のセクタリード処理手順を
示すフローチャートである。
FIG. 14 is a flowchart showing a sector read processing procedure of the storage device of the present invention.

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

1…フラッシュメモリカード(記憶装置)、2…ホスト
コンピュータ(PC等)、11…ホストインタフェース
部、12…データバッファ制御部、13…データバッフ
ァ、15…フラッシュインタフェース部、16…マイク
ロコンピュータ(マイコン)、17…フラッシュメモ
リ、21…PCMCIAバス、105…マイコンバス、
106…フラッシュバス。
DESCRIPTION OF SYMBOLS 1 ... Flash memory card (storage device), 2 ... Host computer (PC etc.), 11 ... Host interface part, 12 ... Data buffer control part, 13 ... Data buffer, 15 ... Flash interface part, 16 ... Microcomputer (microcomputer) , 17 ... flash memory, 21 ... PCMCIA bus, 105 ... microcomputer bus,
106: Flash bus.

───────────────────────────────────────────────────── フロントページの続き (72)発明者 片山 国弘 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 井口 慎也 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 (72)発明者 幡野 富久 神奈川県川崎市麻生区王禅寺1099番地 株 式会社日立製作所システム開発研究所内 Fターム(参考) 5B005 JJ12 KK12 MM22 NN01 NN22 UU12 5B025 AD04 AD05 AD08 AE05 5B060 AC20 CA04 CA06  ──────────────────────────────────────────────────続 き Continued on the front page (72) Inventor Kunihiro Katayama 1099 Ozenji Temple, Hitachi, Ltd. (72) Inventor Tomohisa Hatano 1099 Ozenji Temple, Aso-ku, Kawasaki City, Kanagawa Prefecture F-term in Hitachi System Development Laboratory (Reference) AC20 CA04 CA06

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】ホストコンピュータに接続可能な記憶装置
であって、該記憶装置は、該ホストコンピュータが書き
込むセクタデータを格納するための不揮発性半導体メモ
リと、該ホストコンピュータとの接続手段と、該不揮発
性半導体メモリの制御手段と、該ホストコンピュータに
よるセクタデータの読み出しおよび書き込みにおいて一
時的に使用されるデータバッファを有し、該不揮発性半
導体メモリは、多数の不揮発性メモリセルから構成さ
れ、該メモリセルの集合によって一つのブロックを構成
し、該ブロックにおいて一括消去可能であり、該ブロッ
クは複数のセクタデータを格納可能であり、該ホストコ
ンピュータによるセクタデータの読み出しにおいて、該
不揮発性半導体メモリの該ブロックに格納されている全
セクタデータを常に一つのコマンドで読み出すことを特
徴とする不揮発性半導体メモリを用いた記憶装置。
1. A storage device connectable to a host computer, the storage device comprising: a nonvolatile semiconductor memory for storing sector data written by the host computer; connection means for connecting to the host computer; Control means for the nonvolatile semiconductor memory; and a data buffer temporarily used in reading and writing of sector data by the host computer. The nonvolatile semiconductor memory includes a large number of nonvolatile memory cells. One block is constituted by a set of memory cells, the block can be collectively erased, and the block can store a plurality of sector data. When the sector data is read by the host computer, the nonvolatile semiconductor memory All sector data stored in the block is always One of the storage device using a nonvolatile semiconductor memory, wherein the reading command.
【請求項2】請求項1に記載の記憶装置において、該デ
ータバッファに、該ホストコンピュータが読み出すセク
タデータが既に格納されている場合には、該セクタデー
タを該ホストコンピュータに読み出させることを特徴と
する不揮発性半導体メモリを用いた記憶装置。
2. The storage device according to claim 1, wherein, when sector data to be read by said host computer is already stored in said data buffer, said sector data is read by said host computer. A storage device using a nonvolatile semiconductor memory.
【請求項3】請求項1に記載の記憶装置において、該ホ
ストコンピュータが最後に読み出すセクタデータが、該
フラッシュメモリの該ブロックの最後のセクタデータで
ある場合には、該ホストコンピュータが読み出す該最後
のセクタデータの次のセクタアドレスのセクタデータを
含む該フラッシュメモリのブロックの全セクタデータを
該データバッファに読み出すことを特徴とする不揮発性
半導体メモリを用いた記憶装置。
3. The storage device according to claim 1, wherein when the last sector data read by said host computer is the last sector data of said block of said flash memory, said host computer reads said last sector data. A storage device using a nonvolatile semiconductor memory, wherein all sector data of a block of the flash memory including sector data of a sector address next to the sector data of the sector data is read out to the data buffer.
【請求項4】ホストコンピュータに接続可能な記憶装置
であって、該記憶装置は、該ホストコンピュータが書き
込むセクタデータを格納するための不揮発性半導体メモ
リと、該ホストコンピュータとの接続手段と、該不揮発
性半導体メモリの制御手段と、該ホストコンピュータに
よるセクタデータの読み出しおよび書き込みにおいて一
時的に使用されるデータバッファを有し、該不揮発性半
導体メモリは、多数の不揮発性メモリセルから構成さ
れ、該メモリセルの集合によって一つのブロックを構成
し、該ブロックにおいて一括消去可能であり、該ブロッ
クは一つ以上のセクタデータを格納可能であり、該ホス
トコンピュータによる一つのセクタデータの読み出しに
おいて、該ホストコンピュータが読み出すセクタデータ
が格納されている該不揮発性半導体メモリのブロックに
格納されている全セクタデータをデータバッファに読み
出すことを特徴とする不揮発性半導体メモリを用いた記
憶装置。
4. A storage device connectable to a host computer, the storage device comprising: a nonvolatile semiconductor memory for storing sector data to be written by the host computer; connection means for connecting to the host computer; Control means for the nonvolatile semiconductor memory; and a data buffer temporarily used in reading and writing of sector data by the host computer. The nonvolatile semiconductor memory includes a large number of nonvolatile memory cells. One block is constituted by a set of memory cells, and the block can be collectively erased. The block can store one or more sector data. When the host computer reads one sector data, the host computer The sector storing the sector data read by the computer. Storage device using a nonvolatile semiconductor memory, characterized in that reading out all sector data stored in the blocks of the volatile semiconductor memory to the data buffer.
【請求項5】請求項4に記載の記憶装置において、該デ
ータバッファに、該ホストコンピュータが読み出すセク
タデータが既に格納されている場合には、該セクタデー
タを該ホストコンピュータに読み出させることを特徴と
する不揮発性半導体メモリを用いた記憶装置。
5. The storage device according to claim 4, wherein when sector data to be read by said host computer is already stored in said data buffer, said sector data is read by said host computer. A storage device using a nonvolatile semiconductor memory.
【請求項6】請求項4に記載の不揮発性半導体メモリを
用いた記憶装置において、該ホストコンピュータが最後
に読み出すセクタデータが、該フラッシュメモリの該ブ
ロックの最後のセクタデータである場合には、該ホスト
コンピュータが読み出す該最後のセクタデータの次のセ
クタアドレスのセクタデータを含む該フラッシュメモリ
のブロックの全セクタデータを該データバッファに読み
出すことを特徴とする不揮発性半導体メモリを用いた記
憶装置。
6. A storage device using a nonvolatile semiconductor memory according to claim 4, wherein the last sector data read by said host computer is the last sector data of said block of said flash memory. A storage device using a nonvolatile semiconductor memory, wherein all sector data of a block of the flash memory including sector data of a sector address next to the last sector data read by the host computer is read into the data buffer.
【請求項7】ホストコンピュータに接続可能な記憶装置
であって、該記憶装置は、該ホストコンピュータが書き
込むセクタデータを格納するための不揮発性半導体メモ
リと、該ホストコンピュータとの接続手段と、該不揮発
性半導体メモリの制御手段と、該ホストコンピュータに
よるセクタデータの読み出しおよび書き込みにおいて一
時的に使用されるデータバッファを有し、該不揮発性半
導体メモリは、多数の不揮発性メモリセルから構成さ
れ、該メモリセルの集合によって一つのブロックを構成
し、該ブロックにおいて一括消去可能であり、該ブロッ
クは複数のセクタデータを格納可能であり、該ホストコ
ンピュータによるセクタデータの読み出しにおいて、該
不揮発性半導体メモリの該ブロックに格納されている全
セクタデータを常に一つのコマンドで読み出すことを特
徴とする該不揮発半導体メモリからのセクタデータ読み
出し方式であることを特徴とする不揮発性半導体メモリ
を用いた記憶装置。
7. A storage device connectable to a host computer, the storage device comprising: a nonvolatile semiconductor memory for storing sector data written by the host computer; connection means for connecting to the host computer; Control means for the nonvolatile semiconductor memory; and a data buffer temporarily used in reading and writing of sector data by the host computer. The nonvolatile semiconductor memory includes a large number of nonvolatile memory cells. One block is constituted by a set of memory cells, the block can be collectively erased, and the block can store a plurality of sector data. When the sector data is read by the host computer, the nonvolatile semiconductor memory All sector data stored in the block is always One of the storage device using a nonvolatile semiconductor memory, which is a sector data read method from said non volatile semiconductor memories, characterized in that to read the command.
【請求項8】ホストコンピュータに接続可能な記憶装置
であって、該記憶装置は、該ホストコンピュータが書き
込むセクタデータを格納するための不揮発性半導体メモ
リと、該ホストコンピュータとの接続手段と、該不揮発
性半導体メモリの制御手段と、該ホストコンピュータに
よるセクタデータの読み出しおよび書き込みにおいて一
時的に使用されるデータバッファを有し、該不揮発性半
導体メモリは、多数の不揮発性メモリセルから構成さ
れ、該メモリセルの集合によって一つのブロックを構成
し、該ブロックにおいて一括消去可能であり、該ブロッ
クは一つ以上のセクタデータを格納可能であり、該ホス
トコンピュータによる一つのセクタデータの読み出しに
おいて、該ホストコンピュータが読み出すセクタデータ
が格納されている該不揮発性半導体メモリのブロックに
格納されている全セクタデータをデータバッファに読み
出すことを特徴とする該不揮発半導体メモリからのセク
タデータ読み出し方式であることを特徴とする不揮発性
半導体メモリを用いた記憶装置。
8. A storage device connectable to a host computer, the storage device comprising: a nonvolatile semiconductor memory for storing sector data written by the host computer; connection means for connecting to the host computer; Control means for the nonvolatile semiconductor memory; and a data buffer temporarily used in reading and writing of sector data by the host computer. The nonvolatile semiconductor memory includes a large number of nonvolatile memory cells. One block is constituted by a set of memory cells, and the block can be collectively erased. The block can store one or more sector data. When the host computer reads one sector data, the host computer The sector storing the sector data read by the computer. A storage device using a nonvolatile semiconductor memory, wherein the sector data is read from the nonvolatile semiconductor memory, wherein all sector data stored in a block of the volatile semiconductor memory is read out to a data buffer. .
JP11113197A 1999-04-21 1999-04-21 Storage device using non-volatile semiconductor memory Pending JP2000306389A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11113197A JP2000306389A (en) 1999-04-21 1999-04-21 Storage device using non-volatile semiconductor memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11113197A JP2000306389A (en) 1999-04-21 1999-04-21 Storage device using non-volatile semiconductor memory

Publications (1)

Publication Number Publication Date
JP2000306389A true JP2000306389A (en) 2000-11-02

Family

ID=14606024

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11113197A Pending JP2000306389A (en) 1999-04-21 1999-04-21 Storage device using non-volatile semiconductor memory

Country Status (1)

Country Link
JP (1) JP2000306389A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005524170A (en) * 2002-04-30 2005-08-11 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Integrated circuit with non-volatile memory and method for fetching data from said memory
JP2006099600A (en) * 2004-09-30 2006-04-13 Casio Comput Co Ltd Flash rom controller, flash rom control method and program
US7302517B2 (en) 2003-01-09 2007-11-27 Samsung Electronics Co., Ltd. Apparatus and method for controlling execute-in-place (XIP) in serial flash memory, and flash memory chip using the same
JP2008033425A (en) * 2006-07-26 2008-02-14 Tdk Corp System controller, flash memory system having system controller and method for controlling flash memory module

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005524170A (en) * 2002-04-30 2005-08-11 コーニンクレッカ フィリップス エレクトロニクス エヌ ヴィ Integrated circuit with non-volatile memory and method for fetching data from said memory
US7302517B2 (en) 2003-01-09 2007-11-27 Samsung Electronics Co., Ltd. Apparatus and method for controlling execute-in-place (XIP) in serial flash memory, and flash memory chip using the same
JP2006099600A (en) * 2004-09-30 2006-04-13 Casio Comput Co Ltd Flash rom controller, flash rom control method and program
JP2008033425A (en) * 2006-07-26 2008-02-14 Tdk Corp System controller, flash memory system having system controller and method for controlling flash memory module

Similar Documents

Publication Publication Date Title
JP3898305B2 (en) Semiconductor storage device, control device and control method for semiconductor storage device
JP4141581B2 (en) Storage device with flash memory
JP3105092B2 (en) Semiconductor memory device
US9122611B2 (en) Method for giving read commands and reading data, and controller and storage system using the same
KR100725271B1 (en) USB-SD Memory with multiple DMA channels, and data storing method thereof
JP2000067574A (en) Semiconductor memory
US6366977B1 (en) Semiconductor storage device employing cluster unit data transfer scheme and data management method thereof
JP5090819B2 (en) Memory card and data storage method
JPH08263361A (en) Flash memory card
US7610442B2 (en) Dual journaling store method and storage medium thereof
US10733122B2 (en) System and method for direct memory access in a flash storage
JP2003508861A (en) Block configuration in a non-volatile memory unit for effectively reducing sector write operation time
WO1999030239A1 (en) Memory and access method
JPH1131102A (en) Data storage system and access control method applied to the system
US20090307427A1 (en) Memory card and method of writing data
JP2000306389A (en) Storage device using non-volatile semiconductor memory
JPH08221312A (en) Memory card device
KR100761374B1 (en) Method and Apparatus for controlling flash memory
CN210639608U (en) OSPI control device
JPS6232494B2 (en)
JP4794949B2 (en) MEMORY CONTROLLER, NONVOLATILE STORAGE DEVICE, AND NONVOLATILE STORAGE SYSTEM
US8166228B2 (en) Non-volatile memory system and method for reading and storing sub-data during partially overlapping periods
JPH11203885A (en) Storage device
JP2006127401A (en) Medium storage device, cache segment switch method for the same, and medium storage system
JPH06309527A (en) Ic card

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040401

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20040401

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060919

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060920

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070206