JPH0512026A - Magnetic disk drive - Google Patents

Magnetic disk drive

Info

Publication number
JPH0512026A
JPH0512026A JP16431891A JP16431891A JPH0512026A JP H0512026 A JPH0512026 A JP H0512026A JP 16431891 A JP16431891 A JP 16431891A JP 16431891 A JP16431891 A JP 16431891A JP H0512026 A JPH0512026 A JP H0512026A
Authority
JP
Japan
Prior art keywords
volatile storage
magnetic disk
storage means
program codes
program code
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
JP16431891A
Other languages
Japanese (ja)
Inventor
Masahiro Moriya
正弘 森屋
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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Priority to JP16431891A priority Critical patent/JPH0512026A/en
Publication of JPH0512026A publication Critical patent/JPH0512026A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To improve the economization by storing only common program codes in a non-volatile storage means and storing different parts in a volatile storage means from a magnetic disk to produce programs by the same parts in plural kinds of machine. CONSTITUTION:A device consists of a central arithmetic processing means 1, a non-volatile storage means 2 where its program codes are stored, and a volatile storage means 3 where program codes are stored from another area (a magnetic disk 9 or the non-volatile storage means 2). In this case, the processing to decode compressed program codes and the processing to store program codes from another area into the volatile storage means 3 at the time of power-on are included in program codes. A command to write program codes from a higher-order device to the magnetic disk is prepared in decoded program codes. Since compressed program codes are decoded, stored, and executed in this manner, the limit of the capacity of the non-volatile storage means can be extended.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、データを記録再生する
磁気ディスク装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a magnetic disk device for recording / reproducing data.

【0002】[0002]

【従来の技術】近年、磁気ディスク装置はその高容量で
高速な記憶装置ということから、データストレージシス
テムとして広く普及してきた。そして、磁気ディスク装
置はフレシキブル磁気ディスク装置や光磁気ディスク装
置とは異なり記憶媒体が非交換式であることから、信号
の記録方式やデータ領域の割り付けなどに様々な特徴を
有する磁気ディスク装置が発表・生産されている。
2. Description of the Related Art In recent years, magnetic disk devices have become widespread as data storage systems because of their high capacity and high speed storage devices. Since the magnetic disk device is a non-exchangeable storage medium unlike the flexible magnetic disk device and the magneto-optical disk device, a magnetic disk device having various characteristics such as a signal recording method and a data area allocation is announced. -It is being produced.

【0003】以下に従来の磁気ディスク装置について説
明する。図2は従来の磁気ディスク装置の回路構成を示
すものである。図2において、3は上位装置との間での
信号の受け渡しの制御をしたり、磁気ディスクとバッフ
ァメモリ4間やバッファメモリ4と上位装置間のデータ
転送の制御をするハードディスクコントローラである。
1は上位装置からの指令に応じて磁気ディスク装置の各
構成要素を所定の手順で動作させる中央演算処理手段、
2は中央演算処理手段のプログラムコードを格納してお
く不揮発性記憶手段、4は複数セクタ分のデータ記憶容
量をもつバッファメモリ、5はバッファメモリ4からの
データを変調し出力したり、ヘッドアンプ回路6からの
出力信号振幅を検出する信号検出生成回路、6は信号検
出生成回路5で出力された信号を記録し、または磁気デ
ィスク8のデータを再生するヘッドアンプ回路、7は電
磁変換素子としての磁気ヘッドであり、これらで構成さ
れる磁気ディスク装置は最も広く知られた例である。
A conventional magnetic disk device will be described below. FIG. 2 shows a circuit configuration of a conventional magnetic disk device. In FIG. 2, reference numeral 3 is a hard disk controller for controlling the transfer of signals to and from the host device, and for controlling the data transfer between the magnetic disk and the buffer memory 4 and between the buffer memory 4 and the host device.
Reference numeral 1 denotes a central processing unit that operates each component of the magnetic disk device in a predetermined procedure in response to a command from a host device,
Reference numeral 2 is a non-volatile storage means for storing the program code of the central processing means, 4 is a buffer memory having a data storage capacity for a plurality of sectors, and 5 is a head amplifier which modulates and outputs the data from the buffer memory 4. A signal detection / generation circuit that detects the amplitude of the output signal from the circuit 6, 6 is a head amplifier circuit that records the signal output from the signal detection / generation circuit 5, or reproduces the data of the magnetic disk 8, and 7 is an electromagnetic conversion element. The magnetic disk device composed of these is the most widely known example.

