JPH03208158A - Electronic controller - Google Patents

Electronic controller

Info

Publication number
JPH03208158A
JPH03208158A JP2003107A JP310790A JPH03208158A JP H03208158 A JPH03208158 A JP H03208158A JP 2003107 A JP2003107 A JP 2003107A JP 310790 A JP310790 A JP 310790A JP H03208158 A JPH03208158 A JP H03208158A
Authority
JP
Japan
Prior art keywords
cpu
control means
slave
master
ram
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
JP2003107A
Other languages
Japanese (ja)
Inventor
Norifumi Ito
伊藤 憲文
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2003107A priority Critical patent/JPH03208158A/en
Publication of JPH03208158A publication Critical patent/JPH03208158A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Stored Programmes (AREA)

Abstract

PURPOSE:To avoid the occurrence of the abnormality of an action owing to the combination of the types of program storage means by collectively storing control program data in a master control means and a slave control means in single ROM. CONSTITUTION:Program data for master CPU 20 and slave CPU 80 are previously stored on ROM 50 in prescribed address arrangement. The action of CPU 80 is prohibited immediately after power is supplied, and CPU 20 transfers program data for CPU 80, which is stored in ROM 50, onto a common memory means RAM 70. Then, the action of CPU 80 is allowed and CPU 80 reads data transferred on RAM 70 and executes the program. Writing can be executed on RAM 70 from CPU 80 and the area of program data and the work area of CPU 80 co-exist on RAM 70. A decoding means 90 and a write prohibition means G2 are provided and the writing of CPU 80 is prohibited, whereby the erroneous writing of CPU 80 is prevented.

Description

