Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS5847057B2 - magnetic disk controller - Google Patents
[go: Go Back, main page]

JPS5847057B2 - magnetic disk controller - Google Patents

magnetic disk controller

Info

Publication number
JPS5847057B2
JPS5847057B2 JP52107880A JP10788077A JPS5847057B2 JP S5847057 B2 JPS5847057 B2 JP S5847057B2 JP 52107880 A JP52107880 A JP 52107880A JP 10788077 A JP10788077 A JP 10788077A JP S5847057 B2 JPS5847057 B2 JP S5847057B2
Authority
JP
Japan
Prior art keywords
data
magnetic disk
length
error correction
circuit
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
Application number
JP52107880A
Other languages
Japanese (ja)
Other versions
JPS5441634A (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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP52107880A priority Critical patent/JPS5847057B2/en
Publication of JPS5441634A publication Critical patent/JPS5441634A/en
Publication of JPS5847057B2 publication Critical patent/JPS5847057B2/en
Expired legal-status Critical Current

Links

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)

Description

【発明の詳細な説明】 本発明は磁気ディスク制御装置に係り、特にデータのフ
ォーマットが固定長型の磁気ディスクの制御装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION The present invention relates to a magnetic disk control device, and more particularly to a magnetic disk control device whose data format is a fixed length type.

データエリアを固定長とした固定長型のデータフォーマ
ットを有する磁気ディスクの制御装置において、データ
エラー訂正回路の種々の動作が正常であるか否かを確認
することは、この種の制御装置が読み出し及び書き込み
動作を磁気ディスク上の各情報ブロック毎にしか行えな
いことからかなりの制約があった。
In a control device for a magnetic disk that has a fixed-length data format with a fixed data area, checking whether the various operations of the data error correction circuit are normal is to Also, there are considerable limitations because write operations can only be performed for each information block on the magnetic disk.

即ち、従来の磁気ディスク制御装置では、磁気ディスク
への任意のデータの書き込みがあらかじめ定められてい
るデータエリアにのみしかできず、アドレスエリアある
いはエラー訂正コード(FCC)エリアへ任意のデータ
を書き込むことができなかった。
That is, in conventional magnetic disk control devices, arbitrary data can only be written to a magnetic disk in a predetermined data area, and arbitrary data cannot be written to an address area or an error correction code (FCC) area. I couldn't do it.

従って磁気ディスク上に任意のデータ誤りをつくってお
いてデータエラー訂正回路の動作チェックを行うことが
非常に難しかった。
Therefore, it is very difficult to create arbitrary data errors on the magnetic disk and then check the operation of the data error correction circuit.

従って本発明は固定長型のデータフォーマットを採用し
た磁気ディスク制御装置のデータエラー訂正回路の種々
の動作確認が容易に行える磁気ディスク制御装置を提供
することを目的としている。
SUMMARY OF THE INVENTION Accordingly, an object of the present invention is to provide a magnetic disk control device that can easily check various operations of a data error correction circuit of a magnetic disk control device that employs a fixed-length data format.

この目的を達成する本発明の特徴は、固定長のデータフ
ォーマットを有し、該固定長データフォーマットに基づ
いてデータエラーの訂正を行う回路を備えた磁気ディス
ク制御装置において、前記固定長データフォーマットと
は無関係に任意のデータ長でデータ書き込みを可能とす
る手段を備え、誤りデータを磁気ディスクの所望の位置
に前記手段を用いて書き込み、該書き込み位置を固定長
データフォーマットを用いて読み出して前記エラー訂正
回路の作動監視するようにしたことにある。
The present invention is characterized in that it has a fixed length data format and is equipped with a circuit for correcting data errors based on the fixed length data format. is equipped with a means for writing data with any data length regardless of the data length, writes error data to a desired position on the magnetic disk using the means, reads the written position using a fixed length data format, and eliminates the error data. The reason is that the operation of the correction circuit is monitored.

以下図面を用いて本発明の詳細な説明する。The present invention will be described in detail below using the drawings.

第1図は本発明の一実施例のブロック図を示している。FIG. 1 shows a block diagram of one embodiment of the invention.

