JP2005173956A - Data transfer method and data transfer system - Google Patents

Data transfer method and data transfer system Download PDF

Info

Publication number
JP2005173956A
JP2005173956A JP2003412831A JP2003412831A JP2005173956A JP 2005173956 A JP2005173956 A JP 2005173956A JP 2003412831 A JP2003412831 A JP 2003412831A JP 2003412831 A JP2003412831 A JP 2003412831A JP 2005173956 A JP2005173956 A JP 2005173956A
Authority
JP
Japan
Prior art keywords
data transfer
host computer
strobe signal
ata
abnormal
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
JP2003412831A
Other languages
Japanese (ja)
Inventor
Shogo Aota
正吾 青田
Akira Kikuchi
亮 菊池
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 LG Data Storage Inc
Original Assignee
Hitachi LG Data Storage Inc
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 LG Data Storage Inc filed Critical Hitachi LG Data Storage Inc
Priority to JP2003412831A priority Critical patent/JP2005173956A/en
Publication of JP2005173956A publication Critical patent/JP2005173956A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data transfer method and a data transfer system that can end data transfer if a host computer has violated the protocol of a strobe signal. <P>SOLUTION: The strobe signal received from the host computer is compared with the content of an ATA/TAPI command received and stored prior to the probe signal, to determine whether the strobe signal is normal or abnormal. In the case of the abnormal strobe signal, data transfer is stopped once the number of abnormal strobe signals received has reached a preset number, and a report on the end of an error about the ATA/ATAPI command is sent to the host computer (205-209). <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、ホストコンピュータとドライブ装置間のデータ転送方法およびそのデータ転送方法を有するデータ転送システムに関する。   The present invention relates to a data transfer method between a host computer and a drive device, and a data transfer system having the data transfer method.

パーソナルコンピュータ等のホストコンピュータと光ディスク装置等のドライブ装置間のデータ転送を行うインターフェース(I/F)の代表例として、スカジー(SCSI)とアタ/アタピ(ATA/ATAPI)があり、SCSIは、データバスにパリティビットを設けてデータ転送時のデータ誤りを検出することができるが、ATA/ATAPIは、エラー検出用ビットが無く、ATAPIケーブルの物理的特性などによるインピーダンスの影響や高速データ転送にて、ホストコンピュータとドライブ装置間でデータ転送中にデータ誤りが発生することがあるという問題があった。ATA/ATAPIの詳細は例えば非特許文献1に記載されている。   As typical examples of interfaces (I / F) for transferring data between a host computer such as a personal computer and a drive device such as an optical disk device, there are Scuzzy (SCSI) and Ata / Atapi (ATA / ATAPI). Although it is possible to detect a data error during data transfer by providing a parity bit on the bus, ATA / ATAPI has no error detection bit, and is affected by impedance due to the physical characteristics of the ATAPI cable and high-speed data transfer. There is a problem that a data error may occur during data transfer between the host computer and the drive device. Details of ATA / ATAPI are described in Non-Patent Document 1, for example.

本問題に対する対応例として、従来、ホストコンピュータからドライブ装置へ転送中にデータ誤りの発生有無を診断するホストインターフェース診断処理が知られている。この処理方法では、ホストコンピュータが選択したデータ転送モードを用いて所定のデータをドライブ装置へ送信し、ドライブ装置にて、ホストコンピュータから受信した所定のデータと、予めホストコンピュータからの命令に基づいて作成してある比較用データとを比較し、比較結果が同じでない場合はエラーが発生したと判断して、ホストコンピュータとの間の上記選択したデータ転送モードによるデータの送受信を禁止し、比較結果が同じ場合は、エラーが発生していないと判断して、データの送受信を行う。この処理方法は、例えば特許文献1に記載されている。   As an example of dealing with this problem, a host interface diagnosis process for diagnosing whether or not a data error has occurred during transfer from a host computer to a drive device is conventionally known. In this processing method, predetermined data is transmitted to the drive device using the data transfer mode selected by the host computer, and the drive device receives the predetermined data received from the host computer and a command from the host computer in advance. Compare with the created comparison data. If the comparison results are not the same, it is determined that an error has occurred, and data transmission / reception with the selected data transfer mode with the host computer is prohibited. Are the same, it is determined that no error has occurred and data is transmitted and received. This processing method is described in Patent Document 1, for example.

