JP3983788B2 - External storage device and memory access control method thereof - Google Patents

External storage device and memory access control method thereof Download PDF

Info

Publication number
JP3983788B2
JP3983788B2 JP2006028186A JP2006028186A JP3983788B2 JP 3983788 B2 JP3983788 B2 JP 3983788B2 JP 2006028186 A JP2006028186 A JP 2006028186A JP 2006028186 A JP2006028186 A JP 2006028186A JP 3983788 B2 JP3983788 B2 JP 3983788B2
Authority
JP
Japan
Prior art keywords
data
host computer
nonvolatile semiconductor
memory
storage device
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.)
Expired - Lifetime
Application number
JP2006028186A
Other languages
Japanese (ja)
Other versions
JP2006164305A5 (en
JP2006164305A (en
Inventor
隆之 田村
茂雅 塩田
国弘 片山
理之 内藤
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.)
Renesas Technology Corp
Original Assignee
Renesas Technology 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 Renesas Technology Corp filed Critical Renesas Technology Corp
Priority to JP2006028186A priority Critical patent/JP3983788B2/en
Publication of JP2006164305A publication Critical patent/JP2006164305A/en
Publication of JP2006164305A5 publication Critical patent/JP2006164305A5/ja
Application granted granted Critical
Publication of JP3983788B2 publication Critical patent/JP3983788B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は、静的記憶装置を用いた、コンピュータの外部記憶装置に係わり、特に、任意バイト幅を持つセクタデータをセクタ単位に連続アクセスするときに、セクタデータのエラー検出およびエラー訂正を高速に処理するための外部記憶装置に関する。   The present invention relates to an external storage device of a computer using a static storage device. In particular, when sector data having an arbitrary byte width is continuously accessed in units of sectors, error detection and error correction of the sector data is performed at high speed. The present invention relates to an external storage device for processing.

従来、メモリ制御における信頼性向上と高速アクセスを同時に実現する技術としては、特公平6−105443号公報に記載されているように、メモリから出力されるxバイト幅のデータを奇数部(x/2バイト幅)と偶数部(x/2バイト幅)に分割して、奇数部と偶数部のそれぞれについて、エラー訂正コードを用いてエラー検出およびエラー訂正を行ない、奇数部と偶数部から出力されるx/2バイト幅のデータをインタリーブ制御によって、x/2バイト幅のシステムバスに連続して出力する方式がある。   Conventionally, as a technique for simultaneously improving reliability and high-speed access in memory control, as described in Japanese Examined Patent Publication No. 6-105443, x-byte width data output from a memory is converted into an odd-numbered part (x / 2 bits wide) and even parts (x / 2 bytes wide), error detection and error correction are performed for each of odd parts and even parts using error correction codes, and output from odd parts and even parts. There is a system in which x / 2 byte wide data is continuously output to an x / 2 byte wide system bus by interleave control.

ところで、mバイト(例えば512バイト)幅を持つセクタデータに対し、エラー検出およびエラー訂正を行なうには、mバイト幅のセクタデータをnバイト(例えば1バイト)単位に、m/n回(mはnの倍数である)にわけて、エラー訂正手段に入力する必要がある。   By the way, in order to perform error detection and error correction on sector data having a width of m bytes (for example, 512 bytes), the sector data having a width of m bytes is divided into n bytes (for example, 1 byte) by m / n times (m Is a multiple of n) and must be input to the error correction means.

しかしながら、上記従来技術でのエラー検出およびエラー訂正は、システムバスのバイト幅と同じバイト幅のデータに対して行うものであり、システムバスのバイト幅より大きなmバイト幅のセクタデータに対するエラー検出およびエラー訂正を行なうものにはそのまま適用できない。しかも、上記従来技術では、奇数部と偶数部の両方に、別個のエラー訂正手段を必要としている。   However, the error detection and error correction in the above prior art is performed on data having the same byte width as that of the system bus, and error detection and sector data having a width of m bytes larger than the byte width of the system bus It cannot be applied as it is to those that perform error correction. In addition, the above-described prior art requires separate error correction means for both odd and even portions.

本発明の目的は、システムバスのバイト幅よりも大きなmバイト幅のセクタデータに対してエラー検出およびエラー訂正を行なう場合に、エラー検出およびエラー訂正に要する時間を短縮し、高速なメモリアクセスを実現する外部記憶装置を提供することにある。   The object of the present invention is to shorten the time required for error detection and error correction when performing error detection and error correction on sector data having a width of m bytes larger than the byte width of the system bus, thereby enabling high-speed memory access. It is to provide an external storage device to be realized.

本発明の他の目的は、単一のエラー訂正手段を用いて、エラー検出およびエラー訂正に要する時間を短縮し、高速なメモリアクセスを実現する外部記憶装置を提供することにある。   Another object of the present invention is to provide an external storage device that uses a single error correction means to reduce the time required for error detection and error correction and realize high-speed memory access.

上記目的を達成するために、本発明は、
ホストコンピュータとのインタフェースを司るシステムインタフェース部と、 該システムインタフェース部と前記ホストコンピュータとを接続しているシステムバスのバス幅より大きいバイト数のデータからなるセクタデータに対してエラー検出およびエラー訂正を行うエラー訂正手段と、
それぞれ、前記システムバスのバス幅と同一のバス幅のメモリバスを有し、セクタデータを格納する静的記憶装置としての第1のメモリおよび第2のメモリと、
前記ホストコンピュータから前記第1および第2のメモリに対する、セクタデータのリードおよびライト動作を制御する制御手段とを備え、
前記制御手段は、前記ホストコンピュータからのライトコマンドに応答して、当該ライトコマンドに付随する複数のセクタデータをセクタ単位に交互に前記第1および第2のメモリに格納し、
前記制御手段は、前記ホストコンピュータからのリードコマンドに応答して、該リードコマンドで要求された複数のセクタデータのうち、1番目のセクタデータを前記第1のメモリから読み出して前記エラー訂正手段に供給し、その後、前記第1および第2のメモリの一方からN番目(Nは自然数)のセクタデータを前記システムインタフェース部へ転送する間に、他方からN+1番目のセクタデータを前記エラー訂正手段に転送するように、前記第1および第2のメモリのセクタデータの読み出しを同時に行うことを特徴とする外部記憶装置を提供する。
In order to achieve the above object, the present invention provides:
A system interface unit that controls an interface with a host computer, and error detection and error correction for sector data composed of data having a number of bytes larger than the bus width of a system bus connecting the system interface unit and the host computer. Error correction means to perform,
A first memory and a second memory as static storage devices each having a memory bus having the same bus width as the bus width of the system bus and storing sector data;
Control means for controlling read and write operations of sector data from the host computer to the first and second memories,
In response to a write command from the host computer, the control means stores a plurality of sector data accompanying the write command alternately in the first and second memories in units of sectors,
In response to the read command from the host computer, the control means reads the first sector data from the first memory among the plurality of sector data requested by the read command, and sends it to the error correction means. Then, while transferring the Nth sector data (N is a natural number) from one of the first and second memories to the system interface unit, the N + 1th sector data from the other is transferred to the error correction means. An external storage device is provided, wherein the sector data of the first and second memories are read simultaneously so as to be transferred.

この外部記憶装置において、好ましくは、選択的に、前記システムインタフェース部および前記エラー訂正手段の一方へ前記第1のメモリのメモリバスを接続するとともに、その他方へ前記第2のメモリのメモリバスを接続するデータ切り換え手段を備え、前記制御手段は、前記ホストコンピュータからのリードアクセス時に当該データ切り換え手段の切り換えを行いながら前記第1および第2のメモリのセクタデータの読み出しを行う。   In this external storage device, preferably, the memory bus of the first memory is selectively connected to one of the system interface unit and the error correction means, and the memory bus of the second memory is connected to the other. Data switching means to be connected is provided, and the control means reads the sector data of the first and second memories while switching the data switching means at the time of read access from the host computer.

前記ホストコンピュータから前記第1および第2のメモリへのセクタデータのライトアクセスにおいて一時的にセクタデータを格納するライトバッファを備え、該ライトバッファを介して前記第1および第2のメモリへのセクタデータの格納を行うようにしてもよい。   A write buffer for temporarily storing sector data in a write access of sector data from the host computer to the first and second memories; and a sector to the first and second memories via the write buffer Data may be stored.

前記第1および第2のメモリに代えて、システムバスのバス幅の2倍のバス幅のメモリバスを有しセクタデータを格納するメモリを用いてもよい。この場合には、前記制御手段は、前記ホストコンピュータからのライトコマンドに応答して、当該ライトコマンドに付随する複数のセクタデータのうち奇数番目のセクタデータを上記メモリバスの上位側のメモリに格納するとともに、偶数番目のセクタデータを上記メモリバスの下位側のメモリに格納し、前記ホストコンピュータからのリードコマンドに応答して、該リードコマンドで要求された複数のセクタデータのうち、1番目のセクタデータを前記メモリの上位側から読み出して前記エラー訂正手段に供給し、その後、前記メモリの上位側および下位側の一方からN番目(Nは自然数)のセクタデータを前記システムインタフェース部へ転送する間に、他方からN+1番目のセクタデータを前記エラー訂正手段に転送するように、前記メモリの上位側および下位側のセクタデータの読み出しを同時に行う。   Instead of the first and second memories, a memory having a memory bus having a bus width twice the bus width of the system bus and storing sector data may be used. In this case, in response to the write command from the host computer, the control means stores odd-numbered sector data among the plurality of sector data accompanying the write command in the memory on the upper side of the memory bus. In addition, the even-numbered sector data is stored in the memory on the lower side of the memory bus, and in response to the read command from the host computer, the first sector data among the plurality of sector data requested by the read command is stored. Sector data is read from the upper side of the memory and supplied to the error correction means, and then the Nth (N is a natural number) sector data from one of the upper side and the lower side of the memory is transferred to the system interface unit. In between, the (N + 1) th sector data from the other is transferred to the error correction means. The upper side of the memory and reading out the lower side of the sector data at the same time.

また、本発明による外部記憶装置のメモリアクセス制御方法は、
セクタデータを格納する静的記憶装置を有する外部記憶装置であって、前記静的記憶装置として、アクセス対象の連続した複数のセクタのうち奇数番目のセクタのセクタデータを格納する第1のメモリ、および、偶数番目のセクタのセクタデータを格納する第2のメモリと、セクタデータに対してエラー検出およびエラー訂正を行うエラー訂正手段とを有するものにおいて、
ホストコンピュータから前記連続した複数のセクタにライトアクセスを行う際、セクタ単位に交互に、奇数番目のセクタデータをそのエラー訂正用符号とともに前記第1のメモリに格納すると共に、偶数番目のセクタデータをそのエラー訂正用符号とともに前記第2のメモリに格納し、
前記ホストコンピュータから、前記連続した複数のセクタにリードアクセスする際、1番目のセクタデータを前記第1のメモリから読み出して前記エラー訂正手段によりエラー検出・訂正を行い、該エラー検出・訂正の済んだ1番目のセクタデータを前記第1のメモリから前記ホストコンピュータへ転送する間に2番目のセクタデータを前記第2のメモリから読み出して前記エラー訂正手段に転送し、次いで該エラー検出・訂正の済んだ2番目のセクタデータを前記第2のメモリから前記ホストコンピュータへ転送する間に3番目のセクタデータを前記第1のメモリから読み出して前記エラー訂正手段へ転送し、同様にして、エラー検出・訂正の済んだN番目のセクタデータを前記ホストコンピュータへ転送する間にN+1番目のセクタデータを読み出して前記エラー訂正手段に転送する制御を行うことを特徴とする。
In addition, the memory access control method of the external storage device according to the present invention includes:
An external storage device having a static storage device for storing sector data, wherein the static storage device is a first memory for storing sector data of odd-numbered sectors among a plurality of consecutive sectors to be accessed; And having a second memory for storing sector data of even-numbered sectors, and error correction means for performing error detection and error correction on the sector data,
When write access is performed from the host computer to the plurality of consecutive sectors, the odd-numbered sector data is stored in the first memory together with the error correction code alternately for each sector, and the even-numbered sector data is also stored. Stored in the second memory together with the error correction code,
When performing read access to the plurality of consecutive sectors from the host computer, the first sector data is read from the first memory, error detection / correction is performed by the error correction means, and the error detection / correction is completed. During the transfer of the first sector data from the first memory to the host computer, the second sector data is read from the second memory and transferred to the error correction means, and then the error detection / correction is performed. While transferring the completed second sector data from the second memory to the host computer, the third sector data is read from the first memory and transferred to the error correction means, and error detection is performed in the same manner. -N + 1st sector data while transferring the corrected Nth sector data to the host computer The read out and performs control to be transferred to said error correcting means.

本発明によれば、制御手段(例えば、マイクロプロセッサ)は、N番目のセクタデータとN+1番目のセクタデータを同時に読み出すことを可能とするように、ライト対象の複数のセクタデータをメモリに格納できる。これにより、データ切り替え手段によって、N番目のセクタデータをシステムバスに出力すると同時に、N+1番目のセクタデータをエラー訂正手段に対し出力することができる。したがって、N+1番目のセクタデータに対するエラー検出およびエラー訂正に要する時間は、N番目のセクタデータをシステムバスに出力するときに、同時に行なうことが可能となるので、セクタデータに対するエラー検出およびエラー訂正に要する時間を見かけ上短縮することが可能となる。   According to the present invention, the control means (for example, a microprocessor) can store a plurality of write target sector data in the memory so that the Nth sector data and the N + 1th sector data can be read simultaneously. . Thus, the data switching means can output the Nth sector data to the system bus and simultaneously output the (N + 1) th sector data to the error correction means. Therefore, the time required for error detection and error correction for the (N + 1) th sector data can be simultaneously performed when the Nth sector data is output to the system bus. It is possible to apparently reduce the time required.

また、エラー検出・訂正は、常にホストコンピュータに転送しているセクタデータの次のセクタデータについてのみ実行するので、エラー訂正手段は単一個用いればよい。   Further, since error detection / correction is always executed only for the sector data next to the sector data transferred to the host computer, a single error correction means may be used.

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

図1は、本発明による外部記憶装置の一実施例のシステム構成を示すブロック図である。   FIG. 1 is a block diagram showing a system configuration of an embodiment of an external storage device according to the present invention.

1は、ホストコンピュータ2からのコマンドにしたがって、第1のメモリ4および第2のメモリ5に対し、セクタデータをライトまたはリードするメモリ制御装置であり、制御信号22および外部バス32によって、ホストコンピュータ2のコマンドを受け付ける。   Reference numeral 1 denotes a memory control device for writing or reading sector data to or from the first memory 4 and the second memory 5 in accordance with a command from the host computer 2, and the host computer is controlled by a control signal 22 and an external bus 32. 2 commands are accepted.

ホストコンピュータ2は、ホストコンピュータバス31によって、システムバス3に接続され、制御信号22とシステムバス3を使用して、メモリ制御装置1に対し、セクタデータのライトおよびリードの動作を行なう。第1のメモリ4および第2のメモリ5は、それぞれセクタデータを格納する記憶手段であり、本実施例では、フラッシュメモリを用いる。フラッシュメモリは、予め定められたバイト数(例えば512バイト)のセクタ単位にデータの電気的消去・書き換えが可能な不揮発性の半導体メモリとして知られている。但し、本発明は静的記憶装置である他の書き込み可能メモリに対しても適用することが可能である。ローカルバス6は、メモリ制御装置1、ライトバッファ7そしてマイクロプロセッサ8を接続しているバスである。ライトバッファ7は、ホストコンピュータ2が、ライトしたセクタデータを一時的に格納するための記憶手段であり、ライトバッファバス61によってローカルバス6に接続される。マイクロプロセッサ8は、マイクロプロセッサバス62によってローカルバス6に接続され、ホストコンピュータ2がメモリ制御装置1に設定したコマンドを解析し、メモリ制御装置1が行なう動作の設定を行なう。   The host computer 2 is connected to the system bus 3 by the host computer bus 31, and uses the control signal 22 and the system bus 3 to write and read sector data to the memory control device 1. The first memory 4 and the second memory 5 are storage means for storing sector data, respectively, and flash memory is used in this embodiment. A flash memory is known as a non-volatile semiconductor memory capable of electrically erasing and rewriting data in sectors of a predetermined number of bytes (for example, 512 bytes). However, the present invention can also be applied to other writable memories that are static storage devices. The local bus 6 is a bus connecting the memory control device 1, the write buffer 7 and the microprocessor 8. The write buffer 7 is storage means for temporarily storing the sector data written by the host computer 2, and is connected to the local bus 6 by the write buffer bus 61. The microprocessor 8 is connected to the local bus 6 by a microprocessor bus 62, analyzes a command set in the memory control device 1 by the host computer 2, and sets an operation to be performed by the memory control device 1.

ここで、システムバス3のバス幅がMバイトのとき、ローカルバス6のバス幅はシステムバス3と同一のMバイトであり、第1のメモリバス111および第2のメモリバス112のバス幅もシステムバス3と同一のMバイトである。   Here, when the bus width of the system bus 3 is M bytes, the bus width of the local bus 6 is the same M bytes as the system bus 3, and the bus widths of the first memory bus 111 and the second memory bus 112 are also The same M bytes as the system bus 3.

データ切り替え手段11は、第1のメモリバス111および第2のメモリバス112からのセクタデータをECCバス113および内部データバス114に切り換える。エラー訂正手段12は、内部データバス114からのセクタデータに対するエラー訂正用符号を生成し、また、ECCバス113からのセクタデータに対するエラー検出およびエラー訂正を行なう。システムインタフェース部13は、制御信号22および外部バス32によって、ホストコンピュータ2からのメモリアクセスに対するコマンドを受け付ける。このとき、システムインタフェース部13は、割り込み信号131をマイクロプロセッサ8に対し出力する。また、システムインタフェース部13は、制御信号22によるリード/ライトからセクタデータに対するリード信号132、ライト信号133、転送終了信号134およびタイミング信号135を生成する。   The data switching unit 11 switches the sector data from the first memory bus 111 and the second memory bus 112 to the ECC bus 113 and the internal data bus 114. The error correction unit 12 generates an error correction code for the sector data from the internal data bus 114, and performs error detection and error correction for the sector data from the ECC bus 113. The system interface unit 13 receives a command for memory access from the host computer 2 through the control signal 22 and the external bus 32. At this time, the system interface unit 13 outputs an interrupt signal 131 to the microprocessor 8. Further, the system interface unit 13 generates a read signal 132, a write signal 133, a transfer end signal 134, and a timing signal 135 for the sector data from the read / write by the control signal 22.

ホストコンピュータ2がセクタデータをライトする場合には、ライト信号133が出力され、ホストコンピュータ2からのセクタデータは、タイミング信号135のタイミングで内部データバス114からライトバッファ7に格納される。また、ホストコンピュータ2がセクタデータをリードする場合には、リード信号132が出力され、第1のメモリバス111または第2のメモリバス112のセクタデータをタイミング信号135のタイミングで読み出し、データ切り替え手段11によって内部データバス114に切り替え、システムインタフェース部13からホストコンピュータ2に出力する。さらに、ホストコンピュータ2にセクタデータを出力すると同時に、第1のメモリバス111または第2のメモリバス112のセクタデータをデータ切り替え手段11でECCバス113に切り換え、エラー訂正手段12において、エラー検出およびエラー訂正を行なう。   When the host computer 2 writes sector data, a write signal 133 is output, and the sector data from the host computer 2 is stored in the write buffer 7 from the internal data bus 114 at the timing of the timing signal 135. When the host computer 2 reads the sector data, a read signal 132 is output, and the sector data of the first memory bus 111 or the second memory bus 112 is read at the timing of the timing signal 135, and data switching means 11 to switch to the internal data bus 114 and output from the system interface unit 13 to the host computer 2. Further, at the same time as the sector data is output to the host computer 2, the sector data of the first memory bus 111 or the second memory bus 112 is switched to the ECC bus 113 by the data switching means 11, and the error correction means 12 Perform error correction.

図1において、システムインタフェース部13より下側に示した部分は、図20にその外観を示すようなメモリカード内に内蔵することが可能である。   In FIG. 1, the portion shown below the system interface unit 13 can be incorporated in a memory card whose appearance is shown in FIG.

図2は、システムインタフェース部13の構成を示すブロック図である。   FIG. 2 is a block diagram showing a configuration of the system interface unit 13.

データバッファ136は、外部バス32からのセクタデータおよび、内部データバス114からのセクタデータをバッファリングする。アクセス設定レジスタ137には、ホストコンピュータ2からのコマンドが設定される。コマンドは、アクセスするセクタデータの先頭アドレス、アクセスの種類(リードまたはライト)およびアクセスするセクタ数を示している。ホストコンピュータ2がアクセス設定レジスタ137にコマンドを設定すると、アクセス設定レジスタ137は割り込み信号131を出力する。また、アクセス設定レジスタ137は、設定されたコマンドにより、リード信号132またはライト信号133を出力する。制御信号デコード部138は、制御信号22から、転送終了信号134およびタイミング信号135を出力する。転送終了信号134は、一つのセクタデータに対するアクセスが終了すると出力される。タイミング信号135は、ホストコンピュータ2がセクタデータをリードまたはライトするときの制御信号22から生成される。ステータスレジスタ139は、メモリ制御装置1の状態を示すデータを格納する。割り込み信号131が出力されたとき、および転送終了信号134が出力されたとき、ステータスレジスタ139はビジー状態に設定される。また、ステータスレジスタ139をレディー状態に設定するのは、マイクロプロセッサ8が行なう。ステータスレジスタ139がビジー状態であるとき、ホストコンピュータ2は、セクタデータのリードおよびライトを行なわない。   The data buffer 136 buffers sector data from the external bus 32 and sector data from the internal data bus 114. A command from the host computer 2 is set in the access setting register 137. The command indicates the start address of the sector data to be accessed, the type of access (read or write), and the number of sectors to be accessed. When the host computer 2 sets a command in the access setting register 137, the access setting register 137 outputs an interrupt signal 131. The access setting register 137 outputs a read signal 132 or a write signal 133 according to the set command. The control signal decoding unit 138 outputs a transfer end signal 134 and a timing signal 135 from the control signal 22. The transfer end signal 134 is output when access to one sector data is completed. The timing signal 135 is generated from the control signal 22 when the host computer 2 reads or writes sector data. The status register 139 stores data indicating the state of the memory control device 1. When the interrupt signal 131 is output and when the transfer end signal 134 is output, the status register 139 is set to the busy state. The microprocessor 8 sets the status register 139 to the ready state. When the status register 139 is busy, the host computer 2 does not read or write sector data.

図3は、データ切り換え手段11の構成を示すブロック図である。   FIG. 3 is a block diagram showing the configuration of the data switching means 11.

データ選択設定レジスタ115は、マイクロプロセッサ8が設定する記憶手段であり、ECCバス113および内部データバス114に出力するデータを第1のメモリバス111または第2のメモリバス112から選択するための情報が設定される。リードデータ選択回路116は、データ選択設定レジスタ115の内容に従って、内部データバス114に出力するデータを第1のメモリバス111または第2のメモリバス112から選択する。エラー訂正手段入力データ選択回路117は、データ選択設定レジスタ115の内容に従って、ECCバス113に出力するデータを第1のメモリバス111または第2のメモリバス112から選択する。   The data selection setting register 115 is storage means set by the microprocessor 8 and is information for selecting data to be output to the ECC bus 113 and the internal data bus 114 from the first memory bus 111 or the second memory bus 112. Is set. The read data selection circuit 116 selects data to be output to the internal data bus 114 from the first memory bus 111 or the second memory bus 112 according to the contents of the data selection setting register 115. The error correction means input data selection circuit 117 selects data to be output to the ECC bus 113 from the first memory bus 111 or the second memory bus 112 according to the contents of the data selection setting register 115.

図4にリードデータ選択回路116の真理値表を示す。データ選択設定レジスタ115の内容に従って、内部データバス114に出力するデータが、第1のメモリバス111または第2のメモリバス112から選択される。   FIG. 4 shows a truth table of the read data selection circuit 116. Data to be output to the internal data bus 114 is selected from the first memory bus 111 or the second memory bus 112 in accordance with the contents of the data selection setting register 115.

図5にエラー訂正手段入力データ選択回路117の真理値表を示す。データ選択設定レジスタ115の内容に従って、ECCバス113に出力するデータが、第1のメモリバス111または第2のメモリバス112から選択される。   FIG. 5 shows a truth table of the error correction means input data selection circuit 117. Data to be output to the ECC bus 113 is selected from the first memory bus 111 or the second memory bus 112 according to the contents of the data selection setting register 115.

以下に、システムバス3のバス幅が1バイトの場合における、ホストコンピュータ2がセクタデータのリードまたはライトを行なう動作についてフローチャートを用いて説明する。   Hereinafter, an operation in which the host computer 2 reads or writes sector data when the bus width of the system bus 3 is 1 byte will be described with reference to a flowchart.

図6は、ホストコンピュータ2がセクタデータをリードまたはライトするときのフローチャートである。   FIG. 6 is a flowchart when the host computer 2 reads or writes sector data.

まず、S001において、システムインタフェース部13内のアクセス設定レジスタ137にコマンドを設定する。このコマンドは、アクセス開始セクタのセクタ番号と、連続アクセスするセクタ数を含む。その後、ステータスレジスタ139を監視する(S002)。ステータスレジスタ139がレディー状態に設定されると、ホストコンピュータ2は、1バイト単位にデータバッファ136に対し、リードまたはライトを行なう(S003)。一つのセクタデータに対し、リードまたはライトが終了するまでS003の動作を繰り返す(S004)。全てのセクタデータに対してリードまたはライトが終了していない場合には(S0005,No)、前記S002からS004までの動作を繰り返し、全てのセクタデータに対してリードまたはライトが終了すると、ホストコンピュータ2のリードまたはライト動作が終了する。   First, in S001, a command is set in the access setting register 137 in the system interface unit 13. This command includes the sector number of the access start sector and the number of sectors to be continuously accessed. Thereafter, the status register 139 is monitored (S002). When the status register 139 is set to the ready state, the host computer 2 reads or writes the data buffer 136 in units of 1 byte (S003). The operation of S003 is repeated until one sector data is read or written (S004). When reading or writing has not been completed for all sector data (S0005, No), the operations from S002 to S004 are repeated, and when reading or writing has been completed for all sector data, the host computer 2 read or write operation is completed.

図7から図11は、マイクロプロセッサ8の動作を示すフローチャートである。   7 to 11 are flowcharts showing the operation of the microprocessor 8.

まず、S101において、マイクロプロセッサ8は、ホストコンピュータ2がアクセス設定レジスタ137にコマンドを設定したことを示す割り込み信号131が出力されたことを監視する。割り込み信号131が出力されると、マイクロプロセッサ8は、アクセス設定レジスタ137を読み出し、ホストコンピュータ2が設定したコマンドを解析する(S102)。   First, in S <b> 101, the microprocessor 8 monitors whether the interrupt signal 131 indicating that the host computer 2 has set a command in the access setting register 137 has been output. When the interrupt signal 131 is output, the microprocessor 8 reads the access setting register 137 and analyzes the command set by the host computer 2 (S102).

次いで、S103において、アクセスの種類が「ライト」の場合にはS104を実行し、「リード」の場合には、図9に示すフローチャートの動作を実行する。   Next, in S103, if the access type is “write”, S104 is executed, and if it is “read”, the operation of the flowchart shown in FIG. 9 is executed.

アクセス設定レジスタ137のコマンドが「ライト」を示している場合、ホストコンピュータ2がライトするセクタデータをライトバッファ7に格納するために、マイクロプロセッサ8はライトバッファ7に対し、アドレス81を出力し(S104)、ステータスレジスタ139にレディー状態を設定する(S105)。   When the command of the access setting register 137 indicates “write”, the microprocessor 8 outputs an address 81 to the write buffer 7 in order to store the sector data to be written by the host computer 2 in the write buffer 7 ( S104), ready status is set in the status register 139 (S105).

その後、一つのセクタデータがホストコンピュータ2からライトバッファ7に格納されると、制御信号デコード部138から転送終了信号134出力される。マイクロプロセッサ8は、S106において、転送終了信号134が出力されたことを検出すると、エラー訂正手段12に格納されているエラー訂正用符号を読み出す(S107)。次いで、マイクロプロセッサ8は、図8に示すフローチャートの動作を実行する。   Thereafter, when one sector data is stored in the write buffer 7 from the host computer 2, the transfer end signal 134 is output from the control signal decoding unit 138. When the microprocessor 8 detects in S106 that the transfer end signal 134 has been output, the microprocessor 8 reads the error correction code stored in the error correction means 12 (S107). Next, the microprocessor 8 executes the operation of the flowchart shown in FIG.

ライトバッファ7に格納されてセクタデータが2N−1番目(すなわち奇数番目)のセクタデータの場合には、第1のメモリ4に対する第1のメモリアドレス82を出力し(S109)、ライトバッファ7から第1のメモリ4にセクタデータを転送し、さらに、エラー訂正用符号を第1のメモリ4に格納する(S110)。また、ライトバッファ7に格納されてセクタデータが2N番目(すなわち偶数番目)のセクタデータの場合には、第2のメモリ5に対する第2のメモリアドレス83を出力し(S111)、ライトバッファ7から第2のメモリ5にセクタデータを転送し、さらに、エラー訂正用符号を第2のメモリ5に格納する(S112)。   When the sector data stored in the write buffer 7 is the 2N-1th (that is, odd-numbered) sector data, the first memory address 82 for the first memory 4 is output (S109). The sector data is transferred to the first memory 4, and the error correction code is stored in the first memory 4 (S110). If the sector data stored in the write buffer 7 is the 2Nth (ie, even-numbered) sector data, the second memory address 83 for the second memory 5 is output (S111). The sector data is transferred to the second memory 5, and the error correction code is stored in the second memory 5 (S112).

図17に、第1のメモリ4および第2のメモリ5に格納されたデータの様子を示す。図から分かるように、第1および第2のメモリの各アドレスには、1セクタ(ここでは512バイト)のデータとそれに対して生成されたエラー訂正用符号を格納している。本実施例におけるエラー訂正用符号は、1セクタ全体のデータに対して1つ(ここでは3バイト)の符号が付与されるものである。   FIG. 17 shows the state of data stored in the first memory 4 and the second memory 5. As can be seen from the figure, each sector of the first and second memories stores data of one sector (here, 512 bytes) and an error correction code generated for the data. The error correction code in this embodiment is one in which one (here, 3 bytes) code is assigned to the data of one sector.

ホストコンピュータ2から全てのセクタデータのライトが終了した場合には、マイクロプロセッサ8は、S101の動作から繰り返し、終了していない場合には、前記S104からS112までの動作を繰り返す(S113)。   When the writing of all the sector data from the host computer 2 is completed, the microprocessor 8 repeats the operation from S101, and when not completed, the microprocessor 8 repeats the operations from S104 to S112 (S113).

アクセス設定レジスタ137のコマンドが「リード」を示している場合、図9に示すフローチャートの動作を実行する。   When the command of the access setting register 137 indicates “read”, the operation of the flowchart shown in FIG. 9 is executed.

まず、ホストコンピュータ2が1番目にリードするセクタデータに対するエラー検出およびエラー訂正を行なう。2N−1番目のセクタデータは、第1のメモリ4に格納されているので、エラー訂正手段12に1番目のセクタデータを入力するために、マイクロプロセッサ8は、データ選択設定レジスタ115に’1’を設定する(S114)。これにより、メモリ制御装置1では、第1のメモリ4からリードしたセクタデータをデータ切り替え手段11において、ECCバス113に切り換えて出力し、第1のメモリ4からリードしたセクタデータに対するエラー検出およびエラー訂正をエラー訂正手段12で行なう。ここで、第1のメモリ4からはセクタデータに続いて、エラー訂正用符号も出力され、エラー訂正用符号はエラー訂正手段12に入力される。これにより、エラー訂正手段12では、第1のメモリ4からリードしたセクタデータに対する復号が行なわれ、エラー検出ができる。また、メモリ制御装置1では、エラー訂正手段12に対し、第1のメモリ4からリードしたセクタデータの出力が終了すると、転送終了信号134がマイクロプロセッサ8に出力される。マイクロプロセッサ8は、転送終了信号134が出力されたことを検出すると(S115)、エラー訂正手段12に格納されている復号結果を読み出し(S116)、エラーが発生したかどうかを判定する(S117)。エラーが発生していた場合には、マイクロプロセッサ8は、エラー訂正手段12に対しエラー訂正処理を起動することで、エラー位置および訂正パターンを知り、第1のメモリ4に格納されているエラーの発生したセクタデータに訂正結果を書き戻す(S118)。エラーが発生していない場合には、図10のS119へ進む。   First, the host computer 2 performs error detection and error correction on the sector data read first. Since the 2N-1st sector data is stored in the first memory 4, in order to input the first sector data to the error correction means 12, the microprocessor 8 sets “1” in the data selection setting register 115. 'Is set (S114). As a result, in the memory control device 1, the sector data read from the first memory 4 is switched and output to the ECC bus 113 by the data switching means 11, and error detection and error are detected for the sector data read from the first memory 4. Correction is performed by the error correction means 12. Here, the error correction code is also output from the first memory 4 following the sector data, and the error correction code is input to the error correction means 12. As a result, the error correction means 12 decodes the sector data read from the first memory 4 and can detect an error. In the memory control device 1, when the output of the sector data read from the first memory 4 is completed to the error correction unit 12, a transfer end signal 134 is output to the microprocessor 8. When the microprocessor 8 detects that the transfer end signal 134 has been output (S115), it reads the decoding result stored in the error correction means 12 (S116) and determines whether an error has occurred (S117). . If an error has occurred, the microprocessor 8 activates error correction processing for the error correction means 12 to know the error position and the correction pattern, and the error stored in the first memory 4 is detected. The correction result is written back to the generated sector data (S118). If no error has occurred, the process proceeds to S119 in FIG.

次いで、マイクロプロセッサ8は、図10に示すフローチャートの動作を行なう。S119において、マイクロプロセッサ8は、ホストコンピュータ2に出力するセクタデータが2N−1番目であるかどうかを確認する。S120では、マイクロプロセッサ8は、2N−1番目のセクタデータをホストコンピュータ2に出力すると同時に、2N番目のセクタデータをエラー訂正手段12に入力するために、データ選択設定レジスタ115に’0’を設定する。次のS121では、第1のメモリアドレス82には、ホストコンピュータ2に出力するセクタデータのアドレスを、第2のメモリアドレス83には、エラー検出およびエラー訂正を行なうセクタデータのアドレスを出力する。S122では、マイクロプロセッサ8は、2N番目のセクタデータをホストコンピュータ2に出力すると同時に、2N+1番目のセクタデータをエラー訂正手段12に入力するために、データ選択設定レジスタ115に’1’を設定する。S123では、第1のメモリアドレス82には、エラー検出およびエラー訂正を行なうセクタデータのアドレスを、第2のメモリアドレス83には、ホストコンピュータ2に出力するセクタデータのアドレスを出力する。その後、マイクロプロセッサ8は、ステータスレジスタ139をレディー状態に設定する(S124)。   Next, the microprocessor 8 performs the operation of the flowchart shown in FIG. In S119, the microprocessor 8 confirms whether the sector data to be output to the host computer 2 is the 2N-1th. In S120, the microprocessor 8 outputs “2N−1” -th sector data to the host computer 2 and simultaneously sets “0” in the data selection setting register 115 to input the 2N-th sector data to the error correction means 12. Set. In the next S121, the address of the sector data to be output to the host computer 2 is output to the first memory address 82, and the address of the sector data for error detection and error correction is output to the second memory address 83. In S122, the microprocessor 8 sets the data selection setting register 115 to “1” in order to output the 2N + 1st sector data to the error correction means 12 at the same time as outputting the 2Nth sector data to the host computer 2. . In S123, the address of sector data for error detection and error correction is output to the first memory address 82, and the address of sector data to be output to the host computer 2 is output to the second memory address 83. Thereafter, the microprocessor 8 sets the status register 139 to the ready state (S124).

ステータスレジスタ139がレディー状態に設定されたことにより、ホストコンピュータ2はメモリ制御装置1に対しセクタデータのリードを行なう。S125では、転送終了信号134が出力されたかどうかを判定している。一つのセクタデータに対するリードが終了すると、メモリ制御装置1の制御信号デコード部138から転送終了信号134が出力される。転送終了信号134が出力されたことにより、マイクロプロセッサ8はエラー訂正手段12に格納されている復号結果を読み出し(S126)、エラーが発生したかどうかを判定する(図11のS127)。エラーが発生していた場合には、マイクロプロセッサ8は、エラー訂正手段12に対しエラー訂正処理を起動することで、エラー位置および訂正パターンを知り、第1のメモリ4または第2のメモリ5に格納されているエラーの発生したセクタデータに訂正結果を書き戻す(S128)。発生していない場合には、S129へ進む。   When the status register 139 is set to the ready state, the host computer 2 reads sector data from the memory control device 1. In S125, it is determined whether or not the transfer end signal 134 is output. When reading of one sector data is completed, a transfer end signal 134 is output from the control signal decoding unit 138 of the memory control device 1. When the transfer end signal 134 is output, the microprocessor 8 reads the decoding result stored in the error correction unit 12 (S126), and determines whether an error has occurred (S127 in FIG. 11). If an error has occurred, the microprocessor 8 activates error correction processing for the error correction means 12 to know the error position and the correction pattern, and stores them in the first memory 4 or the second memory 5. The correction result is written back to the stored sector data where the error has occurred (S128). If not, the process proceeds to S129.

ホストコンピュータ2が全てのセクタデータのリードを終了した場合には、マイクロプロセッサ8はS101の動作から繰り返し、終了していない場合には、前記S119からS128までの動作を繰り返す(S129)。   When the host computer 2 has finished reading all the sector data, the microprocessor 8 repeats the operation from S101, and when it has not finished, it repeats the operations from S119 to S128 (S129).

次に、図16、図18および図19に示したタイミング図により、図1の装置の具体的な処理例を説明する。   Next, a specific processing example of the apparatus shown in FIG. 1 will be described with reference to timing charts shown in FIGS.

図16は、ホストコンピュータ2からメモリ4、5へセクタデータを書き込むライト動作を示す。時点t0で、ホストコンピュータ2からアクセス設定レジスタ137にライトコマンドを設定すると、時点t1で割り込み信号131が発生し、マイクロプロセッサ8に割り込みをかける。時点t1で、ステータスレジスタ139はビジー信号を発生する。その後、時点t2で、ステータスレジスタ139がレディー信号を発生し、マイクロプロセッサ8がライトバッファ7に対してアドレス81を発生する。時点t3以降、ライトバッファ7の指定されたアドレス位置に、タイミング信号135にしたがって512バイトのデータ1〜512が1バイトずつ順次書き込まれる。また、タイミング信号135にしたがって、内部データバス114から512バイトのデータ1〜512が、エラー訂正手段12に入力され、エラー訂正手段12では、エラー訂正用符号を生成する。時点t4で最後のデータ512が書き込まれると、時点t5で転送終了信号134が出力される。その後、このようにしてライトバッファ7に格納されたセクタデータは、図8で説明したように、第1または第2のメモリ4、5に書き込まれる。メモリ4、5への格納結果は、図17に示すようになる。   FIG. 16 shows a write operation for writing sector data from the host computer 2 to the memories 4 and 5. When a write command is set in the access setting register 137 from the host computer 2 at time t0, an interrupt signal 131 is generated at time t1 to interrupt the microprocessor 8. At time t1, the status register 139 generates a busy signal. Thereafter, at time t2, the status register 139 generates a ready signal, and the microprocessor 8 generates an address 81 for the write buffer 7. After time t3, 512 bytes of data 1 to 512 are sequentially written into the designated address position of the write buffer 7 in accordance with the timing signal 135, one byte at a time. Further, in accordance with the timing signal 135, 512 bytes of data 1 to 512 are input from the internal data bus 114 to the error correction unit 12, and the error correction unit 12 generates an error correction code. When the last data 512 is written at time t4, a transfer end signal 134 is output at time t5. Thereafter, the sector data thus stored in the write buffer 7 is written into the first or second memory 4 or 5 as described with reference to FIG. The results stored in the memories 4 and 5 are as shown in FIG.

図18、図19は、ホストコンピュータ2からメモリ4、5のセクタデータを読み出すリード動作を示す。まず、図18において、時点t6でホストコンピュータ2からアクセス設定レジスタ137にリードコマンドを設定すると、次の時点t7で割り込み信号131が発生し、マイクロプロセッサ8に割り込みをかける。ここでは、アドレス「100」以降の複数のセクタのデータを連続して読み出すものとする。時点t8で、読み出すべき1番目のセクタのアドレス「100」を第1のメモリアドレス82に与え、時点t8以降、第1のメモリバス111から512バイトのデータおよび付随する3バイトのエラー訂正用符号を、タイミング信号135にしたがって順次1バイトずつ読み出す。これらのデータは、そのままECCバス113に出力されエラー訂正手段12に入力される。   18 and 19 show a read operation for reading the sector data in the memories 4 and 5 from the host computer 2. First, in FIG. 18, when a read command is set from the host computer 2 to the access setting register 137 at time t6, an interrupt signal 131 is generated at the next time t7 to interrupt the microprocessor 8. Here, it is assumed that data of a plurality of sectors after the address “100” is read continuously. At time t8, the address “100” of the first sector to be read is given to the first memory address 82, and after time t8, 512 bytes of data from the first memory bus 111 and the accompanying 3-byte error correction code. Are sequentially read out byte by byte in accordance with the timing signal 135. These data are output as they are to the ECC bus 113 and input to the error correction means 12.

次に、図19に移り、エラーチェックの終了した1番目のセクタのデータを今度は内部データバス114へ(すなわちホストコンピュータ2側へ)出力するために、データ切り替え手段11の切り替え状態を反転し、時点t9で第1のメモリアドレス82のアドレスは「100」のままとし、第2のメモリアドレス83のアドレスを「101」とする。時点t10以降、再度第1のメモリ4からアドレス「100」のセクタデータを読み出す。このセクタデータは内部データバス114側に出力される。これと並行して、第2のメモリ5のアドレス「101」から2番目のセクタの512バイトのデータおよび付随する3バイトのエラー訂正用符号を順次1バイトずつ読み出し、これをエラー訂正手段12につながるECCバス113に出力する。両セクタデータの読み出しが終了した後、時点t11で今度は、エラーチェックの終了した第2のメモリ5のアドレス「101」を第1のメモリ4のメモリアドレス82に出力するとともに、第2のメモリアドレスはアドレス「101」のままとする。データ切り替え手段11の切り替え状態を反転する。これにより、時点t12以降、アドレス「101」のセクタデータを内部データバス114に出力すると同時に、次のセクタであるアドレス「102」のセクタデータをECCバス113側へ出力する。   Next, moving to FIG. 19, in order to output the data of the first sector for which the error check has been completed to the internal data bus 114 (that is, to the host computer 2 side), the switching state of the data switching means 11 is reversed. At time t9, the address of the first memory address 82 remains “100”, and the address of the second memory address 83 becomes “101”. After the time t10, the sector data at the address “100” is read from the first memory 4 again. This sector data is output to the internal data bus 114 side. In parallel with this, the 512-byte data of the second sector and the accompanying 3-byte error correction code are sequentially read out one byte at a time from the address “101” of the second memory 5, and this is read to the error correction means 12. Output to the connected ECC bus 113. After the reading of both sector data is completed, at time t11, the address “101” of the second memory 5 for which the error check has been completed is output to the memory address 82 of the first memory 4 and the second memory The address remains as “101”. The switching state of the data switching unit 11 is reversed. Thus, after time t12, the sector data at the address “101” is output to the internal data bus 114, and at the same time, the sector data at the address “102” as the next sector is output to the ECC bus 113 side.

このようにして、連続したセクタのデータのリード時に、内部データバス114には連続的にセクタデータが得られ、その結果、ホストコンピュータ2からは、エラー訂正手段12によるエラーチェック処理の時間が存在しないようにみえる。   In this way, when reading data of consecutive sectors, sector data is continuously obtained on the internal data bus 114, and as a result, there is time for error check processing by the error correction means 12 from the host computer 2. Looks like not.

以上説明したように、本実施例によれば、マイクロプロセッサ8は、ライトバッファ7に格納された奇数番目のセクタデータを第1のメモリ4に、偶数番目のセクタデータを第2のメモリ5に格納することにより、ホストコンピュータ2がN番目のセクタデータをリードすると同時に、N+1番目のセクタデータをエラー訂正手段12に対し出力することができるので、N+1番目のセクタデータに対するエラー検出およびエラー訂正に要する時間を見かけ上短縮することができる。   As described above, according to the present embodiment, the microprocessor 8 stores the odd-numbered sector data stored in the write buffer 7 in the first memory 4 and the even-numbered sector data in the second memory 5. By storing the data, the host computer 2 can read the Nth sector data and at the same time output the (N + 1) th sector data to the error correction means 12, so that error detection and error correction can be performed for the (N + 1) th sector data. The time required can be apparently reduced.

図12は、本発明による外部記憶装置のシステム構成を示すブロック図の他の実施例である。   FIG. 12 is another example of a block diagram showing a system configuration of an external storage device according to the present invention.

メモリ9、メモリバス91、データ切り替え手段92以外は、図1と同一の構成であり、同一の動作を行なう。メモリ9は、図1の第1のメモリ4および第2のメモリ5の持つバス幅の2倍のバス幅を持ち、メモリバス91によって、メモリ制御装置1のデータ切り替え手段92とローカルバス6に接続される。データ切り替え手段92は、メモリバス91からの上位データと下位データを内部データバス114およびECCバス113に切り換える。   Except for the memory 9, the memory bus 91, and the data switching means 92, the configuration is the same as in FIG. 1, and the same operation is performed. The memory 9 has a bus width twice that of the first memory 4 and the second memory 5 shown in FIG. 1 and is connected to the data switching means 92 and the local bus 6 of the memory control device 1 by the memory bus 91. Connected. The data switching unit 92 switches the upper data and lower data from the memory bus 91 to the internal data bus 114 and the ECC bus 113.

図13は、データ切り替え手段92の構成を示すブロック図である。   FIG. 13 is a block diagram showing a configuration of the data switching unit 92.

データ選択設定レジスタ115、リードデータ選択回路116、エラー訂正手段入力データ選択回路117は、図3のブロック図に示すものと同一の動作を行なう。メモリバス91からのデータは、上位データ911と下位データ912として、リードデータ選択レジスタ116およびエラー訂正手段入力データ選択回路117に入力される。リードデータ選択レジスタ116では、データ選択設定レジスタ115の内容に従って、内部データバス114に上位データ911または下位データ912を出力する。同様に、エラー訂正手段入力データ選択回路117においても、ECCバス113に上位データ911または下位データ912を出力する。   The data selection setting register 115, the read data selection circuit 116, and the error correction means input data selection circuit 117 perform the same operations as those shown in the block diagram of FIG. Data from the memory bus 91 is input to the read data selection register 116 and the error correction means input data selection circuit 117 as upper data 911 and lower data 912. The read data selection register 116 outputs the upper data 911 or the lower data 912 to the internal data bus 114 according to the contents of the data selection setting register 115. Similarly, the error correction means input data selection circuit 117 also outputs upper data 911 or lower data 912 to the ECC bus 113.

つまり、システムバス3の2倍のバス幅を持つメモリ9に対しても、マイクロプロセッサ8は、ライトバッファ7に格納されている2N−1番目のセクタデータを同一メモリバス上の上位に、2N番目のセクタデータを下位に格納することで、ホストコンピュータ2がN番目のセクタデータをリードすると同時に、N+1番目のセクタデータをエラー訂正手段12に対し出力することができるので、N+1番目のセクタデータに対するエラー検出およびエラー訂正に要する時間を見かけ上短縮することができる。   That is, even for the memory 9 having a bus width twice that of the system bus 3, the microprocessor 8 transfers the 2N-1st sector data stored in the write buffer 7 to the upper rank on the same memory bus. By storing the nth sector data in the lower order, the host computer 2 can read the Nth sector data and simultaneously output the (N + 1) th sector data to the error correction means 12, so that the N + 1th sector data The time required for error detection and error correction can be apparently reduced.

図14は、本発明による外部記憶装置のシステム構成を示すブロック図の他の実施例である。   FIG. 14 is another embodiment of the block diagram showing the system configuration of the external storage device according to the present invention.

図14では、図1のブロック図に示されているライトバッファ7を使用しない構成である。つまり、ホストコンピュータ2がライトするセクタデータは、ライトバッファに一時的に格納されるのではく、直接第1のメモリ4または第2のメモリ5に書き込まれる。そこで、データ切り替え手段93では、ホストコンピュータ2がセクタデータをライトする場合に、内部データバス114からデータを第1のメモリバス111または第2のメモリバス112に切り換えて出力する。 図15は、データ切り替え手段93の構成を示すブロック図である。   In FIG. 14, the write buffer 7 shown in the block diagram of FIG. 1 is not used. That is, the sector data written by the host computer 2 is directly stored in the first memory 4 or the second memory 5 instead of being temporarily stored in the write buffer. Therefore, the data switching means 93 switches the data from the internal data bus 114 to the first memory bus 111 or the second memory bus 112 and outputs the data when the host computer 2 writes sector data. FIG. 15 is a block diagram showing the configuration of the data switching means 93.

データ選択設定レジスタ115、リードデータ選択回路116、エラー訂正手段入力データ選択回路117は、図3のブロック図に示すものと同一の動作を行なう。ライトデータ選択回路118は、データ選択設定レジスタ115の内容に従って、内部データバス114のセクタデータを第1のメモリバス111または第2のメモリバス112に切り換えて出力する。データ選択設定レジスタ115が’0’のとき、内部データバス114のセクタデータを第1のメモリバス111に出力し、データ選択設定レジスタ115が’1’のとき、内部データバス114のセクタデータを第2のメモリバス112に出力する。   The data selection setting register 115, the read data selection circuit 116, and the error correction means input data selection circuit 117 perform the same operations as those shown in the block diagram of FIG. The write data selection circuit 118 switches the sector data of the internal data bus 114 to the first memory bus 111 or the second memory bus 112 according to the contents of the data selection setting register 115 and outputs the data. When the data selection setting register 115 is “0”, the sector data of the internal data bus 114 is output to the first memory bus 111. When the data selection setting register 115 is “1”, the sector data of the internal data bus 114 is output. Output to the second memory bus 112.

つまり、データ切り替え手段11のライトデータ選択回路118は、2N−1番目のセクタデータを第1のメモリバス111に、2N番目のセクタデータを第2のメモリバス112に出力することで、第1のメモリ4には2N−1番目のセクタデータ、第2のメモリ5には2N番目のセクタデータが格納される。これにより、ホストコンピュータ2がN番目のセクタデータをリードすると同時に、N+1番目のセクタデータをエラー訂正手段12に対し出力することができるので、N+1番目のセクタデータに対するエラー検出およびエラー訂正に要する時間を見かけ上短縮することができる。   That is, the write data selection circuit 118 of the data switching unit 11 outputs the 2N-1st sector data to the first memory bus 111 and the 2Nth sector data to the second memory bus 112, thereby outputting the first The memory 4 stores 2N-1st sector data, and the second memory 5 stores 2Nth sector data. Thus, since the host computer 2 can read the Nth sector data and simultaneously output the (N + 1) th sector data to the error correction means 12, the time required for error detection and error correction for the (N + 1) th sector data. Apparently it can be shortened.

以上説明したように、本発明によれば、ホストコンピュータが任意のバイト幅を持つセクタデータをライトするときには、複数(1以上)のメモリから構成される第1のメモリには2N−1番目のセクタデータを、第2のメモリには2N番目のセクタデータを格納できる。これにより、ホストコンピュータがセクタデータをリードするときには、第1のメモリから読み出した2N+1番目のセクタデータをホストコンピュータに出力すると同時に、第2のメモリから読み出した2N番目のセクタデータ(次にホストコンピュータがリードするセクタデータ)をエラー訂正手段においてエラー検出およびエラー訂正を行なうことが可能となる。また、第2のメモリから読み出した2N番目のセクタデータをホストコンピュータに出力すると同時に、第1のメモリから読み出した2N−1番目のセクタデータ(次にホストコンピュータがリードするセクタデータ)をエラー訂正手段においてエラー検出およびエラー訂正を行なうことが可能となる。したがって、ホストコンピュータがセクタデータのリードを行なうと同時に、次にホストコンピュータがリードするセクタデータに対するエラー検出およびエラー訂正を行なうことで、エラー検出およびエラー訂正に要する時間を見かけ上短縮するが可能となり、メモリアクセスの高速化を図ることができる。   As described above, according to the present invention, when the host computer writes sector data having an arbitrary byte width, the 2N-1th memory is formed in the first memory composed of a plurality of (one or more) memories. The 2Nth sector data can be stored in the second memory in the sector data. Thus, when the host computer reads the sector data, the 2N + 1-th sector data read from the first memory is output to the host computer, and at the same time, the 2N-th sector data read from the second memory (the next host computer It is possible to perform error detection and error correction in the error correction means. In addition, the 2Nth sector data read from the second memory is output to the host computer, and at the same time, the 2N-1st sector data read from the first memory (the sector data read by the host computer next) is error-corrected. It is possible to perform error detection and error correction in the means. Therefore, the time required for error detection and error correction can be apparently shortened by performing error detection and error correction on the sector data read by the host computer at the same time that the host computer reads the sector data. The memory access speed can be increased.

さらに、システムバスの2倍のバス幅を持つメモリバスに接続されるメモリに対しても、メモリバスの上位側に2N−1番目のセクタデータを、下位側に2N番目のセクタデータを格納する。これにより、メモリバスの上位側に格納されている2N−1番目のセクタデータと2N番目のセクタデータを同時に読み出すことが可能となり、ホストコンピュータがセクタデータのリードを行なうと同時に、次にホストコンピュータがリードするセクタデータに対するエラー検出およびエラー訂正を行なうことで、エラー検出およびエラー訂正に要する時間を見かけ上短縮するが可能となり、メモリアクセスの高速化を図ることができる。   Furthermore, for a memory connected to a memory bus having a bus width twice that of the system bus, 2N-1st sector data is stored on the upper side of the memory bus, and 2Nth sector data is stored on the lower side. . As a result, the 2N-1st sector data and the 2Nth sector data stored on the upper side of the memory bus can be read simultaneously, and at the same time the host computer reads the sector data, By performing error detection and error correction on the sector data read by, the time required for error detection and error correction can be apparently shortened, and the memory access speed can be increased.

本発明の外部記憶装置のシステム構成を示すブロック図。The block diagram which shows the system configuration | structure of the external storage device of this invention. システムインタフェース部13の構成を示すブロック図。FIG. 3 is a block diagram showing a configuration of a system interface unit 13. データ切り換え手段11の構成を示すブロック図。2 is a block diagram showing the configuration of data switching means 11. FIG. リードデータ選択回路116の真理値表を示す図表。The chart which shows the truth table of the read data selection circuit. エラー訂正手段入力データ選択回路117の真理値表。The truth table of the error correction means input data selection circuit 117. ホストコンピュータ2の動作を示すフローチャート。6 is a flowchart showing the operation of the host computer 2. マイクロプロセッサ8の動作を示すフローチャート。7 is a flowchart showing the operation of the microprocessor 8; マイクロプロセッサ8の動作を示すフローチャート。7 is a flowchart showing the operation of the microprocessor 8; マイクロプロセッサ8の動作を示すフローチャート。7 is a flowchart showing the operation of the microprocessor 8; マイクロプロセッサ8の動作を示すフローチャート。7 is a flowchart showing the operation of the microprocessor 8; マイクロプロセッサ8の動作を示すフローチャート。7 is a flowchart showing the operation of the microprocessor 8; 本発明の外部記憶装置の他の実施例のシステム構成を示すブロック図。The block diagram which shows the system configuration | structure of the other Example of the external storage device of this invention. データ切り換え手段92の構成を示すブロック図。The block diagram which shows the structure of the data switching means 92. FIG. 本発明の外部記憶装置のさらに他の実施例のシステム構成を示すブロック図。The block diagram which shows the system configuration | structure of the further another Example of the external storage device of this invention. データ切り換え手段93の構成を示すブロック図。The block diagram which shows the structure of the data switching means 93. FIG. 実施例におけるライト処理の動作例を示すタイミング図。The timing diagram which shows the operation example of the write process in an Example. 第1のメモリ4および第2のメモリ5の説明図。Explanatory drawing of the 1st memory 4 and the 2nd memory 5. FIG. 実施例におけるリード処理の動作例を示すタイミング図。FIG. 6 is a timing diagram illustrating an operation example of read processing in the embodiment. 図18のタイミング図に続くタイミング図。FIG. 19 is a timing chart following the timing chart of FIG. 18. 本発明の外部記憶装置を内蔵したメモリカードの外観図。1 is an external view of a memory card incorporating an external storage device of the present invention.

符号の説明Explanation of symbols

1…メモリ制御装置、2…ホストコンピュータ、3…システムバス、4…第1のメモリ、5…第2のメモリ、6…ローカルバス、7…ライトバッファ、8…マイクロプロセッサ、9…メモリ、11…データ切り替え手段、12…エラー訂正手段、13…システムインタフェース部、22…制御信号、31…ホストコンピュータバス、32…外部バス、61…ライトバッファバス、62…マイクロプロセッサバス、81…ライトバッファアドレス、82…第1のメモリアドレス、83…第2のメモリアドレス、84…メモリアドレス、91…メモリバス、92…データ切り替え手段、93…データ切り替え手段、111…第1のメモリバス、112…第2のメモリバス、113…ECCバス、114…内部データバス、115…データ選択設定レジスタ、116…リードデータ選択回路、117…エラー訂正手段入力データ選択回路、131…割り込み信号、132…リード信号、133…ライト信号、134…転送終了信号、135…タイミング信号、136…データバッファ、137…アクセス設定レジスタ、138…制御信号デコード部、139…ステータスレジスタ、911…メモリバス91の上位データ、912…メモリバス91の下位データ。
DESCRIPTION OF SYMBOLS 1 ... Memory control apparatus, 2 ... Host computer, 3 ... System bus, 4 ... 1st memory, 5 ... 2nd memory, 6 ... Local bus, 7 ... Write buffer, 8 ... Microprocessor, 9 ... Memory, 11 Data switching means, 12 Error correction means, 13 System interface section, 22 Control signal, 31 Host computer bus, 32 External bus, 61 Write buffer bus, 62 Microprocessor bus, 81 Write buffer address , 82 ... First memory address, 83 ... Second memory address, 84 ... Memory address, 91 ... Memory bus, 92 ... Data switching means, 93 ... Data switching means, 111 ... First memory bus, 112 ... First 2 memory buses, 113 ... ECC bus, 114 ... internal data bus, 115 ... data selection setting Register 116, Read data selection circuit, 117 ... Error correction means input data selection circuit, 131 ... Interrupt signal, 132 ... Read signal, 133 ... Write signal, 134 ... Transfer end signal, 135 ... Timing signal, 136 ... Data buffer, 137: Access setting register, 138: Control signal decoding unit, 139: Status register, 911: Upper data of the memory bus 91, 912: Lower data of the memory bus 91

Claims (15)

外部バスを介してホストコンピュータとのインターフェースを実行するシステムインターフェース部と、前記システムインターフェース部によって前記ホストコンピュータから受信されたコマンドを解析し、当該記憶装置内で行われる動作を制御する制御手段と、データを電気的に消去・書き換え可能な不揮発性半導体メモリとを備えた記憶装置において、
前記不揮発性半導体メモリは、前記システムインターフェース部を介して前記ホストコンピュータから受信されたデータを格納し、
前記制御手段は、前記システムインターフェース部を介して前記ホストコンピュータから受信されたリードコマンドに応答して、データ処理後のデータの前記システムインターフェース部を介した前記ホストコンピュータへの転送と、前記データ処理のための次のデータの前記不揮発性半導体メモリからの転送とを並列に実行するように、前記ホストコンピュータへ転送するための前記データ処理後のデータのアドレスと前記データ処理のための前記次のデータのアドレスを前記不揮発性半導体メモリに出力すること
を特徴とする記憶装置。
A system interface unit that executes an interface with a host computer via an external bus; a control unit that analyzes a command received from the host computer by the system interface unit and controls an operation performed in the storage device; In a storage device including a nonvolatile semiconductor memory that can electrically erase and rewrite data,
The nonvolatile semiconductor memory stores data received from the host computer via the system interface unit,
In response to a read command received from the host computer via the system interface unit, the control means transfers data after data processing to the host computer via the system interface unit, and the data processing The address of the data after the data processing for transferring to the host computer and the next for the data processing so as to execute in parallel the transfer of the next data for the data from the nonvolatile semiconductor memory A storage device that outputs an address of data to the nonvolatile semiconductor memory .
前記データ処理後のデータの前記システムインターフェース部を介した前記ホストコンピュータへの転送と、前記データ処理のための次のデータの前記不揮発性半導体メモリからの転送との並列動作は、2つの前記不揮発性半導体メモリを用いて実行されること
を特徴とする請求項1に記載された記憶装置。
The parallel operation of the transfer of the data after the data processing to the host computer via the system interface unit and the transfer of the next data for the data processing from the nonvolatile semiconductor memory includes two non-volatile operations. The storage device according to claim 1, wherein the storage device is executed using a volatile semiconductor memory.
前記システムインターフェース部を介して前記ホストコンピュータから受信されたリードコマンドに応答して、前記2つの不揮発性半導体メモリの一方は、前記制御手段によって前記データ処理後のデータを読み出され、前記2つの不揮発性半導体メモリの他方は、前記制御手段によって前記データ処理のための次のデータを読み出されること
を特徴とする請求項2に記載された記憶装置。
In response to a read command received from the host computer via the system interface unit, wherein one of the two non-volatile semiconductor memory, read the data after the data processing by the control means, the two the other non-volatile semiconductor memory is a storage device according to claim 2, characterized in that read the next data for the data processing by the control means.
前記不揮発性半導体メモリは、フラッシュメモリであること
を特徴とする請求項2又は3に記載された記憶装置。
The storage device according to claim 2, wherein the nonvolatile semiconductor memory is a flash memory.
前記2つの不揮発性半導体メモリの一方は、第1のメモリバスを介して前記制御手段に接続され、
前記2つの不揮発性半導体メモリの他方は、第2のメモリバスを介して前記制御手段に接続され、
前記データ処理後のデータの前記システムインターフェース部を介した前記ホストコンピュータへの転送の間に、前記データ処理のための次のデータが前記第2のメモリバスを介して前記2つの不揮発性半導体メモリの他方から前記制御手段へ転送され、
前記データ処理のための次のデータを前記第2のメモリバスを介して前記不揮発性半導体メモリから前記制御手段へ転送する間に、前記データ処理のための次のデータのさらに次のデータが前記第1のメモリバスを介して前記2つの不揮発性半導体メモリの一方から前記制御手段へ転送されること
を特徴とする請求項2〜4の何れかに記載された記憶装置。
One of the two nonvolatile semiconductor memories is connected to the control means via a first memory bus,
The other of the two nonvolatile semiconductor memories is connected to the control means via a second memory bus,
During the transfer of the data after the data processing to the host computer via the system interface unit, the next data for the data processing is transferred to the two nonvolatile semiconductor memories via the second memory bus. Is transferred to the control means from the other side of
During the transfer the next data for the data processing from the non-volatile semiconductor memory via the second memory bus to said control means, following further next data the data for the data processing 5. The storage device according to claim 2, wherein the storage device is transferred from one of the two nonvolatile semiconductor memories to the control means via a first memory bus.
外部バスを介してホストコンピュータとのインターフェースを実行するシステムインターフェース部と、前記システムインターフェース部によって前記ホストコンピュータから受信されたコマンドを解析し、当該記憶装置内で行われる動作を制御する制御手段と、データを電気的に消去・書き換え可能な不揮発性半導体メモリとを備えた記憶装置において、
前記不揮発性半導体メモリは、前記システムインターフェース部を介して前記ホストコンピュータから受信されたデータを格納し、
前記制御手段は、前記システムインターフェース部を介して前記ホストコンピュータから受信されたリードコマンドに応答して、エラー検出・訂正後のデータの前記システムインターフェース部を介した前記ホストコンピュータへの転送と、前記エラー検出・訂正のための次のデータの前記不揮発性半導体メモリからの転送とを並列に実行するように、前記ホストコンピュータへ転送するための前記エラー検出・訂正後のデータのアドレスと前記エラー検出・訂正のための前記次のデータのアドレスを前記不揮発性半導体メモリに出力すること
を特徴とする記憶装置。
A system interface unit that executes an interface with a host computer via an external bus; a control unit that analyzes a command received from the host computer by the system interface unit and controls an operation performed in the storage device; In a storage device including a nonvolatile semiconductor memory that can electrically erase and rewrite data,
The nonvolatile semiconductor memory stores data received from the host computer via the system interface unit,
In response to a read command received from the host computer via the system interface unit, the control means transfers the data after error detection / correction to the host computer via the system interface unit, and The address of the error-detected / corrected data for transferring to the host computer and the error detection so that the next data for error detection / correction is transferred from the nonvolatile semiconductor memory in parallel. A storage device that outputs the address of the next data for correction to the nonvolatile semiconductor memory .
前記エラー検出・訂正後のデータの前記システムインターフェース部を介した前記ホストコンピュータへの転送と、前記エラー検出・訂正のための次のデータの前記不揮発性半導体メモリからの転送との並列動作は、2つの前記不揮発性半導体メモリを用いて実行されること
を特徴とする請求項6に記載された記憶装置。
The parallel operation of the transfer of the data after the error detection / correction to the host computer via the system interface unit and the transfer of the next data for the error detection / correction from the nonvolatile semiconductor memory, The storage device according to claim 6, wherein the storage device is executed by using the two nonvolatile semiconductor memories.
前記システムインターフェース部を介して前記ホストコンピュータから受信されたリードコマンドに応答して、前記2つの不揮発性半導体メモリの一方は、前記制御手段によって前記エラー検出・訂正後のデータを読み出され、前記2つの不揮発性半導体メモリの他方は、前記制御手段によって前記エラー検出・訂正のための次のデータを読み出されること
を特徴とする請求項7に記載された記憶装置。
In response to a read command received from the host computer via the system interface unit, one of the two nonvolatile semiconductor memories is read by the control means after the error detection / correction data, 8. The storage device according to claim 7, wherein the other of the two nonvolatile semiconductor memories is read by the control means for the next data for error detection / correction.
前記不揮発性半導体メモリは、フラッシュメモリであること
を特徴とする請求項7又は8に記載された記憶装置。
9. The storage device according to claim 7, wherein the nonvolatile semiconductor memory is a flash memory.
前記2つの不揮発性半導体メモリの一方は、第1のメモリバスを介して前記制御手段に接続され、
前記2つの不揮発性半導体メモリの他方は、第2のメモリバスを介して前記制御手段に接続され、
前記エラー検出・訂正後のデータの前記システムインターフェース部を介した前記ホストコンピュータへの転送の間に、前記エラー検出・訂正のための次のデータが前記第2のメモリバスを介して前記2つの不揮発性半導体メモリの他方から前記制御手段へ転送され、
前記エラー検出・訂正のための次のデータの前記不揮発性半導体メモリからの転送の間に、前記エラー検出・訂正のための次のデータのさらに次のデータが前記第1のメモリバスを介して前記2つの不揮発性半導体メモリの一方から前記制御手段へ転送されること
を特徴とする請求項7〜9の何れかに記載された記憶装置。
One of the two nonvolatile semiconductor memories is connected to the control means via a first memory bus,
The other of the two nonvolatile semiconductor memories is connected to the control means via a second memory bus,
During the transfer to the host computer via the system interface portion of the data after the error detection and correction, said error detection and for the correct next data the two through the second memory bus Transferred from the other non-volatile semiconductor memory to the control means ,
During the transfer of the next data for error detection / correction from the non-volatile semiconductor memory , the next data of the next data for error detection / correction passes through the first memory bus. 10. The storage device according to claim 7, wherein the storage device is transferred from one of the two nonvolatile semiconductor memories to the control unit .
外部バスを介してホストコンピュータとのインターフェースを実行するシステムインターフェース部と、前記ホストコンピュータからのデータのリード動作及びライト動作を制御する制御手段と、データのエラー検出・訂正を行うエラー訂正手段と、データを電気的に消去・書き換え可能な不揮発性半導体メモリとを備えた記憶装置において、
前記不揮発性半導体メモリは、前記システムインターフェース部を介して前記ホストコンピュータから受信されたセクタデータを格納し、
前記制御手段は、前記ホストコンピュータから、連続した複数のセクタデータにリードアクセスする際、第N番目のセクタデータを前記不揮発性半導体メモリから読み出して前記エラー訂正手段によりエラー検出・訂正を行い、前記エラー検出・訂正後の第N番目のセクタデータを前記ホストコンピュータへ転送している間に、第(N+1)番目のセクタデータを前記不揮発性半導体メモリから読み出して前記エラー訂正手段に転送する制御を行うように、前記ホストコンピュータへ転送するための前記エラー検出・訂正後の第N番目のセクタデータのアドレスと前記エラー訂正手段へ転送するための前記第(N+1)番目のデータのアドレスを前記不揮発性半導体メモリに出力すること
を特徴とする記憶装置。
A system interface unit that executes an interface with a host computer via an external bus, a control unit that controls a read operation and a write operation of data from the host computer, an error correction unit that performs data error detection and correction, In a storage device including a nonvolatile semiconductor memory that can electrically erase and rewrite data,
The nonvolatile semiconductor memory stores sector data received from the host computer via the system interface unit,
The control means reads out the Nth sector data from the nonvolatile semiconductor memory and performs error detection / correction by the error correction means when performing read access to a plurality of continuous sector data from the host computer, While transferring the Nth sector data after error detection / correction to the host computer, the (N + 1) th sector data is read from the nonvolatile semiconductor memory and transferred to the error correction means. In order to perform control, an address of the Nth sector data after the error detection / correction for transfer to the host computer and an address of the (N + 1) th data for transfer to the error correction means A storage device that outputs the data to the nonvolatile semiconductor memory .
前記エラー訂正手段は、前記エラー検出・訂正後の第N番目のセクタデータを前記ホストコンピュータへ転送している間に、前記不揮発性半導体メモリから読み出された前記第(N+1)番目のセクタデータのエラー検出・訂正を行うこと
を特徴とする請求項11に記載された記憶装置。
The error correction means is configured to read the (N + 1) th read from the nonvolatile semiconductor memory while transferring the Nth sector data after the error detection / correction to the host computer. 12. The storage device according to claim 11, wherein error detection / correction of sector data is performed.
前記セクタデータのサイズは、512バイトであること
を特徴とする請求項11又は12に記載された記憶装置。
13. The storage device according to claim 11, wherein the size of the sector data is 512 bytes.
前記制御手段は、前記ホストコンピュータから、連続した複数のセクタデータにリードアクセスする際、該リードアクセスで要求された複数のセクタデータのうち、第1番目のセクタデータを前記不揮発性半導体メモリから読み出して前記エラー訂正手段に供給し、その後、第N番目のセクタデータを前記不揮発性半導体のメモリのうちの1つから読み出して前記エラー訂正手段によりエラー検出・訂正を行い、前記エラー検出・訂正後の第N番目のセクタデータを前記ホストコンピュータへ転送している間に、第(N+1)番目のセクタデータを前記不揮発性半導体メモリのうちの他の1つのメモリから読み出して前記エラー訂正手段に転送する制御を行うこと
を特徴とする請求項11〜13の何れかに記載された記憶装置。
When the host computer performs a read access to a plurality of continuous sector data, the control unit reads the first sector data out of the plurality of sector data requested by the read access from the nonvolatile semiconductor memory. Is then supplied to the error correction means, after which the Nth sector data is read from one of the non-volatile semiconductor memories, and error detection and correction are performed by the error correction means, and after the error detection and correction (N + 1) th sector data is read from the other one of the nonvolatile semiconductor memories and transferred to the error correction means while the Nth sector data is transferred to the host computer. The storage device according to claim 11, wherein control is performed.
前記制御手段は、前記ホストコンピュータから、連続した複数のセクタデータにリードアクセスする際、該リードアクセスで要求された複数のセクタデータのうち、第(2N−1)番目のセクタデータに対して処理を行う際には、第(2N−1)番目のセクタデータを前記不揮発性半導体メモリのうちの1つから読み出して前記ホストコンピュータへ転送すると共に、第2N番目のセクタデータを前記エラー訂正手段に転送し、  When the host computer performs a read access to a plurality of consecutive sector data, the control means processes the (2N-1) th sector data among the plurality of sector data requested by the read access. Is performed, the (2N-1) th sector data is read from one of the nonvolatile semiconductor memories and transferred to the host computer, and the 2Nth sector data is transferred to the error correction means. Forward,
第2N番目のセクタデータに対して処理を行う際には、第2N番目のセクタデータを前記不揮発性半導体メモリのうちの1つから読み出して前記ホストコンピュータへ転送すると共に、第(2N+1)番目のセクタデータを前記エラー訂正手段に転送し、  When processing the 2Nth sector data, the 2Nth sector data is read from one of the nonvolatile semiconductor memories and transferred to the host computer, and the (2N + 1) th sector data is read out. Transferring sector data to the error correction means;
いずれのセクタデータに対して処理を行う際にも、エラー訂正手段でエラーが検出された場合には前記不揮発性半導体メモリの該当するセクタデータに訂正結果を書き戻す制御を行うこと  When processing is performed on any sector data, if an error is detected by the error correction means, control is performed to write back the correction result to the corresponding sector data in the nonvolatile semiconductor memory.
を特徴とする請求項11〜13の何れかに記載された記憶装置。The storage device according to claim 11.
JP2006028186A 2006-02-06 2006-02-06 External storage device and memory access control method thereof Expired - Lifetime JP3983788B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006028186A JP3983788B2 (en) 2006-02-06 2006-02-06 External storage device and memory access control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006028186A JP3983788B2 (en) 2006-02-06 2006-02-06 External storage device and memory access control method thereof

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP17907595A Division JP3782840B2 (en) 1995-07-14 1995-07-14 External storage device and memory access control method thereof

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2007033210A Division JP2007179560A (en) 2007-02-14 2007-02-14 External storage device and its memory access control method

Publications (3)

Publication Number Publication Date
JP2006164305A JP2006164305A (en) 2006-06-22
JP2006164305A5 JP2006164305A5 (en) 2006-10-26
JP3983788B2 true JP3983788B2 (en) 2007-09-26

Family

ID=36666159

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006028186A Expired - Lifetime JP3983788B2 (en) 2006-02-06 2006-02-06 External storage device and memory access control method thereof

Country Status (1)

Country Link
JP (1) JP3983788B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5472808B2 (en) * 2010-03-01 2014-04-16 ソリッド ステート ストレージ ソリューションズ インク External storage device and memory access control method thereof

Also Published As

Publication number Publication date
JP2006164305A (en) 2006-06-22

Similar Documents

Publication Publication Date Title
JP3782840B2 (en) External storage device and memory access control method thereof
US9652324B2 (en) Solid state disk controller apparatus
JP3944496B2 (en) Increased memory performance in flash memory devices by simultaneous write operations to multiple devices
JP4711531B2 (en) Semiconductor memory device
US7823044B2 (en) Method for streamlining error connection code computation while reading or programming a NAND flash memory
JP2009282923A (en) Semiconductor storage device and nonvolatile memory
JP4511618B2 (en) External storage device and memory access control method thereof
JP4739296B2 (en) External storage device and memory access control method thereof
JP3983788B2 (en) External storage device and memory access control method thereof
JP4813454B2 (en) External storage device and memory access control method thereof
US20140025907A1 (en) Storage control apparatus, storage apparatus, and processing methods thereof
JP5642764B2 (en) External storage device and memory access control method thereof
JP5472808B2 (en) External storage device and memory access control method thereof
JP2007179560A (en) External storage device and its memory access control method
JP2011118922A (en) Reading/writing method for semiconductor storage device
KR100298904B1 (en) Interface method for flash memory
JPH09288618A (en) Storage device and memory access control method therefor
KR101081879B1 (en) Programming method of non volatile memory device
JP4742561B2 (en) Storage device, data processing system, and memory control method
JP2008234723A (en) Memory system
JP2000285686A (en) Write-in circuit of non-volatile memory
JPH02220291A (en) Bubble file storage

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060911

A871 Explanation of circumstances concerning accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A871

Effective date: 20060911

A975 Report on accelerated examination

Free format text: JAPANESE INTERMEDIATE CODE: A971005

Effective date: 20060927

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20061219

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20070214

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20070605

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20070704

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100713

Year of fee payment: 3

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110713

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120713

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120713

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130713

Year of fee payment: 6

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term
R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250