【0004】以上のように構成された磁気ディスク装置
について、以下その動作について説明する。磁気ディス
ク装置は上位装置からの指令により動作する。上位装置
からの指令はハードディスクコントローラ3により受け
取られ、それを中央演算処理手段1が解釈して相当する
処理をハードディスクコントローラ3に実行させる。こ
こでハードディスクコントローラ3は磁気ディスク8
(実際には信号検出生成回路5)とバッファメモリ4間
のデータ転送および上位装置とバッファメモリ4間のデ
ータ転送を高速に行う。また中央演算処理手段1は磁気
ディスク8上に浮上して位置する磁気ヘッド7を目的の
場所へ移動、保持する処理も行う。ここで中央演算処理
手段1の実行内容は全て不揮発性記憶手段5に格納され
ている。
The operation of the magnetic disk device configured as described above will be described below. The magnetic disk device operates according to a command from the host device. A command from the host device is received by the hard disk controller 3, and the central processing unit 1 interprets the command and causes the hard disk controller 3 to execute a corresponding process. Here, the hard disk controller 3 is the magnetic disk 8
The data transfer between the (actually signal detection / generation circuit 5) and the buffer memory 4 and the data transfer between the host device and the buffer memory 4 are performed at high speed. Further, the central processing means 1 also carries out a process of moving and holding the magnetic head 7 floating above the magnetic disk 8 to a target place. Here, all the execution contents of the central processing unit 1 are stored in the non-volatile storage unit 5.

【0005】上記において、上位装置から磁気ディスク
装置に発せられる指令即ち命令セットには大きく分けて
基本機能命令・付加機能命令・生産用命令の3種類があ
る。このうち基本機能命令・付加機能命令は上位装置と
のインターフェース規格で定義されているものである。
そして生産用命令は生産時にのみ必要な機能を行うもの
で各社固有の命令セットである。
In the above description, the commands issued from the host device to the magnetic disk device, that is, the command set, are roughly classified into three types: basic function commands, additional function commands, and production commands. Of these, the basic function instruction / additional function instruction is defined by the interface standard with the host device.
The production instruction is a unique instruction set for each company, which performs a necessary function only at the time of production.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、上記従
来の磁気ディスク装置では、次のような問題がある。
However, the above conventional magnetic disk device has the following problems.

【0007】不揮発性記憶手段に全てのプログラムコー
ドを格納しておくと、出荷時に不必要な命令セットやサ
ブルーチン処理等のプログラムコードも格納しておくこ
とになり不揮発性記憶手段に格納するプログラムコード
の容量が多くなるという問題がある。。
If all the program codes are stored in the non-volatile storage means, the program codes for the instruction set, subroutine processing, etc., which are unnecessary at the time of shipment, will also be stored, and the program codes stored in the non-volatile storage means. There is a problem that the capacity of the device increases. .

【0008】また複数の機種の磁気ディスク装置におい
てプログラムコードの核となる部分が共通である場合で
あっても、機種毎に不揮発性記憶手段の内容を変更して
生産しなければならないという問題もある。
Further, even if the core of the program code is common in a plurality of types of magnetic disk devices, the content of the non-volatile storage means must be changed for each model for production. is there.