この図において、磁気ディスク1上に記録されているデ
ータは磁気ヘッド2を介してVFO回路及びPLO回路
等を備えた復調回路3に印加されて復調された後、シフ
トレジスタ4においてタイミング調整即ち直並列変換さ
れる。
In this figure, data recorded on a magnetic disk 1 is applied via a magnetic head 2 to a demodulation circuit 3 equipped with a VFO circuit, a PLO circuit, etc., and is demodulated. Converted to parallel.

並列に変換されたデータは読み出しバッファ5及びデー
タ線6を介して中央処理装置(CPU)7へ転送される
The parallel converted data is transferred to a central processing unit (CPU) 7 via a read buffer 5 and a data line 6.

一方、CPUよりデータ線8を介して転送されたデータ
は書き込みバッファ9に印加された後シフトレジスタ4
において並直列変換され、復調回路3及び磁気ヘッド2
を介して磁気ディスク1上に書き込まれる。
On the other hand, data transferred from the CPU via the data line 8 is applied to the write buffer 9 and then transferred to the shift register 4.
The demodulation circuit 3 and the magnetic head 2
is written onto the magnetic disk 1 via the .

これらのデータの転送開始及び終了時期は転送制御回路
10よりCPU7へ送られる信号に基づいて制御される
The start and end timings of these data transfers are controlled based on signals sent from the transfer control circuit 10 to the CPU 7.

シフトレジスタ4より出力される読み出しデータは2つ
の検出器11及び12にも印加される。
The read data output from the shift register 4 is also applied to two detectors 11 and 12.

検出器11は読み出しデータのアドレスエリアの先頭に
位置する同期バイトを検出するものであり、その同期バ
イトの検出信号をアドレスエリアカウンタ13に印加し
て該カウンタ130力ウント動作をスタートさせる。
The detector 11 detects the synchronization byte located at the head of the address area of the read data, and applies the detection signal of the synchronization byte to the address area counter 13 to start the counting operation of the counter 130.

このカウンタ13にはアドレスエリアに対応する一定の
バイト長がセットされており、ストローブによりカウン
トされる。
A constant byte length corresponding to the address area is set in this counter 13, and is counted by a strobe.

このカウント中転送制御回路10に信号が印加されて、
アドレスエリアの内容の読み出しが可能となる。
During this counting, a signal is applied to the transfer control circuit 10,
It becomes possible to read the contents of the address area.

検出器12は読み出しデータのデータエリアの先頭に位
置する同期バイトを検出するものであり、その同期バイ
トの検出信号はフリップフロップ140セツト入力端子
に印加される。
The detector 12 detects the synchronization byte located at the beginning of the data area of the read data, and the detection signal of the synchronization byte is applied to the set input terminal of the flip-flop 140.

フリップフロップ14のQ出力は転送制御回路10に印
加されて読み出しあるいは書き込みデータの転送を可能
ならしめると共にデータエリアカウンタ15に印加され
る。
The Q output of the flip-flop 14 is applied to the transfer control circuit 10 to enable transfer of read or write data, and is also applied to the data area counter 15.

このデータエリアカウンタ15には選択ゲート16を介
して任意のバイト長あるいは固定のバイト長(256バ
イト)がセットされる。
An arbitrary byte length or a fixed byte length (256 bytes) is set in this data area counter 15 via a selection gate 16.

即ち、選択ゲート16は、制御線16aを介して可変動
作命令を受けるとタグバス線16bを介して送られて来
る可変のデータバイト長をデータエリアカウンタ15に
供給し、制御線16dを介して通常動作命令を受けると
バス線16cを介して送られて来る固定のデータバイト
長(256バイト)をデータエリアカウンタ15に供給
する。
That is, when the selection gate 16 receives a variable operation command via the control line 16a, it supplies the variable data byte length sent via the tag bus line 16b to the data area counter 15, and normally outputs the variable data byte length via the control line 16d. When an operation command is received, a fixed data byte length (256 bytes) sent via the bus line 16c is supplied to the data area counter 15.

