JPH06187141A - Data processor - Google Patents

Data processor

Info

Publication number
JPH06187141A
JPH06187141A JP35587392A JP35587392A JPH06187141A JP H06187141 A JPH06187141 A JP H06187141A JP 35587392 A JP35587392 A JP 35587392A JP 35587392 A JP35587392 A JP 35587392A JP H06187141 A JPH06187141 A JP H06187141A
Authority
JP
Japan
Prior art keywords
data
controller
input
driver
computer
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
JP35587392A
Other languages
Japanese (ja)
Inventor
Norichika Mitsune
範親 三根
Shuji Hirai
修二 平井
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.)
Sony Corp
Original Assignee
Sony Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Corp filed Critical Sony Corp
Priority to JP35587392A priority Critical patent/JPH06187141A/en
Publication of JPH06187141A publication Critical patent/JPH06187141A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To easily update softwares in a data processor such as a magneto- optical disk device connected to a host computer for processing data or the like for instance. CONSTITUTION:By inputting the data of a processing program through an input/output circuit 10 connected to a computer 2, storing them in a buffer memory 17, then reloading a reloadable read-only memory 14 with the stored data of the processing program, also storing the data of the processing program inputted from the connection line of the computer 2 through a controller 3 in a second buffer memory 22 and reloading the reloadable read-only memory 25 with the stored data of the processing program, the processing program of the controller 3 or a driver 4 is reloaded through the connection line of the computer 2.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【目次】以下の順序で本発明を説明する。 産業上の利用分野 従来の技術 発明が解決しようとする課題 課題を解決するための手段(図1) 作用(図1) 実施例 (1)全体構成(図1) (2)コントローラフアームの書き換え(図2) (3)ドライバのフアームウエアの書き換え(図3) (4)実施例の効果 (5)他の実施例 発明の効果[Table of Contents] The present invention will be described in the following order. Field of Industrial Application Conventional Technology Problems to be Solved by the Invention Means for Solving the Problems (FIG. 1) Action (FIG. 1) Example (1) Overall Configuration (FIG. 1) (2) Rewriting Controller Arm ( 2) (3) Rewriting firmware of driver (FIG. 3) (4) Effect of embodiment (5) Other embodiment Effect of invention

【0002】[0002]

【産業上の利用分野】本発明はデータ処理装置に関し、
例えばコンピユータに接続する光磁気デイスク装置等に
適用し得る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device,
For example, it can be applied to a magneto-optical disk device or the like connected to a computer.

【0003】[0003]

【従来の技術】従来、この種の光磁気デイスク装置にお
いては、種々のコンピユータの外部記憶装置として使用
し得るようになされている。すなわちこの種の光磁気デ
イスク装置においては、コントローラ及びドライバで形
成され、このコントローラを介してホストコンピユータ
と接続されるようになされている。
2. Description of the Related Art Conventionally, in this type of magneto-optical disk device, it can be used as an external storage device for various computers. That is, in this type of magneto-optical disk device, it is formed of a controller and a driver, and is connected to the host computer through this controller.

【0004】このためドライバにおいては、メモリ回路
に格納したフアームウエアに従つてサーボ制御回路、レ
ーザ制御回路、再生信号処理回路等を駆動し、これによ
りコントローラを介して入力される制御データに応動し
て動作を切り換え、続いて入力される記録データを所定
の記録領域に記録し、又所定の記録領域を再生して再生
データをコントローラに出力するようになされている。
コントローラにおいては、例えばSCSIインターフエ
ース(small computersystem interface )を介してホ
ストコンピユータと通信し、このときメモリ回路に格納
したコントローラフアームに従つてホストコンピユータ
から出力される種々のコマンドを処理することにより、
必要に応じてドライバを駆動してホストコンピユータか
ら出力される記録データを光磁気デイスクに記録し、ま
た再生データをホストコンピユータに出力するようにな
されている。
Therefore, in the driver, the servo control circuit, the laser control circuit, the reproduction signal processing circuit, etc. are driven in accordance with firmware stored in the memory circuit, thereby responding to the control data input via the controller. The operation is switched to record the input recording data in a predetermined recording area, reproduce the predetermined recording area, and output the reproduction data to the controller.
In the controller, for example, by communicating with the host computer via a SCSI interface (small computer system interface) and processing various commands output from the host computer in accordance with the controller arm stored in the memory circuit,
When necessary, the driver is driven to record the recording data output from the host computer on the magneto-optical disk, and output the reproduction data to the host computer.

【0005】このためドライバにおいては、サーボ制御
回路、レーザ制御回路、再生信号処理回路等の特性に対
応した制御プログラムでなるフアームウエアをメモリ回
路に格納する必要があるのに対し、コントローラにおい
ては、ホストコンピユータに対応するように仕様に応じ
てコントローラフアームを設定する必要がある。
Therefore, in the driver, firmware which is a control program corresponding to the characteristics of the servo control circuit, the laser control circuit, the reproduction signal processing circuit, etc. must be stored in the memory circuit, while in the controller, It is necessary to set the controller arm according to the specifications so as to correspond to the host computer.

【0006】このため光磁気デイスク装置においては、
製造時、調整用のプログラムをコントローラのメモリ回
路に格納してドライバ等を調整するようになされ、これ
により調整結果に応じてドライバのフアームウエアを更
新してサーボ情報等を設定するようになされている。さ
らにこの調整作業が完了すると光磁気デイスク装置にお
いては、工場出荷時、仕様に応じてコントローラのメモ
リ回路を書き換えるようになされている。これによりこ
の種の光磁気デイスク装置の製造ラインにおいては、仕
様が異なる場合でも同一の調整作業で光磁気デイスク装
置を調整した後、仕様に応じてコントローラフアームを
設定することにより、調整作業、製品管理等を簡略化し
得るようになされている。
Therefore, in the magneto-optical disk device,
At the time of manufacture, the adjustment program is stored in the memory circuit of the controller to adjust the driver, etc., so that the firmware of the driver is updated according to the adjustment result and the servo information etc. is set. There is. Further, when this adjustment work is completed, in the magneto-optical disc device, the memory circuit of the controller is rewritten according to the specifications at the time of factory shipment. As a result, in the manufacturing line of this type of magneto-optical disk device, even if the specifications are different, after adjusting the magneto-optical disk device by the same adjustment work, by setting the controller arm according to the specifications, adjustment work, product It is designed to simplify management and the like.

【0007】[0007]

【発明が解決しようとする課題】ところがこの種のコン
トローラフアーム及びフアームウエアにおいては、出荷
後にいわゆるバグが発見される場合がある。特にホスト
コンピユータが更新されて処理速度が高速度化した場合
においては、従来では問題とならななかつたバグが発見
される場合がある。このような場合、この種の光磁気デ
イスク装置においては、既に格納されているコントロー
ラフアーム及びフアームウエアをデバツキング処理した
コントローラフアーム及びフアームウエアに更新する必
要がある。また新しい機能等を付加してバージヨンアツ
プするような場合にも、コントローラフアーム及びフア
ームウエアを更新する必要がある。
However, in this type of controller firmware and firmware, so-called bugs may be found after shipment. Especially when the host computer is updated and the processing speed is increased, a bug that has not been a problem in the past may be found. In such a case, in the magneto-optical disk device of this type, it is necessary to replace the already stored controller firmware and firmware with the controller firmware and firmware that have undergone the debugging process. In addition, the controller firmware and firmware need to be updated even when new versions are added to upgrade the version.

【0008】特に光磁気デイスク装置においては、この
ようなコントローラフアーム及びフアームウエアの更新
を光磁気デイスク装置の設置場所で行う必要があり、こ
の更新作業を簡略化することができれば、便利であると
考えられる。すなわちこのようにコントローラフアーム
及びフアームウエアを更新する場合、光磁気デイスク装
置においては、一般にこのコントローラフアーム及びフ
アームウエアを格納したメモリをそつくり交換する方法
が考えられ、この方法の場合、一旦設置した光磁気デイ
スク装置を設置箇所から引き出してメモリの実装基板を
引き出さなければならず、結局作業が煩雑になると共
に、作業ミスも発生する恐れがある。
Particularly in a magneto-optical disk device, it is necessary to update the controller frame and firmware in the place where the magneto-optical disk device is installed, and it would be convenient if the updating operation could be simplified. Conceivable. That is, in the case of updating the controller firmware and firmware in this way, in the magneto-optical disk device, a method of preparing and replacing the memory storing the controller firmware and firmware is generally considered, and in this method, once installed. The magneto-optical disk device must be pulled out from the installation location to pull out the memory mounting board, which eventually complicates the work and may cause a work error.

