JPH0322017A - Initialize program verifying system - Google Patents

Initialize program verifying system

Info

Publication number
JPH0322017A
JPH0322017A JP15557889A JP15557889A JPH0322017A JP H0322017 A JPH0322017 A JP H0322017A JP 15557889 A JP15557889 A JP 15557889A JP 15557889 A JP15557889 A JP 15557889A JP H0322017 A JPH0322017 A JP H0322017A
Authority
JP
Japan
Prior art keywords
data
operation mode
initialize
initialization
program
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
JP15557889A
Other languages
Japanese (ja)
Inventor
Yoshiharu Watanabe
渡辺 義春
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP15557889A priority Critical patent/JPH0322017A/en
Publication of JPH0322017A publication Critical patent/JPH0322017A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To execute initialize operation and initialize program verifying opera tion by the same program by providing operation mode switching means to switch an initialize operation mode and an initialize program verifying operation mode. CONSTITUTION:Operation mode switching means 21 and 22 are provided to switch the initialize operation mode and initialize program verifying operation mode and the initialize operation and initialize program verifying operation is executed by the operation mode switching means 21 and 22. Namely, the operation mode switching means 21 and 22 can arbitrarily set any mode for the initialize operation or initialize program verifying operation. Thus, without using a host computer, the program can be executed as well by a conventional equipment.

Description