【0009】本発明は上記の問題点を解決するもので、
第一の目的としては、不揮発性記憶手段にプログラムコ
ードを圧縮して格納しておき、復号後に揮発性記憶手段
に格納されたプログラムコードを実行することにより、
不揮発性記憶手段に格納しておくプログラム容量の制限
を実質的に広げた磁気ディスク装置を提供するものであ
る。
The present invention solves the above problems.
The first purpose is to compress and store the program code in the non-volatile storage means, and execute the program code stored in the volatile storage means after decoding,
The present invention provides a magnetic disk device in which the limitation of the program capacity stored in the non-volatile storage means is substantially widened.

【0010】第二の目的としては核となるプログラムコ
ードと機種間に共通しているプログラムコードを不揮発
性記憶手段に格納しておき、磁気ディスクには共通でな
いプログラムコードを格納しそれを揮発性記憶手段に格
納することにより、不揮発性記憶手段と揮発性記憶手段
のプログラムを実行する磁気ディスク装置を提供するも
のである。
A second purpose is to store a core program code and a program code that is common between models in a non-volatile storage means, and store a non-common program code in a magnetic disk to make it volatile. A magnetic disk device that stores programs in a non-volatile storage unit and a volatile storage unit by storing the storage unit in a storage unit is provided.

【0011】[0011]

【課題を解決するための手段】上記問題点を解決するた
めに本発明の磁気ディスク装置は、中央演算処理手段と
そのプログラムコードを格納しておく不揮発性記憶手段
に、他の領域(磁気ディスクあるいは不揮発性記憶手
段)からプログラムコードを格納するための揮発性記憶
手段とから構成される。また本発明の磁気ディスク装置
は従来通り磁気ディスクのデータを記録再生するような
機構、回路を具備している。
In order to solve the above problems, the magnetic disk device of the present invention has a central processing unit and a non-volatile storage means for storing the program code thereof in another area (magnetic disk). Alternatively, it is composed of volatile storage means for storing the program code from non-volatile storage means). Further, the magnetic disk device of the present invention is provided with a mechanism and a circuit for recording / reproducing data of the magnetic disk as in the conventional case.

【0012】そしてプログラムコードのなかには圧縮さ
れたプログラムコードを復号する処理と電源投入時に他
の領域(磁気ディスクあるいは不揮発性記憶手段)から
揮発性記憶手段にプログラムコードを格納する処理を含
んでいる。また復号したプログラムコードの中には上位
装置から磁気ディスクにプログラムコードを書き込むコ
マンドを用意している。
The program code includes a process of decoding the compressed program code and a process of storing the program code from another area (magnetic disk or non-volatile storage means) in the volatile storage means when the power is turned on. In the decrypted program code, a command for writing the program code from the host device to the magnetic disk is prepared.

【0013】[0013]

【作用】本発明は上記した構成と方式により、第一に圧
縮されたプログラムコードを復号して揮発性記憶手段に
格納し実行することから、不揮発性記憶手段の容量の制
限を実質的に広げることが可能となる。第二には複数の
機種間で共通でないプログラムコードは磁気ディスクか
ら揮発性記憶手段に格納し、共通している核のプログラ
ムコードは不揮発性記憶手段に格納することにより、プ
ログラム容量の制限を広げまた数機種で同じ内容の不揮
発性記憶手段を用いて生産することも可能となる。
According to the present invention, the compressed program code is first decoded, stored in the volatile storage means and executed by the above-described structure and method, so that the capacity of the non-volatile storage means is substantially expanded. It becomes possible. Second, the program code that is not common to multiple models is stored in the volatile storage means from the magnetic disk, and the common core program code is stored in the non-volatile storage means, thereby expanding the program capacity limit. It is also possible to manufacture several models using the same non-volatile storage means.

【0014】[0014]