データエリアカウンタ15へのこれらのバイト長のセッ
トはオアゲート17を介して供給されるセクタパルス(
通常動作時)あるいはタグゲートパルス(OT変動作時
)によって行われる。
These byte lengths are set to the data area counter 15 by the sector pulse (
(during normal operation) or by tag gate pulse (during OT fluctuation operation).

データエリアカウンタ15がデータエリアの読み出しあ
るいは書き込みバイト長をカウントし、このカウント数
が前記セット数に等しくなった場合、即ち、データエリ
アカウンタ15がダウンカウンタであるとするとその出
力が零となった場合にデコーダ18がこれを検知し、フ
リップフロップ14をリセットする。
The data area counter 15 counts the read or write byte length of the data area, and when this count becomes equal to the set number, that is, if the data area counter 15 is a down counter, its output becomes zero. If so, the decoder 18 detects this and resets the flip-flop 14.

これにより転送制御回路10はデータの転送を停止する
ようにCPU7に情報を送る。
As a result, the transfer control circuit 10 sends information to the CPU 7 to stop the data transfer.

次にデータエラー訂正回路部分について説明する。Next, the data error correction circuit portion will be explained.

書き込み時、アドレスエリアカウンタ13がカウントを
終了すると続いてECCのビット分たけECCエリアカ
ウンタ19がカウントを開始し、ECCレジスタ20内
のFCCがオアゲート21を介して復調回路3に印加さ
れ、これによってアドレスの次の位置にFCCが書き込
まれる。
At the time of writing, when the address area counter 13 finishes counting, the ECC area counter 19 for each bit of ECC starts counting, and the FCC in the ECC register 20 is applied to the demodulation circuit 3 via the OR gate 21. The FCC is written to the next location of the address.

同様にデータエリアカウンタ15のカウント終了後もE
CCカウンタ19がカウントを開始してFCCがデータ
の次の位置に書き込まれる。
Similarly, after the data area counter 15 has finished counting, E
The CC counter 19 starts counting and the FCC is written to the next position of the data.

一方、磁気ディスク1からの読み出し時は、復調回路3
からのデータがシフトレジスタ4に入力すると共にEC
Cレジスタ20にも同時に入力する。
On the other hand, when reading from the magnetic disk 1, the demodulation circuit 3
The data from EC is input to the shift register 4 and the EC
It is also input to the C register 20 at the same time.

アドレスあるいはデータエリアの後のECCまで読み出
した時点でECCレジスタ20の内容がオール零である
か否かを転送制御回路10は確認しこれによりデータチ
ェックが否かを判別している。
At the time when the ECC after the address or data area is read, the transfer control circuit 10 checks whether the contents of the ECC register 20 are all zeros, and thereby determines whether or not the data is checked.

次に、このような磁気ディスク制御装置により実際にデ
ータエラー訂正回路の動作確認を行う手順を第2図を参
照して説明する。
Next, a procedure for actually checking the operation of the data error correction circuit using such a magnetic disk control device will be explained with reference to FIG.

まず、最初にデータエリア部に誤ったデータを作成して
エラー訂正回路の動作チェックを行う場合について説明
する。
First, a case will be described in which erroneous data is first created in the data area section and the operation of the error correction circuit is checked.

(1)第2図Aに示す如く固定バイト長で記録されてい
る磁気ディスク1上のレコードOのデータエリア(DA
)部とDA部の誤り訂正コード(FCC)部とのデータ
バイト長を加算したバイト長(L2+C2)を前述の方
法でデータエリアカウンタ15にセットする。
(1) Data area (DA) of record O on magnetic disk 1 recorded with a fixed byte length as shown in FIG.
) part and the error correction code (FCC) part of the DA part, the byte length (L2+C2) is set in the data area counter 15 using the method described above.

次いでこのデータエリアカウンタ15の動作に基づいて
磁気ディスク10可変長読み出し動作を行ってレコード
OのDA部とそのECC部の内容をCPU内のメモリへ
格納する(第2図B参照)。
Next, based on the operation of the data area counter 15, the magnetic disk 10 performs a variable length read operation to store the contents of the DA part and its ECC part of record O in the memory in the CPU (see FIG. 2B).

(2)メモリに格納されたDA部の内容を誤り訂正回路
の訂正可能範囲内で誤ったデータに修飾する。
(2) Modify the contents of the DA section stored in the memory with erroneous data within the correctable range of the error correction circuit.

(3)この修飾後のデータを前述と同様のバイト長(L
2+C2)がセットされているデータエリアカウンタ1
5の動作に基づいて可変長書き込み動作を行って前述の
レコードOのDA部とそのECC部に書き込みを行う。
(3) Change the data after this modification to the same byte length (L
2+C2) is set to data area counter 1.
A variable length write operation is performed based on the operation in step 5 to write to the DA section of record O and its ECC section.