CQ出版株式会社発行、「ATA(IDE)/ATAPIの徹底研究」、P8〜25。Published by CQ Publishing Co., Ltd., “Thorough Research on ATA (IDE) / ATAPI”, P8-25.

特開2002−41434号公報JP 2002-41434 A

しかし、このデータ転送方法では、データ転送のひとつのPIO(プログラム・インプット・アウトプット)データ転送において、ホストコンピュータ側で、ノイズや誤動作などにより、ストローブ信号のプロトコル違反が発生する場合について、何ら考慮されていない。   However, in this data transfer method, no consideration is given to the case where a protocol violation of the strobe signal occurs due to noise or malfunction on the host computer side during one PIO (program / input / output) data transfer. It has not been.

ストローブ信号は、レジスタまたはデータを読み書きするために読み書きのタイミングをコントロールする信号であり、PIOデータ転送においては、ドライブ装置→ホストコンピュータの転送方向を示すIOR-信号と、ホストコンピュータ→ドライブ装置の転送方向を示すIOW-信号の2種類の信号を使う。   The strobe signal is a signal for controlling the read / write timing in order to read / write the register or data. In the PIO data transfer, the IOR- signal indicating the transfer direction from the drive device to the host computer and the transfer from the host computer to the drive device. Two types of signals are used: IOW-signals that indicate directions.

ストローブ信号のプロトコル違反が発生して、ストローブ信号のドライブ装置→ホストコンピュータの転送方向を示すIOR-信号や、ホストコンピュータ→ドライブ装置の転送方向を示すIOW-信号に誤りが生じた場合、ドライブ装置側が誤ったストローブ信号によるデータ処理をしてしまい、誤ったストローブ信号によるデータ処理をしたデータと正常なストローブ信号によるデータ処理をしたデータとが混在して、以後の転送データが破綻してデータ転送を終了することができないという課題がある。   If a strobe signal protocol violation occurs and an error occurs in the IOR- signal indicating the transfer direction of the strobe signal from the drive device to the host computer or the IOW- signal indicating the transfer direction of the host computer to the drive device, the drive device Data processed by the wrong strobe signal on the side, data processed by the incorrect strobe signal and data processed by the normal strobe signal are mixed, and subsequent transfer data fails and data transfer occurs There is a problem that can not be finished.

本発明の目的は、ホストコンピュータ側でストローブ信号のプロトコル違反が発生した場合に、データ転送を終了することが可能なデータ転送方法およびデータ転送システムを提供することにある。   An object of the present invention is to provide a data transfer method and a data transfer system capable of terminating data transfer when a protocol violation of a strobe signal occurs on the host computer side.

本発明による請求項1記載のデータ転送方法は、ホストコンピュータから受信したストローブ信号によるデータ処理をしたデータを、ホストコンピュータにデータ転送するデータ転送方法において、前記ホストコンピュータから受信したストローブ信号を、該ストローブ信号に先立って受信し保存してあるATA/ATAPIコマンドの内容と比較して、正常ストローブ信号か異常ストローブ信号かを判断し、該異常ストローブ信号のとき該異常ストローブ信号の受信する数が予め決めた数に達したらデータ転送をしないで前記ATA/ATAPIコマンドに対するエラー終了通知を、前記ホストコンピュータに送信することを特徴とする。   According to a first aspect of the present invention, there is provided a data transfer method according to the first aspect of the present invention, in which the data processed by the strobe signal received from the host computer is transferred to the host computer, the strobe signal received from the host computer is transmitted to the host computer. Compared to the contents of the ATA / ATAPI command received and stored prior to the strobe signal, it is determined whether the strobe signal is a normal strobe signal or an abnormal strobe signal. When the determined number is reached, an error completion notice for the ATA / ATAPI command is transmitted to the host computer without transferring data.

