JPS61153716A - Microcomputer control device - Google Patents

Microcomputer control device

Info

Publication number
JPS61153716A
JPS61153716A JP59276398A JP27639884A JPS61153716A JP S61153716 A JPS61153716 A JP S61153716A JP 59276398 A JP59276398 A JP 59276398A JP 27639884 A JP27639884 A JP 27639884A JP S61153716 A JPS61153716 A JP S61153716A
Authority
JP
Japan
Prior art keywords
sub
cpu
main
initializing
interruption
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
JP59276398A
Other languages
Japanese (ja)
Inventor
Takayuki Mochizuki
望月 孝行
Kunio Koike
邦夫 小池
Mayumi Ikejiri
池尻 真由美
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP59276398A priority Critical patent/JPS61153716A/en
Publication of JPS61153716A publication Critical patent/JPS61153716A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To shorten the time extending from turn-on of a power source to initializing, by initializing simultaneously each CPU by an external signal, in an arithmetic unit having a main CPU and plural sub-CPUs. CONSTITUTION:A title microcomputer control device is provided with a main CPU1 for executing a control of the whole circuit of said device, and a sub-CPU 2 which is operated by a control signal from this main CPU1, and provided with an input switch 3 for starting an initializing program of the main CPU1 and the sub-CPU2. In this regard, while there is no interruption, a pull-down resistance 4 for stabilizing it to an 'L' levle is provided on an interruption terminal of the sub-CPU2. In this state, when the input switch 3 becomes on, an all clear terminal of the main CPU1 becomes an 'H' level, and the main CPU1 is initialized. Also, at the same time, the interruption terminal of the sub-CPU2 also becomes an 'H' leve, an interruption processing program is executed, and the initializing is ended.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、一つ以上のCPUによって構成された演算装
#における初期設定方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an initialization method in an arithmetic unit constituted by one or more CPUs.

〔従来の技術〕[Conventional technology]

一つ以上のCPUによ抄構成された演算装置においては
、各々のCPUやその他の素子を電源投入後初期設定し
ないと、演算装置として安定な動作が得られない。
In an arithmetic device configured with one or more CPUs, stable operation of the arithmetic device cannot be achieved unless each CPU and other elements are initialized after power is turned on.

従来一つ以上のCPU’)有する演算装置では、第2図
(tL)のような回路を用いて初期設定を行なりてい九
。ここで、21けこの回路の制御を行う主○ptrであ
る。22け前記CPUからの制御信号によシ動作を制御
される副CPUである。23は21の主CPUを初期設
定するための入力スイッチである。24は23の入力ス
イッチからの信号により21の主CPUが初期設定され
ると、次に22の副CPUを初期設定する念めに出力さ
れる制御信号である。25は、22の副cptyが初期
設定されたことを21の主CPUに知らせるために出力
される制御信号である。ここで第2図(b)Kより第2
図れ)の動作を詳しく説明すると、まず、23の入力ス
イッチがオン忙なれば21の主cPUけ内部のプログラ
ムエリアに書き込まれている初期設定ブーグラムを実行
し、自己を初期設定する。そして、自己の初期設定が終
了すると24の制御信号を送り21の主CPU内部のプ
pグラムエリアl’c111込まれている22の副OF
υ初期設定プ゛−グラムを実行する。22の副apIl
rは前記ブーグラムによシ初期設定が終了すると25の
信号を21の主0PUK送り返して初期設定の終了を知
らせる。これ忙より各々のCPUは初期設定されるとい
うものであった。
Conventionally, in an arithmetic unit having one or more CPU'), initial settings are performed using a circuit as shown in FIG. 2 (tL). Here, it is the main ○ptr that controls 21 circuits. No. 22 is a sub-CPU whose operation is controlled by control signals from the CPU. 23 is an input switch for initializing the main CPU 21; Reference numeral 24 denotes a control signal that is output as a precaution to initialize the sub-CPU 22 when the main CPU 21 is initialized by the signal from the input switch 23. A control signal 25 is output to notify the main CPU 21 that the secondary cpty 22 has been initialized. Here, from Fig. 2(b) K, the second
To explain the operation in detail, first, when the input switch 23 is turned on, the initialization program written in the program area inside the main CPU 21 is executed to initialize itself. When the initial setting of itself is completed, it sends 24 control signals to the 22 sub-OFs contained in the program area l'c111 inside the main CPU 21.
υExecute the initial setting program. 22 vice apIl
When the initialization is completed according to the boot program, r sends back the signal 25 to the main 0PUK of 21 to notify the end of the initialization. Due to this busy schedule, each CPU was initialized.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかし、前述の従来技術では一つ以上のcpUを有する
場合に電源を投入してから初期設定bZ終了するまでに
時間がかかる。マ友、主OF■が内部に有するプジグラ
ムエリア忙他のapUを初期設定する之めのプログラム
を持友なければならず、主OPυのプルグラム容量が少
なくなってしまう。ま九、副OPυが誤動作することが
あるので主CPUけ、副OFHの動作状態を管理するた
めのハードやソフトを持九なければならないという問題
点を有する。そこで本発明は、このような間覇点を解決
するもので、その目的とするところは、主CPU内部の
記憶容量に影響をあたえず、かつ簡単な構成で各々のc
pUK同時忙初期設定させることを提供するところにあ
る。
However, in the conventional technology described above, when the device has one or more CPUs, it takes time from turning on the power until completing the initial setting bZ. The user must carry a program for initializing other apUs in the program area that the main OF■ has internally, and the program capacity of the main OPυ decreases. Furthermore, since the secondary OPυ may malfunction, there is a problem in that the main CPU must have hardware and software for managing the operating status of the secondary OFH. Therefore, the present invention is intended to solve this problem, and its purpose is to provide a simple structure for each CPU without affecting the internal storage capacity of the main CPU.
pUK provides simultaneous initialization.