(4) (3)で書き込みが行われたレコードOの部
分について通常の固定長の読み出し動作を行いエラー訂
正回路がデータチェック検出をしたか否かを知ることに
よりエラー訂正回路の正常動作が確認できる。
(4) The normal operation of the error correction circuit is confirmed by performing a normal fixed-length read operation on the part of record O written in (3) and checking whether the error correction circuit has detected the data check. can.

次にアドレスエリア部に誤ったデータを作成してエラー
訂正回路の動作チェックを行う場合について説明する。
Next, a case will be described in which erroneous data is created in the address area section and the operation of the error correction circuit is checked.

(1′)前述の(1)と同様にCPUのメモリ上にDA
部とそのECC部を可変長の読み出し動作を行って格納
する。
(1') Similarly to (1) above, the DA is stored on the CPU memory.
The section and its ECC section are stored by performing a variable length read operation.

次いで第2図A、Bに示す如く、上述のDA部とそのE
CC部の内容に続けて、既知のバイト長G3.G1.L
l、clをそれぞれ有する2つのギャップ部、アドレス
エリア(AA)部、そのECC部の内容をメモリ上に格
納する。
Next, as shown in Fig. 2A and B, the above-mentioned DA section and its E
Following the contents of the CC part, the known byte length G3. G1. L
The contents of two gap sections having 1 and cl, an address area (AA) section, and an ECC section thereof are stored in memory.

(2つメモリ上に格納されたAA部あるいはそのECC
部の内容を誤ったデータに修飾する。
(Two AA sections stored in memory or their ECC
Modify the contents of the section with incorrect data.

(3′)第2図B及びCに示す如く、データエリアカウ
ンタ15にLv=L2+C2+G3+G1十L 1 +
CIのバイト長をセットしこのデータエリアカウンタ1
5の動作に基づいて可変長書き込み動作を行い、メモリ
内の前記内容を磁気ディスク1の前記DA部位置から順
次書き込んで行く。
(3') As shown in FIG. 2 B and C, Lv=L2+C2+G3+G10L 1 +
Set the byte length of CI and use this data area counter 1.
A variable length write operation is performed based on the operation in step 5, and the contents in the memory are sequentially written from the DA section position of the magnetic disk 1.

(4′)第2図りに示す如く、00で書き込まれたアド
レスエリア部分について通常の固定長の読み出し動作を
行ってエラー訂正回路がデータチェック検出したか否か
を確認することによりエラー訂正回路の動作確認が行え
る。
(4') As shown in the second diagram, the error correction circuit performs a normal fixed length read operation for the address area part written with 00 and checks whether the error correction circuit has detected the data check. You can check the operation.

以上説明したように本発明の装置は、固定長型のデータ
記録様式を有する磁気ディスク制御装置にもかかわらず
外部からバイト長が任意に指定できる可変長型のデータ
読み出し及び書き込み動作が行える機能を有しているた
め、磁気ディスク上の任意の部分のデータの修飾を行う
ことが可能となり、データエラー訂正回路の種々の機能
チェックを容易行うことができる利点を有している。
As explained above, although the device of the present invention has a magnetic disk control device that has a fixed-length data recording format, it has the ability to read and write variable-length data in which the byte length can be arbitrarily specified from the outside. This has the advantage that it is possible to modify data in any part of the magnetic disk, and that it is possible to easily check various functions of the data error correction circuit.

従ってこの種の装置を用いることにより、従来行えなか
ったCPUの自己診断時におけるエラー訂正回路の診断
も可能となり、本発明の効果は大きい。
Therefore, by using this type of device, it becomes possible to diagnose the error correction circuit at the time of self-diagnosis of the CPU, which was not possible in the past, and the effects of the present invention are significant.

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

第1図は本発明の一実施例のブロック図、第2図は第1
図の装置の動作例の説明図である。 1・・・・・・磁気ディスク、2・・・・・・磁気ヘッ
ド、3・・・・・・復調回路、4・・・・・・シフトレ
ジスタ、5・−・・・・読み出シハツファ、6,8.1
6b、16c・・・・・・バス線、7・・・・・・CP
U、9・・・・・・書き込みバッファ、10・・・・・
・転送制御回路、11,12・・・・・・検出器、13
・・・・・・アドレスエリアカウンタ、14・曲・フリ
ップフロップ、15・・曲データエリアカウンタ、16
・・・・・・選択ゲート、17−・・・・オア回路、1
8・・・・・・デコーダ、19・・・・・・ECCエリ
アカウンタ。
FIG. 1 is a block diagram of one embodiment of the present invention, and FIG. 2 is a block diagram of an embodiment of the present invention.
FIG. 3 is an explanatory diagram of an example of the operation of the device shown in the figure. DESCRIPTION OF SYMBOLS 1... Magnetic disk, 2... Magnetic head, 3... Demodulation circuit, 4... Shift register, 5... Read shifter , 6, 8.1
6b, 16c...Bus line, 7...CP
U, 9...Write buffer, 10...
・Transfer control circuit, 11, 12...Detector, 13
・・・・・・Address area counter, 14・Song/flip-flop, 15・・Song data area counter, 16
...Selection gate, 17-...OR circuit, 1
8...Decoder, 19...ECC area counter.

Claims (1)

【特許請求の範囲】[Claims] 1 固定長のデータフォーマットを有し、該固定長デー
タフォーマットに基づいてデータエラーの訂正を行う回
路を備えた磁気ディスク制御装置において、前記固定長
データフォーマットとは無関係に任意のデータ長でデー
タ書き込みを可能とする手段を備え、誤りデータを磁気
ディスクの所望の位置に前記手段を用いて書き込み、該
書き込み位置を固定長データフォーマットを用いて読み
出し′C前記エラー訂正回路の作動監視するようにした
ことを特徴とする磁気ディスク制御装置。
1. In a magnetic disk control device that has a fixed length data format and is equipped with a circuit that corrects data errors based on the fixed length data format, data can be written with any data length regardless of the fixed length data format. Error data is written to a desired position on the magnetic disk using the means, and the writing position is read out using a fixed length data format to monitor the operation of the error correction circuit. A magnetic disk control device characterized by:
JP52107880A 1977-09-09 1977-09-09 magnetic disk controller Expired JPS5847057B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP52107880A JPS5847057B2 (en) 1977-09-09 1977-09-09 magnetic disk controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP52107880A JPS5847057B2 (en) 1977-09-09 1977-09-09 magnetic disk controller

Publications (2)

Publication Number Publication Date
JPS5441634A JPS5441634A (en) 1979-04-03
JPS5847057B2 true JPS5847057B2 (en) 1983-10-20

Family

ID=14470415

Family Applications (1)

Application Number Title Priority Date Filing Date
JP52107880A Expired JPS5847057B2 (en) 1977-09-09 1977-09-09 magnetic disk controller

Country Status (1)

Country Link
JP (1) JPS5847057B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56144153A (en) * 1980-04-14 1981-11-10 Idemitsu Kosan Co Manufacture of woody board coated with resin
JPH0614427B2 (en) * 1983-03-12 1994-02-23 クラリオン株式会社 Digital interface circuit
JPS63211423A (en) * 1987-02-27 1988-09-02 Fujitsu Ltd Data input/output method

Also Published As

Publication number Publication date
JPS5441634A (en) 1979-04-03

Similar Documents

Publication Publication Date Title
JP2855019B2 (en) External storage device data guarantee method and external storage device
EP0147794A2 (en) Error recovery method and apparatus
JPH0444688A (en) Optical disk driving device
US4527273A (en) Magnetic disc device
JPS5847057B2 (en) magnetic disk controller
WO1992000589A1 (en) Read/write control for disk drive
JPS58109954A (en) Magnetic disc controller
JPS5910000B2 (en) Memory error detection method
JPH0344394B2 (en)
JP2734327B2 (en) Track address detection circuit
JPH07281836A (en) Data transfer method
JPH0441375B2 (en)
JP3251732B2 (en) Control method and control device for magnetic tape device
JPH0234109B2 (en) DEISUKUSEIGYONIOKERUSEKUTABANGOKENSHUTSUHOHO
JP2629887B2 (en) Magnetic disk processing unit
JP2536118B2 (en) Disk controller
JPH04123242A (en) Write error identification system
JPS6051142B2 (en) Logging error control method
JPS61236073A (en) Digital signal recording device
JPS5816212B2 (en) Error retry control method
JP3246926B2 (en) Error correction processor
JPH04102274A (en) Control method for magnetic storage devices
JPS5831668B2 (en) Index clock supervisory circuit
JPH0668730B2 (en) Error correction circuit
JPH0512805A (en) Disk device