本発明による請求項2記載のデータ転送方法は、請求項1記載のデータ転送方法において、前記ホストコンピュータから受信したストローブ信号が前記異常ストローブ信号のときは、直ちに前記ATA/ATAPIコマンドに対するエラー終了通知を、前記ホストコンピュータに送信することを特徴とする。   The data transfer method according to claim 2 of the present invention is the data transfer method according to claim 1, wherein when the strobe signal received from the host computer is the abnormal strobe signal, an error completion notification for the ATA / ATAPI command is immediately performed. Is transmitted to the host computer.

本発明による請求項3記載のデータ転送システムは、ホストコンピュータから受信したストローブ信号によるデータ処理をしたデータを、ホストコンピュータにデータ転送するデータ転送システムにおいて、前記ホストコンピュータから受信したストローブ信号を、該ストローブ信号に先立って受信し保存してあるATA/ATAPIコマンドの内容と比較して、正常ストローブ信号か異常ストローブ信号かを判断し、該異常ストローブ信号のとき該異常ストローブ信号の受信する数が予め決めた数に達したらデータ転送をしないで前記ATA/ATAPIコマンドに対するエラー終了通知を、前記ホストコンピュータに送信することを特徴とする。   According to a third aspect of the present invention, there is provided a data transfer system according to a third aspect of the present invention, in which the data processed by the strobe signal received from the host computer is transferred to the host computer, the strobe signal received from the host computer is transmitted to the host computer. Compared to the contents of the ATA / ATAPI command received and stored prior to the strobe signal, it is determined whether the strobe signal is a normal strobe signal or an abnormal strobe signal. When the determined number is reached, an error completion notice for the ATA / ATAPI command is transmitted to the host computer without transferring data.

本発明による請求項4記載のデータ転送システムは、請求項3記載のデータ転送システムにおいて、前記ホストコンピュータから受信したストローブ信号が前記異常ストローブ信号のときは、直ちに前記ATA/ATAPIコマンドに対するエラー終了通知を、前記ホストコンピュータに送信することを特徴とする。   The data transfer system according to claim 4 of the present invention is the data transfer system according to claim 3, wherein when the strobe signal received from the host computer is the abnormal strobe signal, an error completion notification for the ATA / ATAPI command is immediately performed. Is transmitted to the host computer.

本発明によれば、ホストコンピュータ側でストローブ信号のプロトコル違反が発生した場合に、データ転送を終了することが可能なデータ転送方法およびデータ転送システムを得ることができる。   According to the present invention, it is possible to obtain a data transfer method and a data transfer system capable of ending data transfer when a strobe signal protocol violation occurs on the host computer side.

以下、図面に基づき本発明による実施の形態について説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は、本発明に係るデータ転送方法を有するデータ転送システムの実施の形態の構成図である。   FIG. 1 is a configuration diagram of an embodiment of a data transfer system having a data transfer method according to the present invention.

図1において、データ転送システムは、ホストコンピュータ1とドライブ装置2とが通信線3を介して互いにデータ転送可能に接続されている。   In FIG. 1, in a data transfer system, a host computer 1 and a drive device 2 are connected via a communication line 3 so as to be able to transfer data to each other.

ホストコンピュータ1は、マイコン(マイクロコンピュータ)11とメモリ12とATA/ATAPI I/F13を備え、ドライブ装置2は、ATA/ATAPI I/F21とDSP(デジタル・シグナル・プロセッサ)22とメモリ23とマイコン(マイクロコンピュータ)24を備える。   The host computer 1 includes a microcomputer 11, a memory 12, and an ATA / ATAPI I / F 13, and the drive device 2 includes an ATA / ATAPI I / F 21, a DSP (digital signal processor) 22, a memory 23, and a microcomputer. (Microcomputer) 24 is provided.