【0009】これに対して例えばRS−232C等のイ
ンターフエースを介してコントローラフアーム及びフア
ームウエアを更新する方法も考えられるが、この場合別
途このインターフエース用のコネクタ等を配置する必要
があり、その分全体構成が煩雑化し、またこのコネクタ
の接続作業等も必要なことから、作業も煩雑化する。ま
たこのようにRS−232C等のインターフエースを介
してコントローラフアーム及びフアームウエアを更新す
る場合、メモリの書換え処理用のソフトを予めROM化
してコントローラ及びドライバに実装することが考えら
れ、この場合コントローラ及びドライバの構成も煩雑化
し、さらにこの書換え処理用のソフト自体を更新するこ
とが困難になる欠点もある。
On the other hand, a method of updating the controller arm and firmware through an interface such as RS-232C may be considered, but in this case, it is necessary to separately arrange a connector for this interface. As a result, the entire structure becomes complicated, and the work for connecting this connector is also required, so the work becomes complicated. Further, when updating the controller firmware and firmware via the interface such as RS-232C in this way, it is conceivable that the software for the memory rewriting process is converted to ROM in advance and mounted on the controller and driver. Also, there is a drawback that the configuration of the driver becomes complicated, and it becomes difficult to update the software for rewriting.

【0010】本発明は以上の点を考慮してなされたもの
で、この種のソフトを簡易に更新することができるデー
タ処理装置を提案しようとするものである。
The present invention has been made in consideration of the above points, and it is an object of the present invention to propose a data processing device capable of easily updating this type of software.

【0011】[0011]

【課題を解決するための手段】かかる課題を解決するた
め本発明においては、書き込み及び読み出しの制御デー
タに対応して所定の記録媒体をアクセスして、記録媒体
に所望の記録データを記録し、及び記録媒体から再生デ
ータを再生するドライバ4と、コンピユータ2に接続さ
れて、コンピユータ2から出力される書き込み及び読み
出しのコマンドに対応してドライバ4に書き込み及び読
み出しの制御データを出力すると共に、コンピユータ2
から入力される記録データをドライバ4に出力し、又は
再生データをコンピユータ2に出力するコントローラ3
とを備え、コントローラ3は、コンピユータ2に接続さ
れて記録データを入力し、及び再生データを出力する入
出力回路10と、書き込みのコマンドに対応して入出力
回路10を介して入力される記録データを格納してドラ
イバ4に出力し、読み出しのコマンドに対応してドライ
バ4から出力される再生データを格納して入出力回路1
0に出力するバツフアメモリ17と、コントローラ3の
処理プログラムを格納する書き換え可能なリードオンリ
メモリ回路14とを有し、コントローラ3は、処理プロ
グラムを書き換える書き換えモードにおいて、入出力回
路10を介して入力される処理プログラムのデータをバ
ツフアメモリ17に蓄積した後、該蓄積した処理プログ
ラムのデータで書き換え可能なリードオンリメモリ回路
14を書き換える。
In order to solve such a problem, in the present invention, a predetermined recording medium is accessed corresponding to write and read control data, and desired recording data is recorded in the recording medium. And a driver 4 for reproducing reproduced data from a recording medium, and connected to the computer 2 to output write / read control data to the driver 4 in response to write / read commands output from the computer 2, and Two
A controller 3 for outputting the recording data input from the device to the driver 4 or outputting the reproduction data to the computer 2.
The controller 3 includes an input / output circuit 10 connected to the computer 2 for inputting recording data and outputting reproduction data, and a recording input via the input / output circuit 10 in response to a write command. The data is stored and output to the driver 4, and the reproduction data output from the driver 4 in response to the read command is stored and the input / output circuit 1
It has a buffer memory 17 for outputting to 0 and a rewritable read-only memory circuit 14 for storing the processing program of the controller 3, and the controller 3 is inputted via the input / output circuit 10 in the rewriting mode for rewriting the processing program. After the data of the processing program to be stored is stored in the buffer memory 17, the rewritable read-only memory circuit 14 is rewritten with the stored data of the processing program.

【0012】さらに第2の発明においては、書き込み及
び読み出しの制御データに対応して所定の記録媒体をア
クセスして、記録媒体に所望の記録データを記録し、及
び記録媒体から再生データを再生するドライバ4と、コ
ンピユータ2に接続されて、コンピユータ2から出力さ
れる書き込み及び読み出しのコマンドに対応してドライ
バ4に書き込み及び読み出しの制御データを出力すると
共に、コンピユータ2から入力される記録データをドラ
イバ4に出力し、又は再生データをコンピユータ2に出
力するコントローラ3とを備え、コントローラ3は、コ
ンピユータ2に接続されて記録データを入力し、及び再
生データを出力する第1の入出力回路10と、書き込み
のコマンドに対応して第1の入出力回路10を介して入
力される記録データを格納してドライバ4に出力し、読
み出しのコマンドに対応してドライバ4から出力される
再生データを格納して第1の入出力回路10に出力する
第1のバツフアメモリ17とを有し、ドライバ4は、コ
ントローラ3に接続されて、コントローラ3から出力さ
れる記録データを入力し、及び再生データをコントロー
ラ3に出力する第2の入出力回路20と、書き込みの制
御データに対応して第2の入出力回路20を介して入力
される記録データを一旦格納し、読み出し制御データに
対応して再生データを一旦格納して第2の入出力回路2
0に出力する第2のバツフアメモリ22と、ドライバ4
の処理プログラムを格納する書き換え可能なリードオン
リメモリ回路25とを有し、コントローラ3は、処理プ
ログラムを書き換える書き換えモードにおいて、第1の
入出力回路10を介して入力される処理プログラムのデ
ータを第1のバツフアメモリ17を介してドライバ4に
出力し、ドライバ4は、書き換えモードにおいて、第2
の入出力回路20を介して入力される処理プログラムの
データを第2のバツフアメモリ22に格納した後、該蓄
積した処理プログラムのデータで書き換え可能なリード
オンリメモリ回路25を書き換える。
Further, according to the second aspect of the invention, a predetermined recording medium is accessed corresponding to the write and read control data, desired recording data is recorded on the recording medium, and reproduction data is reproduced from the recording medium. The controller 4 is connected to the driver 4 and the computer 2, and outputs write and read control data to the driver 4 in response to write and read commands output from the computer 2 and also outputs recording data input from the computer 2 to the driver. 4 or a controller 3 for outputting reproduction data to the computer 2, the controller 3 being connected to the computer 2 for inputting recording data and outputting reproduction data. , The recording data input via the first input / output circuit 10 in response to the write command. And a first buffer memory 17 for storing the reproduction data output from the driver 4 in response to a read command and outputting it to the first input / output circuit 10. A second input / output circuit 20 connected to the controller 3 inputs the recording data output from the controller 3 and outputs reproduction data to the controller 3, and a second input / output circuit 20 corresponding to the write control data. The recording data input via the input / output circuit 20 of FIG.
0 to the second buffer memory 22 and the driver 4
And a rewritable read-only memory circuit 25 for storing the processing program, the controller 3 stores the data of the processing program input via the first input / output circuit 10 in the rewriting mode for rewriting the processing program. 1 to the driver 4 via the buffer memory 17, and the driver 4 outputs the second memory in the rewriting mode.
After storing the data of the processing program input through the input / output circuit 20 in the second buffer memory 22, the rewritable read-only memory circuit 25 is rewritten with the stored data of the processing program.

【0013】さらに本発明において、コントローラ3
は、冗長度の高いデータフオーマツトで入力された処理
プログラムのデータを、書き換え可能なリードオンリメ
モリ回路25に格納するデータフオーマツトに変換して
ドライバ4に出力する。
Further, in the present invention, the controller 3
Converts the data of the processing program input in the data format having high redundancy into a data format to be stored in the rewritable read-only memory circuit 25 and outputs the data format to the driver 4.

【0014】[0014]

【作用】入出力回路10を介して入力される処理プログ
ラムのデータをバツフアメモリ17に蓄積した後、該蓄
積した処理プログラムのデータで書き換え可能なリード
オンリメモリ回路14を書き換えることにより、また第
2の入出力回路20を介してコントローラ3から入力さ
れる処理プログラムのデータを第2のバツフアメモリ2
2に格納した後、該蓄積した処理プログラムのデータで
書き換え可能なリードオンリメモリ回路25を書き換え
ることにより、コンピユータ2の接続ラインを介してリ
ードオンリメモリ回路14又は25の処理プログラムを
書き換えることができる。
After the data of the processing program input via the input / output circuit 10 is stored in the buffer memory 17, the rewritable read-only memory circuit 14 is rewritten with the stored data of the processing program. Data of the processing program input from the controller 3 via the input / output circuit 20 is transferred to the second buffer memory 2
2, the rewritable read-only memory circuit 25 is rewritten with the stored processing program data, so that the processing program of the read-only memory circuit 14 or 25 can be rewritten via the connection line of the computer 2. .

【0015】[0015]

【実施例】以下図面について、本発明の一実施例を詳述
する。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described in detail below with reference to the drawings.

【0016】(1)全体構成 図1において、1は光磁気デイスク装置を示し、ホスト
コンピユータ2から出力されるコマンドに対応して光磁
気デイスクを記録再生する。ここで光磁気デイスク装置
1においては、コントローラ3とドライバ4で形成さ
れ、ホストコンピユータ2においては、必要に応じてこ
のコントローラ3に所定のコマンドを発行する。
(1) Overall Structure In FIG. 1, reference numeral 1 denotes a magneto-optical disk device, which records / reproduces information on / from the magneto-optical disk in response to a command output from the host computer 2. Here, the magneto-optical disk device 1 is formed of a controller 3 and a driver 4, and the host computer 2 issues a predetermined command to the controller 3 as needed.

