JPH05233100A - External storage device initializing system - Google Patents

External storage device initializing system

Info

Publication number
JPH05233100A
JPH05233100A JP4030275A JP3027592A JPH05233100A JP H05233100 A JPH05233100 A JP H05233100A JP 4030275 A JP4030275 A JP 4030275A JP 3027592 A JP3027592 A JP 3027592A JP H05233100 A JPH05233100 A JP H05233100A
Authority
JP
Japan
Prior art keywords
external storage
initialization
storage device
unit
data
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.)
Withdrawn
Application number
JP4030275A
Other languages
Japanese (ja)
Inventor
Tetsuo Kawamata
徹男 川俣
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 JP4030275A priority Critical patent/JPH05233100A/en
Publication of JPH05233100A publication Critical patent/JPH05233100A/en
Withdrawn legal-status Critical Current

Links

Abstract

PURPOSE:To shorten time for initializing an external storage device as much as possible concerning the external storage device initializing system for an information processing system provided with the external storage device. CONSTITUTION:This system is provided with the information processing system equipped with an external storage device 200, for which it is necessary to initialize stored contents when starting the system connected through a bus 300 to a main controller 100. The external storage device is provided with an initial data holding means 201 to fixedly hold initial data to be written at the time of initialization or to hold those data corresponding to setting from the outside, and initializing means 202 to initialize the stored contents by writing the initial data held in the initial data holding means in all the storage areas of the external storage device when an initialization starting command is received from the main controller.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、外部記憶装置を具備す
る情報処理システムにおける外部記憶装置初期化方式に
関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an external storage device initialization method in an information processing system having an external storage device.

【0002】[0002]

【従来の技術】図7は本発明の対象となる情報処理シス
テムの一例を示す図であり、図8は従来ある外部記憶装
置の一例を示す図であり、図9は従来ある初期化過程の
一例を示す図である。
2. Description of the Related Art FIG. 7 is a diagram showing an example of an information processing system to which the present invention is applied, FIG. 8 is a diagram showing an example of a conventional external storage device, and FIG. 9 is a diagram showing a conventional initialization process. It is a figure which shows an example.

【0003】図7に示される情報処理システムは、それ
ぞれ二重化された中央制御装置(CC)1、主記憶装置
(MM)2、チャネル制御装置(CHC)3と、それぞ
れ入出力バス5を介して各チャネル制御装置(CHC)
3に接続される二重化された外部記憶装置(FM)4と
を具備し、一方が現用系として稼働中は、他方が予備系
として待機しており、現用系が運転を停止する際は、予
備系が直ちに現用系として稼働を開始する為に、予備系
の外部記憶装置(FM)4にも現用系の外部記憶装置
(FM)4と同一の記憶内容を保持させて置く。
The information processing system shown in FIG. 7 includes a central control unit (CC) 1, a main storage unit (MM) 2, a channel control unit (CHC) 3 which are duplicated, and an input / output bus 5 respectively. Each channel controller (CHC)
3 has a dual external storage device (FM) 4 connected thereto, one of which is operating as an active system and the other of which is on standby as a standby system. When the active system stops operation, a standby system is used. In order for the system to immediately start operating as the active system, the external storage device (FM) 4 of the standby system also holds the same storage contents as the external storage device (FM) 4 of the active system.

【0004】かかる外部記憶装置(FM)4が、半導体
メモリを用いて構成される場合には、情報処理システム
を立上げる際に記憶内容を初期化して置く必要がある
が、半導体メモリにより構成される外部記憶装置(F
M)4には、リセット端子が設けられていない為、外部
から初期化データを全記憶領域に書込むことにより、初
期化を実行する以外に無い。
When the external storage device (FM) 4 is formed by using a semiconductor memory, it is necessary to initialize the storage contents when starting the information processing system, but it is formed by the semiconductor memory. External storage device (F
Since M) 4 is not provided with a reset terminal, there is nothing but to execute initialization by externally writing initialization data in the entire storage area.

【0005】図7に示される外部記憶装置(FM)4
は、半導体メモリから構成され、所定記憶容量(例えば
64キロ語、一語はデータ16ビットおよび誤り訂正符
号7ビットから構成される)を有する外部記憶部(FM
U)401、外部記憶部(FMU)401に書込みまた
は読出すデータを一旦蓄積するバッファメモリ(BM)
402、外部記憶部(FMU)401に書込むまたはデ
ータに付加されている誤り訂正符号を生成して外部記憶
部(FMU)401に書込み、或いは外部記憶部(FM
U)401から読出すデータおよび誤り訂正符号により
誤り検出および訂正を行う誤り訂正部(ECC)40
3、中央制御装置(CC)1からの指令に基づき外部記
憶装置(FM)4と主記憶装置(MM)2との間のデー
タ転送を制御するダイレクトメモリアクセス制御部(D
MC)406、自装置に付与された入出力アドレスを固
定的に保持する入出力装置アドレス保持部(IOA)4
11、入出力バス5内のアドレスバス(AB)を経由し
て転送されるアドレスと、入出力装置アドレス保持部
(IOA)411内に保持される入出力アドレスとを照
合し、自装置内のプログラムモード制御部(PMC)4
13を起動する照合部(MCH)412、アドレスバス
(AB)を経由して伝達される前記アドレスにより指定
される外部記憶装置(FM)4内の各部を起動するデコ
ーダ(DCR)414、ダイレクトメモリアクセス制御
部(DMC)406がデータ転送を制御するに必要な各
種データ等を蓄積するコマンドレジスタ(CMR)、フ
ァイルアドレスレジスタ(FAR)、メモリアドレスレ
ジスタ(MAR)、ワードカウントレジスタ(WC
R)、デバイスステータスレジスタ(DSR)等を有す
るレジスタ群(REG)415、外部記憶装置(FM)
4内の各部を制御するプロセッサ(MPU)421、内
部バス422、デコーダ(DCR)423、読出専用メ
モリ(ROM)424、書込読出メモリ(RAM)42
5、割込制御部(IRC)426、クロック発生部(C
KG)431、外部記憶部(FMU)401がD−RA
Mで構成されている場合に必要となるリフレッシュ部
(REF)441、並びに各種ゲート404、405、
407、416、417、418、442、443およ
び444から構成されている。
External storage device (FM) 4 shown in FIG.
Is an external storage unit (FM) including a semiconductor memory and having a predetermined storage capacity (for example, 64 kilowords, one word including 16 bits of data and 7 bits of error correction code).
U) 401, buffer memory (BM) for temporarily storing data to be written or read in the external storage unit (FMU) 401
402, writing to the external storage unit (FMU) 401 or generating an error correction code added to the data and writing to the external storage unit (FMU) 401, or external storage unit (FM)
U) Error correction unit (ECC) 40 that performs error detection and correction using the data read from 401 and the error correction code
3. Direct memory access control unit (D) for controlling data transfer between the external storage device (FM) 4 and the main storage device (MM) 2 based on a command from the central control device (CC) 1.
MC) 406, an input / output device address holding unit (IOA) 4 that fixedly holds the input / output address assigned to itself.
11. The address transferred via the address bus (AB) in the input / output bus 5 is collated with the input / output address held in the input / output device address holding unit (IOA) 411, and Program mode controller (PMC) 4
13, a collation unit (MCH) 412 for activating 13, a decoder (DCR) 414 for activating each unit in the external storage device (FM) 4 designated by the address transmitted via the address bus (AB), a direct memory The access control unit (DMC) 406 stores a command register (CMR), a file address register (FAR), a memory address register (MAR), and a word count register (WC) for accumulating various data necessary for controlling data transfer.
R), a register group (REG) 415 having a device status register (DSR), etc., an external storage device (FM)
4, a processor (MPU) 421, an internal bus 422, a decoder (DCR) 423, a read only memory (ROM) 424, a write / read memory (RAM) 42.
5, interrupt controller (IRC) 426, clock generator (C
KG) 431 and external storage unit (FMU) 401 are D-RA
A refresh unit (REF) 441 and various gates 404 and 405, which are required when configured by M,
407, 416, 417, 418, 442, 443 and 444.