【実施例】以下本発明の実施例について、図面を参照し
ながら説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0015】図1は本発明の磁気ディスク装置の具体的
な一実施例を示すブロック図である。図1に示すように
磁気ディスク装置の回路は上位装置との間での信号の授
受を制御するハードディスクコントローラ4、上位装置
からの指令に磁気ディスク装置の各構成要素を所定の手
順で動作させる中央演算処理手段1、中央演算処理手段
1のプログラムコードを格納しておく不揮発性記憶手段
2、磁気ディスク9や不揮発性記憶手段2からプログラ
ムコードを格納するための揮発性記憶手段3、複数セク
タ分のデータ記憶容量をもつバッファメモリ5、バッフ
ァメモリ5からのデータを変調し出力したり、ヘッドア
ンプ回路7からの出力信号振幅を検出する信号検出生成
回路6、信号検出生成回路6で出力された信号を記録
し、または磁気ディスク9のデータを再生するヘッドア
ンプ回路7、電磁変換素子としての磁気ヘッド8などの
構成要素からなる。
FIG. 1 is a block diagram showing a specific embodiment of the magnetic disk device of the present invention. As shown in FIG. 1, the circuit of the magnetic disk device is a hard disk controller 4 for controlling the exchange of signals with the host device, and a central part for operating each component of the magnetic disk device in a predetermined procedure in response to a command from the host device. Arithmetic processing means 1, non-volatile storage means 2 for storing the program code of the central processing means 1, volatile storage means 3 for storing the program code from the magnetic disk 9 or the non-volatile storage means 2, a plurality of sectors. Of the buffer memory 5 having a data storage capacity of 5 and the data from the buffer memory 5 are modulated and output, and output from the signal detection generation circuit 6 and the signal detection generation circuit 6 that detect the amplitude of the output signal from the head amplifier circuit 7. A head amplifier circuit 7 for recording signals or reproducing data on the magnetic disk 9, a magnetic head 8 as an electromagnetic conversion element, and the like. Consisting of elements.

【0016】以上の構成要素から本発明の実施例につい
て、以下図1によって動作の説明を行う。
The operation of the embodiment of the present invention based on the above components will be described below with reference to FIG.

【0017】請求項1の実施例では、不揮発性記憶手段
2内にプログラムコードを圧縮して格納しておく。磁気
ディスク装置の電源投入後、まず中央演算処理手段1は
圧縮されたプログラムコードを復号し揮発性記憶手段3
に格納する処理を行う。その後中央演算処理手段1は全
て揮発性記憶手段3内のプログラムコードにより動作す
る。ここでプログラムコードを復号するプログラムコー
ドは不揮発性記憶手段2に圧縮しないで格納されてい
る。
In the embodiment of claim 1, the program code is compressed and stored in the non-volatile storage means 2. After powering on the magnetic disk device, the central processing means 1 first decodes the compressed program code and volatile storage means 3
The process of storing in. After that, the central processing means 1 is all operated by the program code in the volatile storage means 3. Here, the program code for decoding the program code is stored in the non-volatile storage means 2 without being compressed.