【発明の詳細な説明】 [産業上の利用分野] この発明は.磁気ディスクの磁気面をオペレーティング
システムで使用可能にする磁気記録面をフォーマット化
するためのイニシャライズプログラム検証方式に関する
ものである. [従来の技術] 第3図は,従来のイニシャライズシステムの槽或を示す
ブロック図である.図において,(1)は一般的なパソ
コンを使用し,オペレータがプログラムを動作させるた
めの診断支援装置,(2)は.診断支援装置(1)がI
MPLまたはプログラムロード時に使用するフロッピー
ディスク(FDD)装!.(3)はマイコンを搭載して
,マイクロプログラムによりチャネルとのデータの授受
および磁気ディスク装置にデータのリード/ライトを行
う磁気ディスク制御装置.(4)は2320制御部,(
5)は電源投入時にIMPLするためのプログラムが格
納されているROMメモリ,(6)は磁気ディスク制御
装置(3〉のIMPL時にプログラムまたはデータを制
御メモリへ転送するためのブロッピーディスク(FDD
)装置.(7)はマイコン(CPU),(8)はメイン
メモリである制御メモリ.(9)はチャネルや後述する
磁気ディスク装置(10)を制御するチャネルディスク
制御部,(11)は磁気ディスク制御部,(12)は磁
気ディスクである。なお,磁気ディスク装置は磁気ディ
スク制御部(11)および磁気ディスク(12)とから
構戒されている.第4図はイニシャライズプログラムの
m能を示すブロック図である.図において,(8a)は
後述するIFC部(15)で変換したデータを保持する
バッファ( I FWB=I BM − FORMAT
・WRITE−DATA−BUFFER).(8B>は
後述するIFR部(17)で読み出したデータを格納す
るバッファ(I FRB= I BM−FORMAT・
READ−DATA−BUFFER),(12a)およ
び(12b)はそれぞれ磁気ディスク(12)のトラッ
クのキズ情報が記録されている一般的なESDI媒体欠
陥情報トラック(DLL),(DL2),(12c)は
ユーザが使用可能なトラック内の一つのユーザトラック
(UT),(1 3)はESDI媒体欠陥情報トラック
(1 2 a), (1 2 b)の情報をリードする
EFR(ESD I − FORMAT−READ)部
,(14)はEFR部(13)でリードしたデタの正統
性をチェックするEFC (ESD I・FORMAT
.CHECK)部,IFC(IBM−FORMAT −
 CONVERTER)部(15)はESDIの媒体欠
陥情報をIBM3350フォーマットに変換する。(1
6)はバッファ(I FWB)(8a)のデータを磁気
ディスク(12)へ書き込むためのI FW(I BM
 .FORMAT − WRITE)部である,I F
R(I BM−FORMAT−READ)部(17)は
磁気ディスク(12)へ書き込んだデタを読み返す。(
18〉はIFWB(8a)のデータとIFRB(8b)
の全データを比較する比較器(DC I ),(1 9
)はプログラムの終了を示すEND部である. 第5図は従来のプログラムフローチャートを示す図であ
る. 従来のイニシャライズシステムは上記のように構成され
,オペレータが診断支援装置(1)を操作してイニシャ
ライズプログラムを動作させると,磁気ディスク装置(
10)の磁気ディスク(12)の媒体欠陥情報トラック
(1 2 a>, (1 2 b)よりEFR部(13
)がキズ情報をリードする。キズ情報はEFC部(14
〉でその正統性をチェックした後に,IFC部(15)
でIBMフォーマットに変換し,そのデータをIFWB
(8a)にロードする。次に,磁気ディスク装置(12
)の磁気ディスク(12)の任意のトラックをシークし
て位置決めしたUT(12c)にIFWB(8a)のデ
ータをIFW部(16)を通してライトする.ライトが
完了すると次にIFR部(17〉を通してデータをリー
ドしてIFRB(8b)にデータをロードする.次に,
IFWB(8a)のデータとIFRB(8b)のデータ
とを比較器(DCI)(18)で比較して,不一致がな
ければ1つのトラックのイニシャライズ動作を完了して
END部(19)に出力する。
[Detailed Description of the Invention] [Industrial Application Field] This invention... This paper relates to an initialization program verification method for formatting the magnetic recording surface of a magnetic disk so that it can be used by an operating system. [Prior Art] Figure 3 is a block diagram showing a tank of a conventional initialization system. In the figure, (1) is a diagnostic support device that allows an operator to run a program using a general personal computer, and (2) is a diagnostic support device that allows an operator to run a program. Diagnosis support device (1) is I
Floppy disk (FDD) used when loading MPL or programs! .. (3) is a magnetic disk control device equipped with a microcontroller that sends and receives data to and from a channel and reads and writes data to a magnetic disk device using a microprogram. (4) is the 2320 control unit, (
5) is a ROM memory that stores a program for IMPL when the power is turned on, and (6) is a magnetic disk controller (a floppy disk (FDD) for transferring programs or data to the control memory during IMPL in 3).
)Device. (7) is a microcomputer (CPU), and (8) is a control memory which is the main memory. (9) is a channel disk control unit that controls the channel and a magnetic disk device (10) to be described later, (11) is a magnetic disk control unit, and (12) is a magnetic disk. Note that the magnetic disk device is controlled by a magnetic disk control unit (11) and a magnetic disk (12). Figure 4 is a block diagram showing the functions of the initialization program. In the figure, (8a) is a buffer (IFWB=IBM-FORMAT) that holds data converted by the IFC unit (15), which will be described later.
・WRITE-DATA-BUFFER). (8B> is a buffer (IFRB=IBM-FORMAT・
READ-DATA-BUFFER), (12a) and (12b) are general ESDI medium defect information tracks (DLL), (DL2), (12c) in which track scratch information of the magnetic disk (12) is recorded, respectively. is one user track (UT) among the tracks available for the user, (13) is an EFR (ESDI-FORMAT- The EFC (ESD I/FORMAT) section (14) checks the legitimacy of the data read by the EFR section (13).
.. CHECK) Department, IFC (IBM-FORMAT -
The CONVERTER unit (15) converts the ESDI medium defect information into the IBM3350 format. (1
6) is an IFW (IBM) for writing data in the buffer (IFWB) (8a) to the magnetic disk (12).
.. FORMAT - WRITE) section, IF
The R (IBM-FORMAT-READ) unit (17) reads back the data written to the magnetic disk (12). (
18> is the data of IFWB (8a) and IFRB (8b)
A comparator (DC I ), (1 9
) is the END part indicating the end of the program. Figure 5 is a diagram showing a conventional program flowchart. The conventional initialization system is configured as described above, and when the operator operates the diagnostic support device (1) to run the initialization program, the magnetic disk device (
10) from the medium defect information track (1 2 a>, (1 2 b)) of the magnetic disk (12).
) leads the flaw information. For scratch information, please contact the EFC Department (14
> After checking its legitimacy, the IFC Department (15)
Convert the data to IBM format with IFWB
(8a). Next, the magnetic disk device (12
) The data of IFWB (8a) is written to the positioned UT (12c) by seeking an arbitrary track of the magnetic disk (12) through the IFW unit (16). When the write is completed, the data is read through the IFR section (17>) and loaded into the IFRB (8b).Next,
The data of IFWB (8a) and the data of IFRB (8b) are compared by the comparator (DCI) (18), and if there is no mismatch, the initialization operation of one track is completed and output to the END section (19). .

次に.第5図のフローチャートについて説明する.プロ
グラムを開始(S1)すると,EFR部(13〉で媒体
欠陥情報トラック(1 2 a).(1 2 b)をリ
ードする(S2).次に,EFC部(14)で情報の正
統性をチェックし(S3),正常でないなら異常処理(
S4)へ,正常であれば,IFC部(15)でIBM3
350フォーマットに変換する(S5)。
next. The flowchart in Figure 5 will be explained. When the program is started (S1), the EFR section (13) reads the medium defect information tracks (1 2 a). (1 2 b) (S2).Next, the EFC section (14) checks the authenticity of the information. Check (S3), and if it is not normal, process the error (
If it is normal, the IFC section (15) will send IBM3 to S4).
350 format (S5).

同時に制御メモリ(8)のIFWB(8a)へデータを
ロードする(S6).次に,IFW部(16)で,前記
IFWB(8a)のデータをUT(12C)ヘライトす
る(S 7 ).次にライトしたデータをIFR部(1
7)でリードする(S8)。リードしたデータはIFR
B(8b)ヘロードする(S9)。f&後に比較器(D
CI)(18)にて,IFWB(8a)のデタとIFR
B(8b)のデータを比較して(SIO),不一致なら
異常処理(S4〉へ.一致なら終了(Sl1〉へ進む. [発明が解決しようとする課題] 上記のような従来のイニシャライズプログラム検証方式
では,イニシャライズした後に記録された情報が正しい
か,ホスト計算機へ接続して別途用意された診断プログ
ラムにより検証しなければならないという問題点があっ
た。また,さらにホスト計算機が生産現場に必要になり
費用の増大があるなどの問題点があった。
At the same time, data is loaded into the IFWB (8a) of the control memory (8) (S6). Next, the IFW unit (16) writes the data of the IFWB (8a) to the UT (12C) (S7). Next, write the written data to the IFR section (1
7) to lead (S8). Read data is IFR
Load B (8b) (S9). f & then comparator (D
CI) (18), IFWB (8a) data and IFR
Compare the data of B (8b) (SIO), and if they do not match, proceed to abnormal processing (S4>. If they match, proceed to end (S11>). [Problem to be solved by the invention] Conventional initialization program verification as described above With this method, there was a problem in that the information recorded after initialization had to be connected to a host computer and verified using a separately prepared diagnostic program.Additionally, a host computer was required at the production site. There were problems such as increased costs.

この発明は,かかる問題点を解決するためになされたも
ので,ホスト計算機を使用しないでかつ従来の設備でプ
ログラムの検証まで行うイニシャライズプログラム検証
方式を得ることを目的とする. [課題を解決するための手段] この発明に係るイニシャライズプログラム検証方式は,
磁気ディスク装置のイニシャライズシステムにおいて,
イニシャライズ動作モードとイニシャライズプログラム
検証動作モードとを切換えるための動作モード切換手段
とを設け,前記動作モード切換手段によりイニシャライ
ズ動作とイニシャライズプログラム検証動作を行うよう
にしたものである。
This invention was made to solve these problems, and the purpose is to provide an initialization program verification method that does not use a host computer and performs program verification using conventional equipment. [Means for solving the problem] The initialization program verification method according to the present invention has the following features:
In the initialization system of a magnetic disk device,
An operation mode switching means for switching between an initialization operation mode and an initialization program verification operation mode is provided, and the operation mode switching means performs the initialization operation and the initialization program verification operation.

[作用] この発明においては,動作モード切換スイッチは.イニ
シャライズ動作またはイニシャライズプログラム検証動
作のどちらのモードでも任意に設定可能である. [実施例] 第1図はこの発明の一実施例によるイニシャライズシス
テムの構戒を示すプロ・ソク図である.図において. 
(8 a>. (8 b), (1 2)〜(1 9)
は従来のものと同様である.(8c)はプログラム検証
時に使用するテストソースデータを格納するTEST 
− DATA − BUFFER(TSDB)で,磁気
ディスク装置(10〉の磁気ディスク(12)の媒体欠
陥情報トラック(D L L )(1 2 a>,(D
 L 2)(12b)の情報と同一のフォーマットでキ
ズ情報を任意に設定したデータを格納する。(8d〉は
TEST−DATA.BtJFFER(TEDB)で,
プログラム検証用のIBMフォーマット期待データでT
SDB(8C)のデータが正し<IBMフォーマットに
変換されたと同じデータを格納する.(20)はデータ
の正統性をチェックする第2の比較器(DC2).(2
 1)および(22)は第1および第2の動作モード切
換スイッチで,イニシャライズ動作モードとイニシャラ
イズプログラム検証動作モードを切換え,通常連動して
動作する.第2図はこの発明の動作フローチャートを示
す図である。
[Function] In this invention, the operation mode selection switch is as follows. It is possible to set any mode for either initialization operation or initialization program verification operation. [Embodiment] Fig. 1 is a process diagram showing the structure of an initialization system according to an embodiment of the present invention. In the figure.
(8 a>. (8 b), (1 2) to (1 9)
is the same as the conventional one. (8c) is TEST which stores test source data used during program verification.
- DATA - BUFFER (TSDB), the medium defect information track (DL L) (1 2 a>, (D
L2) Store data in which flaw information is arbitrarily set in the same format as the information in (12b). (8d> is TEST-DATA.BtJFFER(TEDB),
T with IBM format expected data for program verification
The data in SDB (8C) is correct and stores the same data that has been converted to IBM format. (20) is the second comparator (DC2) that checks the legitimacy of the data. (2
1) and (22) are the first and second operation mode changeover switches, which switch between the initialization operation mode and the initialization program verification operation mode, and normally operate in conjunction with each other. FIG. 2 is a diagram showing an operation flowchart of the present invention.

上記のように横或されたイニシャライズプログラム検証
方式において,第1および第2の動作モード切換スイッ
チ(21),(22)をイニシャライズ側,すなわち接
点(21a)と接点(21c)および接点(22a)と
接点(2 2 c )が接続された状態では従来通り動
作する.一方,プログラム検証モード側,すなわち接点
(21a)と接点(21b)および接点(22a)と接
点(22b)が接続された状態では.プログラムが動作
を開始すると,TSDB(8c)をリードする.リード
されたデータは第1の動作モード切換スイッチ(2l〉
の接点(2lb)と接点(21c)を通りEPC部(1
4)へ入りTSDB(8c)のデータチェックがなされ
る.次に,IFC部(l5〉でIBMフォーマットに変
換されて,IFWB(8a)にロードされる.次に,I
FWB(8a)のデータをIFW部(16)により磁気
ディスク(12)の目的トラックをシークした後にUT
(12C)にデータをライトする.次に,UT(12c
)よりIFR部(17)によりデータがリードされる.
次に,第1の比較器(DCI)(18)でIFWB(8
a)のデータとIFRB(8b)のデタを比較する.次
に.第2の比較器(D C 2 >(20)でTEDB
(8d)のプログラム検証用期待データとIFRB(8
b)のリードデータを比較する.一致するとEND部(
19〉に出力し,終了する。
In the horizontal initialization program verification method as described above, the first and second operation mode changeover switches (21) and (22) are set to the initialization side, that is, the contact (21a), the contact (21c), and the contact (22a). When the contact (2 2 c) is connected, it operates as before. On the other hand, in the program verification mode side, that is, in a state where the contacts (21a) and (21b) and the contacts (22a) and (22b) are connected. When the program starts running, it reads TSDB (8c). The read data is transferred to the first operation mode selector switch (2l).
The EPC part (1
4) and the data of TSDB (8c) is checked. Next, it is converted into IBM format by the IFC section (l5>) and loaded into the IFWB (8a).
After the data in the FWB (8a) is sought by the IFW unit (16) to the target track on the magnetic disk (12), the data is sent to the UT.
Write data to (12C). Next, UT (12c
), the data is read by the IFR section (17).
Next, the first comparator (DCI) (18)
Compare the data in a) and the data in IFRB (8b). next. TEDB in the second comparator (D C 2 > (20)
Expected data for program verification in (8d) and IFRB (8
Compare the lead data in b). If they match, the END part (
19> and exit.

次に,第2図のフローチャートについて説明する.プロ
グラムを開始(S1)すると,制御メモリ(8A)のT
SDR(8C)から検証用媒体欠陥情報をリードする(
313)。次に,EFC部(14)にて情報の正統性を
チェックする(S3).以後.従来と同じシーケンスを
実行する.最後の第1の比較器(DCI)(19)でI
FWB(8a)のデータとIFRB(8b)のデータを
比較する(SIO)が一致すると,次に,TEDB(8
d)のデータとIFRB(8b)のデータとを比較して
,不一致ならば異常処理(S4)へ正常なら終了(Sl
l)へ進む.なお.上記実施例では磁気ディスク制御装
置について説明したが.他のI/O制御装置でも同様な
効果を奏する. また.上記実施例の動作モード切換スイッチをプログラ
ムスイッチとしても同様な効果を奏する. [発明の効果] この発明は以上説明したとおり,イニシャライズ動作モ
ードとイニシャライズプログラム検証動作モードを切換
えるための動作モード切換手段を設けたので,イニシャ
ライズ動作とイニシャライズプログラム検証動作を同一
のプログラムで可能としたので,プログラム検証設備を
新たに設ける必要もなく,また磁気ディスク装置も必要
なく,プログラムの改修など発生した場合に容易にプロ
グラム検証できるなどの効果がある.
Next, the flowchart in Figure 2 will be explained. When the program starts (S1), T of the control memory (8A)
Read verification medium defect information from SDR (8C) (
313). Next, the EFC unit (14) checks the authenticity of the information (S3). From then on. Execute the same sequence as before. I at the last first comparator (DCI) (19)
Compare the data of FWB (8a) and the data of IFRB (8b). If (SIO) matches, then compare the data of TEDB (8b).
Compare the data in d) and the data in IFRB (8b), and if they do not match, proceed to abnormality processing (S4). If normal, terminate (Sl
Proceed to l). In addition. In the above embodiment, a magnetic disk control device was explained. Similar effects can be achieved with other I/O control devices. Also. A similar effect can be obtained by using the operation mode selector switch of the above embodiment as a program switch. [Effects of the Invention] As explained above, this invention is provided with an operation mode switching means for switching between the initialization operation mode and the initialization program verification operation mode, so that the initialization operation and the initialization program verification operation can be performed using the same program. Therefore, there is no need to install new program verification equipment or a magnetic disk drive, and the program can be easily verified in the event of program modification.

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

第1図はこの発明のの一実施例によるイニシャライズシ
ステムの構戒ブロック図,第2図はこの発明の動作フロ
ーチャート図,第3図は従来のイニシャライズシステム
の概略図,第4図は従来のイニシャライズプログラムの
機能図,第5図は従来の動作フローチャート図である. 図において,(12)・・・磁気ディスク,(8A)・
・・制御メモリ,(21)・・・第1の動作モードスイ
ッチ,(22)・・・第2の動作モードスイッチである
. なお,各図中同一符号は同一又は相当部分を示す. 昂2図 昂5図
Fig. 1 is a configuration block diagram of an initialization system according to an embodiment of the present invention, Fig. 2 is an operational flowchart of the invention, Fig. 3 is a schematic diagram of a conventional initialization system, and Fig. 4 is a conventional initialization system. The functional diagram of the program, Figure 5, is a conventional operation flowchart. In the figure, (12)...magnetic disk, (8A)...
...Control memory, (21)...First operation mode switch, (22)...Second operation mode switch. Note that the same symbols in each figure indicate the same or equivalent parts. Figure 2, Figure 5

Claims (1)

【特許請求の範囲】[Claims] 磁気ディスク装置のイニシャライズシステムにおいて、
イニシャライズモードとイニシャライズプログラム検証
モードを切換えるための動作モード切換手段とを設け、
前記動作モード切換手段によりイニシャライズ動作およ
びプログラム検証動作を行うようにしたことを特徴とす
るイニシャライズプログラム検証方式。
In the initialization system of a magnetic disk device,
An operation mode switching means for switching between an initialization mode and an initialization program verification mode is provided,
An initialization program verification method, characterized in that the operation mode switching means performs an initialization operation and a program verification operation.
JP15557889A 1989-06-20 1989-06-20 Initialize program verifying system Pending JPH0322017A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15557889A JPH0322017A (en) 1989-06-20 1989-06-20 Initialize program verifying system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15557889A JPH0322017A (en) 1989-06-20 1989-06-20 Initialize program verifying system

Publications (1)

Publication Number Publication Date
JPH0322017A true JPH0322017A (en) 1991-01-30

Family

ID=15609111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15557889A Pending JPH0322017A (en) 1989-06-20 1989-06-20 Initialize program verifying system

Country Status (1)

Country Link
JP (1) JPH0322017A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7414358B2 (en) 2001-11-14 2008-08-19 Matsushita Electric Industrial Co., Ltd. Fluorescent lamp and manufacturing method for arc tube

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7414358B2 (en) 2001-11-14 2008-08-19 Matsushita Electric Industrial Co., Ltd. Fluorescent lamp and manufacturing method for arc tube

Similar Documents

Publication Publication Date Title
JPH05303539A (en) Disk controller
KR100243223B1 (en) Error correcting method when optical disc play
US20090257142A1 (en) Head assembly in a depopulated configuration
JPS58182775A (en) Self-diagnosing system of magnetic disk
JPS58169272A (en) Readout control system of magnetic storage device
JP2752911B2 (en) How to check port connection
JPS5834003B2 (en) How to check signal integrity
JPS6117274A (en) Optical disk control device
JPH0354703A (en) Self diagnostic system for data recording and reproducing device
JPH01281520A (en) External storage device
JPH02294828A (en) Method for diagnosis in initial program loading
JPS6156525B2 (en)
JPH02162581A (en) Magnetic disk controller
JP2001022532A (en) Device and method for recording
JPH01227275A (en) Magnetic disk controller
JPH03108163A (en) Optical disk processor
JPH01233540A (en) Input/output control system
JPH07191871A (en) System diagnostic method
JPS6188326A (en) Check method of disk controller
JPS59173846A (en) Program correcting system
JPS6124088A (en) Magnetic bubble memory test equipment
JPS60235261A (en) Verifying system of restored information in information processing device
JPS6286425A (en) Magnetic disc control device
JPS6126085B2 (en)
JPH09305433A (en) Microprogram verification device