【0006】図7乃至図9において、外部記憶装置(F
M)4を初期化しようとする中央制御装置(CC)1
は、公知のダイレクトメモリアクセス(以後DMAと略
称する)転送方式に基づき、主記憶装置(MM)2内の
所定記憶領域に所定量(例えば2キロバイト)の初期化
データ(例えば全ビットが論理“0”から構成されるデ
ータ)を格納した後、チャネル制御装置(CHC)3を
介して入出力バス5のアドレスバス(AB)に、初期化
対象とする外部記憶装置(FM)4、並びに外部記憶装
置(FM)4内のレジスタ群(REG)415内に設け
られているファイルアドレスレジスタ(FAR)、メモ
リアドレスレジスタ(MAR)、ワードカウントレジス
タ(WCR)等を示すアドレスを順次送出し、またチャ
ネル制御装置(CHC)3を介して入出力バス5内のデ
ータバス(DB)に、ファイルアドレスレジスタ(FA
R)、メモリアドレスレジスタ(MAR)、ワードカウ
ントレジスタ(WCR)等に蓄積する各種データを順次
送出することにより、前記レジスタ群(REG)415
に所定のデータを蓄積する等、主記憶装置(MM)2に
蓄積した初期化データ(2キロバイト)を、外部記憶装
置(FM)4に転送し、外部記憶部(FMU)401内
の最初の記憶領域(2キロバイト)に格納するDMA転
送に必要な一切の事前処理を実行した後、チャネル制御
装置(CHC)3および入出力バス5を経由して外部記
憶装置(FM)4内のコマンドレジスタ(CMR)に、
読出しを指令する指令コードと、起動を示す起動ビット
とを設定する。
7 to 9, an external storage device (F
M) 4 Central control unit (CC) 1 trying to initialize
Is based on a known direct memory access (hereinafter abbreviated as DMA) transfer method, a predetermined amount (for example, 2 kilobytes) of initialization data (for example, all bits are logical "" in a predetermined storage area in the main memory (MM) 2. Data composed of 0 ″), and then the external storage device (FM) 4 to be initialized as well as the external device via the channel control device (CHC) 3 to the address bus (AB) of the input / output bus 5. Addresses indicating a file address register (FAR), a memory address register (MAR), a word count register (WCR), etc. provided in a register group (REG) 415 in the storage device (FM) 4 are sequentially transmitted, and The file address register (FA) is connected to the data bus (DB) in the input / output bus 5 via the channel controller (CHC) 3.
R), the memory address register (MAR), the word count register (WCR), and the like, by sequentially sending out various data to be accumulated, the register group (REG) 415
Initialized data (2 kilobytes) accumulated in the main memory (MM) 2 such as accumulating predetermined data in the external memory (FM) 4 is transferred to the first memory in the external memory unit (FMU) 401. After executing all the pre-processing required for the DMA transfer to be stored in the storage area (2 kilobytes), the command register in the external storage device (FM) 4 via the channel controller (CHC) 3 and the input / output bus 5. (CMR)
A command code for instructing reading and a start bit indicating start are set.

【0007】外部記憶装置(FM)4においては、プロ
セッサ(MPU)421が、レジスタ群(REG)41
5内のコマンドレジスタ(CMR)に蓄積される起動ビ
ットが起動状態に設定されているのを検出し、更に読出
しを指令する指令コードが蓄積されていることを検出す
ると、ダイレクトメモリアクセス制御部(DMC)40
6を起動する。
In the external storage device (FM) 4, the processor (MPU) 421 has a register group (REG) 41.
When it is detected that the activation bit accumulated in the command register (CMR) in 5 is set to the activated state, and further that the instruction code for instructing reading is accumulated, the direct memory access control unit ( DMC) 40
Start 6.

【0008】起動されたダイレクトメモリアクセス制御
部(DMC)406は、レジスタ群(REG)415内
に蓄積されている各種データに基づき、入出力バス5お
よびチャネル制御装置(CHC)3を経由して主記憶装
置(MM)2に、最初の一語(16ビット)の初期化デ
ータを要求し、主記憶装置(MM)2から一語の初期化
データがチャネル制御装置(CHC)3および入出力バ
ス5内のデータバス(DB)(16ビット幅)を経由し
て転送されると、バッファメモリ(BM)402内に一
旦蓄積し、誤り訂正部(ECC)403により7ビット
から成る誤り訂正符号を生成した後、外部記憶部(FM
U)401内の、レジスタ群(REG)415内のファ
イルアドレスレジスタ(FAR)が指定する記憶領域に
格納する。
The activated direct memory access control unit (DMC) 406, via the input / output bus 5 and the channel control unit (CHC) 3, based on various data stored in the register group (REG) 415. The initial memory of the first word (16 bits) is requested to the main memory device (MM) 2, and the one word of initialization data is sent from the main memory device (MM) 2 to the channel controller (CHC) 3 and the input / output. When transferred via the data bus (DB) (16-bit width) in the bus 5, the data is temporarily stored in the buffer memory (BM) 402, and the error correction unit (ECC) 403 makes an error correction code of 7 bits. After generating, the external storage (FM
U) The data is stored in the storage area designated by the file address register (FAR) in the register group (REG) 415 in the 401.

【0009】一語の初期化データの書込み処理が終了す
ると、ダイレクトメモリアクセス制御部(DMC)40
6は、レジスタ群(REG)415内のファイルアドレ
スレジスタ(FAR)およびメモリアドレスレジスタ
(MAR)に蓄積されている各アドレスを一歩進させ、
またワードカウントレジスタ(WCR)に蓄積される語
数を一語減算した後、入出力バス5およびチャネル制御
装置(CHC)3を経由して主記憶装置(MM)2に、
次の一語(16ビット)の初期化データを要求し、主記
憶装置(MM)2から一語の初期化データがチャネル制
御装置(CHC)3および入出力バス5内のデータバス
(DB)を経由して転送されると、バッファメモリ(B
M)402内に一旦蓄積し、誤り訂正部(ECC)40
3により7ビットから成る誤り訂正符号を生成した後、
外部記憶部(FMU)401内の、レジスタ群(RE
G)415内のファイルアドレスレジスタ(FAR)が
指定する記憶領域に格納する。
When the writing process of the initialization data of one word is completed, the direct memory access control unit (DMC) 40
6 advances each address accumulated in the file address register (FAR) and the memory address register (MAR) in the register group (REG) 415,
Further, after subtracting one word from the number of words accumulated in the word count register (WCR), the main memory device (MM) 2 is passed through the input / output bus 5 and the channel control device (CHC) 3.
The initialization data of the next word (16 bits) is requested, and the initialization data of one word is sent from the main memory (MM) 2 to the channel controller (CHC) 3 and the data bus (DB) in the input / output bus 5. Buffer memory (B
M) 402 is temporarily stored in the error correction unit (ECC) 40
After generating an error correction code consisting of 7 bits by 3,
Register group (RE) in the external storage unit (FMU) 401
G) Store in the storage area designated by the file address register (FAR) in 415.

【0010】以下同様にしてダイレクトメモリアクセス
制御部(DMC)406は、入出力バス5およびチャネ
ル制御装置(CHC)3を経由して主記憶装置(MM)
2から、初期化データを一語宛読出して外部記憶部(F
MU)401の記憶領域に順次書込み、主記憶装置(M
M)2に蓄積されている総ての初期化データ(2キロバ
イト)を読出し、外部記憶部(FMU)401内の最初
の記憶領域(1キロ語)に書込み終わると、入出力バス
5およびチャネル制御装置(CHC)3を経由して中央
制御装置(CC)1に、読出終了報告を転送する。
Similarly, the direct memory access control unit (DMC) 406 passes through the input / output bus 5 and the channel control unit (CHC) 3 to the main memory unit (MM).
Initialization data is read out from the address 2 and addressed to the external storage unit (F
MU) 401 storage areas are sequentially written to the main storage device (M
M) When all the initialization data (2 kilobytes) stored in 2 are read and written to the first storage area (1 kiloword) in the external storage unit (FMU) 401, the input / output bus 5 and channel The read completion report is transferred to the central controller (CC) 1 via the controller (CHC) 3.

