JPS603050A - Initial program loading system - Google Patents

Initial program loading system

Info

Publication number
JPS603050A
JPS603050A JP58110353A JP11035383A JPS603050A JP S603050 A JPS603050 A JP S603050A JP 58110353 A JP58110353 A JP 58110353A JP 11035383 A JP11035383 A JP 11035383A JP S603050 A JPS603050 A JP S603050A
Authority
JP
Japan
Prior art keywords
storage device
external storage
ipl
program
floppy disk
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
JP58110353A
Other languages
Japanese (ja)
Inventor
Hirokimi Shimizu
清水 裕公
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP58110353A priority Critical patent/JPS603050A/en
Publication of JPS603050A publication Critical patent/JPS603050A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/177Initialisation or configuration control

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)

Abstract

PURPOSE:To read automatically control programs out of various external storage devices being object of IPL (initial program loading) by reading the kind of external storage device being object of IPL, and selecting properly a method of access to the external storage device. CONSTITUTION:A CPU1 and a floppy disk device 2 are connected through an address bus 3 and a data bus 4. The interface of the floppy disk device 2 consists of an address decoder 5 which decodes a device address outputted to an address bus 3 and an equipment kind encoder 7 which is activated by the output of the decoder 5 and outputs the equipment kind code characteristic to the floppy disk device 2. Then, the CPU1 detects the equipment kind of the floppy disk device 2 on the basis of the equipment kind code to perform proper IPL.

Description

【発明の詳細な説明】 技術分野 本発明はマイクロコンピュータシステムにおける初期プ
ログラムロード(以下IPLと称す)方式に関するもの
である。
DETAILED DESCRIPTION OF THE INVENTION Technical Field The present invention relates to an initial program load (hereinafter referred to as IPL) method in a microcomputer system.

従来技術 一鍜、にマイクロコンピュータシステムではos等の制
御プログラムを外ri++記俯装置に格納しておき、電
源投入面には、IPLを実行するプログラムで制御プロ
グラムを主記憶装置内に読み込んでシステムを動作させ
ている。制御Ilプロクラムを格納しておく外γj3記
・億装置として代表的なものにフロッピーディスク装置
がある。フロッピーディスク装置には記録媒体ディスク
の直径が8インチのものから、5インチ、3インチと小
型の物まである。さらに大容量化のためにトラック密度
を高くしたものも提供されている。従ってマイクロコン
ピュータシステムに接続できる外部記憶装置はその使用
者の目的や予3′lに合わせて各、Tlfiのものが用
意され、使用者もこれによって各種の柔軟なシステム構
成が組めるようになって来た。その結果IPLの対象と
なる外部記憶装置として′も種々のものが接続されるこ
とが起こり、夫々に記録方式等か異なるものもあるから
従来の画一的なIPL力式では対応しきれなくなって来
た。
In the conventional technology, in a microcomputer system, a control program such as an OS is stored in an external RI++ storage device, and when the power is turned on, a program that executes IPL loads the control program into the main memory to start the system. is operating. A floppy disk device is a typical example of a storage device that stores the control program. Floppy disk devices have recording medium disks with a diameter of 8 inches, 5 inches, and even as small as 3 inches. In order to further increase capacity, devices with higher track density are also available. Therefore, Tlfi external storage devices that can be connected to microcomputer systems are prepared according to the user's purpose and preferences, allowing users to create various flexible system configurations. It's here. As a result, various types of external storage devices are connected to IPL, and each one has a different recording method, so the conventional uniform IPL power method cannot handle it. It's here.

すなわち、従来のIPL方式ではシステム構成が定まれ
t、f’ I P Lの対象となる外部記憶装置もそれ
によって4’+定されたが、種々の外I)1(記憶装置
との組合せを用い得る今日、使用者の目的、予算に合せ
たシステム構成に柔軟に対処できる事が必要である。
In other words, in the conventional IPL method, the system configuration was determined and the external storage device to be subjected to IPL was also determined accordingly, but various Nowadays, it is necessary to be able to flexibly adapt the system configuration to suit the user's purpose and budget.

目的 本発明の目的lオ、IPLを実行するプログラムが種々
の外g1)記憶装置をIPLの対象とする専によって多
様化するコンピュータシステム構成に柔軟に対処する小
にある。
OBJECTS OF THE INVENTION One object of the present invention is to provide a program for executing IPL that can flexibly cope with computer system configurations that are diversifying depending on the type of program that executes IPL.