【0017】すなわちホストコンピユータ2において
は、フロツピデイスク装置(FDD)5等の外部記憶装
置を接続し、メモリ回路6に格納した処理手順を中央処
理ユニツト(CPU)8で実行することにより、このフ
ロツピデイスク装置5等を介して入力される実行フアイ
ル、処理データ等をシステムメモリ7に展開して処理し
得るようになされている。このときホストコンピユータ
2においては、必要に応じてSCSIインターフエース
回路(SISC)9を介してコントローラ3にコマンド
を発行し、これにより光磁気デイスク装置1の動作を切
り換え得るようになされている。
That is, in the host computer 2, an external storage device such as a floppy disk device (FDD) 5 is connected, and the processing procedure stored in the memory circuit 6 is executed by the central processing unit (CPU) 8 so that the floppy disk device is executed. The execution file, the processing data, etc. input via the device 5 can be expanded in the system memory 7 and processed. At this time, in the host computer 2, a command is issued to the controller 3 via the SCSI interface circuit (SISC) 9 as required, whereby the operation of the magneto-optical disk device 1 can be switched.

【0018】すなわちホストコンピユータ2において
は、書き込みのコマンドをフアイル等のデータと共に発
行すると、続いてバツフアメモリ7に格納した記録デー
タをコントローラ3に転送し、これにより光磁気デイス
クの所定の領域にこの記録データを記録し得るようにな
されている。これに対してホストコンピユータ2におい
ては、読み出しのコマンドをフアイル等のデータと共に
発行すると、所定期間経過してSCSIインターフエー
ス回路9を介して入力される再生データをバツフアメモ
リ7に取り込み、これにより光磁気デイスクの所望の領
域からデータを読み出し得るようになされている。
That is, in the host computer 2, when a write command is issued together with data such as a file, the recording data stored in the buffer memory 7 is subsequently transferred to the controller 3, whereby this recording is performed in a predetermined area of the magneto-optical disk. It is designed to record data. On the other hand, in the host computer 2, when a read command is issued together with data such as a file, the reproduction data input through the SCSI interface circuit 9 is taken into the buffer memory 7 after a lapse of a predetermined period, whereby the magneto-optical Data can be read from a desired area of the disk.

【0019】これに対してコントローラ3においては、
ホストコンピユータ2から出力されるコマンドをSCS
Iインターフエース回路(SISC)10を介して中央
処理ユニツト(CPU)12に入力する。ここでコント
ローラ3は、ランダムアクセスメモリ回路(RAM)1
3を中央処理ユニツト12のワークエリアに設定し、フ
ラツシユEPROM構成のリードオンリメモリ(RO
M)14にコントローラフアームを格納するようになさ
れ、このコントローラフアームウエアを中央処理ユニツ
ト12で実行するようになされている。これにより中央
処理ユニツト12においては、ホストコンピユータ2か
ら出力されたコマンドに対応して光デイスクコントロー
ラ(ODC)15、インターフース回路(IF)16を
駆動し、インターフエース回路16を介してバイナリコ
ードで表現されたコマンド及びアドレスデータをドライ
バ4に出力する。
On the other hand, in the controller 3,
SCS the command output from the host computer 2.
It is input to the central processing unit (CPU) 12 via the I interface circuit (SISC) 10. Here, the controller 3 is a random access memory circuit (RAM) 1
3 is set in the work area of the central processing unit 12, and the read-only memory (RO
M) 14 stores a controller arm, and this controller armware is executed by the central processing unit 12. As a result, in the central processing unit 12, the optical disk controller (ODC) 15 and the interface circuit (IF) 16 are driven in response to the command output from the host computer 2, and a binary code is sent via the interface circuit 16. The expressed command and address data are output to the driver 4.

【0020】これによりコントローラ3においては、ホ
ストコンピユータ2から出力されるコマンドに対応して
ドライバ4の動作を切り換えるようになされている。す
なわち中央処理ユニツト12は、ホストコンピユータ2
から書き込みのコマンドが発行されると対応するフアイ
ルを検索し、ここで光磁気デイスクに記録データを記録
する場合は、続いてホストコンピユータ2から出力され
る記録データをバツフアメモリ17に格納する。
As a result, the controller 3 switches the operation of the driver 4 in response to the command output from the host computer 2. That is, the central processing unit 12 is the host computer 2
When a write command is issued from, the corresponding file is searched, and when recording data is recorded on the magneto-optical disk, the recording data output from the host computer 2 is subsequently stored in the buffer memory 17.

【0021】さらに中央処理ユニツト12においては、
誤り訂正処理回路(ECC)18でこの記録データの誤
り訂正符号を生成すると共に、インターフエース回路1
6を介してコマンド及びアドレスを発行し、ドライバ4
から応答が得られると、記録データ及び誤り訂正符号を
インターフエース回路16から出力する。これによりコ
ントローラ3においては、ホストコンピユータ2から出
力された記録データを光磁気デイスクの所定の領域に記
録し得るようになされている。
Further, in the central processing unit 12,
An error correction processing circuit (ECC) 18 generates an error correction code for this recording data, and the interface circuit 1
Issue command and address via 6 and driver 4
When the response is obtained from the interface circuit 16, the recording data and the error correction code are output from the interface circuit 16. Thus, the controller 3 can record the recording data output from the host computer 2 in a predetermined area of the magneto-optical disk.

【0022】これに対して中央処理ユニツト12は、ホ
ストコンピユータ2から読み出しのコマンドが発行され
ると対応するフアイルを検索し、ここで光磁気デイスク
を再生する場合、インターフエース回路16を介して所
定のコマンド及びアドレスを発行する。さらに中央処理
ユニツト12においては、このコマンドに対応してドラ
イバ4から再生データが出力されると、この再生データ
をインターフエース回路16を介してバツフアメモリ1
7に格納し、誤り訂正回路18で誤り訂正処理する。
On the other hand, the central processing unit 12 retrieves the corresponding file when the read command is issued from the host computer 2, and when reproducing the magneto-optical disk here, the central processing unit 12 makes a predetermined operation via the interface circuit 16. Issue the command and address. Further, in the central processing unit 12, when the reproduction data is output from the driver 4 in response to this command, the reproduction data is transmitted via the interface circuit 16 to the buffer memory 1
7 and the error correction circuit 18 performs error correction processing.

【0023】さらに中央処理ユニツト12においては、
この再生データを所定のタイミングでSCSIインター
フエース回路10を介してホストコンピユータ2に出力
し、これによりコントローラ3においては、ホストコン
ピユータ2の動作に応動して光磁気デイスクを再生し得
るようになされている。
Further, in the central processing unit 12,
This reproduction data is output to the host computer 2 via the SCSI interface circuit 10 at a predetermined timing, so that the controller 3 can reproduce the magneto-optical disk in response to the operation of the host computer 2. There is.

【0024】これに対してドライバ4においては、コン
トローラ3で発行されたコマンド、アドレス等をインタ
ーフエース回路(IF)20を介して入力する。ここで
インターフエース回路20においては、ランダムアクセ
スメモリ回路(RAM)22をバツフアメモリと使用し
てコントローラ3との間でデータを入出力するようにな
され、これにより所定のタイミングで入力されるコマン
ド、アドレスデータを中央処理ユニツト23に転送す
る。
On the other hand, in the driver 4, the command, address, etc. issued by the controller 3 are input via the interface circuit (IF) 20. Here, in the interface circuit 20, the random access memory circuit (RAM) 22 is used as a buffer memory to input / output data to / from the controller 3, whereby a command and an address inputted at a predetermined timing are inputted. The data is transferred to the central processing unit 23.

【0025】中央処理ユニツト23においては、基本的
なコマンドとインターフエース回路20の通信をサポー
トするマスクリードオンリメモリ回路構成のROM24
と、E2 PROM(electrically erasable programmab
le ROM)25とをアクセスし、これによりコントロ
ーラ3から出力されたコマンドに対応してE2 PROM
25に格納したフアームウエアに従つてメカ部26、サ
ーボ制御回路27等の動作を制御し、全体の動作を制御
する。すなわち中央処理ユニツト23においては、E2
PROM25に格納されたサーボ情報に基づいてサーボ
制御回路27を駆動し、これによりドライバ4において
は、サーボ制御回路27で光ピツクアツプ28を駆動
し、トラツキング制御、フオーカシング制御し得るよう
になされている。
In the central processing unit 23, a ROM 24 having a mask read-only memory circuit configuration that supports basic commands and communication of the interface circuit 20.
And E 2 PROM (electrically erasable programmab
le ROM) 25 and access to the E 2 PROM corresponding to the command output from the controller 3.
According to firmware stored in 25, the operation of the mechanical section 26, the servo control circuit 27, etc. is controlled to control the entire operation. That is, in the central processing unit 23, E 2
The servo control circuit 27 is driven based on the servo information stored in the PROM 25, so that in the driver 4, the servo control circuit 27 drives the optical pickup 28 to perform tracking control and focusing control.