【0011】中央制御装置(CC)1は、外部記憶装置
(FM)4から転送された読出終了報告を受信すると、
前述と同様の過程で、外部記憶装置(FM)4内のレジ
スタ群(REG)415に、主記憶装置(MM)2に蓄
積した初期化データ(2キロバイト)を、外部記憶装置
(FM)4に転送し、外部記憶部(FMU)401内の
次の記憶領域(1キロ語)に格納するDMA転送に必要
な一切の事前処理を実行した後、チャネル制御装置(C
HC)3および入出力バス5を経由して外部記憶装置
(FM)4内のコマンドレジスタ(CMR)に、読出し
を指令する指令コードと、起動を示す起動ビットとを設
定し、外部記憶装置(FM)4に、前述と同様の過程
で、主記憶装置(MM)2に蓄積されている初期化デー
タ(2キロバイト)を読出し、外部記憶部(FMU)4
01内の次の記憶領域(一キロ語)に書込みを実行させ
る。
When the central control unit (CC) 1 receives the read end report transferred from the external storage unit (FM) 4,
In the same process as described above, the initialization data (2 kilobytes) stored in the main storage device (MM) 2 is stored in the register group (REG) 415 in the external storage device (FM) 4 by the external storage device (FM) 4. To the channel controller (C) after performing any pre-processing necessary for the DMA transfer in which the data is transferred to the external storage unit (FMU) 401 and stored in the next storage area (1 kiloword) in the external storage unit (FMU) 401.
HC) 3 and the input / output bus 5 to the command register (CMR) in the external storage device (FM) 4 to set a command code for reading and a start bit indicating start, The initialization data (2 kilobytes) stored in the main memory (MM) 2 is read into the FM) 4 in the same manner as described above, and the external storage unit (FMU) 4 is read.
Writing is executed in the next storage area (one kiloword) in 01.

【0012】以下同様にして、主記憶装置(MM)2に
蓄積した初期化データを読出し、転送し、外部記憶装置
(FM)4内の外部記憶部(FMU)401の全記憶領
域(64キロ語)に書込み終了すると、中央制御装置
(CC)1は外部記憶装置(FM)4の初期化を完了し
たと判定する。
In the same manner, the initialization data accumulated in the main memory unit (MM) 2 is read and transferred, and the entire memory area (64 km) of the external memory unit (FMU) 401 in the external memory unit (FM) 4 is read. When the writing is finished, the central controller (CC) 1 determines that the initialization of the external storage device (FM) 4 is completed.

【0013】[0013]

【発明が解決しようとする課題】以上の説明から明らか
な如く、従来ある情報処理システムにおいては、外部記
憶装置(FM)4を初期化する為には、主記憶装置(M
M)2内に蓄積された初期化データを一語宛読出し、チ
ャネル制御装置(CHC)3および入出力バス5を経由
して外部記憶装置(FM)4に転送し、外部記憶部(F
MU)401内の所定記憶領域に格納する処理を、外部
記憶部(FMU)401の全記憶領域に対して繰返す必
要があった為、多大の時間を費やす問題があった。
As is apparent from the above description, in the conventional information processing system, in order to initialize the external storage device (FM) 4, the main storage device (M
M) 2 reads the initialization data accumulated in 2 words, transfers it to the external storage device (FM) 4 via the channel control device (CHC) 3 and the input / output bus 5, and transfers it to the external storage unit (F
Since it is necessary to repeat the process of storing in a predetermined storage area in the MU) 401 for all storage areas of the external storage unit (FMU) 401, there is a problem that a great amount of time is spent.

【0014】本発明は、外部記憶装置の初期化に要する
時間を、極力短縮することを目的とする。
It is an object of the present invention to shorten the time required to initialize an external storage device as much as possible.

【0015】[0015]

【課題を解決するための手段】図1は本発明の原理を示
す図である。図1において、100は情報処理システム
の制御の中心となる主制御装置、200は本発明の対象
となる外部記憶装置、300は外部記憶装置200を主
制御装置100に接続するバスである。
FIG. 1 is a diagram showing the principle of the present invention. In FIG. 1, reference numeral 100 is a main control device that is the center of control of the information processing system, 200 is an external storage device that is the subject of the present invention, and 300 is a bus that connects the external storage device 200 to the main control device 100.

【0016】外部記憶装置200は、システム立上げ時
に記憶内容を初期化する必要がある。201は、本発明
により外部記憶装置200内に設けられた初期化データ
保持手段である。
The external storage device 200 is required to initialize the storage contents when the system is started up. 201 is initialization data holding means provided in the external storage device 200 according to the present invention.

【0017】202は、本発明により外部記憶装置20
0内に設けられた初期化手段である。
Reference numeral 202 denotes an external storage device 20 according to the present invention.
It is an initialization means provided in 0.

【0018】[0018]

【作用】初期化データ保持手段201は、初期化の際に
書込むべき初期化データを保持する。
The initialization data holding means 201 holds the initialization data to be written at the time of initialization.

【0019】初期化手段202は、主制御装置100か
ら初期化開始指令を受信した場合に、初期化データ保持
手段201に保持される初期化データを、外部記憶装置
200の全記憶領域に書込むことにより、記憶内容を初
期化する。
When the initialization means 202 receives an initialization start command from the main controller 100, the initialization means 202 writes the initialization data held in the initialization data holding means 201 into the entire storage area of the external storage device 200. By doing so, the stored contents are initialized.

【0020】なお初期化データ保持手段201は、予め
定められた初期化データを固定的に保持することが考慮
され、或いは外部から設定された初期化データを保持す
ることが考慮される。
It should be noted that the initialization data holding means 201 is considered to hold the predetermined initialization data fixedly, or to hold the initialization data set from the outside.

【0021】従って、外部記憶装置は、主制御装置から
初期化を指示された場合に、予め初期化データ保持手段
に設定されている初期化データを記憶領域内に書込むの
みで初期化処理が完了する為、初期化データをバスを経
由して外部から転送する必要が無くなり、外部記憶装置
の初期化に要する時間が大幅に削減される。
Therefore, the external storage device can be initialized only by writing the initialization data set in the initialization data holding means in advance in the storage area when the main control device instructs the initialization. Since the process is completed, it is not necessary to transfer the initialization data from the outside via the bus, and the time required for the initialization of the external storage device is greatly reduced.

【0022】[0022]

【実施例】以下、本発明の一実施例を図面により説明す
る。図2は本発明(請求項2)の一実施例による外部記
憶装置を示す図であり、図3は図2における初期化過程
の一例を示す図であり、図4は本発明の一実施例による
初期化指令を示す図であり、図5は本発明(請求項3)
の一実施例による外部記憶装置を示す図であり、図6は
図5における初期化過程の一例を示す図である。なお、
全図を通じて同一符号は同一対象物を示す。また対象と
する情報処理システムは、図7に示す通りとする。
DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described below with reference to the drawings. 2 is a diagram showing an external storage device according to an embodiment of the present invention (claim 2), FIG. 3 is a diagram showing an example of the initialization process in FIG. 2, and FIG. 4 is an embodiment of the present invention. FIG. 5 is a diagram showing an initialization command according to the present invention. FIG. 5 shows the present invention (claim 3).
FIG. 6 is a diagram showing an external storage device according to one embodiment, and FIG. 6 is a diagram showing an example of an initialization process in FIG. In addition,
The same reference numerals denote the same objects throughout the drawings. The target information processing system is as shown in FIG.