【0018】次に請求項2の実施例について、具体的に
示す。揮発性記憶手段3に格納すべきデータを磁気ディ
スク9に書き込むために、上位装置から磁気ディスク装
置に特定の命令を発行する。ハードディスクコントロー
ラ4によって受け取られた命令を中央演算処理手段1は
解釈し、それに伴う処理を行う。ここで中央演算処理手
段1は上位装置からデータを受け取るために、ハードデ
ィスクコントローラ4を動作させる。ハードディスクコ
ントローラ4は上位装置からデータを受け取り、一旦そ
のデータをバッファメモリ5に書き込む。そして、バッ
ファメモリ5からデータを信号検出生成回路6、ヘッド
アンプ回路7、磁気ヘッド8を通じ、磁気ディスク9に
書き込む。この処理以降の再電源投入後、中央演算処理
手段1は磁気ディスク装置の初期化処理の中で、磁気デ
ィスク9の所定の領域に書き込まれたプログラムコード
をハードディスクコントローラ4を動作させて読みだ
し、バッファメモリ5に一旦貯える。そしてハードディ
スクコントローラ4の内部レジスタを介して、揮発性記
憶手段3に格納する。その後中央演算処理手段は揮発性
記憶手段3と不揮発性記憶手段2のプログラムコードに
より動作する。
Next, the embodiment of claim 2 will be specifically described. In order to write the data to be stored in the volatile storage means 3 to the magnetic disk 9, the host device issues a specific command to the magnetic disk device. The central processing unit 1 interprets the instruction received by the hard disk controller 4 and performs the processing associated therewith. Here, the central processing unit 1 operates the hard disk controller 4 in order to receive data from the host device. The hard disk controller 4 receives the data from the host device and once writes the data in the buffer memory 5. Then, the data is written from the buffer memory 5 to the magnetic disk 9 through the signal detection / generation circuit 6, the head amplifier circuit 7, and the magnetic head 8. After the power is turned on again after this processing, the central processing means 1 reads the program code written in a predetermined area of the magnetic disk 9 by operating the hard disk controller 4 in the initialization processing of the magnetic disk device, It is temporarily stored in the buffer memory 5. Then, it is stored in the volatile storage means 3 via the internal register of the hard disk controller 4. After that, the central processing unit is operated by the program code of the volatile storage unit 3 and the non-volatile storage unit 2.

【0019】[0019]

【発明の効果】本発明は以上に記述したような構成によ
り次のような効果を得ることができる。
According to the present invention, the following effects can be obtained by the configuration described above.

【0020】第一には複数の機種において共通するプロ
グラムコードのみ不揮発性記憶手段に格納し、異なる部
分は磁気ディスクから揮発性記憶手段に格納して実行す
るため複数の機種で全く同じ部品を用いて生産できるの
で、そこに経済的利点が生まれる。
First, since only the program code common to a plurality of models is stored in the non-volatile storage means, and different parts are stored in the volatile storage means from the magnetic disk and executed, the same parts are used in the plurality of models. Since it can be produced by the above method, there is an economic advantage.

【0021】第二にはプログラムコードを圧縮して不揮
発性記憶手段に格納するため、より多くのプログラムコ
ードを格納できるので、プログラム設計に余裕ができさ
らに付加機能などを追加することも可能となる。
Secondly, since the program code is compressed and stored in the non-volatile storage means, more program codes can be stored, so that the program design can be afforded and additional functions can be added. .

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

【図1】本発明の実施例における磁気ディスク装置のブ
ロック図である。
FIG. 1 is a block diagram of a magnetic disk device according to an embodiment of the present invention.

【図2】従来の磁気ディスク装置の回路構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a circuit configuration of a conventional magnetic disk device.

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

1 中央演算処理手段 2 不揮発性記憶手段 3 揮発性記憶手段 4 ハードディスクコントローラ 5 バッファメモリ 6 信号検出生成回路 7 ヘッドアンプ回路 8 磁気ヘッド 9 磁気ディスク 1 Central processing means 2 Non-volatile storage means 3 Volatile storage means 4 Hard disk controller 5 buffer memory 6 Signal detection generation circuit 7 Head amplifier circuit 8 magnetic head 9 magnetic disk

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 // G06F 5/00 H 9189−5B ─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification code Internal reference number FI technical display location // G06F 5/00 H 9189-5B

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 磁気ディスク装置を制御する中央演算処
理手段と、圧縮されたプログラムコードを格納する不揮
発性記憶手段と、揮発性記憶手段とを具備し、上記圧縮
されたプログラムコードは復号された後、上記揮発性記
憶手段に格納され、上記中央演算処理手段により実行さ
れることを特徴とする磁気ディスク装置。
1. A central processing unit for controlling a magnetic disk device, a non-volatile storage unit for storing a compressed program code, and a volatile storage unit, wherein the compressed program code is decoded. Then, the magnetic disk device is stored in the volatile storage means and executed by the central processing means.
【請求項2】 磁気ディスク装置を制御する中央演算処
理手段と、揮発性記憶手段とを具備し、磁気ディスクか
ら上記揮発性記憶手段にプログラムコードを読みだし、
上記中央演算処理手段により実行されることを特徴とす
る磁気ディスク装置。
2. A central processing unit for controlling the magnetic disk device and a volatile storage unit are provided, and a program code is read from the magnetic disk to the volatile storage unit.
A magnetic disk drive, which is executed by the central processing means.
JP16431891A 1991-07-04 1991-07-04 Magnetic disk drive Pending JPH0512026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP16431891A JPH0512026A (en) 1991-07-04 1991-07-04 Magnetic disk drive

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP16431891A JPH0512026A (en) 1991-07-04 1991-07-04 Magnetic disk drive