DSP22は、その内部に異常ストローブカウンタ22−1とバイト カウント(BYTE COUNT)レジスタ22−2とインタラプト リーズン(INTERRUPT REASON)レジスタ22−3とステイタス(STATUS)レジスタ22−4を備える。これらのレジスタのうち、異常ストローブカウンタ22−1以外のレジスタ22−2〜22−4は、ATA/ATAPI I/F13用のDSP22に、ATA/ATAPIレジスタとして従来より内蔵されているレジスタである。   The DSP 22 includes an abnormal strobe counter 22-1, a byte count (BYTE COUNT) register 22-2, an interrupt reason register 22-3, and a status (STATUS) register 22-4. Among these registers, the registers 22-2 to 22-4 other than the abnormal strobe counter 22-1 are registers that are conventionally built in the DSP 22 for the ATA / ATAPI I / F 13 as the ATA / ATAPI register.

図2は、本発明に係るデータ転送方法の例を示すフローチャート図である。この図2は、ドライブ装置2がホストコンピュータ1からATA/ATAPIコマンドを受信してからATA/ATAPIコマンドに基づく終了をホストコンピュータ1に送信までのフローチャートを示す図である。   FIG. 2 is a flowchart showing an example of the data transfer method according to the present invention. FIG. 2 is a diagram showing a flowchart from when the drive apparatus 2 receives an ATA / ATAPI command from the host computer 1 to transmission of an end based on the ATA / ATAPI command to the host computer 1.

まずステップ201で、ホストコンピュータ1からのATA/ATAPIコマンドをATA/ATAPI I/F21を介してDSP22が受信して、ATA/ATAPIコマンドの内容をメモリ23に保存する。   First, in step 201, the DSP 22 receives the ATA / ATAPI command from the host computer 1 via the ATA / ATAPI I / F 21 and stores the contents of the ATA / ATAPI command in the memory 23.

次にステップ202で、受信したATA/ATAPIコマンドで要求されたデータ転送の全バイト数例えば20バイトの転送すべきデータ(ドライブ装置2の情報等)を、DSP22が作成してメモリ23に保存する。   Next, in step 202, the DSP 22 creates the data to be transferred (information on the drive device 2 etc.) of the total number of bytes of data transfer requested by the received ATA / ATAPI command, for example, 20 bytes, and stores it in the memory 23. .

次にステップ203で、DSP22の異常ストローブカウンタ22−1の初期化をする。初期設定値は例えば転送1回あたりのバイト数の1/2にする。(ストローブ信号1発につき2バイトのデータ転送をすると規格で決められているので、1回のデータ転送で発生する予定の総ストローブ信号数に相当する)。転送1回あたりのバイト数が例えば20バイトの場合、初期設定値を10に、マイコン(マイクロコンピュータ)24が設定する。   Next, at step 203, the abnormal strobe counter 22-1 of the DSP 22 is initialized. For example, the initial setting value is set to ½ of the number of bytes per transfer. (Since 2 bytes of data are transferred per strobe signal, it is determined by the standard, this corresponds to the total number of strobe signals scheduled to be generated in one data transfer). When the number of bytes per transfer is, for example, 20 bytes, the microcomputer (microcomputer) 24 sets the initial setting value to 10.

次にステップ204で、データ転送を起動する。データ転送の起動は、バイト カウント(BYTE COUNT)レジスタ22−2に、転送1回あたりのバイト数を例えば20に、マイコン(マイクロコンピュータ)24が設定する。   Next, in step 204, data transfer is activated. To start data transfer, the microcomputer (microcomputer) 24 sets the number of bytes per transfer to 20, for example, in the byte count register (BYTE COUNT) 22-2.

またインタラプト リーズン(INTERRUPT REASON)レジスタ22−3に、ATA/ATAPIコマンドの内容によって決められたデータ転送方向を、マイコン(マイクロコンピュータ)24が設定する。   The microcomputer 24 sets the data transfer direction determined by the content of the ATA / ATAPI command in the interrupt reason register 22-3.