〔問題点を解決するための手段〕[Means for solving problems]

演算装置全体の制御を行う主CPUと、前記主CPUか
らの制御信号忙よりその動作を制御されかつ外部信号に
より副CPU内部の初期設定手段を起動することができ
る一つ以上の副OPHにより構成され九演算装置忙おい
て外部信号により各々のCPU′t?同時忙初期設定す
る初期設定手段を有することを特徴とする。
Consisting of a main CPU that controls the entire arithmetic unit, and one or more sub-OPHs whose operations are controlled by control signals from the main CPU and whose initial setting means within the sub-CPU can be activated by external signals. The nine arithmetic units are busy and each CPU't? The present invention is characterized in that it has an initial setting means for performing simultaneous busy initial setting.

〔作用〕[Effect]

本発明の上記の構成忙よれば、初期設定手段により各々
のcpv忙初期設定信号を送ることにより各々のopt
rが同時刻に独自の初期設定手段により初期設定を終了
する。
According to the above-described configuration of the present invention, the initial setting means sends each CPV busy initial setting signal to each CPV.
At the same time, r completes the initial setting by its own initial setting means.

〔実施例〕〔Example〕

以下、本発明につすて実施例忙基づいて詳細に説明する
Hereinafter, the present invention will be explained in detail based on examples.

第1図は1本発明のマイクジコンビエータ制御装置の回
路図である。1けこの回路の全体の制御を行5主CPU
である。2け1の主CPUからの制御信号により動作す
る副C+PUである<13は1の主optr及び2の副
0PtJの初期設定プログラムを起動する入力スイッチ
である。4は2の副CPUの割り退入端子を割り通入の
無い間“Lルベルに安定させるプルダウン抵抗である。
FIG. 1 is a circuit diagram of a microphone dicombinator control device according to the present invention. 5 main CPUs control the entire circuit.
It is. <13, which is a sub-C+PU operated by a control signal from the main CPU of 2 and 1, is an input switch for starting the initial setting program of the main optr of 1 and the sub-0PtJ of 2. Reference numeral 4 denotes a pull-down resistor that stabilizes the interrupt terminal of the sub CPU 2 at the "L" level while there is no interrupt.

掌3図は、本発明のマイクロコンピュータ制御装置の動
作の手順を示すフルーチャートである。
3 is a flowchart showing the operation procedure of the microcomputer control device of the present invention.

フローチャートにそって動作を説明すると、まず30入
力スイダチがオンになると主CPUのAO(オールクリ
ア)端子が″H9レベルになり主CPUは初期設電され
る。また同時刻に副CPUの割9込λ端子は、それまで
4の抵抗和よシ#Lルヘルに安定してい念が%  ”H
’レベルトナル。
To explain the operation according to the flowchart, first, when the 30-input switch is turned on, the AO (all clear) terminal of the main CPU goes to the H9 level, and the main CPU is initially powered up. Please make sure that the λ terminal is stable to the sum of the resistances of 4 until then.
'Level Tonal.