【0023】図2乃至図7においては、図1における主
制御装置100として中央制御装置(CC)1が示さ
れ、また図1における外部記憶装置200として外部記
憶装置(FM)4が示され、また図1におけるバス30
0として入出力バス5が示されており、また図1におけ
る初期化データ保持手段201として、図2においては
固定データ記憶部(CPM)451が外部記憶装置(F
M)4内に設けられ、また図5においては初期化データ
保持部(CPR)453が外部記憶装置(FM)4内に
設けられ、更に図1における初期化手段202として、
図2においては初期化部(CLR)461が外部記憶装
置(FM)4内のプロセッサ(MPU)421に設けら
れ、また図5においては初期化部(CLR)462が外
部記憶装置(FM)4内のプロセッサ(MPU)421
に設けられている。
2 to 7, a central controller (CC) 1 is shown as the main controller 100 in FIG. 1, and an external storage device (FM) 4 is shown as the external storage device 200 in FIG. Also, the bus 30 in FIG.
The input / output bus 5 is shown as 0, and the fixed data storage unit (CPM) 451 in FIG. 2 is the external storage device (F
M) 4, and in FIG. 5, an initialization data holding unit (CPR) 453 is provided in the external storage device (FM) 4, and further as the initialization means 202 in FIG.
In FIG. 2, an initialization unit (CLR) 461 is provided in the processor (MPU) 421 in the external storage device (FM) 4, and in FIG. 5, the initialization unit (CLR) 462 is provided in the external storage device (FM) 4. Processor (MPU) 421 in
It is provided in.

【0024】なお図2乃至図6においても、外部記憶装
置(FM)4内の外部記憶部(FMU)401は半導体
メモリから構成されており、また外部記憶部(FMU)
401の記憶容量は64キロ語(一語はデータ16ビッ
トおよび誤り訂正符号7ビットから構成される)であ
り、また入出力バス5内のデータバス(DB)は16ビ
ット幅を有するものとする。
2 to 6, the external storage unit (FMU) 401 in the external storage device (FM) 4 is composed of a semiconductor memory, and also the external storage unit (FMU).
The storage capacity of 401 is 64 kilowords (one word is composed of 16 bits of data and 7 bits of error correction code), and the data bus (DB) in the input / output bus 5 has a 16-bit width. ..

【0025】最初に、本発明(請求項2)の一実施例
を、図2乃至図4および図7を用いて説明する。図2に
示される固定データ記憶部(CPM)451内には、予
め定められた初期化データ(DI )として、各ビットが
論理“0”に設定された、16ビットから成る固定デー
タ(DF )が、固定的に保持されている。
First, an embodiment of the present invention (claim 2) will be described with reference to FIGS. 2 to 4 and 7. In the fixed data storage unit (CPM) 451 shown in FIG. 2, 16-bit fixed data (D) in which each bit is set to logic “0” is set as predetermined initialization data (D I ). F ) is fixedly held.

【0026】またセレクタ(SEL)452は、通常状
態ではバッファメモリ(BM)402を選択して外部記
憶部(FMU)401のデータ端子Dに接続する如く設
定されている。
The selector (SEL) 452 is set so as to select the buffer memory (BM) 402 and connect it to the data terminal D of the external storage unit (FMU) 401 in the normal state.

【0027】図2乃至図4および図7において、外部記
憶装置(FM)4を初期化しようとする中央制御装置
(CC)1は、チャネル制御装置(CHC)3を介して
入出力バス5内のアドレスバス(AB)に、初期化対象
とする外部記憶装置(FM)4、並びに外部記憶装置
(FM)4内のレジスタ群(REG)415内に設けら
れているファイルアドレスレジスタ(FAR)およびワ
ードカウントレジスタ(WCR)を示すアドレスを順次
送出し、またチャネル制御装置(CHC)3を介して入
出力バス5内のデータバス(DB)に、外部記憶部(F
MU)401の先頭の記憶領域を指定するアドレスと、
外部記憶部(FMU)401内の全記憶領域を指定する
語数(64キロ語)とを順次送出することにより、ファ
イルアドレスレジスタ(FAR)に外部記憶部(FM
U)401の先頭の記憶領域を指定するアドレスを蓄積
し、またワードカウントレジスタ(WCR)に外部記憶
部(FMU)401内の全記憶領域を指定する語数(6
4キロ語)を蓄積する等、外部記憶部(FMU)401
内の全記憶領域を初期化するに必要な一切の事前処理を
実行した後、続いてチャネル制御装置(CHC)3を介
して入出力バス5内のアドレスバス(AB)に、初期化
対象とする外部記憶装置(FM)4、並びに外部記憶装
置(FM)4内のレジスタ群(REG)415内に設け
られているコマンドレジスタ(CMR)を示すアドレス
を送出し、またチャネル制御装置(CHC)3を介して
入出力バス5内のデータバス(DB)に、図4に示され
る如き初期化指令を送出することにより、コマンドレジ
スタ(CMR)に初期化指令を蓄積する。
2 to 4 and 7, the central controller (CC) 1 which is going to initialize the external storage device (FM) 4 is in the input / output bus 5 via the channel controller (CHC) 3. Of the external storage device (FM) 4 and the file address register (FAR) provided in the register group (REG) 415 in the external storage device (FM) 4 on the address bus (AB) of Addresses indicating the word count register (WCR) are sequentially sent out, and the external storage unit (F) is connected to the data bus (DB) in the input / output bus 5 via the channel controller (CHC) 3.
MU) 401, which specifies the top storage area,
By sequentially sending the number of words (64 kilowords) designating the entire storage area in the external storage unit (FMU) 401, the external storage unit (FM) is sent to the file address register (FAR).
U) The address for designating the top storage area of the 401 is accumulated, and the word count register (WCR) designates the total storage area in the external storage unit (FMU) 401.
External storage unit (FMU) 401, such as storing 4 kilowords)
After performing all the pre-processing required to initialize all the storage areas in the internal storage area, the address bus (AB) in the input / output bus 5 through the channel controller (CHC) 3 is treated as an initialization target. The external storage device (FM) 4 and the command register (CMR) provided in the register group (REG) 415 in the external storage device (FM) 4, and the channel control device (CHC). By sending the initialization command as shown in FIG. 4 to the data bus (DB) in the input / output bus 5 via 3, the initialization command is stored in the command register (CMR).

【0028】初期化指令は、図4に示す如く16ビット
0 乃至b15から構成されており、ビットb8 乃至b14
には初期化を指令する指令コード(CMC)(図4にお
いては“0000010”から構成)が設定され、ビッ
トb15には起動状態(論理“1”)に設定された起動ビ
ット(S)が設定されている。
The initialization command comprises 16 bits b 0 to b 15 as shown in FIG. 4, and bits b 8 to b 14
Command code for instructing the initialization (CMC) (composed of "0000010" in FIG. 4) is set in the bit b 15 is activated state starts bit set (logic "1") (S) is It is set.

【0029】外部記憶装置(FM)4においては、プロ
セッサ(MPU)421が、レジスタ群(REG)41
5内のコマンドレジスタ(CMR)に蓄積される初期化
指令の、起動ビット(S)が起動状態に設定されている
のを検出し、更に指令コード(CMC)が初期化指令を
示すことを認識すると、初期化部(CLR)461を起
動する。
In the external storage device (FM) 4, the processor (MPU) 421 has a register group (REG) 41.
Detecting that the start bit (S) of the initialization command accumulated in the command register (CMR) in 5 is set to the startup state, and further recognizes that the command code (CMC) indicates the initialization command. Then, the initialization unit (CLR) 461 is activated.

【0030】起動された初期化部(CLR)461は、
内部バス422を経由してセレクタ(SEL)452を
制御し、固定データ記憶部(CPM)451側を選択し
て外部記憶部(FMU)401のデータ端子Dに接続す
る如く切替え設定し、またレジスタ群(REG)415
内のファイルアドレスレジスタ(FAR)をゲートG4
42を介して外部記憶部(FMU)401のアドレス端
子Aに接続させた後、内部バス422およびゲート44
4を経由して外部記憶部(FMU)401を書込み起動
させる。
The activated initialization unit (CLR) 461 is
The selector (SEL) 452 is controlled via the internal bus 422, and the fixed data storage unit (CPM) 451 side is selected and switched to be connected to the data terminal D of the external storage unit (FMU) 401. Group (REG) 415
File address register (FAR) in the gate G4
After being connected to the address terminal A of the external storage unit (FMU) 401 via 42, the internal bus 422 and the gate 44
The external storage unit (FMU) 401 is written and activated via 4.