本発明の他の1]的は、IPLを実行するプロクラムが
I P Lの対象となる外部記憶装置の機種別を検知す
る二′j9によってその装置への基体的なアクセス方法
を選択し、制御プログラムの格納されている外部記憶装
置面に適したIPL動作を行い、制御311プログラム
を読み込むという柔軟な初期プロクラムロード方式を1
.ソ供する所にある。
Another object of the present invention is that the program that executes IPL detects the type of external storage device that is the target of IPL, and selects and controls the basic access method to that device using j9. A flexible initial program loading method that performs an IPL operation suitable for the external storage device in which the program is stored and reads the control 311 program.
.. It's in a place where you can serve food.

本発明の他の1]的は、IPLを実行するプロクラムが
IPL対象外部記ta装置の装置アドレスを固定しない
で異なる装置6アトレスの接続機器からも節IJjにI
PL動作を行えるようにする初期プログラムロード方式
を提供することにある。
Another object of the present invention is that the program that executes IPL does not fix the device address of the external storage device targeted for IPL, and also writes IPL to node IJj from a connected device of a different device 6 address.
An object of the present invention is to provide an initial program loading method that enables PL operations.

実施例 次に図面を参照しながら本発明についての一実施例を詳
細に説明する。第1図はCPU木休が体部記憶装置の機
種別を検知して適切なIPLを実行する一実施例の構成
を示すブロック図で、】はCPU、2はフロッピーディ
スク装置、3はアドレスバス、4はデータバスである。
Embodiment Next, an embodiment of the present invention will be described in detail with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an embodiment in which the CPU Kokyu detects the type of body storage device and executes an appropriate IPL, where ] is the CPU, 2 is a floppy disk device, and 3 is an address bus. , 4 is a data bus.

さらにフロッピーディスク装置fji 2のインタフェ
ースと1〜で図示したm成は、アドレスバス3に出力さ
れる装置アドレスをデコードするアドレスデコータ5と
、該テコーダ5の出力信号6によって4=f Q’Aさ
れ、フロッピーディスク装R2の固有の機種コートを出
力する機種エンコーダ7である。第2図は機種エンコー
ダ7の一例を示す回路図である。ここでは8ビツトのデ
ィップスイッチを使い256種類の機種コードを発生で
きるようにした。
Furthermore, the interface of the floppy disk device fji 2 and the m configurations indicated by 1 to 1 are connected to an address decoder 5 which decodes the device address outputted to the address bus 3, and an output signal 6 of the decoder 5, so that 4=f Q'A This is a model encoder 7 which outputs a unique model code of the floppy disk drive R2. FIG. 2 is a circuit diagram showing an example of the model encoder 7. Here, 8-bit dip switches are used to generate 256 different model codes.

ディップスイッチは夫々i+15独に開閉可能な接点S
l〜S8を持ちその一方は共通にアースされている。接
点のもう一方は個々にプルアップ抵抗Rでバイアスされ
、オープンコレクタタイプのORケ−1・G1〜G8の
入力端子に接続されている。
Each dip switch has contacts S that can be opened and closed in i+15 positions.
1 to S8, one of which is commonly grounded. The other contacts are individually biased with pull-up resistors R and connected to the input terminals of open collector type OR cables G1 to G8.

ORゲートG 1〜G8のもう一方の入力端子がアドレ
スデコーダ5の出力信号6 (LOWレベル)によって
伺勢されるとき、ディップスイッチの接点Snが閉成さ
れているORケートGnはLOWレベルの出力をデータ
バス4nに出力する。デ゛イツツプスイッチに設定する
機種コードはフロッピーディスク装置2を代表するコー
ドでもよい。
When the other input terminal of the OR gates G1 to G8 is activated by the output signal 6 (LOW level) of the address decoder 5, the OR gate Gn whose dip switch contact Sn is closed outputs a LOW level. is output to the data bus 4n. The model code set on the dip switch may be a code representative of the floppy disk device 2.

必ずしも機種別を代表するものとは限らない。ここで機
種別の一例を言えば8インチ、5インチ、3インチのフ
ロッピーディスク装置等の他にカセット装置がここで言
う制御プログラムを格納する外部記憶装置になる場合も
ある。これら+s 、+)pコードは後述するIPLを
実行するプロクラム(以下IPLプログラムと呼ぶ)に
よって識別される。
It is not necessarily representative of each model. Here, to give an example by model, in addition to 8-inch, 5-inch, and 3-inch floppy disk devices, a cassette device may also serve as an external storage device for storing the control program referred to herein. These +s, +)p codes are identified by a program (hereinafter referred to as an IPL program) that executes IPL, which will be described later.