【0026】さらに中央処理ユニツト23においては、
コントローラ3から入力されるアドレスを参照して必要
に応じてサーボ制御回路27に制御データを送出し、こ
れによりこのアドレスで決まる記録トラツクに光ピツク
アツプ28を移動させる。さらに中央処理ユニツト23
においては、このアドレスが付加されたコマンドが書き
込みのコマンドのとき、レーザ制御回路29の動作を記
録モードに切り換え、続いて入力される記録データをデ
ータ変調回路30に順次取り込む。
Further, in the central processing unit 23,
Control data is sent to the servo control circuit 27 as needed by referring to the address input from the controller 3, whereby the optical pickup 28 is moved to the recording track determined by this address. Central processing unit 23
In (1), when the command to which this address is added is a write command, the operation of the laser control circuit 29 is switched to the recording mode, and subsequently input recording data is sequentially taken into the data modulation circuit 30.

【0027】ここでデータ変調回路30においては、こ
の記録データを光磁気デイスクの書き込みに適した変調
形式で変調した後、レーザ制御回路29、変調磁界形成
回路(図示せず)に出力し、これにより光磁気デイスク
装置1においては、ホストコンピユータ2で指定された
フアイル等に所望の記録データを記録し得るようになさ
れている。これに対してアドレスに付加されたコマンド
が読み出しのコマンドのとき、中央処理ユニツト23に
おいては、レーザ制御回路29の動作を再生モードに切
り換え、光ピツクアツプ28から出力される再生信号
を、再生信号処理回路31、データ復調回路32で復調
して再生データに変換し、この再生データをインターフ
エース回路20から出力する。
In the data modulation circuit 30, the recording data is modulated in a modulation format suitable for writing on a magneto-optical disk, and then output to a laser control circuit 29 and a modulation magnetic field forming circuit (not shown), which is then output. Thus, in the magneto-optical disk device 1, desired recording data can be recorded in a file or the like designated by the host computer 2. On the other hand, when the command added to the address is a read command, in the central processing unit 23, the operation of the laser control circuit 29 is switched to the reproduction mode, and the reproduction signal output from the optical pickup 28 is processed by the reproduction signal processing. The circuit 31 and the data demodulation circuit 32 demodulate and convert into reproduction data, and the reproduction data is output from the interface circuit 20.

【0028】これにより光磁気デイスク装置1において
は、ホストコンピユータ2から発行されるコマンドに対
応して動作を切り換え、所望のデータを記録再生し得る
ようになされている。
As a result, in the magneto-optical disk device 1, the operation is switched according to the command issued from the host computer 2, and desired data can be recorded / reproduced.

【0029】(2)コントローラフアームの書き換え ここで光磁気デイスク装置1においては、調整時、RO
M14に調整用のコントローラフアームを格納してサー
ボ制御回路27等を調整した後、工場出荷時、ROM1
4の内容を書き換えることにより、ホストコンピユータ
2に対応するように仕様に応じたコントローラフアーム
を格納するようになされている。さらに光磁気デイスク
装置1においては、このROM14の内容を書き換える
際、ホストコンピユータ2に対応する所定の書き込み装
置35をSCSIインターフエース回路10に接続し、
これにより仕様に応じたフロツピデイスクをフロツピデ
イスク装置5に装填してコントローラフアームを更新し
得るようになされている。
(2) Rewriting of controller arm Here, in the magneto-optical disk device 1, at the time of adjustment, RO
After storing the controller arm for adjustment in M14 and adjusting the servo control circuit 27, etc.
By rewriting the contents of 4, the controller firmware according to the specifications is stored so as to correspond to the host computer 2. Further, in the magneto-optical disk device 1, when rewriting the contents of the ROM 14, a predetermined writing device 35 corresponding to the host computer 2 is connected to the SCSI interface circuit 10.
As a result, the floppy disk corresponding to the specifications can be loaded into the floppy disk device 5 to update the controller arm.

【0030】これに対して既にホストコンピユータ2が
接続されている場合、光磁気デイスク装置1において
は、同様にSCSIインターフエース回路10を介して
ROM14の内容を書き換えることにより、所定のフロ
ツピデイスクをホストコンピユータ2のフロツピデイス
ク装置5に装填して既に格納されたコントローラフアー
ムをデバツキング処理されたコントローラフアーム又は
バージヨンアツプされたコントローラフアームに更新し
得るようになされている。
On the other hand, when the host computer 2 is already connected, the magneto-optical disk device 1 similarly rewrites the contents of the ROM 14 via the SCSI interface circuit 10 so that a predetermined floppy disk can be transferred to the host computer. The controller arm already loaded and stored in the second floppy disk device 5 can be replaced with the controller arm which has been subjected to the debugging processing or the controller arm which has been upgraded.

【0031】すなわち図2に示すようにこの書換えにお
いて、ホストコンピユータ2又は書き込み装置35の中
央処理ユニツト8は、フロツピデイスク装置5にSCS
Iコントロールプログラムを格納したフロツピデイスク
が装填されると、ステツプSP1からステツプSP2に
移り、このSCSIコントロールプログラムを起動す
る。このSCSIコントロールプログラムは、コントロ
ーラフアームを更新する処理プログラムで、中央処理ユ
ニツト8においては、この処理プログラムに従つて続く
ステツプSP3でシステムメモリ7にリードバツフア及
びライトバツフアの2つの領域を確保し、フロツピデイ
スクに格納されたコントローラフアームをこのライトバ
ツフアに転送する。
That is, as shown in FIG. 2, in this rewriting, the central processing unit 8 of the host computer 2 or the writing device 35 makes the floppy disk device 5 SCS.
When the floppy disk storing the I control program is loaded, the operation moves from step SP1 to step SP2 to activate this SCSI control program. This SCSI control program is a processing program for updating the controller arm, and in the central processing unit 8, the two areas of the read buffer and the write buffer are secured in the system memory 7 and stored in the floppy disk in step SP3 following the processing program. Transfer the controller controller to this light buffer.

【0032】続いて中央処理ユニツト8においては、ス
テツプSP4に移り、SCSIインターフエース回路1
0を介してコントローラ3にコマンドを発行し、これに
よりコントローラ3をコントロールフアームの書換えモ
ードに設定する。さらに中央処理ユニツト8において
は、続いてSCSIインターフエース回路10を介して
コントローラ3にコマンドを発行し、続いてシステムメ
モリ7に格納したコントローラソフトをコントローラ3
に転送し、このコントローラソフトをコントローラ3の
バツフアメモリ17に格納する。
Subsequently, in the central processing unit 8, the process proceeds to step SP4 and the SCSI interface circuit 1
A command is issued to the controller 3 via 0, thereby setting the controller 3 in the control arm rewriting mode. Further, in the central processing unit 8, subsequently, a command is issued to the controller 3 via the SCSI interface circuit 10, and then the controller software stored in the system memory 7 is executed by the controller 3
The controller software is stored in the buffer memory 17 of the controller 3.

【0033】このとき中央処理ユニツト12において
は、このコントローラソフトに付加されたチエツクサム
を検査し、これにより光磁気デイスク装置1において
は、コントローラソフトを正しく転送し得るようになさ
れている。この転送が完了すると、中央処理ユニツト8
においては、SCSIコントロールプログラムに従つて
コントローラ3にコマンドを発行し、ROM14に格納
された書き換えプログラムをRAM13に転送し、これ
によりコントローラ3においてコントローラフアームの
書き換えプログラムを立ち上げる。
At this time, the central processing unit 12 inspects the checksum added to the controller software so that the controller software can be correctly transferred in the magneto-optical disk device 1. When this transfer is complete, the central processing unit 8
In (1), a command is issued to the controller 3 according to the SCSI control program, the rewriting program stored in the ROM 14 is transferred to the RAM 13, and the controller 3 starts up the rewriting program for the controller firmware.

【0034】これにより中央処理ユニツト12において
は、続くステツプSP6において、書き換えプログラム
のアルゴリズムに従つてROM14に格納したコントロ
ーラソフトをバツフアメモリ17に格納したコントロー
ラソフトに書き換える。なおこの新たに更新するコント
ローラソフトにおいては、コントローラフアームの書き
換えプログラムを含み、光磁気デイスク装置1において
は、コントローラソフトを更新する際、それまでROM
14に格納されていた書き換えプログラムをも同時に更
新するようになされている。これにより光磁気デイスク
装置1においては、必要に応じてこのコントローラフア
ームの更新処理を何度も繰り返し得るようになされてい
る。
As a result, in the central processing unit 12, in the subsequent step SP6, the controller software stored in the ROM 14 is rewritten to the controller software stored in the buffer memory 17 according to the algorithm of the rewriting program. It should be noted that the controller software to be newly updated includes a controller firmware rewriting program, and the magneto-optical disk device 1 has a ROM until the controller software is updated.
The rewriting program stored in 14 is also updated at the same time. As a result, in the magneto-optical disk device 1, the controller arm updating process can be repeated many times as necessary.