【0031】かかる状態で、誤り訂正部(ECC)40
3は、固定データ記憶部(CPM)451からセレクタ
(SEL)452を介して外部記憶部(FMU)401
のデータ端子Dに入力される固定データ(DF )に対応
する誤り訂正符号(CF )を生成し、外部記憶部(FM
U)401の誤り訂正符号端子Cに入力する。
In this state, the error correction unit (ECC) 40
3 is an external storage unit (FMU) 401 from a fixed data storage unit (CPM) 451 via a selector (SEL) 452.
Error correction code ( CF ) corresponding to fixed data ( DF ) input to the data terminal D of the external storage unit (FM).
U) Input to the error correction code terminal C of 401.

【0032】その結果、外部記憶部(FMU)401の
先頭記憶領域には、固定データ記憶部(CPM)451
からセレクタ(SEL)452を介して外部記憶部(F
MU)401のデータ端子Dに入力される固定データ
(DF )に、誤り訂正部(ECC)403が生成する誤
り訂正符号(CF )が付加されて書込まれる。
As a result, the fixed data storage unit (CPM) 451 is stored in the head storage area of the external storage unit (FMU) 401.
From the external storage unit (F) via the selector (SEL) 452.
The fixed data ( DF ) input to the data terminal D of the MU) 401 is written with the error correction code ( CF ) generated by the error correction unit (ECC) 403 added thereto.

【0033】外部記憶部(FMU)401の先頭記憶領
域に対する固定データ(DF )および誤り訂正符号(C
F )の書込みが終了すると、初期化部(CLR)461
はダイレクトメモリアクセス制御部(DMC)406を
制御し、ファイルアドレスレジスタ(FAR)内のアド
レスを一歩進させると共に、ワードカウントレジスタ
(WCR)内の語数から一語を減算させた後、再び外部
記憶部(FMU)401を書込み起動させると、外部記
憶部(FMU)401の第二記憶領域には、前述と同様
に、固定データ記憶部(CPM)451からセレクタ
(SEL)452を介して外部記憶部(FMU)401
のデータ端子Dに入力される固定データ(D F )に、誤
り訂正部(ECC)403が生成する誤り訂正符号(C
F )が付加されて書込まれる。
First storage area of external storage unit (FMU) 401
Fixed data (DF) And error correction code (C
F) Is completed, the initialization unit (CLR) 461
Direct memory access controller (DMC) 406
Control and add in file address register (FAR)
Take the word one step further and add a word count register
After subtracting one word from the number of words in (WCR), externally again
When the memory unit (FMU) 401 is written and activated, external storage
In the second storage area of the storage unit (FMU) 401, the same as above
From the fixed data storage unit (CPM) 451 to the selector
External storage unit (FMU) 401 via (SEL) 452
Fixed data (D F)
Error correction code (C
F) Is added and written.

【0034】以後初期化部(CLR)461は、ファイ
ルアドレスレジスタ(FAR)内のアドレスが外部記憶
部(FMU)401の最終記憶領域を示し、ワードカウ
ントレジスタ(WCR)内の語数が零となる迄、前述と
同様の処理を実行することにより、外部記憶部(FM
U)401の全記憶領域に、固定データ記憶部(CP
M)451に保持されている固定データ(DF )と、誤
り訂正部(ECC)403が生成する誤り訂正符号(C
F )とを書込む。
Thereafter, in the initialization unit (CLR) 461, the address in the file address register (FAR) indicates the final storage area of the external storage unit (FMU) 401, and the number of words in the word count register (WCR) becomes zero. Up to this point, by executing the same processing as described above, the external storage unit (FM
U) The fixed data storage unit (CP
M) 451 holds the fixed data (D F ) and the error correction code (C C) generated by the error correction unit (ECC) 403.
F ) and write.

【0035】初期化部(CLR)461は、外部記憶部
(FMU)401の全記憶領域に固定データ(DF )お
よび誤り訂正符号(CF )を書込むことにより、外部記
憶装置(FM)4の初期化を終了すると、レジスタ群
(REG)415内のデバイスステータスレジスタ(D
SR)に、初期化終了報告を蓄積する。
The initialization unit (CLR) 461 writes fixed data (D F ) and error correction code (C F ) in the entire storage area of the external storage unit (FMU) 401, and thereby the external storage unit (FM). 4 is completed, the device status register (D) in the register group (REG) 415 is
The initialization completion report is stored in SR).

【0036】デバイスステータスレジスタ(DSR)に
蓄積された初期化終了報告は、公知の手順で、入出力バ
ス5およびチャネル制御装置(CHC)3を経由して中
央制御装置(CC)1に転送される。
The initialization completion report stored in the device status register (DSR) is transferred to the central controller (CC) 1 via the input / output bus 5 and the channel controller (CHC) 3 in a known procedure. It

【0037】中央制御装置(CC)1は、外部記憶装置
(FM)4から転送された初期化終了報告を受信するこ
とにより、初期化指令に基づく外部記憶装置(FM)4
の初期化が終了したことを認識する。
The central controller (CC) 1 receives the initialization completion report transferred from the external storage device (FM) 4, and thereby the external storage device (FM) 4 based on the initialization command.
Recognize that initialization of is completed.

【0038】以上の説明から明らかな如く、本実施例に
よれば、外部記憶装置(FM)4を初期化しようとする
中央制御装置(CC)1が、外部記憶装置(FM)4内
のコマンドレジスタ(CMR)に初期化指令を蓄積する
と、外部記憶装置(FM)4内の初期化部(CLR)4
61が、主記憶装置(MM)2からチャネル制御装置
(CHC)3および入出力バス5を経由して初期化デー
タを一語宛転送されること無く、固定データ記憶部(C
PM)451に固定的に保持されている固定データ(D
F )と、誤り訂正部(ECC)403が固定データ(D
F )に対応して生成する誤り訂正符号(CF )とを外部
記憶部(FMU)401の全記憶領域に順次書込むこと
により初期化処理を実行する為、外部記憶部(FMU)
401内の全記憶領域に相当する語数(64キロ語)の
初期化データを、主記憶装置(MM)2からチャネル制
御装置(CHC)3および入出力バス5を経由して転送
される時間が短縮可能となる。
As is apparent from the above description, according to the present embodiment, the central control unit (CC) 1 which is going to initialize the external storage device (FM) 4 executes the command in the external storage device (FM) 4. When the initialization command is stored in the register (CMR), the initialization unit (CLR) 4 in the external storage device (FM) 4
61 does not transfer the initialization data from the main storage device (MM) 2 via the channel control device (CHC) 3 and the input / output bus 5 to one word, and the fixed data storage unit (C
PM) 451 fixed data (D
F ) and the error correction unit (ECC) 403 uses fixed data (D
The error correction code ( CF ) generated corresponding to F ) is sequentially written in all the storage areas of the external storage unit (FMU) 401 to execute the initialization process, so that the external storage unit (FMU)
The time required to transfer the initialization data of the number of words (64 kilo words) corresponding to the entire storage area in 401 from the main storage device (MM) 2 via the channel control device (CHC) 3 and the input / output bus 5. It can be shortened.

【0039】次に、本発明(請求項3)の一実施例を、
図4乃至図7を用いて説明する。図5においてもセレク
タ(SEL)452は、通常状態ではバッファメモリ
(BM)402を選択して外部記憶部(FMU)401
のデータ端子Dに接続する如く設定されている。
Next, one embodiment of the present invention (claim 3) will be described.
This will be described with reference to FIGS. 4 to 7. Also in FIG. 5, the selector (SEL) 452 selects the buffer memory (BM) 402 in the normal state and selects the external storage unit (FMU) 401.
It is set so as to be connected to the data terminal D of.