勿論ディップスイッチの数は必要に応してi織らす小も
可能である。またはティップスイッチを用いないで、ハ
ードウェア的に固有の価を設定しておく・バも可能であ
る。
Of course, the number of dip switches can be reduced as needed. Alternatively, it is also possible to set a unique value using hardware without using a tip switch.

第3図は実施例のIPLプロクラムの処理を示すフロー
チャー1・である。図において、ステップ1ではCPU
本体Iがフロッピーティスフ装″f42の装置アドレス
をアクセスして機種エンコーグ7の内容を読み込む。こ
の内容は第2図に示すディップスイッチ各接点のON、
OFFで定めることができる。ディップスイッチは、I
PLプログラムが識別する機種別に応じたコードを発生
するようにあらかじめセットしておく。ステップ2ては
、当該フロッピーディスク装置2の機種に対応したパラ
メータを一コントローラ(図示せず)等にセットし、次
にステップ3で制御プログラムを主記憶装置苦肉に読み
込む。次に、ステップ4てはその読み込んだ制御プロク
ラムに制御fllを渡してIPLを終える。
FIG. 3 is a flowchart 1 showing the processing of the IPL program of the embodiment. In the figure, in step 1, the CPU
The main unit I accesses the device address of the floppy disk drive "f42" and reads the contents of the model encoder 7. This contents is determined by turning on each contact of the dip switch shown in Fig. 2,
It can be set to OFF. The dip switch is I
It is set in advance to generate a code according to the model identified by the PL program. In step 2, parameters corresponding to the model of the floppy disk device 2 are set in a controller (not shown), and then in step 3, the control program is loaded into the main memory. Next, in step 4, control full is passed to the read control program and the IPL is completed.

以」二の如く、IPLプログラムはIPL対象の外1°
イ1;記憶装置の機種別を読み出す事によってIFLプ
ログラムが外?!1(記憶装置へのアクセス方法を適当
に選択し、種々のIPL対象外部記憶装置から制御プロ
グラムの自動的な読み込みが可能になる。
As mentioned in 2, the IPL program is not covered by IPL.
A1: Is the IFL program removed by reading out the storage device model? ! 1 (It becomes possible to automatically read control programs from various IPL target external storage devices by appropriately selecting a storage device access method.

■Z述した実施例ではIPLプログラムがIPL対象外
部記憶装置の装置アドレスを知っている(固定されてい
る)場合について述べた。以下にIPLプログラムがこ
の装置アドレスを固定しない場合の一実施例を述べる。
(2) In the embodiment described above, the case has been described in which the IPL program knows (fixes) the device address of the external storage device to be IPLed. An example in which the IPL program does not fix this device address will be described below.

前述した如<IPL対象となる外部記憶装置には各種の
ものがあるが、その例としてフロッピーディスク装置の
他にカセット装置7iを1.げた。今、仮にシステム本
来のIPL対象外部記憶装置であるフロッピーディスク
装置が故障したとすると、IPLプログラムか対象とす
る装置ア1ミレスか1μ、1足されているノル1合は、
もはやフロッピーディスク装置の修復を待たなければI
 P Lを実行できない。しかるにカセット装置もシス
テムの構成装置であるならカセットに格納されている制
御プログラムに対してIPLを実行てきると都合か良い
As mentioned above, there are various types of external storage devices that can be subjected to IPL, and examples include the cassette device 7i in addition to the floppy disk device. Got it. Now, if the floppy disk device that is the system's original IPL target external storage device breaks down, the IPL program or the target device is 1μ, plus 1, which is 1.
Now I have to wait for the floppy disk device to be repaired.
PL cannot be executed. However, if the cassette device is also a component device of the system, it may be convenient to execute IPL on the control program stored in the cassette.

本発明によれば、前記ディップスイッチの接点の1つに
特別なだ、味を持たせることかできる。例λば接点S8
が閉成されているときに、肖該外部記憶装置υをIPL
プロゲラ1、の対象とすることてあるa第4図はこの場
合のIPLプログラムの制御を示すフローチャー1・で
ある。ステップ1てはシステ1、構成装置のエンコータ
を読み込む。まず最初は本来のIPL対象外部記憶記憶
であるフロッピーディスク装置に対して行うが、事前の
読み込み失(枚によって故障かあることが分かり当該装
置呂のディップスイッチ接点SI]は開放されている。
According to the present invention, one of the contacts of the dip switch can be given a special flavor. Example λ is contact S8
IPL the external storage device υ when the external storage device υ is closed.
FIG. 4 is a flowchart 1 showing the control of the IPL program in this case. Step 1 is to read the encoders of the system 1 and the component devices. First, the IPL is performed on the floppy disk device, which is the external storage device to be subjected to IPL, but the read failure (Dip switch contact SI of the device, which was found to be malfunctioning depending on the disk) is opened.

ステップ2てtまIPIJf象装置貿か否かの判別を狛
う。この場合、判別は満足されないからステップ6に進
み、装置アドレスを変更する。カセット装置かIPL/
<ツクアップ装置としても用いられるなら、装置アIS
レスはカセット装置を指すように変更される。フローは
ステップ1に戻ってカセツ]・装置のエンコーダを読み
込む。予めカセット装置のディップスイッチ接点S H
は閉成されているからステップ2の判別を満足する。続
くステップ3では当該カセット装:ilに従ったアクセ
スパラノークをコントローラ等にセットLてステップ4
1こ進み、制御プログラムを読み込む。ステップ5ては
読み込んだ制御プログラムに制御Iμを渡]〜てIPL
を終了する。
Step 2 continues to determine whether or not the IPIJf-related device is being traded. In this case, since the determination is not satisfied, the process proceeds to step 6 and the device address is changed. Cassette device or IPL/
<If it is also used as a pick-up device, the device IS
The address is changed to point to the cassette device. The flow returns to step 1 and reads the encoder of the device. In advance, set the dip switch contact S H of the cassette device.
is closed, so the determination in step 2 is satisfied. In the following step 3, set the access paranoc according to the cassette device:il in the controller, etc., and step 4
Go forward one step and load the control program. Step 5 Pass the control Iμ to the loaded control program]
end.

