JPS6152732A - Disc controller - Google Patents

Disc controller

Info

Publication number
JPS6152732A
JPS6152732A JP59173249A JP17324984A JPS6152732A JP S6152732 A JPS6152732 A JP S6152732A JP 59173249 A JP59173249 A JP 59173249A JP 17324984 A JP17324984 A JP 17324984A JP S6152732 A JPS6152732 A JP S6152732A
Authority
JP
Japan
Prior art keywords
circuit
byte
register
written
record
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
JP59173249A
Other languages
Japanese (ja)
Inventor
Hiroyuki Kamahara
鎌原 宏之
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Original Assignee
Hitachi Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hitachi Ltd filed Critical Hitachi Ltd
Priority to JP59173249A priority Critical patent/JPS6152732A/en
Publication of JPS6152732A publication Critical patent/JPS6152732A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To diagnose easily the synchronous byte detecting capability and hard information check functions by adding a false AM generating circuit. CONSTITUTION:Test records are written in fields 401-408 of a data format, and an AM is written on the field 401. A byte number GL from the index to the field 401 is set to a register 302. The diagnostic mode is set, and records are read in order from the AM, and a test data part 201 and a block check code 202 are read to perform block check. When reading advances to the field 401 thereafter, contents of a byte position counter 301 and the register 302 coincide with each other, and a flase AM detection signal goes to ''1'', and a controller searches a synchronizing byte and performs hard information.

Description

【発明の詳細な説明】 〔発明の利用分野〕 本発明は、ディスク制御装置の、同期バイト検出能力、
ブロックチェヅク能力等の診断用の回路に関するもので
ある。
DETAILED DESCRIPTION OF THE INVENTION [Field of Application of the Invention] The present invention provides a synchronous byte detection capability of a disk controller;
This relates to a circuit for diagnosing block checking ability, etc.

〔発明の背景〕[Background of the invention]

一般にディスクのレコード形式は、第1図の様に、AM
、ギャップ、同期バイト、ハード制御情報、レコード制
御情報、プロックチェンクコード、ギャップ、同期バイ
ト、データ、ブロックチェックコード、ギャップから構
成される。
Generally, the record format of a disc is AM, as shown in Figure 1.
, gap, synchronization byte, hard control information, record control information, block change code, gap, synchronization byte, data, block check code, and gap.

同期バイトの検出能力、ハード制御情報のチェック能力
、ブロックチェックコードによるデータ等のチェック又
は訂正能力のチェック等は、従来は嬉2図の様K、デー
タの中K、テストするデータおよびブロックチェックコ
ードを書き、データ長をテストするデータの長さに合わ
せて制御することにより、テストデータとして書込まれ
た、不当データを、読み出すことにより、ブo ツクチ
ェック回路を働かし、その能力をチェックする方式がと
られていた。
The ability to detect synchronization bytes, the ability to check hardware control information, the ability to check or correct data using a block check code, etc., has conventionally been performed using the K, middle K of data, data to be tested, and block check code as shown in Figure 2. By writing the data length and controlling the data length according to the length of the data to be tested, the invalid data written as test data is read out, and the book check circuit is activated to check its performance. was taken.