さらにステイタス(STATUS)レジスタ22−4のビジーをクリアしてデータリクエスト(DRQ)を、マイコン(マイクロコンピュータ)24がセットする。   Further, the microcomputer (microcomputer) 24 sets the data request (DRQ) by clearing the busy of the status (STATUS) register 22-4.

このことで、DSP22内のATA/ATAPIの各レジスタの設定が完了し、データ転送の準備が完了したことを、マイコン(マイクロコンピュータ)24がDSP22とATA/ATAPI I/F21を介してホストコンピュータ1に通知する。   As a result, the setting of each ATA / ATAPI register in the DSP 22 is completed, and the preparation of data transfer is completed. The microcomputer (microcomputer) 24 is connected to the host computer 1 via the DSP 22 and the ATA / ATAPI I / F 21. Notify

次にステップ205で、ホストコンピュータ1からのストローブ信号をATA/ATAPI I/F21を介してDSP22が受信する。   In step 205, the DSP 22 receives the strobe signal from the host computer 1 via the ATA / ATAPI I / F 21.

次にステップ206で、受信したストローブ信号が異常ストローブ信号であるかどうかを、マイコン(マイクロコンピュータ)24がメモリ23に保存しているATA/ATAPIコマンドの内容と比較して判断する。   Next, in step 206, it is determined whether or not the received strobe signal is an abnormal strobe signal by comparing the contents of the ATA / ATAPI command stored in the memory 23 by the microcomputer (microcomputer) 24.

例えばATA/ATAPIコマンドがドライブ装置→ホストコンピュータの転送方向を示すIOR-信号であった場合、受信したストローブ信号がIOR-信号であるときは正常ストローブ信号と判断し、受信したストローブ信号がIOW-信号であるときは異常ストローブ信号と判断する。   For example, if the ATA / ATAPI command is an IOR- signal indicating the transfer direction from the drive device to the host computer, if the received strobe signal is an IOR- signal, it is determined as a normal strobe signal, and the received strobe signal is IOW- If it is a signal, it is determined as an abnormal strobe signal.

異常ストローブ信号と判断したとき、次のステップ207で、異常ストローブカウンタ22−1の初期設定値を1減算する処理、例えば初期設定値10を1減算する処理を、マイコン(マイクロコンピュータ)24が行う。   When it is determined that the signal is an abnormal strobe signal, in the next step 207, the microcomputer 24 performs a process of subtracting 1 from the initial set value of the abnormal strobe counter 22-1, for example, a process of subtracting 1 from the initial set value 10. .

次にステップ208で、異常ストローブカウンタ22−1の減算した値が0であるかを、マイコン(マイクロコンピュータ)24が判断する。   Next, at step 208, the microcomputer 24 determines whether or not the value obtained by subtracting the abnormal strobe counter 22-1 is zero.

減算した値が0でないと判断したときはステップ205に戻り、減算した値が0であると判断したときは、ステップ209で、ステップ201でのATA/ATAPIコマンドの受信に対するエラー終了通知を、マイコン(マイクロコンピュータ)24がDSP22とATA/ATAPI I/F21を介してホストコンピュータ1に送信する。   When it is determined that the subtracted value is not 0, the process returns to step 205. When it is determined that the subtracted value is 0, in step 209, an error end notification is received for the reception of the ATA / ATAPI command in step 201. (Microcomputer) 24 transmits to the host computer 1 via the DSP 22 and the ATA / ATAPI I / F 21.

ステップ206で、受信したストローブ信号が正常ストローブ信号と判断したときは、ステップ210で、正常ストローブ信号に従いメモリ23に保存してあるデータ転送1回あたりの全バイト数例えば20バイトのうちの最初の2バイトを取り出すという、正常なストローブ信号によるデータ処理をしたデータのデータ転送を、マイコン(マイクロコンピュータ)24がDSP22とATA/ATAPI I/F21を介してホストコンピュータ1に行う。   If it is determined in step 206 that the received strobe signal is a normal strobe signal, in step 210, the first number of all bytes, for example, 20 bytes, per data transfer stored in the memory 23 according to the normal strobe signal. A microcomputer (microcomputer) 24 transfers data to the host computer 1 via the DSP 22 and the ATA / ATAPI I / F 21 to transfer data that has been subjected to data processing using a normal strobe signal, in which two bytes are extracted.