それ忙より副CPUは、割り退入処理ブpグラムを実行
し、初期設定を終了する。これにより二つのCPUけ#
1ぼ同時に初期設定を終了するというものである。
Since the sub CPU is busy, it executes the interrupt/exit processing program and completes the initial setting. This allows two CPUs
The initial settings are completed at the same time.

第4図は1本発明の応用例として、本発明のマイクロコ
ンビエータ制御装置を実際に用いて構成した潮汐計のプ
ーヴク図である。ここで潮汐計とは、各地域の干潮、満
潮時刻を算出するのに必要な潮汐データを内部(F)R
OM、RAMIC持ち1選択され危地域の設定時刻にお
ける干潮、満潮時刻及び潮位等を表示するものである。
FIG. 4 is a diagram of a tide gauge constructed by actually using the micro combinator control device of the present invention as an application example of the present invention. Here, the tide gauge refers to the internal (F)R tide data necessary to calculate low tide and high tide times in each region.
OM, RAMIC 1 is selected and displays the low tide, high tide time, tide level, etc. at the set time of the dangerous area.

41は時計の機能及び表示、潮汐の計算の制御など、本
システムの制御を行う4ビツトCPUである。42は潮
汐データを読入出し、各地域における潮汐計算を行う演
算用8ビツト副CPUである。43は41及び42のO
Fσを初期設定される入力スイッチである。このスイッ
チをオンすることKより41の主CPUはオールクリア
端子が#H9レベルになるので無条件に各機能は、初期
状態に安定する。!比、同時刻に42の副CPUは、今
までの44のプルダウン抵抗忙よって”L’レベルにな
ってい友、無条件割り退入端子であるNM工が″Hルベ
ルになる。すると、42の副CPUは、―条件割り込−
LLを処理する友めの命令カニSき込重りている番地忙
制御を移す。これ忙より42の副CPUは、この命令を
実行して全ての機能を初期の状態に設定する。これで4
1及び42のcpσけ、同時忙初期設定されたことにな
る。
41 is a 4-bit CPU that controls the system, such as clock functions and display, and tidal calculation control. Reference numeral 42 denotes an 8-bit sub-CPU for calculations that reads and reads tidal data and performs tidal calculations in each region. 43 is O of 41 and 42
This is an input switch to which Fσ is initially set. By turning on this switch, the all clear terminal of the main CPU 41 goes to the #H9 level, so each function is unconditionally stabilized in its initial state. ! At the same time, the 42nd sub-CPU goes to the "L" level due to the pull-down resistor of the 44th one, and the NM, which is the unconditional interrupt/exit terminal, goes to the "H" level. Then, the 42 sub-CPU receives a -conditional interrupt-
Friend's command crab S to handle LL transfers the busy address control. Since this is busy, the sub-CPU 42 executes this instruction and sets all functions to the initial state. This is 4
This means that cpσ of 1 and 42 are simultaneously busy initialized.

また、45は潮汐の計算プログラム及び地域データを格
納するROMである。46け潮汐計算結果などを格納し
てb<RAMである。47は45のROM、46のRA
Mのデータの書き込み、読み出しを行う番地を設定する
アドレスデコーダ゛である。4日は潮汐計算の結果1時
刻などti示する表示装置である。49#:を潮汐針を
制御するスイ9チである。
Further, 45 is a ROM that stores a tidal calculation program and regional data. 46 tidal calculation results etc. are stored and b<RAM. 47 is 45 ROM, 46 RA
This is an address decoder that sets the address for writing and reading data of M. On the 4th, there is a display device that shows the results of tidal calculations, such as 1 time. 49#: is the switch 9 which controls the tidal needle.

尚、ここに挙げ几実施例はあくまでも一実施例にすぎな
いものである。
It should be noted that the embodiments listed here are merely examples.

〔発明の効果〕〔Effect of the invention〕

本発明は5以上のように一つ以上のCPUを同時に初期
設定できるように構成したので、主○PUと複数の副C
PUが同時に初期設定されるため電源投入から初期設定
が終了中るまで時間hζかからない。まt1本発明によ
hば、主apσカー内部に有するプログラムエリアに副
CPU’l初期設定する之めのプログラムを必要としな
いため、主CFHのプログラムエリアをむだなく活用で
きる。
The present invention is configured so that one or more CPUs such as 5 or more can be initialized at the same time.
Since the PUs are initialized at the same time, it does not take time hζ from power-on until the initialization is completed. According to the present invention, there is no need for a program for initializing the secondary CPU'1 in the program area within the main apσ car, so the program area of the main CFH can be utilized without waste.