【発明の詳細な説明】 [産業上の利用分野コ 本発明は例えばマイクロプロセッサのような各々独立し
た制御手段を複数備える電子制御装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to an electronic control device comprising a plurality of independent control means such as microprocessors.

[従来の技術コ 例えば複写機,ファクシミリなどにおいては,制御の内
容が複雑化しているので、単一のCPU(例えばマイク
ロプロセッサ二以下同様)でそのシステム全体を制御す
ることができない場合が多い。従ってこのような用途で
は,制御装置に複数のCPUを搭載したものが多い. ところで、一般の制御装置においてはCPUの制御プロ
グラムは,当該CPUがアクセス可能なROM (読み
出し専用メモリ)に予め格納されており、CPUはRO
Mの内容を読み取りながら処理を逐次実行する。複数の
CPUを備える制御装置においては、各々のCPUにそ
れぞれ独立したROMを接続し、各々のROMに対応す
るCPUの制御プログラムを格納するとともに、ROM
の各々は目的のCPUのみがアクセスできるように構威
されている。
[Conventional technology] Because the control content of conventional technology, such as copying machines and facsimile machines, has become complicated, it is often impossible to control the entire system with a single CPU (eg, microprocessor 2 or less). Therefore, in such applications, the control device is often equipped with multiple CPUs. By the way, in general control devices, the control program for the CPU is stored in advance in a ROM (read-only memory) that the CPU can access.
Processing is executed sequentially while reading the contents of M. In a control device equipped with multiple CPUs, an independent ROM is connected to each CPU, and each ROM stores a corresponding CPU control program.
Each is configured so that only the intended CPU can access it.

[発明が解決しようとする課題] ところで、処理内容の改良やバグ対策のために,CPU
のプログラムは時々更新される。制御装置のプログラム
を更新する場合には、CPUに接続されたROMを内容
の更新された別のROMと交換することによってCPU
が読込むプログラムのデータを変更する.複数のCPU
を備える制御装置においても、各々のCPUについてプ
ログラムを更新する毎に、変更するCPUのROMを交
換している。
[Problem to be solved by the invention] By the way, in order to improve the processing content and take measures against bugs, the CPU
The program is updated from time to time. When updating the control device program, the CPU can be updated by replacing the ROM connected to the CPU with another ROM with updated contents.
Change the data of the program read by . multiple CPUs
Even in a control device equipped with a CPU, the ROM of the CPU to be changed is replaced every time the program for each CPU is updated.

ところが,複数のCPUを備える制御装置においては,
同一のシステムについて複数のCPUで分担して処理を
実行するので、処理のタイミング,出力データの内容,
処理アドレスの値等々が互いに別のCPUの動作に影響
を及ぼすことがある.このため、複数のCPUの互いの
プログラムバージョンの組合せによっては、システムの
機能が正常に働かない場合が生じる. 全てのCPUのプログラムを単一のROM上に全て配置
するようにすれば、上述の組合せの問題は生じないが、
単一のROMを複数のCPUが共通にアクセスすること
はできないので、複数個のROMの組合せによる問題は
従来は避けられなかった。
However, in a control device equipped with multiple CPUs,
Since processing is divided among multiple CPUs for the same system, processing timing, content of output data,
Processing address values, etc. may mutually affect the operations of different CPUs. Therefore, depending on the combination of mutual program versions of multiple CPUs, system functions may not function properly. If all CPU programs were placed on a single ROM, the above combination problem would not occur, but
Since multiple CPUs cannot commonly access a single ROM, problems caused by combinations of multiple ROMs have conventionally been unavoidable.

そこで本発明は、CPUなとの制御手段を複数備える制
御装置において,プログラム格納手段の種類の組合せに
よる動作異常の発生をなくすることを課題とする。
Therefore, it is an object of the present invention to eliminate the occurrence of operational abnormalities due to combinations of types of program storage means in a control device including a plurality of control means such as a CPU.

[課題を解決するための手段コ 上記課題を解決するため,本発明においては、主リセッ
ト信号を発生する主リセット手段:前記主リセット信号
を受けるマスタ制御手段;少なくとも1つの、前記マス
タfI/IJl1手段とは独立した処理を実行するスレ
ーブ制御手段;前記スレーブ制御手段に印加される副リ
セット信号を発生する副リセット手段;前記マスタ制御
手段に接続され、該マスタ制御手段と前記スレーブ制御
手段の両者の動作を決定する情報を保持する、読み出し
専用メモリ手段;及び前記マスタ制御手段に対し少なく
とも書込み自在に接続され、前記スレーブ制御手段に対
し少なくとも読出し自在に接続された,共通メモリ手段
:を備えるとともに,前記マスタ制御手段は、前記副リ
セット手段を制御し、前記主リセット信号に応答して前
記読み出し専用メモリ手段上の情報を前記共通メモリ手
段上に転送し、転送が終了した後でスレーブ制御手段の
動作を許可する、ように構成する。
[Means for Solving the Problems] In order to solve the above problems, in the present invention, main reset means for generating a main reset signal: master control means for receiving the main reset signal; at least one of the master fI/IJl1 A slave control means that performs processing independent of the slave control means; A sub-reset means that generates a sub-reset signal to be applied to the slave control means; A sub-reset means that is connected to the master control means and controls both the master control means and the slave control means. read-only memory means for retaining information determining the operation of the controller; and common memory means at least writeably connected to the master control means and at least readably connected to the slave control means; , the master control means controls the sub-reset means, transfers the information on the read-only memory means onto the common memory means in response to the main reset signal, and after the transfer is completed, the slave control means controls the sub-reset means. Configure to allow operation.

[作用] 本発明によれば、マスタ制御手段及びスレーブ制御手段
(C P U)の制御プログラムデータは、共に単一の
読み出し専用メモリ手段(ROM)にまとめて格納して
おくことができる.従って、プログラムバージョンの組
合せによる動作異常が発生する恐れは全くない。
[Operation] According to the present invention, control program data for the master control means and slave control means (CPU) can be stored together in a single read-only memory means (ROM). Therefore, there is no possibility that abnormal operation will occur due to a combination of program versions.

例えば,電源が投入された直後には、スレーブ制御手段
の動作は禁止され、その状態でマスタ制御手段が読み出
し専用メモリ手段に格納されたスレーブ制御手段用のプ
ログラムデータを共通メモリ手段上に転送し、その後で
スレーブ制御手段の動作を許可する.スレーブ制御手段
は,共通メモリ手段上に転送されたデータを読み出して
そのプログラムを実行する。
For example, immediately after the power is turned on, the operation of the slave control means is prohibited, and in this state, the master control means transfers the program data for the slave control means stored in the read-only memory means onto the common memory means. , then permit the operation of the slave control means. The slave control means reads the data transferred onto the common memory means and executes the program.

後述する本発明の好ましい実施例においては、共通メモ
リ手段をスレーブ制御手段からも書込み可能に構威し、
共通メモリ手段上にプログラムデータの領域とスレーブ
制御手段のワークエリアとを共存させている。また、プ
ログラムデータの領域に対するスレーブ制御手段の誤書
込みを防止するために、アドレスデコード手段及び書込
禁止手段を設け、プログラムデータのアドレスに対して
は、スレーブ制御手段の書込みを禁止する。
In a preferred embodiment of the present invention, which will be described later, the common memory means is configured to be writable also by the slave control means,
The program data area and the work area of the slave control means coexist on the common memory means. Further, in order to prevent the slave control means from erroneously writing to the program data area, an address decoding means and a write inhibiting means are provided, and writing by the slave control means to the program data address is prohibited.

本発明の他の目的及び特徴は、以下の図面を参照した実
施例説明によって明らかになろう。
Other objects and features of the present invention will become apparent from the following description of embodiments with reference to the drawings.

[実施例コ 第1図に一実施例の制御装置の主要部の構威を示す。な
お第1図においては、制御対象及びそれと接続される入
力及び出力ポートならびに入出力インターフェース回路
の部分は図示を省略してある。
Embodiment FIG. 1 shows the structure of the main parts of a control device according to an embodiment. In FIG. 1, illustrations of the controlled object, the input and output ports connected thereto, and the input/output interface circuit are omitted.

第1図を参照すると、この制御装置には2つのマイクロ
プロセッサ20及び80が備わっている。
Referring to FIG. 1, the control device includes two microprocessors 20 and 80.

この例では、一方のマイクロプロセッサ20がマスタC
PUとして割当てられ、他方のマイクロプロセッサ80
がスレーブCPUとして割当てられている。マスタCP
U20のデータバス2lには、ROM (読み出し専用
メモリ)50,RAM (読み書きメモリ)60及び7
0が接続されている。
In this example, one microprocessor 20 is the master C
The other microprocessor 80 is assigned as a PU.
is assigned as a slave CPU. Master CP
The data bus 2l of U20 includes ROM (read-only memory) 50, RAM (read/write memory) 60 and 7.
0 is connected.

ROM50,RAM60及び70は、マスタCPU20
の互いに異なるアドレスに割当てられており、マスタC
PUがアドレスを指定することによってそれらのうちの
任意のチップを選択的にアクセスすることができる。マ
スタCPUが出力するアドレス情報は、アドレスデコー
ダ40によって識別され、各々のチップに割当てられた
特定領域内のアドレスが検出されると各々のチップに印
加するチップ選択信号をアクティブ(アクセス許可状態
に対応)にする。
ROM50, RAM60 and 70 are master CPU20
are assigned to mutually different addresses, and the master C
The PU can selectively access any of these chips by specifying an address. The address information output by the master CPU is identified by the address decoder 40, and when an address within a specific area allocated to each chip is detected, a chip selection signal applied to each chip is activated (corresponding to an access permission state). ).

ROM50上には,マスタCPU20のためのプログラ
ムデータとスレーブCPU80のためのプログラムデー
タとが所定のアドレス配置で予め記憶させてある。従っ
てマスタCPU20は、電源がオンし後述するリセット
信号が解除された直後に、ROM50上のマスタCPU
用に割り当てられたアドレスからそれ自身のプログラム
データを読み出してそれを実行する。RAM60は、マ
スタCPU20がその処理を実行するうえで必要な各種
の情報を一時的に蓄えるワークエリアとして利用される
. 一方、RAM70は、デュアルボートメモリと呼ばれる
ものであり,データバス及びアドレスバスを含む入出力
チャンネルを2組備えている.このメモリは、富士通(
株)製のMB8421であり、いずれの入出力チャンネ
ルからも、各チャンネル非同期で入力(即ち書込み)と
出力(即ち読み出し)を行なうことができる。この実施
例では、RAM70の一方のチャンネルにマスタCPU
20が接続され、他方のチャンネルにスレーブCPtJ
80が接続されている, RAM70は、スレーブCPU80のプログラムデータ
を格納するための領域とスレーブCPU80のワークエ
リアの両方に利用される。RAM70は揮発性のメモリ
なので、RAM70上には初期状態ではプログラムデー
タが存在しない。この例では、スレーブCPU8 0の
ためのプログラムデータがROM50上に備わっている
ので、電源がオンすると最初にマスタCPU20が、R
○M50をアクセスし、その中に存在するスレーブCP
U用のプログラムデータをRAM70上の所定アドレス
に転送する。その後でスレーブCPU80の動作が許可
される。
On the ROM 50, program data for the master CPU 20 and program data for the slave CPU 80 are stored in advance at predetermined address locations. Therefore, immediately after the power is turned on and a reset signal, which will be described later, is released, the master CPU 20 stores the master CPU on the ROM 50.
reads its own program data from the address assigned to it and executes it. The RAM 60 is used as a work area for temporarily storing various information necessary for the master CPU 20 to execute its processing. On the other hand, the RAM 70 is called a dual port memory and has two sets of input/output channels including a data bus and an address bus. This memory is manufactured by Fujitsu (
The MB8421 is manufactured by Co., Ltd., and can perform input (i.e., writing) and output (i.e., reading) asynchronously from any input/output channel. In this embodiment, one channel of the RAM 70 is connected to the master CPU.
20 is connected and the slave CPtJ is connected to the other channel.
The RAM 70 to which the CPU 80 is connected is used both as an area for storing program data for the slave CPU 80 and as a work area for the slave CPU 80. Since the RAM 70 is a volatile memory, no program data exists on the RAM 70 in the initial state. In this example, the program data for the slave CPU 80 is provided on the ROM 50, so when the power is turned on, the master CPU 20 first
○Slave CP that accesses M50 and exists in it
The program data for U is transferred to a predetermined address on the RAM 70. After that, the operation of the slave CPU 80 is permitted.

リセット回路10は、電源オン時に所定時間だけリセッ
ト信号のパルスを発生する回路であり、このリセット信
号は、マスタCPU20とフリッププロップ30に印加
される。マスタCPU20は、リセット信号によって初
期化され、アドレスカウンタを初期値(一般にはo o
 o o)にクリアし、リセット信号が解除されると、
初期値のアドレスからプログラムデータを読んで順次に
プログラムを実行する。
The reset circuit 10 is a circuit that generates a pulse of a reset signal for a predetermined period of time when the power is turned on, and this reset signal is applied to the master CPU 20 and the flip-flop 30. The master CPU 20 is initialized by a reset signal and sets the address counter to an initial value (generally o o
o o) and the reset signal is released,
The program data is read from the initial value address and the program is executed sequentially.

フリップフロップ30は、リセット回i!810の出力
する主リセット信号を受けると、スレーブCPU80に
対して副リセット信号を出力する。この副リセット信号
は、主リセット信号が解除された後も保持され、次のセ
ット条件で解除される.即ち、主リセット信号が解除さ
れた後で、マスタCPU20が、フリップフロップ30
に割当てられた所定のアドレスに対して、所定のビット
(入力Dに接続されたビット)を立てたデータを書込む
と、フリップフロツプ30がセットされ、その出力端子
QがH(高レベル)になるので,スレーブCPU8 0
のリセットが解除される。
The flip-flop 30 resets i! Upon receiving the main reset signal output from the slave CPU 810, it outputs a sub reset signal to the slave CPU 80. This sub-reset signal is held even after the main reset signal is released, and is released under the next set condition. That is, after the main reset signal is released, the master CPU 20 resets the flip-flop 30.
When data with a predetermined bit (the bit connected to input D) set is written to a predetermined address assigned to the flip-flop 30, the flip-flop 30 is set and its output terminal Q becomes H (high level). Therefore, slave CPU8 0
The reset will be canceled.

スレーブ(:PU8 0は,それのリセットが解除され
ると、副リセット信号によってクリアされた初期アドレ
スからプログラムデータを読んで、順次にプログラムを
実行する。この実施例では、初期アドレスは、RAM7
0の先頭アドレスと一致するようにアドレスが割当てら
れているので、スレーブCPU80は、マスタCPU2
0によってROM50からRAM70上に転送されたプ
ログラムデータを読んでそのプログラムを実行すること
になる。
When the slave (:PU80) is released from its reset, it reads the program data from the initial address cleared by the sub-reset signal and executes the program sequentially. In this embodiment, the initial address is RAM7.
Since the address is assigned to match the first address of 0, the slave CPU 80 is
0, the program data transferred from the ROM 50 to the RAM 70 is read and the program is executed.

この制御装置においては、メモリアドレスのマップが第
3図のように割当てられている。第3図を参照すると、
RAM70上の全アドレスに対し、マスタCPU20が
読み書き可能になっているが、スレーブCPU80に対
してはRAM70上のアドレスは機能的に異なる2つの
領域に区分されている。即ち、プログラム領域に対して
はスレーブCPU80は読み出しは可能であるが、書込
みは不可能になっており、それ以外のワークエリアのア
ドレスについては、読み書きともに可能になっている。
In this control device, a memory address map is allocated as shown in FIG. Referring to Figure 3,
The master CPU 20 can read and write all addresses on the RAM 70, but for the slave CPU 80, the addresses on the RAM 70 are divided into two functionally different areas. That is, the slave CPU 80 can read but cannot write to the program area, and can read and write to other work area addresses.

再び第1図を参照すると、RAM70の第2書込み制御
端子WR2 (反転記号(オーバーライン)は省略、以
下同様)は、ゲートG2を介して、スレーブCPU80
の書込制御端子WRと接続されており、ゲートG2の一
方の入力端子には、デコーダ90の出力するゲート信号
が印加されている。
Referring again to FIG. 1, the second write control terminal WR2 (inverted symbol (overline) is omitted, the same applies hereinafter) of the RAM 70 is connected to the slave CPU 80 via the gate G2.
A gate signal output from the decoder 90 is applied to one input terminal of the gate G2.

デコーダ90は、スレーブCPU8 0のアドレスバス
に接続されており、スレーブCPU80が特定範囲内の
アドレス情報を出力した時に、それを検出し、信号を出
力する。実際にはデコーダ90の出力する信号は,第3
図に示すRAM70上の全アドレス領域内の値を検出し
た時にアクティブになる信号と.RAM70上のワーク
エリア領域内の値を検出した時にアクティブになる信号
の2つである。前者の信号はRAM70のチップセレク
ト端子CS2に印加され、後者の信号がゲートG2の入
力端子に印加される。つまり,スレーブCPU80がプ
ログラム領域のアドレス情報をアドレスバスに出力する
時には、仮にスレーブCPUの番込端子WRがアクティ
ブ(L)になったとしても、ゲートG2の出力が非アク
ティブ(H)の状態を維持するので、RAM70の書込
み端子WR2は臀込状態にならず,従ってプログラム領
域に対してはスレーブc p u fJ<書込みを行な
うことはない。これによって、誤書込みの発生を防止し
、装置の暴走等の可能性を小さくすることができる、 なお第1図において、RSTはリセット端子、RD,R
DL,RD2は読出し制御端子、WR,WRI,WR2
は書込み制御端子、CS,CSI,CS2はチップセレ
クト制御端子、CLRはクリア制御端子、OEは出力許
可端子をそれぞれ示している。
The decoder 90 is connected to the address bus of the slave CPU 80, detects when the slave CPU 80 outputs address information within a specific range, and outputs a signal. In reality, the signal output from the decoder 90 is
The signal that becomes active when a value within the entire address area on the RAM 70 shown in the figure is detected. These are two signals that become active when a value in the work area on the RAM 70 is detected. The former signal is applied to the chip select terminal CS2 of the RAM 70, and the latter signal is applied to the input terminal of the gate G2. In other words, when the slave CPU 80 outputs address information of the program area to the address bus, even if the slave CPU's programming terminal WR becomes active (L), the output of the gate G2 remains inactive (H). As a result, the write terminal WR2 of the RAM 70 does not enter the sleep state, and therefore no writing is performed to the program area. This can prevent the occurrence of erroneous writing and reduce the possibility of device runaway. In Figure 1, RST is the reset terminal, RD, R
DL, RD2 are read control terminals, WR, WRI, WR2
indicates a write control terminal, CS, CSI, and CS2 indicate chip select control terminals, CLR indicates a clear control terminal, and OE indicates an output permission terminal.

第2図に、第1図のマスタCPtJ20の電源オン時の
処理の概略を示してある。即ち,第2図において、ステ
ップ1ではマスタCPUがそれ自身の初期化を実行し、
ステップ2ではROM上の一部のデータ(スレーブCP
Uのプログラムデータ)をRAM70上のプログラム領
域に転送する。次のステップ3では、フリップフロップ
3oをセットすることによって、副リセット信号を解除
し、スレーブCPU8 0の動作を許可する。この後は
マスタCPUは通常の動作を実行する。
FIG. 2 shows an outline of the processing when the power of the master CPtJ20 shown in FIG. 1 is turned on. That is, in FIG. 2, in step 1, the master CPU initializes itself;
In step 2, some data on the ROM (slave CP
The program data of U) is transferred to the program area on the RAM 70. In the next step 3, the sub-reset signal is released by setting the flip-flop 3o, and the operation of the slave CPU 80 is permitted. After this, the master CPU performs normal operations.

なお上記実施例においては、単一のマスタcPUと単一
のスレーブCPUとで制御装置を構或する場合を示した
が,例えば、スレーブCPUを複数設ける場合にも同様
に本発明を実施することができる。その場合には、各々
のスレーブCPUとマスタCPUとの間にそれぞれデュ
アルボートメモリを介在すればよい。また例えば、スレ
ーブCPUに更に下位のスレーブCPUを接続すること
もできる。その場合には,上位のスレーブCPUと下位
のスレーブCPUとの間に、デュアルボートメモリを介
在すればよい。
In the above embodiment, a case is shown in which the control device is configured with a single master cPU and a single slave CPU, but the present invention can be implemented in the same way, for example, when a plurality of slave CPUs are provided. I can do it. In that case, a dual port memory may be interposed between each slave CPU and master CPU. Furthermore, for example, a lower slave CPU may be connected to the slave CPU. In that case, a dual port memory may be interposed between the upper slave CPU and the lower slave CPU.

なお上記実施例においては、デュアルボートメモリとし
ていずれのチャンネルからでも読み出しと書き込bの両
方ができるものを用いたが、最小限の機能としては,マ
スタ側から書込みができ、スレーブ側から読み出しがで
きるものであればよい。
In the above embodiment, a dual boat memory that can be read and written from either channel was used, but the minimum function is that it can be written from the master side and read from the slave side. It's fine as long as it's possible.

[効果] 以上のとおり本発明によれば,単一の読み出し専用メモ
リ手段(50)上に、マスタ制御手段(20)及びスレ
ーブ制御手段(80)の両方のプログラムデータをまと
めて配置することができる。従って、プログラムの改良
やバグ対策のためにプログラムを更新し、互いにバージ
ョンの異なる複数種類のROMができたとしても、いず
れのROMについても、マスタ制御手段とスレーブ制御
手段との相性が適合しない組合せは最初から存在しない
ように作ることができるので.ROMの交換による装置
の動作不良の発生は避けることができる。
[Effects] As described above, according to the present invention, program data for both the master control means (20) and the slave control means (80) can be arranged together on a single read-only memory means (50). can. Therefore, even if a program is updated to improve the program or take measures against bugs, and multiple types of ROMs with different versions are created, the compatibility of the master control means and slave control means for any of the ROMs is not compatible. You can make it so that it doesn't exist from the beginning. It is possible to avoid malfunction of the device due to ROM replacement.

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

第1図は、本発明を実施する一形式の制御装置の電気回
路を示すブロック図である. 第2図は、第1図のマスタCPU20の電源投入直後の
動作を示すフローチャートである。 第3図は、第1図の装置における主要部分のメモリマッ
プである。 10:リセット回路(主リセット手段)20:マスタC
PU (マスタ制御手段)30:フリップフロップ(副
リセット手段)40:アドレスデコーダ 50:ROM(読み出し専用メモリ手段)6 0 : 
RAM 70:デュアルポートメモリ(共通メモリ手段)80:
スレーブCPU (スレーブ制御手段)90:デコーダ
(アドレスデコード手段)G2:ゲート(書込禁止手段
FIG. 1 is a block diagram illustrating the electrical circuitry of one type of control device embodying the invention. FIG. 2 is a flowchart showing the operation of the master CPU 20 of FIG. 1 immediately after power is turned on. FIG. 3 is a memory map of the main parts of the device of FIG. 1. 10: Reset circuit (main reset means) 20: Master C
PU (master control means) 30: flip-flop (sub-reset means) 40: address decoder 50: ROM (read-only memory means) 60:
RAM 70: Dual port memory (common memory means) 80:
Slave CPU (slave control means) 90: Decoder (address decoding means) G2: Gate (write inhibiting means)

Claims (3)

【特許請求の範囲】[Claims] (1)主リセット信号を発生する主リセット手段;前記
主リセット信号を受けるマスタ制御手段; 少なくとも1つの、前記マスタ制御手段と は独立した処理を実行するスレーブ制御手段;前記スレ
ーブ制御手段に印加される副リセット信号を発生する副
リセット手段; 前記マスタ制御手段に接続され、該マスタ制御手段と前
記スレーブ制御手段の両者の動作を決定する情報を保持
する、読み出し専用メモリ手段;及び 前記マスタ制御手段に対し少なくとも書込み自在に接続
され、前記スレーブ制御手段に対し少なくとも読出し自
在に接続された、共通メモリ手段; を備えるとともに、前記マスタ制御手段は、前記副リセ
ット手段を制御し、前記主リセット信号に応答して前記
読み出し専用メモリ手段上の情報を前記共通メモリ手段
上に転送し、転送が終了した後でスレーブ制御手段の動
作を許可する、電子制御装置。
(1) Main reset means for generating a main reset signal; master control means for receiving the main reset signal; slave control means for executing at least one process independent of the master control means; sub-reset means for generating a sub-reset signal; read-only memory means connected to said master control means for holding information determining the operation of both said master control means and said slave control means; and said master control means. a common memory means at least writeably connected to the slave control means and at least readably connected to the slave control means; and the master control means controls the sub-reset means and receives the main reset signal. An electronic control device responsive to transferring information on said read-only memory means onto said common memory means and permitting operation of the slave control means after the transfer is completed.
(2)前記共通メモリ手段はスレーブ制御手段に対して
も書込自在に構成された、前記請求項1記載の電子制御
装置。
(2) The electronic control device according to claim 1, wherein the common memory means is configured to be freely writable to the slave control means.
(3)前記スレーブ制御手段の出力するアドレス情報か
ら特定のアドレスを認識するアドレスデコード手段と、
該手段が特定のアドレスを検出した時にスレーブ制御手
段から共通メモリ手段への書込みを禁止する書込禁止手
段を備える、前記請求項2記載の電子制御装置。
(3) address decoding means for recognizing a specific address from the address information output by the slave control means;
3. The electronic control device according to claim 2, further comprising write inhibiting means for inhibiting writing from the slave control means to the common memory means when said means detects a specific address.
JP2003107A 1990-01-10 1990-01-10 Electronic controller Pending JPH03208158A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003107A JPH03208158A (en) 1990-01-10 1990-01-10 Electronic controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003107A JPH03208158A (en) 1990-01-10 1990-01-10 Electronic controller

Publications (1)

Publication Number Publication Date
JPH03208158A true JPH03208158A (en) 1991-09-11

Family

ID=11548125

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003107A Pending JPH03208158A (en) 1990-01-10 1990-01-10 Electronic controller

Country Status (1)

Country Link
JP (1) JPH03208158A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008203842A (en) * 2008-01-30 2008-09-04 Seiko Epson Corp Display device and circuit
US8154509B2 (en) 2004-08-04 2012-04-10 Seiko Epson Corporation Electronic display system, electronic paper writing device, electronic paper and method for manufacturing the same
CN104932914A (en) * 2014-03-19 2015-09-23 日本电气株式会社 Multi-CPU starting circuit and multi-CPU starting method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8154509B2 (en) 2004-08-04 2012-04-10 Seiko Epson Corporation Electronic display system, electronic paper writing device, electronic paper and method for manufacturing the same
JP2008203842A (en) * 2008-01-30 2008-09-04 Seiko Epson Corp Display device and circuit
CN104932914A (en) * 2014-03-19 2015-09-23 日本电气株式会社 Multi-CPU starting circuit and multi-CPU starting method
JP2015179411A (en) * 2014-03-19 2015-10-08 日本電気株式会社 Start circuit of a plurality of cpus, start method of a plurality of cpus, and program of start circuit of a plurality of cpus
CN104932914B (en) * 2014-03-19 2019-07-12 日本电气株式会社 Multi -CPU start-up circuit and multi -CPU start method

Similar Documents

Publication Publication Date Title
KR930000096B1 (en) Single chip microcomputer
US5802347A (en) Emulator with function for detecting illegal access to special function register
US5175831A (en) System register initialization technique employing a non-volatile/read only memory
US20060168385A1 (en) Interrupt controller for a microprocessor
US4314332A (en) Memory control system
US20090307454A1 (en) Method and device for switching over in a memory for a control device
JPH03208158A (en) Electronic controller
JPS6319058A (en) Memory device
JP2664144B2 (en) Multiplexing device switching method and device
US5201052A (en) System for transferring first and second ring information from program status word register and store buffer
KR920010469A (en) Single Chip Microcomputers and Multifunction Memory
JPH05225361A (en) Register rewriting system
EP0382529B1 (en) Microprocessor having store buffer
JP2687679B2 (en) Program development equipment
JPS605369A (en) Memory control system
JP3293144B2 (en) Peripheral control device
JP3997505B2 (en) System program rewriting method for programmable controller
JPH0480860A (en) Program loading system
JPS6020779B2 (en) Composite computer system
JPH07244610A (en) Information processor
JPS6022383B2 (en) input/output control device
JPS60258654A (en) Semiconductor memory
JPH04330549A (en) Controller
JPS6393059A (en) Memory card
JP2002244857A (en) Control device