効果 以」二説明したように本発明によれは、種々の外r31
;記憶装置からの自動的なIPLが可能となり。
As explained above, the present invention has various effects.
; Automatic IPL from the storage device is possible.

使用者の目的、予舒にあわせたマイクロコンピュータシ
ステム構成に柔軟に対処する′7fが可能となる。
It becomes possible to flexibly handle the configuration of the microcomputer system according to the purpose and schedule of the user.

また本発明によれは、IPL対象外部記憶装置の装置ア
ドレスが1図定されないから、システム構成機器の故障
に対しても柔軟に対処できるという効果かある。
Further, according to the present invention, since the device address of the external storage device to be IPLed is not determined, it is possible to flexibly deal with failures of system component devices.

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

第1図は本発明に係るIPLを実行する一実施例の構成
を丞ずブロック図1、 第2(支)I:l:機種エンコーダの一例を示す回路図
、’a’53図はIPLを実杓するプログラムの処岬ヲ
示すフローチャート、 Q′S 4 iRI ’(オIPLを実行するプログラ
ムの処理)他の例を示すフローチャー1・である。 ここて、1・・・CPU本体、2・・・20ツピーテイ
スク装置、3・・・アドレスバス、4由テータパス、5
・・・アISレステ゛コータ、6・・・出力信号、7山
機種エンコーグである。 稍言′1出j卯人 キャノン巷、式会ネイ代理人 ブr
理丑 犬 塚 j! 徳−L J
Figure 1 is a block diagram 1 showing the configuration of an embodiment of IPL according to the present invention, 2nd (sub) I:l: A circuit diagram showing an example of a model encoder, and Figure 'a'53 is a block diagram showing an example of an IPL This is a flowchart illustrating the process of a program to be implemented, and a flowchart 1 illustrating another example of Q'S 4 iRI' (processing of a program that executes an IPL). Here, 1...CPU main body, 2...20 point-taking device, 3...address bus, 4 data path, 5
. . . IS rest coater, 6 . . output signal, 7-way model encoder.熍Word'1 appearance 卯人 Canon Street, Shikikai Nai agent br
Riyu Inuzuka j! Virtue-L J

Claims (4)