【0035】このようにしてコントローラソフトを書き
換えると、中央処理ユニツト12においては、続いてス
テツプSP7に移り、書き換えプログラムに従つてリセ
ツトをかけた後、制御対象をROM14に切り換え、こ
れにより更新されたコントローラソフトに従つて続く処
理を実行する。すなわち中央処理ユニツト12において
は、ステツプSP8に移り、ここでコントローラソフト
に従つてホストコンピユータ2に応答コマンドを発行
し、中央処理ユニツト8においては、このコマンドが得
られると、SCSIコントロールプログラムに従つてコ
ントローラ3にコマンドを発行してコントローラ3の動
作モードをROM14のリードモードに切り換える。
When the controller software is rewritten in this manner, the central processing unit 12 then proceeds to step SP7, resets the program according to the rewriting program, and then switches the control target to the ROM 14 to update it. Execute the following processing according to the controller software. That is, the central processing unit 12 proceeds to step SP8, where a response command is issued to the host computer 2 according to the controller software, and when the central processing unit 8 receives this command, it follows the SCSI control program. A command is issued to the controller 3 to switch the operation mode of the controller 3 to the read mode of the ROM 14.

【0036】これにより中央処理ユニツト12において
は、書き換えられたコントローラソフトをバツフアメモ
リ17に転送した後、順次ホストコンピユータ2に転送
する。これに対応して中央処理ユニツト8においては、
この転送されたコントローラソフトをシステムメモリ7
のリードバツフアに格納した後、ステツプSP9に移
る。ここで中央処理ユニツト8は、SCSIコントロー
ルプログラムに従つてリードバツフアに格納したコント
ローラソフトとライトバツフアに格納したコントローラ
ソフトとをバイト単位で順次比較し、比較結果を所定の
表示装置に表示した後、ステツプSP10に移つて処理
手順を完了する。
As a result, in the central processing unit 12, the rewritten controller software is transferred to the buffer memory 17 and then sequentially transferred to the host computer 2. Correspondingly, in the central processing unit 8,
This transferred controller software is used in the system memory 7
After the data is stored in the lead buffer of step S9, the process proceeds to step SP9. Here, the central processing unit 8 sequentially compares the controller software stored in the read buffer and the controller software stored in the write buffer in byte units according to the SCSI control program, displays the comparison result on a predetermined display device, and then executes step SP10. To complete the procedure.

【0037】これによりオペレータにおいては、比較結
果に基づいてコントローラフアームを正しく更新し得た
か否か判断することができ、これにより必要に応じてこ
の処理手順を繰り返して確実にコントローラフアームを
更新することができる。さらにこのとき光磁気デイスク
装置1においては、中央処理ユニツト12において、チ
エツクサムを検査するようになされ、これにより光磁気
デイスク装置1においては、一段と確実にコントローラ
フアームを更新し得るようになされている。
Thus, the operator can judge whether or not the controller arm can be correctly updated based on the comparison result, and by doing this, the controller arm can be surely updated by repeating this processing procedure as necessary. You can Further, at this time, in the magneto-optical disk device 1, the checksum is inspected in the central processing unit 12, so that the controller arm can be updated more surely in the magneto-optical disk device 1.

【0038】かくしてホストコンピユータ2、書き込み
装置35を接続したSCSIインターフエース回路10
を介してコントローラフアームを更新することにより、
いちいちROM14の実装基板を引き出さなくても簡易
にコントローラフアームを更新することができ、その分
簡易かつ確実にコントローラフアームを更新することが
できる。従つてホストコンピユータ2の更新等に対応し
てコントローラフアームを更新することができ、その分
光磁気デイスク装置1の使い勝手を向上することができ
る。
Thus, the SCSI interface circuit 10 in which the host computer 2 and the writing device 35 are connected.
By updating the controller arm via
The controller arm can be easily updated without pulling out the mounting board of the ROM 14, and the controller arm can be easily and surely updated accordingly. Therefore, the controller arm can be updated corresponding to the update of the host computer 2 and the usability of the spectroscopic magnetic disk device 1 can be improved.

【0039】特にこのようにSCSIインターフエース
回路10を介してコントローラフアームを更新すれば、
このSCSIコントロールプログラム等を公開すること
により、ユーザ側で必要に応じて簡易にコントローラフ
アームを更新することができ、その分使い勝手を向上す
ることができる。
In particular, if the controller arm is updated via the SCSI interface circuit 10 as described above,
By releasing this SCSI control program and the like, the user can easily update the controller arm as needed, and the usability can be improved accordingly.

【0040】 (3)ドライバのフアームウエアの書き換え さらに光磁気デイスク装置1においては、調整工程にお
いて、サーボ制御回路27等を調整する際、E2 PRO
M25に格納したフアームウエアの一部を更新すること
により、サーボ情報等をこのE2 PROM25に格納
し、これによりサーボ制御回路27等を所望の特性に設
定するようになされている。
(3) Rewriting the firmware of the driver Further, in the magneto-optical disk device 1, when adjusting the servo control circuit 27 and the like in the adjustment process, E 2 PRO
By updating a part of firmware stored in M25, servo information and the like are stored in this E 2 PROM 25, and thereby the servo control circuit 27 and the like are set to desired characteristics.

【0041】光磁気デイスク装置1においては、コント
ローラフアームの場合と同様に、ホストコンピユータ2
に対応する所定の書き込み装置35をSCSIインター
フエース回路10に接続した後、所定のフロツピデイス
クをフロツピデイスク装置5に装填し、またホストコン
ピユータ2が既に接続されている場合、このフロツピデ
イスクをフロツピデイスク装置5に装填することによ
り、このフアームウエアについてもデバツキング処理さ
れたフアームウエア又はバージヨンアツプされたフアー
ムウエアに更新し得るようになされている。
In the magneto-optical disk device 1, as in the case of the controller arm, the host computer 2
After connecting a predetermined writing device 35 corresponding to the above to the SCSI interface circuit 10, a predetermined floppy disk is loaded into the floppy disk device 5, and when the host computer 2 is already connected, this floppy disk is loaded into the floppy disk device 5. By doing so, the firmware can be updated to the firmware that has been subjected to the debugging processing or the firmware that has been upgraded.

【0042】すなわち図3に示すようにこの書換えにお
いて、ホストコンピユータ2又は書き込み装置35の中
央処理ユニツト8は、フアームウエア更新用SCSIコ
ントロールプログラムを格納したフロツピデイスクがフ
ロツピデイスク装置5に装填されると、ステツプSP1
1からステツプSP12に移り、このSCSIコントロ
ールプログラムを起動する。続いて中央処理ユニツト8
においては、このSCSIコントロールプログラムに従
つて続くステツプSP13でフロツピデイスクに格納さ
れた書き換えプログラムをシステムメモリ7に転送し、
ステツプSP14に移る。
That is, as shown in FIG. 3, in this rewriting, when the central processing unit 8 of the host computer 2 or the writing device 35 is loaded into the floppy disk device 5, the floppy disk storing the firmware control SCSI control program is loaded into the step unit. SP1
The process moves from step 1 to step SP12, and this SCSI control program is activated. Then the central processing unit 8
In accordance with the SCSI control program, the rewriting program stored in the floppy disk is transferred to the system memory 7 in the subsequent step SP13,
Move to step SP14.

【0043】ここで中央処理ユニツト8においては、S
CSIインターフエース回路10を介してコントローラ
3にコマンドを発行し、続いてシステムメモリ7に格納
した書き換えプログラムをコントローラ3に転送し、こ
の書き換えプログラムをコントローラ3のバツフアメモ
リ17に格納する。続いて中央処理ユニツト8は、ステ
ツプSP15に移り、SCSIインターフエース回路1
0を介してコントローラ3にコマンドを発行し、これに
よりバツフアメモリ17に格納した書き換えプログラム
をRAM13に転送する。
In the central processing unit 8, S
A command is issued to the controller 3 via the CSI interface circuit 10, the rewriting program stored in the system memory 7 is transferred to the controller 3, and the rewriting program is stored in the buffer memory 17 of the controller 3. Subsequently, the central processing unit 8 moves to step SP15, and the SCSI interface circuit 1
A command is issued to the controller 3 via 0, whereby the rewriting program stored in the buffer memory 17 is transferred to the RAM 13.

【0044】これにより中央処理ユニツト8において
は、このコントローラフアーム書換えプログラムをコン
トローラ3のワークエリアに格納し、コントローラ3に
おいてこの書き換えプログラムに従つて続く処理を実行
し得るようになされている。中央処理ユニツト12にお
いては、この書き換えプログラムをRAM13に転送す
る際、この書き換えプログラムに付加されたチエツクサ
ムを検査し、これによりこの書き換えプログラムを正し
く転送し得るようになされている。
As a result, in the central processing unit 8, the controller firmware rewriting program is stored in the work area of the controller 3, and the controller 3 can execute the subsequent processing in accordance with the rewriting program. In the central processing unit 12, when the rewriting program is transferred to the RAM 13, the checksum added to the rewriting program is inspected so that the rewriting program can be correctly transferred.