次にステップ211で、DSP22が転送したバイト数が転送1回あたりの全バイト数例えば20の数になり転送が終了したかを、マイコン(マイクロコンピュータ)24がバイト カウント(BYTE COUNT)レジスタ22−2の内容と比較して判断する。   Next, at step 211, the microcomputer (microcomputer) 24 determines whether or not the transfer is completed when the number of bytes transferred by the DSP 22 reaches the total number of bytes per transfer, for example, 20, and the byte count (BYTE COUNT) register 22- Judged by comparing with the contents of 2.

転送が終了していないと判断したときはステップ205に戻り、ステップ206で次に受信したストローブ信号が正常ストローブ信号と判断したときは、ステップ210で、次の2バイトを取り出すという、正常なストローブ信号によるデータ処理をしたデータのデータ転送を、ホストコンピュータ1に行う。   When it is determined that the transfer has not been completed, the process returns to step 205. When it is determined that the next received strobe signal is a normal strobe signal in step 206, a normal strobe in which the next two bytes are extracted in step 210. Data transfer of the data processed by the signal is performed to the host computer 1.

転送が終了したと判断したときは、ステップ212で、ATA/ATAPIコマンドで要求されたデータ転送の全バイト数例えば20バイトのデータ転送が終了したかを、マイコン(マイクロコンピュータ)24が判断する。   If it is determined that the transfer has been completed, in step 212, the microcomputer 24 determines whether the data transfer of the total number of data transfer requested by the ATA / ATAPI command, for example, 20 bytes has been completed.

ATA/ATAPIコマンドで要求されたデータ転送の全バイト数例えば20バイトのデータ転送が終了していないと判断したときはステップ203に戻り、残りのバイトのデータ転送を行う。   If it is determined that the total number of bytes of data transfer requested by the ATA / ATAPI command, for example, 20 bytes has not been completed, the process returns to step 203 to transfer the remaining bytes.

ATA/ATAPIコマンドで要求されたデータ転送の全バイト数例えば20バイトのデータ転送が終了したと判断したときは、ステップ213で、ステップ201でのATA/ATAPIコマンドの受信に対する正常終了通知を、マイコン(マイクロコンピュータ)24がDSP22とATA/ATAPI I/F21を介してホストコンピュータ1に送信する。   When it is determined that the data transfer of the total number of data transfer requested by the ATA / ATAPI command, for example, 20 bytes has been completed, in step 213, a normal end notification for the reception of the ATA / ATAPI command in step 201 is sent to the microcomputer. (Microcomputer) 24 transmits to the host computer 1 via the DSP 22 and the ATA / ATAPI I / F 21.

なお、上記のステップ204で、バイト カウント(BYTE COUNT)レジスタ22−2に、データ転送1回あたりのバイト数を10に設定した場合は、ステップ211では、バイト カウント(BYTE COUNT)レジスタ22−2に設定してある転送1回あたりのバイト数が10の数になり1回のデータ転送が終了したかを判断し、転送が終了したと判断したときは、ステップ212で、ATA/ATAPIコマンドで要求されたデータ転送の全バイト数例えば20バイトのデータ転送が終了したかを判断する。   If the number of bytes per data transfer is set to 10 in the byte count (BYTE COUNT) register 22-2 in step 204, the byte count (BYTE COUNT) register 22-2 is set in step 211. It is determined whether the number of bytes per transfer set to 10 is 10 and one data transfer is completed. If it is determined that the transfer is completed, in step 212, an ATA / ATAPI command is used. It is determined whether the data transfer of the total number of bytes of the requested data transfer, for example, 20 bytes has been completed.