【特許請求の範囲】[Claims] (1)外部記憶装置から制御プログラムを主記憶装置内
に読み込んで、該制御プログラムを起動する初期プログ
ラムロード方式において、初期プログラムロード川に設
定されている外部記憶装置の種別を処理装置本体から読
み出す事を可能にし、読み山−した情報に従って外部記
憶装置の種別を判断し、該外部記憶装置に対応したアク
セス方式で制御プログラムを主記憶装置へ読み込む1警
を特徴とする初期プログラムロード方式。
(1) In the initial program load method that reads a control program from an external storage device into the main storage device and starts the control program, the type of external storage device set in the initial program load river is read from the processing device main body. An initial program loading method is characterized in that the type of external storage device is determined according to the read information, and the control program is read into the main storage device using an access method corresponding to the external storage device.
(2)外部記憶装置から制御プログラムを主記憶装置内
に読み込んで、該制御プログラムを起動する初期プログ
ラムローF方式において、外部記憶装置を初期プログラ
ムロー1・の対象装置に設定する小と、前記外部記憶装
置の設定の有無と種別を処理装置本体から読み出す事を
可能にし、読み出した情報に従って外部記憶装置に対す
る前記設定と種別を判断し、前記設定のある当該外部記
憶装置に対応したアクセス方式で制御プログラムを」モ
記憶装置へ読み込む事を特徴とする初期プログラムロー
F方式。
(2) In the initial program row F method in which a control program is loaded from an external storage device into the main storage device and the control program is started, the external storage device is set as a target device for initial program row 1; The presence/absence and type of external storage device settings can be read from the processing device main body, the settings and type for the external storage device are determined according to the read information, and an access method corresponding to the external storage device with the settings is used. An initial program low F method characterized by loading the control program into a memory device.
(3)設定の有無と種別を同時に処理装置本体から読み
出す事を特徴とする特許請求あ範囲第2項に記載の初期
プログラムロード方式。
(3) The initial program loading method according to claim 2, characterized in that the presence/absence of settings and the type thereof are simultaneously read out from the processing device main body.
(4)設定の有無を調べ、設定のある外部記憶装置の種
別を処理装置本体から読み出す事を特徴とする特許請求
の範囲第2項に記載の初期プログラムロード方式。
(4) The initial program loading method according to claim 2, characterized in that the presence or absence of a setting is checked and the type of external storage device in which the setting is set is read from the processing device main body.
JP58110353A 1983-06-20 1983-06-20 Initial program loading system Pending JPS603050A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP58110353A JPS603050A (en) 1983-06-20 1983-06-20 Initial program loading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP58110353A JPS603050A (en) 1983-06-20 1983-06-20 Initial program loading system

Publications (1)

Publication Number Publication Date
JPS603050A true JPS603050A (en) 1985-01-09

Family

ID=14533611

Family Applications (1)

Application Number Title Priority Date Filing Date
JP58110353A Pending JPS603050A (en) 1983-06-20 1983-06-20 Initial program loading system

Country Status (1)

Country Link
JP (1) JPS603050A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62109149A (en) * 1985-11-08 1987-05-20 Nec Corp Structuring system for terminal program
JPS62159262A (en) * 1986-01-08 1987-07-15 Hitachi Ltd Loading system for information on i/o constitution

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62109149A (en) * 1985-11-08 1987-05-20 Nec Corp Structuring system for terminal program
JPS62159262A (en) * 1986-01-08 1987-07-15 Hitachi Ltd Loading system for information on i/o constitution

Similar Documents

Publication Publication Date Title
US6282644B1 (en) Apparatus and method for storing BIOS data of computer system
JPH0429102B2 (en)
KR100251381B1 (en) Apparatas and method for initializing of volatile memory
US20030233536A1 (en) Automatic selection of firmware for a computer that allows a plurality of process types
JPS6159531A (en) Microprogram loader
JPS603050A (en) Initial program loading system
CN113590153A (en) Firmware upgrading method, system, equipment and medium for CPLD
KR100322547B1 (en) Method for downloading dsp program and device thereof
JP3594495B2 (en) Control device
JPH0581145A (en) Data write circuit in eeprom
JPS601664A (en) Initial program loading system
JPH05128882A (en) Data processing device
JPS5987556A (en) Parity check device
JPS6349955A (en) Memory checking device
JPH08138391A (en) Flash memory control system
JPS6217844A (en) Information processor
JP3182287B2 (en) Microprocessor
JP2581057B2 (en) Evaluation microcomputer
JPS62168241A (en) Microprogram controller
JPH1186581A (en) Control device
JPS60169941A (en) Microprogram control system
JPH0217555A (en) Memory diagnosing system
JPS6270947A (en) Control system for debug interruption
JPH0810429B2 (en) Micro program controller
KR19990008564A (en) Serial access interface method and fresh chip structure