【0045】この転送が完了すると、中央処理ユニツト
8においては、SCSIコントロールプログラムに従つ
て所定の形式でフオーマツト化されたドライブフアーム
をフロツピデイスクからシステムメモリ7に転送する。
なお中央処理ユニツト8においては、この一連の処理に
おいて、所定の表示装置に処理手順を表示し、オペレー
タの操作に応じて逐次処理するようになされ、これによ
り対話形式でフアイル名等を入力してドライブフアーム
の更新処理を実行し得るようになされている。
When this transfer is completed, the central processing unit 8 transfers the drive arm formatted in a predetermined format in accordance with the SCSI control program from the floppy disk to the system memory 7.
In the central processing unit 8, in this series of processing, the processing procedure is displayed on a predetermined display device and the processing is sequentially performed according to the operation of the operator, whereby the file name and the like can be input interactively. The drive arm update process can be executed.

【0046】続くステツプSP17において、中央処理
ユニツト8は、SCSIインターフエース回路10を介
してコントローラ3にコマンドを発行し、続いてシステ
ムメモリ7に格納したドライブフアームをコントローラ
3に転送することにより、このドライブフアームをコン
トローラ3のバツフアメモリ17に格納する。続いて中
央処理ユニツト8においては、ステツプSP18に移
り、ここでコントローラ3にコマンドを発行して中央処
理ユニツト12の制御対象をRAM13に切り換え、こ
れによりドライブフアームの書き換えプログラムを起動
する。
At the next step SP17, the central processing unit 8 issues a command to the controller 3 via the SCSI interface circuit 10, and then transfers the drive arm stored in the system memory 7 to the controller 3, thereby The drive arm is stored in the buffer memory 17 of the controller 3. Then, in the central processing unit 8, the process proceeds to step SP18, where a command is issued to the controller 3 to switch the control target of the central processing unit 12 to the RAM 13, thereby starting the rewriting program of the drive arm.

【0047】これにより中央処理ユニツト12において
は、初期化処理を実行した後、書き換えプログラムに従
つてドライバ4にコマンドを発行し、中央処理ユニツト
23の制御対象をROM24に切り換える。これにより
ドライバ4においては、このROM24でサポートされ
る通信及び基本的なコマンドを使用してE2 PROM2
5に格納されたフアームウエアを更新するようになされ
ている。
Thus, in the central processing unit 12, after executing the initialization processing, a command is issued to the driver 4 according to the rewriting program, and the control target of the central processing unit 23 is switched to the ROM 24. As a result, the driver 4 uses the communication and basic commands supported by the ROM 24 to generate the E 2 PROM 2
The firmware stored in 5 is updated.

【0048】続いて中央処理ユニツト12においては、
ステツプSP19に移り、書き換えプログラムに従つて
ドライバ4にコマンドを発行してE2 PROM25を書
き換え可能な状態に設定した後、E2 PROM25の必
要な領域を順次書き換える。ここでこの書き換えるフア
ームウエアのデータにおいては、アドレスデータ及びチ
エツクサムの付加された冗長度の高いデータフオーマツ
ト(この場合intelintellec 8/MDSフオーマツト、コー
ド83でなる)で記録されるようになされ、これにより光
磁気デイスク装置1においては、確実にフアームウエア
を書き換え得るようになされ、これに対して書き換えプ
ログラム等においてはバイナリコードで記録されるよう
になされている。これにより中央処理ユニツト12にお
いては、書き換えプログラムに従つてバツフアメモリ1
7に格納されたドライブコードを一行読み出してバイナ
リー列に変換した後、このバイナリー列についてアドレ
スデータ、データバイト数のチエツクサムをバイナリー
データの形式で得、これによりチエツクサムを検査する
と共に、アドレスデータのレンジ、データの終わり等を
確認するようになされている。
Subsequently, in the central processing unit 12,
In step SP19, a command is issued to the driver 4 according to the rewriting program to set the E 2 PROM 25 in a rewritable state, and then necessary areas of the E 2 PROM 25 are sequentially rewritten. In this case, the firmware data to be rewritten is recorded in a data format having high redundancy with address data and a checksum (in this case, an intelintellec 8 / MDS format, which is code 83). In the magneto-optical disk device 1, firmware is surely rewritable, whereas a rewriting program or the like is recorded in binary code. As a result, in the central processing unit 12, the buffer memory 1 is read according to the rewriting program.
After reading one line of the drive code stored in 7 and converting it to a binary string, the checksum of the address data and the number of data bytes of this binary string is obtained in the form of binary data, and the checksum is checked and the range of the address data The end of data is confirmed.

【0049】さらに中央処理ユニツト12においては、
このようにしてバイナリー列を確認すると、ドライバ4
にコマンドを発行して転送先のアドレスをRAM22に
セツトし、続いてバイナリーデータに変換したデータ列
を順次転送する。これにより中央処理ユニツト12にお
いては、このデータ列をRAM22に一旦格納した後、
続いて書き換え先のE2 PROM25のアドレスを転送
し、さらにバイトカウント付のライトコマンドをドライ
バ4に発行する。
Further, in the central processing unit 12,
If you check the binary string in this way, the driver 4
Command is issued to the RAM 22 to set the transfer destination address in the RAM 22, and then the data string converted into binary data is sequentially transferred. As a result, in the central processing unit 12, after this data string is once stored in the RAM 22,
Then, the address of the rewriting destination E 2 PROM 25 is transferred, and a write command with a byte count is issued to the driver 4.

【0050】これにより中央処理ユニツト23において
は、指定されたE2 PROM25の領域をRAM22に
格納したデータ列で書き換えるようになされている。
As a result, in the central processing unit 23, the designated area of the E 2 PROM 25 is rewritten with the data string stored in the RAM 22.

【0051】実際上、このE2 PROM25に格納され
るフアームウエアにおいては、サーボ情報も含まれるこ
とにより、光磁気デイスク装置1毎に異なる特徴があ
り、このためこの実施例においては、E2 PROM25
に格納したフアームウエアについて必要な領域だけ書き
換えることにより、この種の光磁気デイスク装置1毎に
異なる貴重な情報をそのまま保持して必要なデータだけ
書き換えるようになされている。このデータ列の転送が
完了すると、中央処理ユニツト12においては、続いて
ベリフアイのコマンドをドライバ4に発行し、これによ
り正しくデータを書き換え得たか否か判断する。
In fact, the firmware stored in the E 2 PROM 25 has different characteristics for each magneto-optical disk device 1 since it also includes servo information. Therefore, in this embodiment, the E 2 PROM 25 is used.
By rewriting only the required area of firmware stored in the above, valuable information different for each magneto-optical disk device 1 of this kind is retained as it is and only necessary data is rewritten. When the transfer of this data string is completed, the central processing unit 12 subsequently issues a verify command to the driver 4 to determine whether or not the data could be rewritten correctly.

【0052】ここで正しく書き換え得なかつた場合、中
央処理ユニツト12においては、このデータ変換転送の
処理を繰り返すのに対し、正しくデータを書き換え得た
場合、続くバツフアメモリ17のデータについてデータ
変換転送の処理を繰り返す。これにより光磁気デイスク
装置1においては、SCSIインターフエース回路10
を介して入力されたフアームウエアでE2 PROM25
を更新するようになされ、ドライバについても簡易かつ
確実にフアームウエアを更新し得るようになされてい
る。
If the data cannot be rewritten correctly, the central processing unit 12 repeats the data conversion / transfer processing, whereas if the data can be rewritten correctly, the data conversion / transfer processing for the subsequent data in the buffer memory 17 is performed. repeat. As a result, in the magneto-optical disk device 1, the SCSI interface circuit 10
E 2 in Fuamu Wear input through the PROM25
The firmware is updated so that the firmware can be updated easily and surely for the driver.

【0053】この転送されたデータ列をE2 PROM2
5に記録する際、中央処理ユニツト23においては、E
2 PROM25上でチエツクサムを検査するようになさ
れ、このためこの実施例においては、フアームウエアの
更新に必要なデータにチエツクサムデータを付加して転
送するようになされ、これにより光磁気デイスク装置1
においては、さらに一段と確実にフアームウエアを更新
し得るようになされている。中央処理ユニツト12にお
いては、バツフアメモリ17の全てのデータについて、
データ変換転送の処理を完了すると、ホストコンピユー
タ2に動作完了のデータを送出し、これにより光磁気デ
イスク装置1においては、ステツプSP20に移つてこ
の処理手順を完了する。
This transferred data string is stored in the E 2 PROM 2
When recording in 5, in the central processing unit 23, E
2 The checksum is checked on the PROM 25. Therefore, in this embodiment, the checksum data is added to the data required for updating firmware, and the data is transferred.
In, it is designed to be able to update the firmware even more reliably. In the central processing unit 12, for all the data in the buffer memory 17,
When the data conversion / transfer processing is completed, the operation completion data is sent to the host computer 2, whereby the magneto-optical disk apparatus 1 moves to step SP20 to complete this processing procedure.