【0040】図4乃至図7において、外部記憶装置(F
M)4を初期化しようとする中央制御装置(CC)1
は、チャネル制御装置(CHC)3を介して入出力バス
5内のアドレスバス(AB)に、初期化対象とする外部
記憶装置(FM)4、並びに外部記憶装置(FM)4内
のレジスタ群(REG)415内に設けられているライ
トパターンレジスタ(WPR)を示すアドレスを送出
し、またチャネル制御装置(CHC)3を介して入出力
バス5内のデータバス(DB)に、外部記憶部(FM
U)401の記憶領域を初期化する為に定められている
初期化データ(DI )(例えば各ビットが論理“0”に
設定された、16ビットから成るデータ)を送出するこ
とにより、ライトパターンレジスタ(WPR)に初期化
データ(DI )を蓄積し、続いて前述と同様に、チャネ
ル制御装置(CHC)3を介して入出力バス5内のアド
レスバス(AB)に、初期化対象とする外部記憶装置
(FM)4、並びに外部記憶装置(FM)4内のレジス
タ群(REG)415内に設けられているファイルアド
レスレジスタ(FAR)およびワードカウントレジスタ
(WCR)を示すアドレスを順次送出し、またチャネル
制御装置(CHC)3を介して入出力バス5内のデータ
バス(DB)に、外部記憶部(FMU)401の先頭の
記憶領域を指定するアドレスと、外部記憶部(FMU)
401内の全記憶領域を指定する語数(64キロ語)と
を順次送出することにより、ファイルアドレスレジスタ
(FAR)に外部記憶部(FMU)401の先頭の記憶
領域を指定するアドレスを蓄積し、またワードカウント
レジスタ(WCR)に外部記憶部(FMU)401内の
全記憶領域を指定する語数(64キロ語)を蓄積する
等、外部記憶部(FMU)401内の全記憶領域を初期
化するに必要な一切の事前処理を実行した後、続いてチ
ャネル制御装置(CHC)3および入出力バス5内のア
ドレスバス(AB)に、初期化対象とする外部記憶装置
(FM)4、並びに外部記憶装置(FM)4内のレジス
タ群(REG)415内に設けられているコマンドレジ
スタ(CMR)を示すアドレスを送出し、またチャネル
制御装置(CHC)3を介して入出力バス5内のデータ
バス(DB)に、図4に示される如き初期化指令を送出
することにより、コマンドレジスタ(CMR)に初期化
指令を蓄積する。
4 to 7, the external storage device (F
M) 4 Central control unit (CC) 1 trying to initialize
Is an external storage device (FM) 4 to be initialized, and a register group in the external storage device (FM) 4 to the address bus (AB) in the input / output bus 5 via the channel control device (CHC) 3. An address indicating a write pattern register (WPR) provided in the (REG) 415 is transmitted, and an external storage unit is provided to the data bus (DB) in the input / output bus 5 via the channel controller (CHC) 3. (FM
U) Write by sending initialization data (D I ) defined for initializing the storage area of 401 (for example, 16-bit data in which each bit is set to logic “0”) Initialization data (D I ) is stored in the pattern register (WPR), and subsequently, in the same manner as described above, the initialization target is stored in the address bus (AB) in the input / output bus 5 via the channel controller (CHC) 3. And an address indicating a file address register (FAR) and a word count register (WCR) provided in a register group (REG) 415 in the external storage device (FM) 4 in order. The head storage area of the external storage unit (FMU) 401 is sent to the data bus (DB) in the input / output bus 5 via the channel controller (CHC) 3. And dress, an external storage unit (FMU)
By sequentially transmitting the number of words (64 kilowords) designating all storage areas in 401, the address designating the top storage area of the external storage unit (FMU) 401 is accumulated in the file address register (FAR), Further, the word count register (WCR) stores the number of words (64 kilowords) designating the entire storage area in the external storage unit (FMU) 401, and initializes the entire storage area in the external storage unit (FMU) 401. After performing any pre-processing required for, the channel controller (CHC) 3 and the address bus (AB) in the input / output bus 5 are then connected to the external storage device (FM) 4 to be initialized, and externally. The address indicating the command register (CMR) provided in the register group (REG) 415 in the memory device (FM) 4 is transmitted, and the channel controller (CHC) is also sent. A data bus (DB) of the input and output bus 5 via, by sending an initialization command such as shown in FIG. 4, for storing an initialization command to the command register (CMR).

【0041】外部記憶装置(FM)4においては、プロ
セッサ(MPU)421が、レジスタ群(REG)41
5内のコマンドレジスタ(CMR)に蓄積される初期化
指令の、起動ビット(S)が起動状態に設定されている
のを検出し、更に指令コード(CMC)が初期化指令を
示すことを認識すると、前述と同様に初期化部(CL
R)462を起動する。
In the external storage device (FM) 4, the processor (MPU) 421 has the register group (REG) 41.
Detecting that the start bit (S) of the initialization command accumulated in the command register (CMR) in 5 is set to the startup state, and further recognizes that the command code (CMC) indicates the initialization command. Then, the initialization unit (CL
R) 462 is activated.

【0042】起動された初期化部(CLR)462は、
レジスタ群(REG)415内のライトパターンレジス
タ(WPR)に蓄積されている初期化データ(DI )を
抽出し、内部バス422を経由して初期化データ保持部
(CPR)453に蓄積した後、前述と同様に、内部バ
ス422を経由してセレクタ(SEL)452を制御
し、初期化データ保持部(CPR)453側を選択して
外部記憶部(FMU)401のデータ端子Dに接続する
如く切替え設定し、またレジスタ群(REG)415内
のファイルアドレスレジスタ(FAR)をゲートG44
2を介して外部記憶部(FMU)401のアドレス端子
Aに接続させた後、内部バス422およびゲート444
を経由して外部記憶部(FMU)401を書込み起動さ
せる。
The activated initialization unit (CLR) 462 is
After the initialization data (D I ) stored in the write pattern register (WPR) in the register group (REG) 415 is extracted and stored in the initialization data holding unit (CPR) 453 via the internal bus 422. Similarly to the above, the selector (SEL) 452 is controlled via the internal bus 422, the initialization data holding unit (CPR) 453 side is selected and connected to the data terminal D of the external storage unit (FMU) 401. The file address register (FAR) in the register group (REG) 415 is set to the gate G44.
2 is connected to the address terminal A of the external storage unit (FMU) 401 via the internal bus 422 and the gate 444.
The external storage unit (FMU) 401 is written and activated via.

【0043】かかる状態で、誤り訂正部(ECC)40
3は、初期化データ保持部(CPR)453からセレク
タ(SEL)452を介して外部記憶部(FMU)40
1のデータ端子Dに入力される初期化データ(DI )に
対応する誤り訂正符号(CI)を生成し、外部記憶部
(FMU)401の誤り訂正符号端子Cに入力する。
In this state, the error correction unit (ECC) 40
3 is an external storage unit (FMU) 40 from an initialization data holding unit (CPR) 453 through a selector (SEL) 452.
The error correction code (C I ) corresponding to the initialization data (D I ) input to the first data terminal D is generated and input to the error correction code terminal C of the external storage unit (FMU) 401.

【0044】その結果、外部記憶部(FMU)401の
先頭記憶領域には、初期化データ保持部(CPR)45
3からセレクタ(SEL)452を介して外部記憶部
(FMU)401のデータ端子Dに入力される初期化デ
ータ(DI )に、誤り訂正部(ECC)403が生成す
る誤り訂正符号(CI )が付加されて書込まれる。
As a result, the initialization data holding unit (CPR) 45 is stored in the head storage area of the external storage unit (FMU) 401.
3 to the initialization data (D I ) input to the data terminal D of the external storage unit (FMU) 401 via the selector (SEL) 452, the error correction code (C I ) generated by the error correction unit (ECC) 403. ) Is added and written.