また、非常に簡単な回路構成で電源投入後直ちに安定な
動作を行なわせることができる。すし副cptrが誤動
作し九場金主0PtlK大きな負荷をあ几えることなく
初期設定ができるという効果を有する。
Further, with a very simple circuit configuration, stable operation can be performed immediately after power is turned on. This has the effect that initial settings can be made without incurring a large load due to malfunction of the sushi sub cptr.

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

tJ/E1図は1本発明のマイク2コンビエータ制御装
曾の構成図。 第2図り)は、従来の初期設定回路の構成図、第2図の
)は、IE2図6)の動作を示すフローチャート図。 fj/L3図は、本発明のマイクロコンビ1−夕制御装
置の動作を示すツー−チャートを示しt図。 第4図は、本発明のマイク−コンビエータの制御装置を
用いて構成し几潮汐計のプO−pり図であ1・・・・・
・主OFσ 2・・・・・・副CPU 3・・・・・・初期設定用スイ・jチ 4・・・・・・プルダウン抵抗 以  上
tJ/E1 Figure 1 is a configuration diagram of a microphone 2 combiator control device according to the present invention. Figure 2) is a configuration diagram of a conventional initial setting circuit, and Figure 2) is a flowchart showing the operation of IE2 Figure 6). Figure fj/L3 is a two-chart showing the operation of the microcombi controller of the present invention. FIG. 4 is an operational diagram of a tide meter constructed using the microphone-combiator control device of the present invention.
・Main OFσ 2...Sub CPU 3...Initial setting switch 4...Pull-down resistor or higher

Claims (1)

【特許請求の範囲】[Claims] 演算装置全体の制御を行う主CPUと、前記主CPUか
らの制御信号によりその動作を制御されかつ外部信号に
より副CPU内部の初期設定手段を起動することができ
る一つ以上の副CPUにより構成された演算装置におい
て外部信号により各々のCPUを同時に初期設定する初
期設定手段を有することを特徴とするマイクロコンピュ
ータ制御装置。
It is composed of a main CPU that controls the entire arithmetic unit, and one or more sub-CPUs whose operation is controlled by control signals from the main CPU and whose operation is capable of activating initial setting means within the sub-CPU by external signals. 1. A microcomputer control device comprising an initial setting means for simultaneously initializing each CPU using an external signal in an arithmetic unit.
JP59276398A 1984-12-27 1984-12-27 Microcomputer control device Pending JPS61153716A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59276398A JPS61153716A (en) 1984-12-27 1984-12-27 Microcomputer control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59276398A JPS61153716A (en) 1984-12-27 1984-12-27 Microcomputer control device

Publications (1)

Publication Number Publication Date
JPS61153716A true JPS61153716A (en) 1986-07-12

Family

ID=17568850

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59276398A Pending JPS61153716A (en) 1984-12-27 1984-12-27 Microcomputer control device

Country Status (1)

Country Link
JP (1) JPS61153716A (en)

Similar Documents

Publication Publication Date Title
JP4724461B2 (en) System LSI
JPH03231320A (en) Microcomputer system
JP2004227586A (en) Method for initiating power supply to computer system from usb keyboard
JPS63126018A (en) Semiconductor integrated circuit
JPH07281782A (en) Clock control circuit
JPS61153716A (en) Microcomputer control device
JPH01260517A (en) Microcomputer
JPH0425585B2 (en)
JPS63314666A (en) Microcomputer
JPH0883137A (en) Electronic circuit
JPS62235673A (en) Microcomputer
JPS6349870A (en) Microcomputer
JPS6043757A (en) Microcomputer of one chip
JPH04255028A (en) Microprocessor
JPH01211013A (en) Stand-by circuit for microprocessor
JPS5487147A (en) Control system for input and output unit by multiplex processor
KR100219529B1 (en) Micro controller
JPH06259264A (en) Clock control circuit
JPH05151369A (en) Integrated circuit
JPH0581443A (en) One-chip microcomputer
JPS60254344A (en) Assigning method of memory address
JPS6068724A (en) Analog-digital and digital-analog converter
JPH04127244A (en) Microcomputer
JPS62241054A (en) Initial starting system for data processor
JPH0317719A (en) Microcomputer