また、上記のステップ203において、異常ストローブカウンタ22−1の初期設定値を1に設定した場合は、ステップ206で始めて異常ストローブ信号と判断したとき、ステップ207で異常ストローブカウンタが0となるので、受信したストローブ信号が異常ストローブ信号のときはデータ転送をしないで、直ちに、ステップ209で、ステップ201でのATA/ATAPIコマンドの受信に対するエラー終了通知をホストコンピュータ1に送信する。   If the initial setting value of the abnormal strobe counter 22-1 is set to 1 in step 203, the abnormal strobe counter is set to 0 in step 207 when the abnormal strobe signal is determined for the first time in step 206. If the received strobe signal is an abnormal strobe signal, data transfer is not performed, and immediately, in step 209, an error end notification for the reception of the ATA / ATAPI command in step 201 is transmitted to the host computer 1.

本発明に係るデータ転送方法を有するデータ転送システムの実施の形態の構成図である。It is a block diagram of an embodiment of a data transfer system having a data transfer method according to the present invention. 本発明に係るデータ転送方法の例を示すフローチャート図である。It is a flowchart figure which shows the example of the data transfer method concerning this invention.

符号の説明Explanation of symbols

1…ホストコンピュータ、2…ドライブ装置、3…通信線、11…マイコン(マイクロコンピュータ)、12…メモリ、13,21…ATA/ATAPI I/F、22…DSP(デジタル・シグナル・プロセッサ)、22−1…異常ストローブカウンタ、22−2…バイト カウント(BYTE COUNT)レジスタ、22−3…インタラプト リーズン(INTERRUPT REASON)レジスタ、22−4…ステイタス(STATUS)レジスタ、23…メモリ、24…マイコン(マイクロコンピュータ)。
DESCRIPTION OF SYMBOLS 1 ... Host computer, 2 ... Drive apparatus, 3 ... Communication line, 11 ... Microcomputer (microcomputer), 12 ... Memory, 13, 21 ... ATA / ATAPI I / F, 22 ... DSP (digital signal processor), 22 -1 ... Abnormal strobe counter, 22-2 ... Byte count register (BYTE COUNT), 22-3 ... Interrupt reason register, 22-4 ... STATUS register, 23 ... Memory, 24 ... Microcomputer (micro) Computer).

Claims (4)