【0045】外部記憶部(FMU)401の先頭記憶領
域に対する初期化データ(DI )および誤り訂正符号
(CI )の書込みが終了すると、初期化部(CLR)4
62はダイレクトメモリアクセス制御部(DMC)40
6を制御し、ファイルアドレスレジスタ(FAR)内の
アドレスを一歩進させると共に、ワードカウントレジス
タ(WCR)内の語数から一語を減算させた後、再び外
部記憶部(FMU)401を書込み起動させると、外部
記憶部(FMU)401の第二記憶領域には、前述と同
様に、固定データ記憶部(CPM)451からセレクタ
(SEL)452を介して外部記憶部(FMU)401
のデータ端子Dに入力される初期化データ(DI )に、
誤り訂正部(ECC)403が生成する誤り訂正符号
(CI )が付加されて書込まれる。
When the writing of the initialization data (D I ) and the error correction code (C I ) to the head storage area of the external storage unit (FMU) 401 is completed, the initialization unit (CLR) 4
62 is a direct memory access control unit (DMC) 40
6 to advance the address in the file address register (FAR) by one step, subtract one word from the number of words in the word count register (WCR), and then write and activate the external storage unit (FMU) 401 again. Then, in the second storage area of the external storage unit (FMU) 401, as described above, the external storage unit (FMU) 401 is transferred from the fixed data storage unit (CPM) 451 via the selector (SEL) 452.
The initialization data (D I ) input to the data terminal D of
The error correction code (C I ) generated by the error correction unit (ECC) 403 is added and written.

【0046】以後初期化部(CLR)462は、ファイ
ルアドレスレジスタ(FAR)内のアドレスが外部記憶
部(FMU)401の最終記憶領域を示し、ワードカウ
ントレジスタ(WCR)内の語数が零となる迄、前述と
同様の処理を実行することにより、外部記憶部(FM
U)401の全記憶領域に、初期化データ保持部(CP
R)453に蓄積されている初期化データ(DI )と、
誤り訂正部(ECC)403が生成する誤り訂正符号
(CI )とを書込む。
Thereafter, in the initialization unit (CLR) 462, the address in the file address register (FAR) indicates the final storage area of the external storage unit (FMU) 401, and the number of words in the word count register (WCR) becomes zero. Up to this point, by executing the same processing as described above, the external storage unit (FM
U) Initialized data holding unit (CP
R) initialization data (D I ) stored in 453,
The error correction code (C I ) generated by the error correction unit (ECC) 403 is written.

【0047】初期化部(CLR)462は、外部記憶部
(FMU)401の全記憶領域に初期化データ(DI
および誤り訂正符号(CI )を書込むことにより、外部
記憶装置(FM)4の初期化を終了すると、レジスタ群
(REG)415内のデバイスステータスレジスタ(D
SR)に、初期化終了報告を蓄積する。
The initialization unit (CLR) 462 stores initialization data (D I ) in the entire storage area of the external storage unit (FMU) 401.
After the initialization of the external storage device (FM) 4 is completed by writing the error correction code (C I ) and the device status register (D) in the register group (REG) 415.
The initialization completion report is stored in SR).

【0048】デバイスステータスレジスタ(DSR)に
蓄積された初期化終了報告は、公知の手順で、入出力バ
ス5およびチャネル制御装置(CHC)3を経由して中
央制御装置(CC)1に転送される。
The initialization completion report stored in the device status register (DSR) is transferred to the central controller (CC) 1 via the input / output bus 5 and the channel controller (CHC) 3 by a known procedure. It

【0049】中央制御装置(CC)1は、外部記憶装置
(FM)4から転送された初期化終了報告を受信するこ
とにより、初期化指令に基づく外部記憶装置(FM)4
の初期化が終了したことを認識する。
The central control unit (CC) 1 receives the initialization completion report transferred from the external storage unit (FM) 4, and thereby the external storage unit (FM) 4 based on the initialization command.
Recognize that initialization of is completed.

【0050】以上の説明から明らかな如く、本実施例に
よれば、外部記憶装置(FM)4を初期化しようとする
中央制御装置(CC)1が、外部記憶装置(FM)4内
のライトパターンレジスタ(WPR)に初期化データ
(DI )を蓄積した後、外部記憶装置(FM)4内のコ
マンドレジスタ(CMR)に初期化指令を蓄積すると、
外部記憶装置(FM)4内の初期化部(CLR)462
が、主記憶装置(MM)2からチャネル制御装置(CH
C)3および入出力バス5を経由して初期化データを一
語宛転送されること無く、初期化データ保持部(CP
R)453に保持されている初期化データ(DI )と、
誤り訂正部(ECC)403が初期化データ(DI )に
対応して生成する誤り訂正符号(CI )とを、外部記憶
部(FMU)401の全記憶領域に順次書込むことによ
り、初期化処理を実行する為、外部記憶部(FMU)4
01内の全記憶領域に相当する語数(64キロ語)の初
期化データを、主記憶装置(MM)2からチャネル制御
装置(CHC)3および入出力バス5を経由して転送さ
れる時間が短縮可能となる。然も中央制御装置(CC)
1は、所要の初期化データ(DI )を初期化データ保持
部(CPR)453に蓄積可能となる為、固定データ
(DF )に限定される図2および図3に示される実施例
に比し、初期化データ(DI )の自由度が増加する。
As is apparent from the above description, according to the present embodiment, the central control unit (CC) 1 which is going to initialize the external storage device (FM) 4 writes in the external storage device (FM) 4. After storing the initialization data (D I ) in the pattern register (WPR) and then storing the initialization command in the command register (CMR) in the external storage device (FM) 4,
Initialization unit (CLR) 462 in the external storage device (FM) 4
From the main memory (MM) 2 to the channel controller (CH
C) Initialization data holding unit (CP) without transferring the initialization data to one word via 3 and the input / output bus 5.
R) 453 holds the initialization data (D I ),
The error correction code (C I ) generated by the error correction unit (ECC) 403 corresponding to the initialization data (D I ) is sequentially written in the entire storage area of the external storage unit (FMU) 401, thereby Storage unit (FMU) 4 for executing the process
The initialization data of the number of words (64 kilo words) corresponding to the entire storage area in 01 is transferred from the main storage device (MM) 2 via the channel control device (CHC) 3 and the input / output bus 5. It can be shortened. Central control unit (CC)
1 can store the required initialization data (D I ) in the initialization data holding unit (CPR) 453, so that it is limited to the fixed data (D F ) in the embodiment shown in FIGS. 2 and 3. In comparison, the degree of freedom of the initialization data (D I ) increases.

【0051】なお、図2乃至図7はあく迄本発明の一実
施例に過ぎず、例えば固定データ(DF )および初期化
データ(DI )は例示される全ビット論理“0”に設定
されたものに限定されることは無く、他に幾多の変形が
考慮されるが、何れの場合にも本発明の効果は変わらな
い。また初期化データ保持部(CPR)453に蓄積さ
れる初期化データ(DI )は、中央制御装置(CC)1
から入力されるものに限定されることは無く、外部から
入力される等、他に幾多の変形が考慮されるが、何れの
場合にも本発明の効果は変わらない。また固定データ
(DF )または初期化データ(DI )の外部記憶部(F
MU)401への書込みアドレスはファイルアドレスレ
ジスタ(FAR)から供給するものに限定されることは
無く、リフレッシュ部(REF)441から供給する
等、他に幾多の変形が考慮されるが、何れの場合にも本
発明の効果は変わらない。また本発明の対象となる外部
記憶装置(200)の構成は図示されるものに限定され
ることは無く、他に幾多の変形が考慮されるが、何れの
場合にも本発明の効果は変わらない。更に本発明の対象
となる情報処理システムは、図示されるものに限定され
ぬことは言う迄も無い。
2 to 7 are merely examples of the present invention until now. For example, fixed data ( DF ) and initialization data (D I ) are set to the illustrated all-bit logic "0". The present invention is not limited to the above-mentioned ones, and various modifications may be considered, but in any case, the effect of the present invention does not change. Further, the initialization data (D I ) stored in the initialization data holding unit (CPR) 453 is the central control unit (CC) 1
However, the present invention is not limited to the above-mentioned input, and various modifications such as input from the outside can be considered, but the effect of the present invention does not change in any case. The external storage unit of the fixed data (D F) or initialization data (D I) (F
The write address to the MU) 401 is not limited to the one supplied from the file address register (FAR), and many other modifications such as the one supplied from the refresh unit (REF) 441 are considered. In this case, the effect of the present invention does not change. Further, the configuration of the external storage device (200) which is the subject of the present invention is not limited to that shown in the figure, and many other modifications can be considered, but in any case, the effect of the present invention is different. Absent. Further, it goes without saying that the information processing system to which the present invention is applied is not limited to the one shown in the figure.