【0054】かくしてSCSIインターフエース回路1
0を介してフアームウエアを更新することにより、ドラ
イバについても簡易かつ確実にフアームウエアを更新す
ることができ、ホストコンピユータ2の更新等に対応し
てフアームウエアを更新し、またユーザ側で必要に応じ
て簡易にフアームウエアを更新することができ、その分
光磁気デイスク装置1の使い勝手を向上することができ
る。
Thus, the SCSI interface circuit 1
By updating firmware via 0, the firmware can be updated easily and surely for the driver as well, and firmware can be updated corresponding to the update of the host computer 2, etc. Accordingly, firmware can be easily updated, and the usability of the spectroscopic magnetic disk device 1 can be improved.

【0055】(4)実施例の効果 以上の構成によれば、SCSIインターフエース回路1
0を介してコントローラ3及びドライバ4のフアームウ
エアを更新することにより、いちいち実装基板を引き出
さなくても、簡易にコントローラフアームを更新するこ
とができ、その分簡易かつ確実にコントローラフアーム
を更新することができる。これによりホストコンピユー
タ2の更新等に対応してフアームウエアを更新し、また
ユーザ側で必要に応じて簡易にフアームウエアを更新す
ることができ、その分光磁気デイスク装置1の使い勝手
を向上することができる。
(4) Effects of the Embodiments According to the above configuration, the SCSI interface circuit 1
By updating firmware of the controller 3 and the driver 4 via 0, the controller firmware can be easily updated without pulling out the mounting board one by one, and the controller firmware can be updated easily and surely. You can As a result, the firmware can be updated in response to the update of the host computer 2, and the firmware can be easily updated by the user if necessary, and the usability of the spectroscopic magnetic disk device 1 can be improved. it can.

【0056】(5)他の実施例 なお上述の実施例においては、コントローラにおいては
フラツシユROMを、ドライバにおいてはE2 PROM
を用いてプログラムを格納する場合について述べたが、
本発明はこれに限らず、これとは逆にコントローラ及び
ドライバにおいてそれぞれE2 PROM25及びフラツ
シユROMを用いてプログラムを格納しても良く、また
これに代えて書き換え可能な種々のリードオンリメモリ
を広く適用しても良い。この場合ドライバにおいては、
一旦コントローラ等にサーボ情報を退避することによ
り、光磁気デイスク装置毎に異なる貴重な情報を損なう
ことなくプログラムを更新することができる。
(5) Other Embodiments In the above embodiment, the flash ROM is used in the controller and the E 2 PROM is used in the driver.
I described the case of storing the program using
The present invention is not limited to this, and conversely, the controller and the driver may store the program by using the E 2 PROM 25 and the flash ROM, respectively. Alternatively, various rewritable read-only memories may be widely used. You may apply. In this case, in the driver
By temporarily saving the servo information to the controller or the like, the program can be updated without damaging valuable information that differs for each magneto-optical disk device.

【0057】さらに上述の実施例においては、フロツピ
デイスクを介して書き換え用のソフトを供給する場合に
ついて述べたが、本発明はこれに限らず、ホストコンピ
ユータの外部記憶装置でなるハードデイスク装置、さら
には別途設けられた光磁気デイスク装置を介して書き換
え用のソフトを供給してもよく、さらには通信回線を用
いて供給するようにしてもよい。
Further, in the above embodiment, the case where the rewriting software is supplied via the floppy disk has been described, but the present invention is not limited to this, and a hard disk device which is an external storage device of the host computer, and further separately. Rewriting software may be supplied via the provided magneto-optical disk device, or may be supplied using a communication line.

【0058】さらに上述の実施例においては、ホストコ
ンピユータとの間でSCSIインターフエースを介して
所望のデータを入出力する場合について述べたが、本発
明はこれに限らず、例えばISA、EISA等の種々の
インターフエースを介してデータを入出力する場合に広
く適用することができる。
Further, in the above-mentioned embodiment, the case where desired data is input / output to / from the host computer via the SCSI interface has been described, but the present invention is not limited to this, and for example, ISA, EISA, etc. It can be widely applied to the case of inputting / outputting data via various interfaces.

【0059】さらに上述の実施例においては、コントロ
ーラとドライバとを個別の中央処理ユニツトで制御する
場合について述べたが、本発明はこれに限らず、1つの
中央処理ユニツトで制御する場合にも広く適用すること
ができる。
Further, in the above-mentioned embodiments, the case where the controller and the driver are controlled by the individual central processing units has been described. However, the present invention is not limited to this, and is widely applicable to the case where they are controlled by one central processing unit. Can be applied.

【0060】さらに上述の実施例においては、コントロ
ーラフアームを更新する際、書き換えプログラムを同時
に更新する場合について述べたが、本発明はこれに限ら
ず、この書き換えプログラムをマスクROM等に格納し
て必要なプログラムだけ更新するようにしてもよい。
Further, in the above embodiment, the case where the rewriting program is updated at the same time when the controller arm is updated has been described, but the present invention is not limited to this, and the rewriting program is required to be stored in the mask ROM or the like. You may make it update only a program.

【0061】さらに上述の実施例においては、光磁気デ
イスク装置に本発明を適用して制御プログラムを更新す
る場合について述べたが、本発明はこれに限らず、所望
のデータを記録再生するデータ処理装置に広く適用する
ことができる。
Further, in the above-mentioned embodiment, the case where the present invention is applied to the magneto-optical disk device to update the control program has been described. It can be widely applied to devices.

【0062】[0062]

【発明の効果】上述のように本発明によれば、記録デー
タ及び再生データの入出力回路を介して入力される処理
プログラムのデータをバツフアメモリに蓄積した後、該
蓄積した処理プログラムのデータで書き換え可能なリー
ドオンリメモリ回路を書き換えることにより、また記録
データ及び再生データの入出力回路を介してコントロー
ラから入力される処理プログラムのデータを所定のバツ
フアメモリに格納した後、該蓄積した処理プログラムの
データで書き換え可能なリードオンリメモリ回路を書き
換えることにより、ホストコンピユータとの接続ライン
を介してコントローラ及びドライバの処理プログラムを
書き換えることができ、これによりこの種のソフトを簡
易に更新することができるデータ処理装置を得ることが
できる。
As described above, according to the present invention, after the data of the processing program input through the input / output circuit of the recording data and the reproduction data is stored in the buffer memory, it is rewritten with the data of the stored processing program. By rewriting the possible read-only memory circuit, or after storing the data of the processing program input from the controller through the input / output circuit of the recording data and the reproduction data in a predetermined buffer memory, the stored processing program data is used. By rewriting the rewritable read-only memory circuit, the processing programs of the controller and the driver can be rewritten via the connection line with the host computer, whereby this kind of software can be easily updated. Can be obtained.

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

【図1】本発明の一実施例による光磁気デイスク装置を
示すブロツク図である。
FIG. 1 is a block diagram showing a magneto-optical disk device according to an embodiment of the present invention.

【図2】そのコントローラフアームの書き換えの説明に
供するフローチヤートである。
FIG. 2 is a flowchart for explaining the rewriting of the controller arm.

【図3】そのドライバのフアームウエアの書き換えの説
明に供するフローチヤートである。
FIG. 3 is a flowchart for explaining rewriting of firmware of the driver.

【符号の説明】[Explanation of symbols]

