JP2008269335A - Data transfer integrated circuit and data transfer device - Google Patents

Data transfer integrated circuit and data transfer device Download PDF

Info

Publication number
JP2008269335A
JP2008269335A JP2007112082A JP2007112082A JP2008269335A JP 2008269335 A JP2008269335 A JP 2008269335A JP 2007112082 A JP2007112082 A JP 2007112082A JP 2007112082 A JP2007112082 A JP 2007112082A JP 2008269335 A JP2008269335 A JP 2008269335A
Authority
JP
Japan
Prior art keywords
communication
interface
data
hdd
data transfer
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
JP2007112082A
Other languages
Japanese (ja)
Inventor
Naoki Ota
直樹 太田
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007112082A priority Critical patent/JP2008269335A/en
Publication of JP2008269335A publication Critical patent/JP2008269335A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Bus Control (AREA)
  • Debugging And Monitoring (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To improve communication efficiency when occurring of a communication error in data transfer. <P>SOLUTION: When image data is read from a memory 1 and written to an HDD 4, an HDD I/F 3 accumulates the image data transferred by a DMAC 2 in a retry buffer, and writing of the image data to the HDD 4 is performed after completion of accumulation for one transfer portion of data. If a serial communication error occurs at that time, the image data accumulated in the retry buffer within the HDD I/F 3 is retransmitted. <P>COPYRIGHT: (C)2009,JPO&INPIT

Description

本発明は、例えばASIC(Application Specific Integrated Circuit)など、外部と情報を送受信するインタフェースを備え、そのインタフェースによりデータ転送を行うデータ転送集積回路および、その集積回路を備えたデータ転送装置に関する。   The present invention relates to a data transfer integrated circuit that includes an interface for transmitting / receiving information to / from the outside, such as an ASIC (Application Specific Integrated Circuit), for example, and a data transfer apparatus including the integrated circuit.

従来、HDD(Hard Disk Drive)インタフェースはパラレルATA(AT Attachment)だったので、CRC(Cyclic Redundancy Check)エラーなどの通信エラーは非常に少なく本当に問題がある場合にしか発生しなかった。これに対してS−ATAのHDDインタフェースの場合、高速(1.5/3/6Gbps)シリアル通信のため規格上ビットエラーレートが10-12とパラレルATAと比較して非常に高い。 Conventionally, since the HDD (Hard Disk Drive) interface is parallel ATA (AT Attachment), communication errors such as CRC (Cyclic Redundancy Check) errors are very few and occur only when there is a real problem. On the other hand, in the case of the S-ATA HDD interface, the bit error rate is 10 -12 according to the standard because of high-speed (1.5 / 3/6 Gbps) serial communication, which is very high compared to parallel ATA.

また、データの記録や再生におけるリトライ回数を制御する装置の例として、記録媒体のデータ記録領域に発生した欠陥を検出する手段と、データの記録または再生の単位の大きさに対応して、欠陥を検出するとき計数される、記録媒体にデータを記録または再生することができなかった回数を変更する手段とを備えたものがある(例えば、特許文献1参照)。
特開2000−149464号公報
In addition, as an example of a device for controlling the number of retries in data recording and reproduction, a means for detecting a defect occurring in the data recording area of the recording medium and a defect corresponding to the size of the data recording or reproducing unit And a means for changing the number of times data could not be recorded or reproduced on the recording medium, which is counted when detecting (see, for example, Patent Document 1).
JP 2000-149464 A

しかしながら、上述したS−ATAのHDDインタフェースでシリアル通信エラーが発生した場合、現状は割り込みを発生させているが、例えばS−ATA上の通信速度が1.5Gbpsの場合、11分に1回割り込みが発生してしまうこととなる。このため、この割り込みをソフトウェアで処理して再送受信を行うと効率が悪いという問題がある。   However, when a serial communication error occurs in the above-described S-ATA HDD interface, an interrupt is currently generated. However, for example, when the communication speed on S-ATA is 1.5 Gbps, an interrupt occurs once every 11 minutes. Will occur. For this reason, if this interrupt is processed by software and re-transmission / reception is performed, there is a problem that the efficiency is low.

また、上述した特許文献1のものは、データの連続性を損なわず、データを効率的に記録または再生するようにするものであり、通信エラー発生時の割り込みをソフトウェアで処理することによる効率の悪さを改善することについてまで考慮されたものではなかった。   Further, the above-mentioned Patent Document 1 is for efficiently recording or reproducing data without losing the continuity of the data, and is efficient by processing an interrupt when a communication error occurs by software. It was not even considered to improve the badness.

本発明はこのような状況に鑑みてなされたものであり、データ転送での通信エラー発生時における通信効率を向上させることができるデータ転送集積回路およびデータ転送装置を提供することを目的とする。   The present invention has been made in view of such a situation, and an object thereof is to provide a data transfer integrated circuit and a data transfer device capable of improving communication efficiency when a communication error occurs in data transfer.

かかる目的を達成するために、本発明に係るデータ転送集積回路は、他の機器とデータ通信を行うインタフェースを備え、リトライ用バッファを有し、上記インタフェースを介したデータ通信における通信エラー発生時に、上記リトライ用バッファを用いることでソフトウェアの介在無く、ハードウェアでリトライ処理を行うことを特徴とする。   In order to achieve such an object, a data transfer integrated circuit according to the present invention includes an interface for performing data communication with another device, has a retry buffer, and when a communication error occurs in data communication via the interface, By using the retry buffer, retry processing is performed by hardware without software intervention.

また、本発明に係るデータ転送集積回路は、他の機器とデータ通信を行うインタフェースを備え、DMAC(Direct Memory Access Controller)への再起動機能を有し、上記インタフェースを介したデータ通信における通信エラー発生時に、上記DMACへの再起動を行うことでソフトウェアの介在無く、ハードウェアでリトライ処理を行うことであってもよい。   The data transfer integrated circuit according to the present invention includes an interface for performing data communication with other devices, has a restart function for DMAC (Direct Memory Access Controller), and a communication error in data communication via the interface. When the error occurs, the retry processing may be performed by hardware without intervention of software by restarting the DMAC.

上記インタフェースを介したデータ通信における通信エラーの発生回数に応じて割り込みを発生させる割り込み発生手段を備えたことが好ましい。   It is preferable to include an interrupt generation means for generating an interrupt according to the number of occurrences of communication errors in data communication via the interface.

上記インタフェースを介したデータ通信における通信エラーの発生回数に応じて該インタフェースによる通信速度をダウンさせる通信速度制御手段を備えたことであってもよい。   There may be provided a communication speed control means for reducing the communication speed of the interface according to the number of occurrences of communication errors in data communication via the interface.

上記インタフェースを介したデータ通信における通信エラーが予め定められた回数発生すると上記割り込み発生手段が割り込みを行うことが好ましい。   Preferably, the interrupt generation means interrupts when a communication error in data communication via the interface occurs a predetermined number of times.

上記インタフェースを介したデータ通信における通信エラーが予め定められた回数発生すると上記通信速度制御手段が該インタフェースによる通信速度をダウンさせることであってもよい。   When a communication error in data communication via the interface occurs a predetermined number of times, the communication speed control means may decrease the communication speed of the interface.

後記処理を行うまでの通信エラー発生回数の設定を受ける回数設定手段を備え、上記インタフェースを介したデータ通信における通信エラーが上記回数設定手段により設定された回数だけ発生すると上記割り込み発生手段が割り込みを行うことであってもよい。   A number setting means for receiving the setting of the number of occurrences of communication errors until the post-processing is performed, and when the communication error in the data communication via the interface occurs the number of times set by the number setting means, the interrupt generation means interrupts It may be done.

後記処理を行うまでの通信エラー発生回数の設定を受ける回数設定手段を備え、上記インタフェースを介したデータ通信における通信エラーが上記回数設定手段により設定された回数だけ発生すると上記通信速度制御手段が該インタフェースによる通信速度をダウンさせることであってもよい。   A number of times setting means for receiving the setting of the number of occurrences of communication errors until the post-processing is performed, and when the communication error in the data communication through the interface occurs the number of times set by the number of times setting means, the communication speed control means The communication speed by the interface may be reduced.

また、本発明に係るデータ転送装置は、上述した本発明に係るデータ転送集積回路を備え、上記インタフェースを介してハードディスクへ書き込み/読み込みを行う機能を備えたことを特徴とする。   A data transfer apparatus according to the present invention includes the above-described data transfer integrated circuit according to the present invention, and has a function of writing / reading data to / from a hard disk via the interface.

以上のように、本発明によれば、データ転送での通信エラー発生時における通信効率を向上させることができる。   As described above, according to the present invention, it is possible to improve communication efficiency when a communication error occurs during data transfer.

次に、本発明に係るデータ転送集積回路およびデータ転送装置を、S−ATAインタフェースを有するASICおよび電子複合機に適用した一実施形態について、図面を用いて詳細に説明する。   Next, an embodiment in which a data transfer integrated circuit and a data transfer device according to the present invention are applied to an ASIC having an S-ATA interface and an electronic multifunction device will be described in detail with reference to the drawings.

まず、本発明の各実施形態に共通するASICのS−ATAインタフェース部分の基本的な構成、および動作について、簡単に説明する。
図1は、本実施形態に係る電子複合機(データ転送装置)に搭載されるASICの構成の一部を示した図である。
First, the basic configuration and operation of the S-ATA interface part of the ASIC common to the embodiments of the present invention will be briefly described.
FIG. 1 is a diagram showing a part of the configuration of an ASIC installed in an electronic multifunction peripheral (data transfer apparatus) according to this embodiment.

メモリ1は、本実施形態の電子複合機で扱う画像データなどの各種データを一時的に格納したり、CPUが作業領域として使用するためのメモリである。   The memory 1 is a memory for temporarily storing various data such as image data handled by the electronic multi-function peripheral according to the present embodiment and for the CPU to use as a work area.

DMAC(Direct Memory Access Controller)2は、HDD4より画像データを読み出す場合、HDD I/F(インタフェース)3より画像データを受け取り、メモリ1へ書き込む。また、HDD4へ画像データを書き込む場合、メモリ1より画像データを読み出し、HDD I/F3へ画像データを渡す。   When reading image data from the HDD 4, the DMAC (Direct Memory Access Controller) 2 receives the image data from the HDD I / F (interface) 3 and writes it to the memory 1. When writing image data to the HDD 4, the image data is read from the memory 1, and the image data is transferred to the HDD I / F 3.

HDD I/F3は、HDD4より画像データを読み出す場合、接続されている複数台のHDD4より画像データを読み出し、適切なデータ配列処理を行いDMAC2へ渡す。また、HDD4へ画像データを書き込む場合、DMAC2より画像データを受け取り、接続されている複数台のHDDに応じたデータ配列に分割処理を行いHDD4へ渡す。
本実施形態に係るASICは、HDD4とはS−ATAインタフェースで接続されており、HDD I/F3が高速シリアル通信のインタフェースとなっている。HDD_A/B/C/DはS−ATA規格に準拠したHDDデバイスである。
When reading image data from the HDD 4, the HDD I / F 3 reads the image data from a plurality of connected HDDs 4, performs appropriate data arrangement processing, and passes the data to the DMAC 2. When writing image data to the HDD 4, the image data is received from the DMAC 2, divided into data arrays corresponding to a plurality of connected HDDs, and passed to the HDD 4.
The ASIC according to this embodiment is connected to the HDD 4 via an S-ATA interface, and the HDD I / F 3 is an interface for high-speed serial communication. HDD_A / B / C / D is an HDD device conforming to the S-ATA standard.

上述した本実施形態の構成では、リトライ用バッファ及びその制御回路、シリアル通信エラーのカウント及びその制御回路は、HDD I/F3部分に含まれているものとする。   In the configuration of this embodiment described above, the retry buffer and its control circuit, the serial communication error count and its control circuit are included in the HDD I / F 3 portion.

〔第1の実施形態〕
次に、本発明の第1の実施形態について、図1,図2を参照して説明する。
この第1の実施形態は、HDD I/F3内にリトライ用バッファを設けた構成となっている。
[First Embodiment]
Next, a first embodiment of the present invention will be described with reference to FIGS.
In the first embodiment, a retry buffer is provided in the HDD I / F 3.

ここでは、HDDインタフェースを有する電子複合機(コピー機能、プリンタ機能、ファクシミリ機能、スキャナ機能などを有する)について考える。上記の電子複合機のASICは、複数のS−ATAインタフェースを有し、電子複合機で扱う画像データまたはその他データをHDD4へ書き込み/読み込みを行う機能を有する。
こうしたS−ATAインタフェースを有するASICであって、リトライ用バッファを有し、S−ATA I/Fのシリアル通信エラー発生時にソフトウェアの介在無く、ハードウェアで自動的にリトライ処理を行うように構成される。
Here, consider an electronic multi-function peripheral (having a copy function, a printer function, a facsimile function, a scanner function, etc.) having an HDD interface. The ASIC of the electronic multifunction peripheral has a plurality of S-ATA interfaces, and has a function of writing / reading image data or other data handled by the electronic multifunction peripheral to / from the HDD 4.
An ASIC having such an S-ATA interface, having a retry buffer, and configured to automatically perform retry processing in hardware without software intervention when an S-ATA I / F serial communication error occurs. The

次に、第1の実施形態の動作について、図2のフローチャートを参照して説明する。
まず、メモリ1からリードし、HDD4へ画像データをライトする場合について説明する。
ソフトウェアによりDMAC2が起動されると、DMAC2はHDD I/F3を介してHDD4へライトコマンドを発行する。これと並行してDMAC2は指定されたメモリアドレスより画像データをリードし、HDD I/F3へ転送する。HDD I/F3ではDMAC2より転送された画像データをリトライ用バッファに蓄積し、1回の転送分蓄積終了したらHDD4へ画像データをライトする。このとき、シリアル通信エラーが発生した場合、HDD I/F3内のリトライ用バッファに蓄積された画像データを再送する。
Next, the operation of the first embodiment will be described with reference to the flowchart of FIG.
First, the case of reading from the memory 1 and writing image data to the HDD 4 will be described.
When the DMAC 2 is activated by software, the DMAC 2 issues a write command to the HDD 4 via the HDD I / F 3. In parallel with this, the DMAC 2 reads the image data from the designated memory address and transfers it to the HDD I / F 3. The HDD I / F 3 stores the image data transferred from the DMAC 2 in the retry buffer, and writes the image data to the HDD 4 when storage for one transfer is completed. At this time, if a serial communication error occurs, the image data stored in the retry buffer in the HDD I / F 3 is retransmitted.

次に、HDD4からリードし、メモリ1へ画像データをライトする場合について説明する。
ソフトウェアによりDMAC2が起動されると、DMAC2はHDD I/F3を介してHDD4へリードコマンドを発行する。HDD4より送信された画像データを一旦リトライ用バッファに蓄積する。シリアル通信エラーが無かった場合は、リトライ用バッファに蓄積された画像データをDMAC2が指定されたメモリアドレスへライトする。このとき、シリアル通信エラーが発生した場合、リトライ用バッファの蓄積した画像データをDMAC2へ転送せず破棄する。
Next, a case of reading from the HDD 4 and writing image data to the memory 1 will be described.
When the DMAC 2 is activated by software, the DMAC 2 issues a read command to the HDD 4 via the HDD I / F 3. The image data transmitted from the HDD 4 is temporarily stored in the retry buffer. If there is no serial communication error, the DMAC 2 writes the image data stored in the retry buffer to the designated memory address. At this time, if a serial communication error occurs, the image data stored in the retry buffer is discarded without being transferred to the DMAC 2.

上述した第1の実施形態によれば、ソフトウェア処理の介在無くリトライバッファを使ってハードウェアにて自動的に再送受信するため、効率低下を回避することが可能となる。   According to the first embodiment described above, since re-transmission / reception is automatically performed by hardware using a retry buffer without intervention of software processing, it is possible to avoid a reduction in efficiency.

〔第2の実施形態〕
次に、本発明の第2の実施形態について、図1,図3を参照して説明する。
この第2の実施形態は、HDD I/F3がシリアル通信エラーを検出した場合、DMAC2へ対して再起動を行える機能を備えた構成となっている。
[Second Embodiment]
Next, a second embodiment of the present invention will be described with reference to FIGS.
In the second embodiment, the HDD I / F 3 has a function capable of restarting the DMAC 2 when it detects a serial communication error.

より詳述すると、ASICがDMAC2への再起動機能を有し、S−ATA I/Fのシリアル通信エラー発生時にソフトウェアの介在無く、ハードウェアで自動的にリトライ処理を行うものである。   More specifically, the ASIC has a restart function to the DMAC 2 and automatically performs a retry process by hardware without any software when a serial communication error of the S-ATA I / F occurs.

次に、第2の実施形態の動作について、図3のフローチャートを参照して説明する。
まず、メモリ1からリードし、HDD4へ画像データをライトする場合について説明する。
Next, the operation of the second embodiment will be described with reference to the flowchart of FIG.
First, the case of reading from the memory 1 and writing image data to the HDD 4 will be described.

ソフトウェアによりDMAC2が起動されると、DMAC2はHDD I/F3を介してHDD4へライトコマンドを発行する。これと並行してDMAC2は指定されたメモリアドレスより画像データをリードし、HDD I/F3へ転送する。HDD I/F3ではDMAC2より転送された画像データをHDD4へライトする。このとき、シリアル通信エラーが発生した場合、HDD I/F3はDMAC2へ対して再起動要求を発行する。これを受けたDMAC2は、実行されている転送を一旦中止し、再度起動し直す。再起動後は、ライトコマンド発行の手順からやり直す。   When the DMAC 2 is activated by software, the DMAC 2 issues a write command to the HDD 4 via the HDD I / F 3. In parallel with this, the DMAC 2 reads the image data from the designated memory address and transfers it to the HDD I / F 3. The HDD I / F 3 writes the image data transferred from the DMAC 2 to the HDD 4. At this time, if a serial communication error occurs, the HDD I / F 3 issues a restart request to the DMAC 2. Receiving this, the DMAC 2 temporarily stops the transfer being executed and restarts again. After restarting, start over from the write command issue procedure.

次に、HDD4からリードし、メモリ1へ画像データをライトする場合について説明する。
ソフトウェアによりDMAC2が起動されると、DMAC2はHDD I/F3を介してHDD4へリードコマンドを発行する。シリアル通信エラーが無い場合は、受信した画像データをDMAC2が指定されたメモリアドレスへライトする。もし、シリアル通信エラーが発生した場合は、HDD I/F3はDMAC2へ対して再起動要求を発行する。これを受けたDMAC2は、実行されている転送を一旦中止し、再度起動し直す。再起動後は、リードコマンド発行の手順からやり直す。
Next, a case of reading from the HDD 4 and writing image data to the memory 1 will be described.
When the DMAC 2 is activated by software, the DMAC 2 issues a read command to the HDD 4 via the HDD I / F 3. If there is no serial communication error, the received image data is written by the DMAC 2 to the designated memory address. If a serial communication error occurs, the HDD I / F 3 issues a restart request to the DMAC 2. Receiving this, the DMAC 2 temporarily stops the transfer being executed and restarts again. After restarting, start over from the read command issue procedure.

上述した第2の実施形態によれば、再送受信用のリトライバッファを使用することなく、ハードウェアにて再送受信処理が可能になるため、回路規模の増大を回避すると同時に、効率低下を回避することが可能となる。   According to the second embodiment described above, since retransmission processing can be performed by hardware without using a retry buffer for retransmission, avoiding an increase in circuit scale and avoiding a decrease in efficiency. It becomes possible.

〔第3の実施形態〕
次に、本発明の第3の実施形態について、図1,図4を参照して説明する。
この第3の実施形態は、HDD I/F3内にシリアル通信エラーの発生回数をカウントする機能と、そのカウント値と固定値を比較する機能と、割り込みを発生する機能を追加した構成となっている。
より詳述すると、上述した第1または第2の実施形態におけるASICにおいて、シリアル通信エラーが規定回数発生したら割り込みを発生させるものである。
[Third Embodiment]
Next, a third embodiment of the present invention will be described with reference to FIGS.
In the third embodiment, a function for counting the number of occurrences of serial communication errors in the HDD I / F 3, a function for comparing the count value with a fixed value, and a function for generating an interrupt are added. Yes.
More specifically, in the ASIC in the first or second embodiment described above, an interrupt is generated when a serial communication error occurs a specified number of times.

次に、第3の実施形態の動作について、図4のフローチャートを参照して説明する。
ここでは、メモリ1からリードしHDD4へ画像データをライトする場合も、HDD4からリードしメモリ1へ画像データをライトする場合も同様なので、メモリ1からリードしHDD4へ画像データをライトする場合を例として挙げて説明する。
Next, the operation of the third embodiment will be described with reference to the flowchart of FIG.
Here, the case where the image data is read from the memory 1 and the image data is written to the HDD 4 is the same as the case where the image data is read from the HDD 4 and the image data is written to the memory 1. Will be described.

シリアル通信エラーが発生した場合、HDD I/F3はエラーの発生回数カウントをインクリメントし、予め定められた固定値と比較する。固定値以下だった場合は、第1または第2の実施形態のエラー処理を行う。固定値を越えた場合は、DMAC2を停止させ、割り込みを発生させる(割り込み発生手段)。
例えば、ソフトウェアはこの割り込み処理内で、HDDのステータスを取得し、HDDの交換を促すなどの表示を行う。
When a serial communication error occurs, the HDD I / F 3 increments the error occurrence count and compares it with a predetermined fixed value. If it is equal to or less than the fixed value, the error processing of the first or second embodiment is performed. When the fixed value is exceeded, the DMAC 2 is stopped and an interrupt is generated (interrupt generation means).
For example, the software acquires the status of the HDD and prompts the user to replace the HDD in the interrupt process.

上述した第3の実施形態によれば、シリアル通信エラーが規定回数発生した場合、割り込みを発生させることが可能となるので、この割り込みにてHDDのデバイスチェックを行いHDDに品質的な問題があった場合には交換することを通知することが可能となる。
また、HDDの品質不良であった場合、交換することによりシリアル通信エラーを低下させることができ、システムとしてのパフォーマンスを保持することができる。
According to the third embodiment described above, when a serial communication error occurs a specified number of times, an interrupt can be generated. Therefore, the HDD device check is performed by this interrupt, and there is a quality problem in the HDD. In the event of a failure, it will be possible to notify the exchange.
Further, when the HDD quality is poor, the serial communication error can be reduced by replacing the HDD, and the performance of the system can be maintained.

〔第4の実施形態〕
次に、本発明の第4の実施形態について、図1,図5を参照して説明する。
この第4の実施形態は、HDD I/F3内にHDDとの通信速度を設定出来る機能を追加した構成となっている。
[Fourth Embodiment]
Next, a fourth embodiment of the present invention will be described with reference to FIGS.
In the fourth embodiment, a function capable of setting a communication speed with the HDD is added to the HDD I / F 3.

より詳述すると、上述した第1または第2の実施形態におけるASICにおいて、シリアル通信エラーが規定回数発生したらS−ATAインタフェースの通信速度をダウンさせるようにしたものである。   More specifically, in the ASIC in the first or second embodiment described above, the communication speed of the S-ATA interface is reduced when a serial communication error occurs a specified number of times.

次に、第4の実施形態の動作について、図5のフローチャートを参照して説明する。
ここでは、メモリ1からリードしHDD4へ画像データをライトする場合も、HDD4からリードしメモリ1へ画像データをライトする場合も同様なので、メモリ1からリードしHDD4へ画像データをライトする場合を例としてあげる。
Next, the operation of the fourth embodiment will be described with reference to the flowchart of FIG.
Here, the case where the image data is read from the memory 1 and the image data is written to the HDD 4 is the same as the case where the image data is read from the HDD 4 and the image data is written to the memory 1. I'll give you that.

シリアル通信エラーが発生した場合、HDD I/F3はエラーの発生回数カウントをインクリメントし、予め定められた固定値と比較する。固定値以下だった場合は、第1または第2の実施形態のエラー処理を行う。固定値を越えた場合は、S−ATAの通信速度を1段階ダウン(例えば、3.0Gbps→1.5Gbps)させ、HDDデバイスにリセットをかける。リセット後、HDD I/F3とHDDデバイス間でネゴシエーションが実行され、1段階シフトダウンした通信速度で再リンクされる(通信速度制御手段)。   When a serial communication error occurs, the HDD I / F 3 increments the error occurrence count and compares it with a predetermined fixed value. If it is equal to or less than the fixed value, the error processing of the first or second embodiment is performed. If the fixed value is exceeded, the S-ATA communication speed is reduced by one step (for example, 3.0 Gbps → 1.5 Gbps), and the HDD device is reset. After the reset, negotiation is executed between the HDD I / F 3 and the HDD device, and re-linking is performed at a communication speed shifted down by one level (communication speed control means).

このネゴシエーション完了後、HDD I/F3はDMAC2へ対して再起動要求を発行する。これを受けたDMAC2は、実行されている転送を一旦中止し、再度起動し直す。再起動後は、ライトコマンド発行の手順からやり直す。   After this negotiation is completed, the HDD I / F 3 issues a restart request to the DMAC 2. Receiving this, the DMAC 2 temporarily stops the transfer being executed and restarts again. After restarting, start over from the write command issue procedure.

上述した第4の実施形態によれば、シリアル通信エラーが規定回数発生した場合、S−ATAインタフェースの通信速度をダウンすることが可能となるので、シリアル通信エラーが低下させることが出来る。   According to the above-described fourth embodiment, when a serial communication error occurs a specified number of times, the communication speed of the S-ATA interface can be reduced, so that the serial communication error can be reduced.

〔他の実施形態〕
また、上述した第3,第4の実施形態について、HDD I/F3内にシリアル通信エラーの規定回数をソフトウェアで設定可能なようにレジスタを設けるようにしてもよい(回数設定手段)。
すなわち、上述した第3,第4の実施形態としてのASICにおいて、シリアル通信エラーの規定回数を任意の回数に設定可能なものとしてもよい。
[Other Embodiments]
In the third and fourth embodiments described above, a register may be provided in the HDD I / F 3 so that the prescribed number of serial communication errors can be set by software (number setting means).
That is, in the ASIC as the third and fourth embodiments described above, the prescribed number of serial communication errors may be set to an arbitrary number.

この構成例での動作としては、まず、上述した第3,第4の実施形態でのシリアル通信エラー発生時の処理を行うまでの回数設定について、不図示の入力手段などによりユーザから設定入力を受ける。
そして、上述した第3,第4の実施形態でのシリアル通信エラー発生時の処理で、エラーの発生回数カウントを上述のレジスタに設定された規定回数と比較する。他の動作は、上述した第3,第4の実施形態と同様となる。
このため、上述した図4,図5それぞれに示される動作について、図中の規定回数がレジスタで任意に設定可能となる。
As an operation in this configuration example, first, regarding the setting of the number of times until the processing at the time of occurrence of the serial communication error in the third and fourth embodiments described above is performed, a setting input from the user is performed by an input unit (not shown) or the like. receive.
Then, in the processing when the serial communication error occurs in the third and fourth embodiments described above, the error occurrence count is compared with the specified count set in the register. Other operations are the same as those in the third and fourth embodiments described above.
Therefore, for the operations shown in FIGS. 4 and 5 described above, the specified number of times in the figure can be arbitrarily set by the register.

上述した構成例によれば、シリアル通信エラーの規定回数を妥当な値に設定することが可能となるので、HDDデバイスの交換時期や、通信速度のダウンを適切に実施することが出来る。   According to the configuration example described above, the specified number of serial communication errors can be set to an appropriate value, so that the HDD device replacement time and communication speed can be appropriately reduced.

なお、上述した各実施形態は本発明の好適な実施形態であり、本発明はこれに限定されることなく、本発明の技術的思想に基づいて種々変形して実施することが可能である。
例えば、上述した各実施形態では、電子複合機として説明したが、例えば、コピー機、プリンタ、ファクシミリなどの画像形成装置やスキャナなどであってもよい。
また、電子複合機におけるHDD I/Fのエラー処理方式あるいはS−ATA I/Fのエラー処理方式としての各種分野にも同様に適用することができる。
Each of the above-described embodiments is a preferred embodiment of the present invention, and the present invention is not limited to this, and various modifications can be made based on the technical idea of the present invention.
For example, in each of the above-described embodiments, the electronic multifunction peripheral has been described. However, for example, an image forming apparatus such as a copier, a printer, a facsimile, or a scanner may be used.
Further, the present invention can be similarly applied to various fields as an HDD I / F error processing method or an S-ATA I / F error processing method in an electronic multifunction peripheral.

本発明の実施形態としてのASICの構成例を示すブロック図である。It is a block diagram which shows the structural example of ASIC as embodiment of this invention. 第1の実施形態による動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example by 1st Embodiment. 第2の実施形態による動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example by 2nd Embodiment. 第3の実施形態による動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example by 3rd Embodiment. 第4の実施形態による動作例を示すシーケンス図である。It is a sequence diagram which shows the operation example by 4th Embodiment.

符号の説明Explanation of symbols

1 メモリ
2 DMAC
3 HDD I/F
4 HDD
1 Memory 2 DMAC
3 HDD I / F
4 HDD

Claims (9)

他の機器とデータ通信を行うインタフェースを備え、
リトライ用バッファを有し、
前記インタフェースを介したデータ通信における通信エラー発生時に、前記リトライ用バッファを用いることでソフトウェアの介在無く、ハードウェアでリトライ処理を行うことを特徴とするデータ転送集積回路。
It has an interface for data communication with other devices,
Has a retry buffer,
A data transfer integrated circuit characterized in that, when a communication error occurs in data communication via the interface, retry processing is performed by hardware without using software by using the retry buffer.
他の機器とデータ通信を行うインタフェースを備え、
DMAC(Direct Memory Access Controller)への再起動機能を有し、
前記インタフェースを介したデータ通信における通信エラー発生時に、前記DMACへの再起動を行うことでソフトウェアの介在無く、ハードウェアでリトライ処理を行うことを特徴とするデータ転送集積回路。
It has an interface for data communication with other devices,
Has a restart function to DMAC (Direct Memory Access Controller),
A data transfer integrated circuit characterized in that, when a communication error occurs in data communication through the interface, retry processing is performed by hardware without software intervention by restarting the DMAC.
前記インタフェースを介したデータ通信における通信エラーの発生回数に応じて割り込みを発生させる割り込み発生手段を備えたことを特徴とする請求項1または2記載のデータ転送集積回路。   3. The data transfer integrated circuit according to claim 1, further comprising interrupt generation means for generating an interrupt according to the number of occurrences of a communication error in data communication via the interface. 前記インタフェースを介したデータ通信における通信エラーの発生回数に応じて該インタフェースによる通信速度をダウンさせる通信速度制御手段を備えたことを特徴とする請求項1または2記載のデータ転送集積回路。   3. The data transfer integrated circuit according to claim 1, further comprising a communication speed control means for reducing a communication speed of the interface according to the number of occurrences of communication errors in the data communication via the interface. 前記インタフェースを介したデータ通信における通信エラーが予め定められた回数発生すると前記割り込み発生手段が割り込みを行うことを特徴とする請求項3記載のデータ転送集積回路。   4. The data transfer integrated circuit according to claim 3, wherein said interrupt generation means interrupts when a communication error in data communication through said interface occurs a predetermined number of times. 前記インタフェースを介したデータ通信における通信エラーが予め定められた回数発生すると前記通信速度制御手段が該インタフェースによる通信速度をダウンさせることを特徴とする請求項4記載のデータ転送集積回路。   5. The data transfer integrated circuit according to claim 4, wherein when a communication error in data communication through the interface occurs a predetermined number of times, the communication speed control means reduces the communication speed through the interface. 後記処理を行うまでの通信エラー発生回数の設定を受ける回数設定手段を備え、
前記インタフェースを介したデータ通信における通信エラーが前記回数設定手段により設定された回数だけ発生すると前記割り込み発生手段が割り込みを行うことを特徴とする請求項3記載のデータ転送集積回路。
A number setting means for receiving the setting of the number of occurrences of communication errors until the post-processing is performed,
4. The data transfer integrated circuit according to claim 3, wherein said interrupt generating means interrupts when a communication error in data communication through said interface occurs for a number of times set by said number setting means.
後記処理を行うまでの通信エラー発生回数の設定を受ける回数設定手段を備え、
前記インタフェースを介したデータ通信における通信エラーが前記回数設定手段により設定された回数だけ発生すると前記通信速度制御手段が該インタフェースによる通信速度をダウンさせることを特徴とする請求項4記載のデータ転送集積回路。
A number setting means for receiving the setting of the number of occurrences of communication errors until the post-processing is performed,
5. The data transfer integration according to claim 4, wherein when a communication error in data communication through the interface occurs the number of times set by the number setting means, the communication speed control means reduces the communication speed by the interface. circuit.
請求項1から8の何れか1項に記載のデータ転送集積回路を備え、前記インタフェースを介してハードディスクへ書き込み/読み込みを行う機能を備えたことを特徴とするデータ転送装置。   9. A data transfer apparatus comprising the data transfer integrated circuit according to claim 1 and having a function of writing / reading data to / from a hard disk via the interface.
JP2007112082A 2007-04-20 2007-04-20 Data transfer integrated circuit and data transfer device Pending JP2008269335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007112082A JP2008269335A (en) 2007-04-20 2007-04-20 Data transfer integrated circuit and data transfer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007112082A JP2008269335A (en) 2007-04-20 2007-04-20 Data transfer integrated circuit and data transfer device

Publications (1)

Publication Number Publication Date
JP2008269335A true JP2008269335A (en) 2008-11-06

Family

ID=40048741

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007112082A Pending JP2008269335A (en) 2007-04-20 2007-04-20 Data transfer integrated circuit and data transfer device

Country Status (1)

Country Link
JP (1) JP2008269335A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012066622A1 (en) * 2010-11-15 2012-05-24 富士通株式会社 Access method, and multi-core processor system
JP2015084241A (en) * 2014-12-09 2015-04-30 株式会社東芝 Information processing device
US9594611B2 (en) 2011-08-19 2017-03-14 Kabushiki Kaisha Toshiba Information processing apparatus, method for controlling information processing apparatus, non-transitory recording medium storing control tool, host device, non-transitory recording medium storing performance evaluation tool, and performance evaluation method for external memory device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05341913A (en) * 1992-06-10 1993-12-24 Nec Corp Magnetic disk controller
JPH0713883A (en) * 1993-06-28 1995-01-17 Nec Eng Ltd Bus adapter device
JPH07287674A (en) * 1994-04-20 1995-10-31 Fujitsu Ltd External storage and its data transfer control method
JPH08202635A (en) * 1995-01-30 1996-08-09 Toshiba Corp Dma controller
JPH1083635A (en) * 1996-09-06 1998-03-31 Ekushingu:Kk Hard disk device
JPH11298450A (en) * 1998-04-08 1999-10-29 Nec Corp Serial data transfer controller
JP2000082019A (en) * 1998-09-07 2000-03-21 Hitachi Ltd Data transfer controller
JP2000242571A (en) * 1999-02-25 2000-09-08 Nec Ibaraki Ltd Bus controller and bus control method
JP2003271422A (en) * 2002-03-18 2003-09-26 Fujitsu Ltd Preventive maintenance decision processing method, preventive maintenance decision processing program and maintenance managing method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH05341913A (en) * 1992-06-10 1993-12-24 Nec Corp Magnetic disk controller
JPH0713883A (en) * 1993-06-28 1995-01-17 Nec Eng Ltd Bus adapter device
JPH07287674A (en) * 1994-04-20 1995-10-31 Fujitsu Ltd External storage and its data transfer control method
JPH08202635A (en) * 1995-01-30 1996-08-09 Toshiba Corp Dma controller
JPH1083635A (en) * 1996-09-06 1998-03-31 Ekushingu:Kk Hard disk device
JPH11298450A (en) * 1998-04-08 1999-10-29 Nec Corp Serial data transfer controller
JP2000082019A (en) * 1998-09-07 2000-03-21 Hitachi Ltd Data transfer controller
JP2000242571A (en) * 1999-02-25 2000-09-08 Nec Ibaraki Ltd Bus controller and bus control method
JP2003271422A (en) * 2002-03-18 2003-09-26 Fujitsu Ltd Preventive maintenance decision processing method, preventive maintenance decision processing program and maintenance managing method

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012066622A1 (en) * 2010-11-15 2012-05-24 富士通株式会社 Access method, and multi-core processor system
CN103210381A (en) * 2010-11-15 2013-07-17 富士通株式会社 Access method, and multi-core processor system
JP5541368B2 (en) * 2010-11-15 2014-07-09 富士通株式会社 Access method and multi-core processor system
US9164823B2 (en) 2010-11-15 2015-10-20 Fujitsu Limited Resetting a peripheral driver and prohibiting writing into a register retaining data to be written into a peripheral on exceeding a predetermined time period
CN103210381B (en) * 2010-11-15 2015-11-25 富士通株式会社 Access method and multi-core processor system
US9594611B2 (en) 2011-08-19 2017-03-14 Kabushiki Kaisha Toshiba Information processing apparatus, method for controlling information processing apparatus, non-transitory recording medium storing control tool, host device, non-transitory recording medium storing performance evaluation tool, and performance evaluation method for external memory device
US10101923B2 (en) 2011-08-19 2018-10-16 Toshiba Memory Corporation Information processing apparatus, method for controlling information processing apparatus, non-transitory recording medium storing control tool, host device, non-transitory recording medium storing performance evaluation tool, and performance evaluation method for external memory device
US10452283B2 (en) 2011-08-19 2019-10-22 Toshiba Memory Corporation Information processing apparatus, method for controlling information processing apparatus, non-transitory recording medium storing control tool, host device, non-transitory recording medium storing performance evaluation tool, and performance evaluation method for external memory device
US11119661B2 (en) 2011-08-19 2021-09-14 Toshiba Memory Corporation Information processing apparatus, method for controlling information processing apparatus, non-transitory recording medium storing control tool, host device, non-transitory recording medium storing performance evaluation tool, and performance evaluation method for external memory device
US11726661B2 (en) 2011-08-19 2023-08-15 Kioxia Corporation Information processing apparatus, method for controlling information processing apparatus, non-transitory recording medium storing control tool, host device, non-transitory recording medium storing performance evaluation tool, and performance evaluation method for external memory device
JP2015084241A (en) * 2014-12-09 2015-04-30 株式会社東芝 Information processing device

Similar Documents

Publication Publication Date Title
US8826066B2 (en) Information processing apparatus, control method of the information processing apparatus, and recording medium
US20010016884A1 (en) Data storage unit with cyclic error detection and avoidance
US8631286B2 (en) Information storage device
JP2009267660A (en) Image processing apparatus, and image processing system
US8924669B2 (en) Information processing apparatus, control method, and program
US9065941B2 (en) Image processing apparatus and method for controlling the same
JP2010522406A (en) System and method for preventing errors in storage media
JP2008269335A (en) Data transfer integrated circuit and data transfer device
JP2005525668A (en) Hard disk drive system, method and apparatus using such a system
JP2009116834A (en) Data recording device, method for internal control of data recording device, and data recording system
JP6406219B2 (en) Communication apparatus and image forming apparatus
JP5193822B2 (en) Write-once memory device
JP4968078B2 (en) Failure diagnosis apparatus and failure diagnosis method
JP2007334555A (en) Data transfer device and electronic apparatus
US20070067701A1 (en) Recording control device, recording control method and program
JP2007164738A (en) Data storage device and image processing device
JP4589768B2 (en) Information processing device
JPH08171459A (en) Information processing system
US11740830B2 (en) Information processing apparatus
JP2011023089A (en) Recording and reproducing device
JP2012226811A (en) Image forming apparatus, and control method and program of image forming apparatus
US8380953B2 (en) Control apparatus, method for controlling the control apparatus, and storage medium
JP2008299978A (en) Disk drive device and data reproducing method from disk
US20090313431A1 (en) Disk Array Recording Apparatus and Recording Control Method Thereof
JP2021179730A (en) Information processing apparatus, control method thereof, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20100112

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20111228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120110

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120821

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20121211