【0052】[0052]

【発明の効果】以上、本発明によれば、前記情報処理シ
ステムにおいて、外部記憶装置は、主制御装置から初期
化を指示された場合に、予め初期化データ保持手段に設
定されている初期化データを記憶領域内に書込むのみで
初期化処理が完了する為、初期化データをバスを経由し
て外部から転送する必要が無くなり、外部記憶装置の初
期化に要する時間が大幅に削減される。
As described above, according to the present invention, in the information processing system, the external storage device is initialized in advance in the initialization data holding means when the initialization is instructed by the main controller. The initialization process is completed just by writing the data in the storage area, so there is no need to transfer the initialization data from outside via the bus, and the time required to initialize the external storage device is greatly reduced. ..

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

【図1】 本発明の原理を示す図FIG. 1 is a diagram showing the principle of the present invention.

【図2】 本発明(請求項2)の一実施例による外部記
憶装置を示す図
FIG. 2 is a diagram showing an external storage device according to an embodiment of the present invention (claim 2).

【図3】 図2における初期化過程の一例を示す図FIG. 3 is a diagram showing an example of an initialization process in FIG.

【図4】 本発明の一実施例による初期化指令を示す図FIG. 4 is a diagram showing an initialization command according to an embodiment of the present invention.

【図5】 本発明(請求項3)の一実施例による外部記
憶装置を示す図
FIG. 5 is a diagram showing an external storage device according to an embodiment of the present invention (claim 3).

【図6】 図5における初期化過程の一例を示す図FIG. 6 is a diagram showing an example of an initialization process in FIG.

【図7】 本発明の対象となる情報処理システムの一例
を示す図
FIG. 7 is a diagram showing an example of an information processing system to which the present invention is applied.

【図8】 従来ある外部記憶装置の一例を示す図FIG. 8 is a diagram showing an example of a conventional external storage device.

【図9】 従来ある初期化過程の一例を示す図FIG. 9 is a diagram showing an example of a conventional initialization process.

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

1 中央制御装置(CC) 2 主記憶装置(MM) 3 チャネル制御装置(CHC) 4、200 外部記憶装置(FM) 5 入出力バス 100 主制御装置 201 初期化データ保持手段 202 初期化手段 300 バス 401 外部記憶部(FMU) 402 バッファメモリ(BM) 403 誤り訂正部(ECC) 404、405、407、416、417、418、4
42、443、444ゲート 406 ダイレクトメモリアクセス制御部(DMC) 411 入出力装置アドレス保持部(IOA) 412 照合部(MCH) 413 プログラムモード制御部(PMC) 414、423 デコーダ(DCR) 415 レジスタ群(REG) 421 プロセッサ(MPU) 422 内部バス 424 読出専用メモリ(ROM) 425 書込読出メモリ(RAM) 426 割込制御部(IRC) 431 クロック発生部(CKG) 441 リフレッシュ部(REF) 451 固定データ記憶部(CPM) 452 セレクタ(SEL) 453 初期化データ保持部(CPR) 461、462 初期化部(CLR)
1 Central Control Unit (CC) 2 Main Storage Unit (MM) 3 Channel Control Unit (CHC) 4, 200 External Storage Unit (FM) 5 I / O Bus 100 Main Control Unit 201 Initialization Data Holding Unit 202 Initialization Unit 300 Bus 401 External Storage Unit (FMU) 402 Buffer Memory (BM) 403 Error Correction Unit (ECC) 404, 405, 407, 416, 417, 418, 4
42, 443, 444 gates 406 direct memory access control unit (DMC) 411 input / output device address holding unit (IOA) 412 collation unit (MCH) 413 program mode control unit (PMC) 414, 423 decoder (DCR) 415 register group ( REG) 421 Processor (MPU) 422 Internal bus 424 Read only memory (ROM) 425 Write / read memory (RAM) 426 Interrupt control unit (IRC) 431 Clock generation unit (CKG) 441 Refresh unit (REF) 451 Fixed data storage Unit (CPM) 452 Selector (SEL) 453 Initialization data holding unit (CPR) 461, 462 Initialization unit (CLR)

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 主制御装置(100)とバス(300)
を経由して接続され、システム立上げ時に記憶内容を初
期化する必要のある外部記憶装置(200)を具備する
情報処理システムにおいて、 前記外部記憶装置(200)に、前記初期化の際に書込
むべき初期化データを保持する初期化データ保持手段
(201)と、 前記主制御装置(100)から初期化開始指令を受信し
た場合に、前記初期化データ保持手段(201)に保持
される前記初期化データを、前記外部記憶装置(20
0)の全記憶領域に書込むことにより、前記記憶内容を
初期化する初期化手段(202)とを設けることを特徴
とする外部記憶装置初期化方式。
1. A main controller (100) and a bus (300).
In an information processing system including an external storage device (200), which is connected via a storage device and is required to initialize storage contents at system startup, the external storage device (200) is written at the time of the initialization. Initialization data holding means (201) for holding initialization data to be inserted; and the initialization data holding means (201) holding the initialization start command from the main controller (100). The initialization data is stored in the external storage device (20
0) An external storage device initialization method, comprising: an initialization means (202) for initializing the storage contents by writing in all storage areas.
【請求項2】 前記初期化データ保持手段(201)
は、予め定められた初期化データを固定的に保持するこ
とを特徴とする請求項1記載の外部記憶装置初期化方
式。
2. The initialization data holding means (201)
The external storage device initialization method according to claim 1, wherein the predetermined initialization data is fixedly held.
【請求項3】 前記初期化データ保持手段(201)
は、外部から設定された初期化データを保持することを
特徴とする請求項1記載の外部記憶装置初期化方式。
3. The initialization data holding means (201)
The external storage device initialization method according to claim 1, wherein the initialization data set from the outside is held.
JP4030275A 1992-02-18 1992-02-18 External storage device initializing system Withdrawn JPH05233100A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4030275A JPH05233100A (en) 1992-02-18 1992-02-18 External storage device initializing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4030275A JPH05233100A (en) 1992-02-18 1992-02-18 External storage device initializing system

Publications (1)

Publication Number Publication Date
JPH05233100A true JPH05233100A (en) 1993-09-10

Family

ID=12299163

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4030275A Withdrawn JPH05233100A (en) 1992-02-18 1992-02-18 External storage device initializing system

Country Status (1)

Country Link
JP (1) JPH05233100A (en)

Similar Documents

Publication Publication Date Title
US7427031B2 (en) Semiconductor memory device
JPS6138507B2 (en)
CA1178378A (en) High-speed external memory system
JPH11191297A (en) High speed rewritable memory device using nonvolatile memory and method of rewriting data in said memory device
JPH0476681A (en) Microcomputer
JPH05233100A (en) External storage device initializing system
JPH04277850A (en) Descriptor control system
JP4988982B2 (en) Microcomputer control method
JP2522412B2 (en) Communication method between programmable controller and input / output device
JPS63184147A (en) Method for initializing channel controller
JP2000306389A (en) Storage device using non-volatile semiconductor memory
JPS5925320B2 (en) Shared storage controller
JPH0240760A (en) Information processor
JPS6240736B2 (en)
US5694584A (en) Information processing system capable of quickly processing a parameter and a command necessary for drawing processing
JPH052529A (en) Method and circuit for accessing flash memory
JP3329155B2 (en) Information processing device
JPH07248927A (en) Input/output emulation circuit and data checking circuit
JPS60142450A (en) Storage system
JPH1083345A (en) Data update device for flash memory
JPS5938827A (en) Microprocessor ipl system
JP2001236241A (en) System for controlling memory duplex
JPH0415730A (en) Sequence controller
JPH06110824A (en) Bus bridge device
JPS63155346A (en) Ram check system

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 19990518