1……光磁気デイスク装置、2……ホストコンピユー
タ、3……コントローラ、4……ドライバ、5……フロ
ツピデイスク装置、8、12、23……中央処理ユニツ
ト、10……SCSIインターフエース回路、13、2
2……ランダムアクセスメモリ、14、24……リード
オンリメモリ、17……バツフアメモリ、25……E2
PROM。
1 ... Magneto-optical disk device, 2 ... Host computer, 3 ... Controller, 4 ... Driver, 5 ... Floppy disk device, 8, 12, 23 ... Central processing unit, 10 ... SCSI interface circuit, 13 Two
2 ... Random access memory, 14, 24 ... Read-only memory, 17 ... Buffer memory, 25 ... E 2
PROM.

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】書き込み及び読み出しの制御データに対応
して所定の記録媒体をアクセスして、上記記録媒体に所
望の記録データを記録し、及び上記記録媒体から再生デ
ータを再生するドライバと、 コンピユータに接続されて、上記コンピユータから出力
される書き込み及び読み出しのコマンドに対応して上記
ドライバに上記書き込み及び読み出しの制御データを出
力すると共に、上記コンピユータから入力される記録デ
ータを上記ドライバに出力し、又は上記再生データを上
記コンピユータに出力するコントローラとを具え、 上記コントローラは、 上記コンピユータに接続されて上記記録データを入力
し、及び再生データを出力する入出力回路と、 上記書き込みのコマンドに対応して上記入出力回路を介
して入力される上記記録データを格納して上記ドライバ
に出力し、上記読み出しのコマンドに対応して上記ドラ
イバから出力される上記再生データを格納して上記入出
力回路に出力するバツフアメモリと、 上記コントローラの処理プログラムを格納する書き換え
可能なリードオンリメモリ回路とを有し、 上記コントローラは、 上記処理プログラムを書き換える書き換えモードにおい
て、上記入出力回路を介して入力される上記処理プログ
ラムのデータを上記バツフアメモリに蓄積した後、該蓄
積した処理プログラムのデータで上記書き換え可能なリ
ードオンリメモリ回路を書き換えることを特徴とするデ
ータ処理装置。
1. A driver for accessing a predetermined recording medium corresponding to write and read control data, recording desired recording data on the recording medium, and reproducing reproduced data from the recording medium, and a computer. Connected to, and outputs the write and read control data to the driver in response to the write and read commands output from the computer, and outputs the recording data input from the computer to the driver, Alternatively, the controller includes a controller for outputting the reproduction data to the computer, the controller corresponding to the input / output circuit connected to the computer for inputting the recording data and outputting the reproduction data, and the write command. The recorded data input via the input / output circuit. A buffer memory that stores the data and outputs it to the driver, stores the reproduction data output from the driver in response to the read command, and outputs it to the input / output circuit, and a rewritable memory that stores the processing program of the controller. In the rewrite mode in which the processing program is rewritten, the controller stores data of the processing program input via the input / output circuit in the buffer memory and then stores the stored processing. A data processing device, characterized in that the rewritable read-only memory circuit is rewritten with program data.
【請求項2】書き込み及び読み出しの制御データに対応
して所定の記録媒体をアクセスして、上記記録媒体に所
望の記録データを記録し、及び上記記録媒体から再生デ
ータを再生するドライバと、 コンピユータに接続されて、上記コンピユータから出力
される書き込み及び読みし出のコマンドに対応して上記
ドライバに上記書き込み及び読み出しの制御データを出
力すると共に、上記コンピユータから入力される記録デ
ータを上記ドライバに出力し、又は上記再生データを上
記コンピユータに出力するコントローラとを具え、 上記コントローラは、 上記コンピユータに接続されて上記記録データを入力
し、及び上記再生データを出力する第1の入出力回路
と、 上記書き込みのコマンドに対応して上記第1の入出力回
路を介して入力される上記記録データを格納して上記ド
ライバに出力し、上記読み出しのコマンドに対応して上
記ドライバから出力される上記再生データを格納して上
記第1の入出力回路に出力する第1のバツフアメモリと
を有し、 上記ドライバは、 上記コントローラに接続されて、上記コントローラから
出力される上記記録データを入力し、及び上記再生デー
タを上記コントローラに出力する第2の入出力回路と、 上記書き込みの制御データに対応して上記第2の入出力
回路を介して入力される上記記録データを一旦格納し、
上記読み出し制御データに対応して上記再生データを一
旦格納して上記第2の入出力回路に出力する第2のバツ
フアメモリと、 上記ドライバの処理プログラムを格納する書き換え可能
なリードオンリメモリ回路とを有し、 上記コントローラは、上記処理プログラムを書き換える
書き換えモードにおいて、上記第1の入出力回路を介し
て入力される上記処理プログラムのデータを上記第1の
バツフアメモリを介して上記ドライバに出力し、 上記ドライバは、上記書き換えモードにおいて、上記第
2の入出力回路を介して入力される上記処理プログラム
のデータを上記第2のバツフアメモリに格納した後、該
蓄積した処理プログラムのデータで上記書き換え可能な
リードオンリメモリ回路を書き換えることを特徴とする
データ処理装置。
2. A driver for accessing a predetermined recording medium corresponding to write and read control data, recording desired recording data on the recording medium, and reproducing reproduced data from the recording medium, and a computer. Connected to the controller, outputs the write and read control data to the driver in response to the write and read commands output from the computer, and outputs the record data input from the computer to the driver. Or a controller for outputting the reproduction data to the computer, the controller being connected to the computer for inputting the recording data and outputting the reproduction data; Input via the first input / output circuit in response to the write command A first buffer memory for storing the recording data and outputting it to the driver, and storing the reproduction data outputted from the driver in response to the read command and outputting it to the first input / output circuit. And a second input / output circuit connected to the controller for inputting the recording data output from the controller and outputting the reproduction data to the controller, and the control data for writing. In response to the above, the recording data input via the second input / output circuit is temporarily stored,
A second buffer memory that temporarily stores the reproduction data corresponding to the read control data and outputs it to the second input / output circuit, and a rewritable read-only memory circuit that stores the processing program of the driver are provided. In the rewrite mode in which the processing program is rewritten, the controller outputs the data of the processing program input through the first input / output circuit to the driver through the first buffer memory, and the driver Stores the data of the processing program input through the second input / output circuit in the second buffer memory in the rewrite mode, and then rewrites the rewritable read-only data with the stored data of the processing program. A data processing device characterized by rewriting a memory circuit.
【請求項3】上記コントローラは、 冗長度の高いデータフオーマツトで入力された上記処理
プログラムのデータを、上記書き換え可能なリードオン
リメモリ回路に格納するデータフオーマツトに変換して
上記ドライバに出力することを特徴とする請求項2に記
載のデータ処理装置。
3. The controller converts the data of the processing program input in a data format with high redundancy into a data format to be stored in the rewritable read-only memory circuit and outputs the data format to the driver. The data processing device according to claim 2, wherein
JP35587392A 1992-12-17 1992-12-17 Data processor Pending JPH06187141A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35587392A JPH06187141A (en) 1992-12-17 1992-12-17 Data processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35587392A JPH06187141A (en) 1992-12-17 1992-12-17 Data processor

Publications (1)

Publication Number Publication Date
JPH06187141A true JPH06187141A (en) 1994-07-08

Family

ID=18446169

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35587392A Pending JPH06187141A (en) 1992-12-17 1992-12-17 Data processor

Country Status (1)

Country Link
JP (1) JPH06187141A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH11237957A (en) * 1998-02-23 1999-08-31 Fujitsu Ltd Magnetic disk controller and active switching method for its firmware
JPH11265544A (en) * 1998-03-16 1999-09-28 Fujitsu Ltd Storage device and password control method for the same
US6393561B1 (en) 1996-04-11 2002-05-21 Hitachi, Ltd. Disk drive computer with programmable nonvolatile memory capable of rewriting a control program of the disk drive
WO2002052397A1 (en) * 2000-12-22 2002-07-04 Fujitsu Limited Storage device, method of controlling storage device, and removable storage medium

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6393561B1 (en) 1996-04-11 2002-05-21 Hitachi, Ltd. Disk drive computer with programmable nonvolatile memory capable of rewriting a control program of the disk drive
US7076649B2 (en) 1996-04-11 2006-07-11 Renesas Technology Corp. Disk drive and computer
JPH11237957A (en) * 1998-02-23 1999-08-31 Fujitsu Ltd Magnetic disk controller and active switching method for its firmware
JPH11265544A (en) * 1998-03-16 1999-09-28 Fujitsu Ltd Storage device and password control method for the same
WO2002052397A1 (en) * 2000-12-22 2002-07-04 Fujitsu Limited Storage device, method of controlling storage device, and removable storage medium
US7444470B2 (en) 2000-12-22 2008-10-28 Fujitsu Limited Storage device, control method of storage device, and removable storage medium

Similar Documents

Publication Publication Date Title
US6393561B1 (en) Disk drive computer with programmable nonvolatile memory capable of rewriting a control program of the disk drive
US6370645B1 (en) Method of constructing a hard disk drive having uploadable/downloadable firmware
US5761169A (en) Methods and apparatus for recording to and reproducing from an optical master disc data to emulate the behavior of a reproducing only optical disc
US20080040818A1 (en) Storage apparatus, firmware renewal method, and control device
US7669046B2 (en) Data processing apparatus and firmware update method
JP2001357637A (en) Information reproducing device, information processing method and information recording medium
JPH06187141A (en) Data processor
JP4930028B2 (en) Information processing apparatus, information processing method, and program
KR100359200B1 (en) Method for executing a firmware
JPH03273424A (en) Recording and reproducing device for commutative storage medium
JP3393512B2 (en) Data processing device
US5522035A (en) Buffer memory self-diagnosis method for information signal processing apparatus
JPH10199136A (en) Recording or reproducing device
JPH06187790A (en) Writing device for rom
JPH07121974A (en) Information recorder/reproducer
KR100573639B1 (en) Disk driver
JPH0778077A (en) Magnetic disk device and firmware control method
JPH03273425A (en) Recording and reproducing device for commutative storage medium
JP3930344B2 (en) Disk drive device
CN111694763A (en) Method for accessing failed INTEL solid state disk
JPS63273292A (en) Optical disk device
JPH0844499A (en) Secondary storage device
JPH11242888A (en) Normal operation checking method for flash memory
JP2006139439A (en) Information processor, method of processing information, and program
JP2003030925A (en) Information processing device and information processing method