ホストコンピュータから受信したストローブ信号によるデータ処理をしたデータを、ホストコンピュータにデータ転送するデータ転送方法において、前記ホストコンピュータから受信したストローブ信号を、該ストローブ信号に先立って受信し保存してあるATA/ATAPIコマンドの内容と比較して、正常ストローブ信号か異常ストローブ信号かを判断し、該異常ストローブ信号のとき該異常ストローブ信号の受信する数が予め決めた数に達したらデータ転送をしないで前記ATA/ATAPIコマンドに対するエラー終了通知を、前記ホストコンピュータに送信することを特徴とするデータ転送方法。   In a data transfer method for transferring data processed by a strobe signal received from a host computer to the host computer, the ATA / received stave signal received from the host computer is stored prior to the strobe signal. Compared with the contents of the ATAPI command, it is determined whether the signal is a normal strobe signal or an abnormal strobe signal. If the number of abnormal strobe signals received by the abnormal strobe signal reaches a predetermined number, the data transfer is not performed. A data transfer method, comprising: transmitting an error end notification for the / ATAPI command to the host computer. 請求項1記載のデータ転送方法において、前記ホストコンピュータから受信したストローブ信号が前記異常ストローブ信号のときは、直ちに前記ATA/ATAPIコマンドに対するエラー終了通知を、前記ホストコンピュータに送信することを特徴とするデータ転送方法。   2. The data transfer method according to claim 1, wherein when the strobe signal received from the host computer is the abnormal strobe signal, an error end notification for the ATA / ATAPI command is immediately transmitted to the host computer. Data transfer method. ホストコンピュータから受信したストローブ信号によるデータ処理をしたデータを、ホストコンピュータにデータ転送するデータ転送システムにおいて、前記ホストコンピュータから受信したストローブ信号を、該ストローブ信号に先立って受信し保存してあるATA/ATAPIコマンドの内容と比較して、正常ストローブ信号か異常ストローブ信号かを判断し、該異常ストローブ信号のとき該異常ストローブ信号の受信する数が予め決めた数に達したらデータ転送をしないで前記ATA/ATAPIコマンドに対するエラー終了通知を、前記ホストコンピュータに送信することを特徴とするデータ転送システム。   In a data transfer system for transferring data processed by a strobe signal received from a host computer to the host computer, the ATA / received stave signal received from the host computer is received and stored prior to the strobe signal. Compared with the contents of the ATAPI command, it is determined whether the signal is a normal strobe signal or an abnormal strobe signal. If the number of abnormal strobe signals received by the abnormal strobe signal reaches a predetermined number, the data transfer is not performed. A data transfer system, wherein an error end notification in response to an / ATAPI command is transmitted to the host computer. 請求項3記載のデータ転送システムにおいて、前記ホストコンピュータから受信したストローブ信号が前記異常ストローブ信号のときは、直ちに前記ATA/ATAPIコマンドに対するエラー終了通知を、前記ホストコンピュータに送信することを特徴とするデータ転送システム。
4. The data transfer system according to claim 3, wherein when the strobe signal received from the host computer is the abnormal strobe signal, an error end notification for the ATA / ATAPI command is immediately transmitted to the host computer. Data transfer system.
JP2003412831A 2003-12-11 2003-12-11 Data transfer method and data transfer system Pending JP2005173956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003412831A JP2005173956A (en) 2003-12-11 2003-12-11 Data transfer method and data transfer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003412831A JP2005173956A (en) 2003-12-11 2003-12-11 Data transfer method and data transfer system

Publications (1)

Publication Number Publication Date
JP2005173956A true JP2005173956A (en) 2005-06-30

Family

ID=34733124

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003412831A Pending JP2005173956A (en) 2003-12-11 2003-12-11 Data transfer method and data transfer system

Country Status (1)

Country Link
JP (1) JP2005173956A (en)

Similar Documents

Publication Publication Date Title
JP4391954B2 (en) File control system and file control apparatus
US7069350B2 (en) Data transfer control system, electronic instrument, and data transfer control method
US7620747B1 (en) Software based native command queuing
JPS59188752A (en) Bus for defective cycle operation type data processing system
JP2008090375A (en) Interrupt control system and storage control system using the same
US11500707B2 (en) Controller, memory controller, storage device, and method of operating the controller
JP5442634B2 (en) Read status controller
JP5700514B2 (en) Communication speed control device and communication speed control method
US20130173986A1 (en) Memory controller, data storage device, and memory controlling method
KR20120019407A (en) Methods and apparatus for improved serial advanced technology attachment performance
JP2006190257A (en) Data transfer device and its method
US8918542B2 (en) Facilitating transport mode data transfer between a channel subsystem and input/output devices
US9836370B2 (en) Backup memory administration using an active memory device and a backup memory device
JP2005173956A (en) Data transfer method and data transfer system
JP2012063971A (en) I/o bridge device, response notification method and program
JP5930469B2 (en) System and method for responding to error detection
JP4455393B2 (en) Programmable logic controller
KR101109600B1 (en) Method for transmitting data using direct memory access control and apparatus therefor
JP4649304B2 (en) COMMUNICATION CONTROL DEVICE AND ITS CONTROL METHOD
KR20060009241A (en) Method, apparatus and program storage device for providing status from a host bus adapter
US7330998B2 (en) Data integrity verification
JP2009037479A (en) Data transfer control device and electronic device
JP4499909B2 (en) Multiplexed storage controller
KR970002400B1 (en) Control scheme of interrupt go and done in a multiprocessor interrupt requester
TW407232B (en) Data transferring/separating controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060221

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060221

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20080624

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20080701

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20090113