Publications (1)

Publication Number Publication Date
JPH0512026A true JPH0512026A (en) 1993-01-22

Family

ID=15790877

Family Applications (1)

Application Number Title Priority Date Filing Date
JP16431891A Pending JPH0512026A (en) 1991-07-04 1991-07-04 Magnetic disk drive

Country Status (1)

Country Link
JP (1) JPH0512026A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5647717A (en) * 1994-12-06 1997-07-15 Fujitsu Limited Cartridge carrying system and library system
EP1349384A3 (en) * 2002-03-20 2004-01-07 Grundig AG Method for management of software in a television apparatus
KR100417224B1 (en) * 1996-04-10 2004-04-30 삼성전자주식회사 How to Overlay a Program on a Hard Disk Drive
US7444470B2 (en) 2000-12-22 2008-10-28 Fujitsu Limited Storage device, control method of storage device, and removable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5647717A (en) * 1994-12-06 1997-07-15 Fujitsu Limited Cartridge carrying system and library system
KR100417224B1 (en) * 1996-04-10 2004-04-30 삼성전자주식회사 How to Overlay a Program on a Hard Disk Drive
US7444470B2 (en) 2000-12-22 2008-10-28 Fujitsu Limited Storage device, control method of storage device, and removable storage medium
EP1349384A3 (en) * 2002-03-20 2004-01-07 Grundig AG Method for management of software in a television apparatus

Similar Documents

Publication Publication Date Title
US4525801A (en) Disk storage controller
ATE259515T1 (en) ATA INTERFACE ARCHITECTURE USING STATE MACHINES
US4910614A (en) Disk controller for a plurality of magnetic disk drives
JPH1091361A (en) Initialization calibration routine execution method for hard disk drive
KR100274742B1 (en) Initiating method for copying hard-disk drive and copying apparatus thereof
JPH0512026A (en) Magnetic disk drive
KR980004771A (en) Recordable Compact Disc Controller Circuit
JPH0719191B2 (en) Memory device
US6795893B2 (en) Recordable disk recording controller with batch register controller
JPH0793101A (en) Data backup device
JPS63112861A (en) Magnetic disk control system
KR100383638B1 (en) Method for recording virus backup program on magnetic disk in magnetic disk recording device for preventing computer virus
JPH06187249A (en) Disk array device
KR100189927B1 (en) Hard disk drive control device and method
JPS6247735A (en) Controller for external memory device
JPH04351764A (en) Magnetic disk device
KR100419394B1 (en) Method for recording error management program for analyzing and repairing malfunction of magnetic disk recording device
JPS6180667A (en) Magnetic disk device
JPS6240521A (en) Disk controlling system
JP2000259775A (en) Copying method of card-type storage medium
KR100417224B1 (en) How to Overlay a Program on a Hard Disk Drive
JPH03189719A (en) Disk control lsi, storage device and information processing system
KR20040039709A (en) apparatus and method for high-speed storage
JPS61208534A (en) Control system for semiconductor disk
JP2000020251A (en) Method and device for alternative sector processing of magnetic disk array device