しかしこの方式では、特殊な記録方式の/′IMをデー
タの一部として書込むことが出来ない為、A MKつづ
(同期バイト検出能力、ハード制御情報(データ転送に
ては書込めない)ICよるチェック能力の診断が出来な
い欠点があった。
However, with this method, /'IM, which is a special recording method, cannot be written as part of the data, so AMK Tsuzu (synchronous byte detection ability, hardware control information (cannot be written during data transfer), IC There was a drawback that it was not possible to diagnose the checking ability by

〔発明の目的〕[Purpose of the invention]

本発明の目的は、上記の様な欠点を除去し、同期バイト
、ハード制御情報のチェック能力の診断が可能な、回路
を提供することにある。
SUMMARY OF THE INVENTION An object of the present invention is to provide a circuit that eliminates the above-mentioned drawbacks and makes it possible to diagnose the ability to check synchronization bytes and hard control information.

〔発明の概要〕[Summary of the invention]

本発明は、特殊記録形式のAMをあらかじめ設定してお
いた、レジスタの値と、インデックスからのバイト位置
カウンタ値が一致した時に、擬似的に発生させ、その発
生時点を、データ中にびかれた、テストレコードとテス
トレコード間に設定して、同期バイトや、ハード制御情
報の一部を不当値にした、後半のテストレコードを読む
ことにより、それらの検出能力の評価を可能ならしめる
様にしたものである。
The present invention generates a special recording format AM in a pseudo manner when a preset register value matches a byte position counter value from an index, and records the point of occurrence in the data. In addition, it is now possible to evaluate the detection ability by reading the second half of the test record, which is set between test records and makes some of the synchronization bytes and hardware control information invalid values. This is what I did.

〔発明の実施例〕[Embodiments of the invention]

以下、本発明の一実施例を第5図((より説明する。 Hereinafter, one embodiment of the present invention will be explained in more detail with reference to FIG.

501はインタ・ソクスからのバイト位置カウンタ、5
02は、AM発生位置1/ジスタを示し、%制御装置よ
り設定される。505は、501と502の比較回路で
一致した時出力504が1となる。信号504は、AN
D回路505に入力され、診断モードの信号506が1
で、A Mサーチ信号507が1の時、通常の、A M
検出信号508と、ORされて、従来のAM検出信号と
して、制御装置は、同期バイトを探す動作に入る。一方
この時のデータフォーマットは第4図に示される。40
1から408までに、テストレコードが書かれている。
501 is the byte position counter from Inter Sox, 5
02 indicates AM occurrence position 1/gister and is set by the % control device. In 505, when the comparison circuits 501 and 502 match, the output 504 becomes 1. The signal 504 is
The diagnostic mode signal 506 is input to the D circuit 505 and becomes 1.
So, when the AM search signal 507 is 1, the normal AM
When ORed with the detection signal 508 as a conventional AM detection signal, the controller enters into operation looking for the sync byte. On the other hand, the data format at this time is shown in FIG. 40
Test records are written from 1 to 408.

401はAMが書かれるべき位置で書込み内容はギャッ
プと同じで良いがレジスタ502には、インデックスか
ら401までのバイト数GLが設定される。
401 is the position where AM is to be written, and the content to be written may be the same as the gap, but the number of bytes GL from the index to 401 is set in the register 502.

ハード制御情報404が不当な、テストレコードを書込
んだ場合の、読み出し動作は次の様になる。まず、GL
の値を502にセットし、診断モードにして、AMから
順にレコードを読み、テストデータ部201およびブロ
ックチェックコード202を読み、ブロックチェックを
行なう〇その後4010時点まで読み進んだ時、501
と502の回路の一致が成立して、擬似AM検出信号が
1となり、制御装置は同期バイト探索を行なう。
When a test record with invalid hardware control information 404 is written, the read operation is as follows. First, GL
Set the value to 502, enter the diagnostic mode, read the records in order from AM, read the test data section 201 and block check code 202, and perform a block check. After that, when reading continues up to point 4010, 501
When the circuits 502 and 502 match, the pseudo AM detection signal becomes 1, and the control device performs a synchronization byte search.

その後、ハード情報のチェックを行なうが、値が不当故
、エラーとして、通常、コマンド再試行にて、同テスト
レコードを再度、読み直す。
After that, the hardware information is checked, but because the value is invalid, it is treated as an error, and the same test record is usually read again by retrying the command.

その際にも401の位置で発生する擬似A Mにて、同
一のレコードを読み出しチェックを行なうことになる。
At that time as well, the same record is read and checked using the pseudo AM generated at position 401.

次に、本発明の実施例の第2のものを示す。Next, a second embodiment of the present invention will be shown.

これは、擬似、4Mの位置を自動的に設定するもので、
通常レコード間のギャップ108.、410が固定的な
ことを利用し、同ギャップカウンタ501の出力をデコ
ーダ502でデコードし、一定値に −なった時釦、タ
イミングT1で、501の値をレジスタ504に設定す
る様にしたものである。
This is to automatically set the pseudo 4M position,
Normal gap between records 108. , 410 are fixed, the output of the gap counter 501 is decoded by the decoder 502, and when the value reaches a certain value, the value of 501 is set in the register 504 at the button timing T1. It is.

〔発明の効果〕〔Effect of the invention〕

本発明によれば、簡単な、擬似AM発生回路を、付加す
ることにより、従来困難であった、同期バイト検出能力
およびハード情報のチェック機能の診断が容易に行なえ
る。
According to the present invention, by adding a simple pseudo AM generation circuit, it is possible to easily diagnose the synchronous byte detection ability and the hardware information checking function, which has been difficult in the past.

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

第1図は、レコード形式の説明図、第2図は、図は、同
回路を使用して、制御装置のチェック能力を評価する際
に使用するレコード形式の説明図、第5図は、本発明の
他の実施例の擬似AM発生回路図である。
Fig. 1 is an explanatory diagram of the record format, Fig. 2 is an explanatory diagram of the record format used when evaluating the checking ability of a control device using the same circuit, and Fig. 5 is an explanatory diagram of the record format used when evaluating the checking ability of a control device using the same circuit. FIG. 6 is a diagram of a pseudo AM generation circuit according to another embodiment of the invention.

Claims (1)

【特許請求の範囲】[Claims] 1、レコードの始まりを示す特殊な記録形式部(AM)
と、同期バイト、ハード制御情報、データ、およびブロ
ックチェックコード等から構成されるレコードを読み書
きするディスク制御装置において、トラックの始まり(
インデックス)からのバイト数をカウントするカウンタ
とレジスタ、およびカウンタとレジスタの値を比較する
回路と、その一致信号を、診断モード時に、AM検出信
号とオアする回路から構成され、レコード内にデータと
して書かれた、第2のレコードの先頭位置を上記レジス
タに設定し、ハードが独自に生成する、同期バイト、ハ
ード制御情報、ブロックチェックコード等を、外部から
データとして任意に与えた、第2のレコードを、診断モ
ード時の上記比較回路からの出力を検出して読み出すこ
とにより、同期バイト検出回路、ハード制御情報チェッ
ク回路、ブロックチェック回路等の診断を可能としたこ
とを特徴とするディスク制御装置。
1. Special recording format section (AM) indicating the beginning of the record
The start of a track (
It consists of a counter and register that counts the number of bytes from the index), a circuit that compares the values of the counter and register, and a circuit that ORs the match signal with the AM detection signal in diagnostic mode, and stores it as data in the record. The start position of the written second record is set in the above register, and the synchronization byte, hardware control information, block check code, etc. generated by the hardware are arbitrarily given as data from the outside. A disk control device characterized in that it is possible to diagnose a synchronous byte detection circuit, a hardware control information check circuit, a block check circuit, etc. by detecting and reading an output from the comparison circuit in a diagnosis mode. .
JP59173249A 1984-08-22 1984-08-22 Disc controller Pending JPS6152732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59173249A JPS6152732A (en) 1984-08-22 1984-08-22 Disc controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59173249A JPS6152732A (en) 1984-08-22 1984-08-22 Disc controller

Publications (1)

Publication Number Publication Date
JPS6152732A true JPS6152732A (en) 1986-03-15

Family

ID=15956928

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59173249A Pending JPS6152732A (en) 1984-08-22 1984-08-22 Disc controller

Country Status (1)

Country Link
JP (1) JPS6152732A (en)

Similar Documents

Publication Publication Date Title
JPS607549A (en) Fault diagnosing device
JPS60201573A (en) Sector start signal generating circuit of optical disc device
JPS6152732A (en) Disc controller
CN1004591B (en) Information recording and reproducing device
JPS5835284B2 (en) Data bus check method
JPH0410096B2 (en)
JP2720501B2 (en) Magnetic disk drive
SU1660050A1 (en) Device for checking data stored on a magnetic medium
SU1730630A2 (en) Device for interfacing source and receiver of information
JPH0628649A (en) Device for extracting servo information, device for detecting servo mark and device for generating window
JPS5846750A (en) Start-stop reproducing system
JP2818766B2 (en) Defect inspection device for recording media
SU1539782A2 (en) Device for test checks of digital units
JPS6117271A (en) Optical disk device
JPS60230233A (en) Magnetic disk read-out controlling system
SU1290333A1 (en) Device for checking digital units
JPH01143082A (en) Address mark detecting circuit for magnetic disk device
JPH06223538A (en) Track address detecting circuit
JPS6047269A (en) Information recording and reading device
JPS6029975A (en) Magnetic disk controller
JPH01251222A (en) Sector address counter
JPH0294072A (en) Method for measuring error rate
JPS6128191B2 (en)
JPS61107574A (en) Synchronous circuit
JPS581870A (en) Magnetic disk device