JPH04315211A - Computer system - Google Patents

Computer system

Info

Publication number
JPH04315211A
JPH04315211A JP3082392A JP8239291A JPH04315211A JP H04315211 A JPH04315211 A JP H04315211A JP 3082392 A JP3082392 A JP 3082392A JP 8239291 A JP8239291 A JP 8239291A JP H04315211 A JPH04315211 A JP H04315211A
Authority
JP
Japan
Prior art keywords
main processor
coprocessor
configuration
register
initialization
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.)
Granted
Application number
JP3082392A
Other languages
Japanese (ja)
Other versions
JP2592360B2 (en
Inventor
Hiroaki Tsunoda
裕明 角田
Satoru Nagao
哲 長尾
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 JP3082392A priority Critical patent/JP2592360B2/en
Publication of JPH04315211A publication Critical patent/JPH04315211A/en
Application granted granted Critical
Publication of JP2592360B2 publication Critical patent/JP2592360B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)

Abstract

PURPOSE:To execute the initializing sequence of the H/W (hardware) of the system by a coprocessor while separating it from an application due to a main processor, to prevent a fault caused by the setting error of an initial value and to facilitate recovery from a fault processing or the fault without destroying the initial set value even when the main processor runs away. CONSTITUTION:Separately from a main processor 1 to execute the application, a coprocessor 5 is provided with an H/W configuration processing part 503 to execute the H/W initializing sequence, and an H/W configuration register 4 to set H/W configuration data to initialize a peripheral device 2 is connected to the coprocessor 5 so as to enable access from the coprocessor 5 and is not connected to the main processor 1, on the other hand, so as to disable access from the main processor 1.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、マイクロプロセッサ応
用システム等のコンピュータシステムに関し、さらに詳
述すれば、システムのリセット時におけるハードウェア
の初期化をメインプロセッサによるアプリケーションと
独立して行うコンピュータシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system such as a microprocessor application system, and more particularly, to a computer system that initializes hardware at the time of system reset independently of an application by a main processor. .

【0002】0002

【従来の技術】従来、コンピュータシステムのハードウ
ェア(以下、H/Wと略記する)を初期化する場合、ユ
ーザがシステムのマニュアルを参照してディップスイッ
チ又はジャンパを初期値に設定するか、又はメインプロ
セッサに格納されている初期化ルーチンを起動してH/
W初期化を行う必要があった。図10は特開昭63─1
54705号公報に開示された従来のコンピュータシス
テムのブロック図である。図中1はシステムの中央処理
を司るメインプロセッサであって、メインプロセッサ1
には、アドレスバス,データバスを介して、メモリ,周
辺LSI等の周辺デバイス2が接続されている。メイン
プロセッサ1には、さらに、後述するメモリマップ設定
レジスタ46,ROM56を含む周辺デバイスに対する
セレクト信号を出力するアドレスデコード部36、H/
Wの初期化、即ちメモリマップを設定するメモリコンフ
ィギュレーションのためのメモリマップ設定レジスタ4
6及び電源ON時のH/Wコンフィギュレーションを行
う初期化ルーチン及び初期値を格納しているROM56
が接続されている。
2. Description of the Related Art Conventionally, when initializing computer system hardware (hereinafter abbreviated as H/W), a user refers to a system manual and sets dip switches or jumpers to initial values, or Starts the initialization routine stored in the main processor
It was necessary to initialize W. Figure 10 is JP-A-63-1
1 is a block diagram of a conventional computer system disclosed in Publication No. 54705. In the figure, 1 is the main processor that controls the central processing of the system, and main processor 1
Peripheral devices 2 such as memories and peripheral LSIs are connected to the address bus and data bus. The main processor 1 further includes an address decoding section 36 and an H/H/100 decoder that output select signals for peripheral devices including a memory map setting register 46 and a ROM 56, which will be described later.
Memory map setting register 4 for initializing W, that is, for memory configuration to set the memory map.
6 and a ROM 56 that stores an initialization routine and initial values for H/W configuration when the power is turned on.
is connected.

【0003】次に、従来のコンピュータシステムによる
初期化方法を、図11に示すフローチャートに基づいて
説明する。電源のONでメインプロセッサ1が立ち上が
ってリセット状態になる(S11)。リセット状態が解
除されると、メインプロセッサ1はROM56にアクセ
スしてROM56に格納されている初期化ルーチンを起
動する(S12)。初期化ルーチンによって、メインプ
ロセッサ1はROM56に格納されている初期設定値を
読み出してメモリマップ設定レジスタ46に設定する(
S13)。この設定動作(H/Wコンフィギュレーショ
ン)をH/Wの初期化という。メモリマップ設定レジス
タ46に設定された初期設定値に従ってメインプロセッ
サ1及び周辺デバイス2のコンフィギュレーションを行
う(S14)。但し、ROM56はリセット解除後のメ
インプロセッサ1が直ちにアクセスする領域に割り当て
られてあり、そのアドレスは固定であってアドレスマッ
プは設定不要である。
Next, an initialization method using a conventional computer system will be explained based on a flowchart shown in FIG. When the power is turned on, the main processor 1 starts up and enters a reset state (S11). When the reset state is released, the main processor 1 accesses the ROM 56 and starts the initialization routine stored in the ROM 56 (S12). Through the initialization routine, the main processor 1 reads the initial setting values stored in the ROM 56 and sets them in the memory map setting register 46 (
S13). This setting operation (H/W configuration) is called H/W initialization. The main processor 1 and peripheral devices 2 are configured according to the initial setting values set in the memory map setting register 46 (S14). However, the ROM 56 is allocated to an area that is immediately accessed by the main processor 1 after the reset is released, and its address is fixed, so there is no need to set an address map.

【0004】H/W初期化動作が終了すると、メインプ
ロセッサ1はアプリケーションを実行できる状態になる
(S15)。即ち、メモリマップ設定レジスタ46に格
納された情報に従って、メインプロセッサ1からのアド
レスをアドレスデコード部36がデコードし、周辺デバ
イス2に対するチップセレクト信号の出力が可能となる
。また、ユーザがディップスイッチ又はジャンパを初期
値に設定する場合は電源ONの前に設定を行う。この場
合、上述の動作の内、メモリマップを設定するH/Wコ
ンフィギュレーション(S13)は必要がない。
[0004] When the H/W initialization operation is completed, the main processor 1 becomes ready to execute the application (S15). That is, the address decoder 36 decodes the address from the main processor 1 according to the information stored in the memory map setting register 46, and the chip select signal can be output to the peripheral device 2. Further, when the user sets a dip switch or jumper to an initial value, the setting is done before turning on the power. In this case, among the operations described above, H/W configuration (S13) for setting a memory map is not necessary.

【0005】[0005]

【発明が解決しようとする課題】以上のように、従来の
コンピュータシステムでは、ユーザがシステムのマニュ
アルを参照してディップスイッチ,ジャンパを初期値に
設定するか、又はメインプロセッサに格納されている初
期化ルーチンを起動してH/Wの初期化を行う必要があ
るので、ユーザによるディップスイッチ,ジャンパの設
定誤りによる障害が発生し易く、また、メインプロセッ
サがメモリマップの設定レジスタにアクセス可能となっ
ているため、アプリケーションに障害が発生してメイン
プロセッサが暴走した場合にH/Wの設定値を変えてし
まう危険性があり、故障処理又は障害からの復帰が困難
になる。本発明はこのような問題点を解決するためにな
されたものであって、初期化シーケンスを実行するコプ
ロセッサを設けるとともに、メインプロセッサによる初
期値設定レジスタのアクセスを不可能とする手段を設け
ることにより、ユーザによる初期化の際の設定誤りによ
る障害の発生を回避できるとともに、メインプロセッサ
が暴走した場合でも、故障処理又は障害からの復帰が容
易なコンピュータシステムの提供を目的とする。
[Problems to be Solved by the Invention] As described above, in conventional computer systems, the user either refers to the system manual and sets dip switches and jumpers to initial values, or Since it is necessary to start the configuration routine and initialize the H/W, failures are likely to occur due to incorrect settings of dip switches and jumpers by the user, and the main processor cannot access the memory map setting registers. Therefore, if a failure occurs in the application and the main processor goes out of control, there is a risk that the H/W setting values will be changed, making it difficult to handle the failure or recover from the failure. The present invention has been made to solve these problems, and includes providing a coprocessor that executes the initialization sequence and also providing means for making it impossible for the main processor to access the initial value setting register. It is an object of the present invention to provide a computer system that can avoid failures due to setting errors during initialization by a user, and can easily handle failures or recover from failures even if the main processor goes out of control.

【0006】[0006]

【課題を解決するための手段】本発明のコンピュータシ
ステムは、アプリケーションを実行するメインプロセッ
サとは別に、これと独立して動作するコプロセッサを設
け、このコプロセッサがH/Wの初期化シーケンスを実
行するとともに、初期値設定のレジスタをメインプロセ
ッサがアクセスできないようにしたことを特徴とする。
[Means for Solving the Problems] The computer system of the present invention is provided with a coprocessor that operates independently of a main processor that executes an application, and this coprocessor handles the initialization sequence of H/W. It is characterized in that the main processor cannot access the initial value setting registers while executing the program.

【0007】[0007]

【作用】本発明のコンピュータシステムは、メインプロ
セッサとは独立して動作するコプロセッサが、システム
のH/Wの初期値をレジスタに設定して初期化を行う一
方、アプリケーションを実行するメインプロセッサはこ
のレジスタにアクセスすることができないので、アプリ
ケーションの障害によってメインプロセッサが暴走した
場合にもレジスタの設定値は壊されない。
[Operation] In the computer system of the present invention, the coprocessor that operates independently of the main processor initializes the system's H/W by setting the initial value in the register, while the main processor that executes the application Since this register cannot be accessed, the register settings will not be destroyed even if the main processor goes out of control due to an application failure.

【0008】[0008]

【実施例】以下、本発明をその実施例を示す図に基づい
て説明する。図1は本発明に係るコンピュータシステム
の第1の実施例構成を示すブロック図である。図中1は
システムの中央処理を司り、アプリケーションを実行す
るメインプロセッサであって、メインプロセッサ1には
、アドレスバス,データバスを介して、メモリ,周辺L
SI等の周辺デバイス2及び周辺デバイス2に対してコ
ントロールコマンドを出力する周辺デバイス制御部3が
接続されている。また、図中5は電源ON時のリセット
シーケンス及びH/Wコンフィギュレーションを行うコ
プロセッサであって、コプロセッサ5は、システムから
与えられるコールドリセット(CRST)信号に従って
コプロセッサ5を含むシステム全てのH/Wを初期化す
るCRST処理部501と、コプロセッサ5からのウォ
ームリセット(WRST)信号の出力に従ってコプロセ
ッサ5及びH/Wコンフィギュレーションレジスタ4を
除くメインプロセッサ1及び周辺デバイス制御部3を初
期化するWRST処理部502と、周辺デバイス2のH
/Wコンフィギュレーションを実行するH/Wコンフィ
ギュレーション処理部503とを有する。コプロセッ5
はアドレスバス,データバスを介して、H/Wの初期値
が設定されるH/Wコンフィギュレーションレジスタ4
に接続される。H/Wコンフィギュレーションレジスタ
4はバスを介して周辺デバイス制御部3に接続される。 即ち、H/Wコンフィギュレーションレジスタ4はメイ
ンプロセッサ1に接続されておらず、コプロセッサ5の
みがH/Wコンフィギュレーションレジスタ4にアクセ
ス可能であって、メインプロセッサ1はアクセスできな
い構成となっている。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described below with reference to figures showing embodiments thereof. FIG. 1 is a block diagram showing the configuration of a first embodiment of a computer system according to the present invention. In the figure, 1 is a main processor that controls the central processing of the system and executes applications.
A peripheral device 2 such as an SI and a peripheral device control section 3 that outputs control commands to the peripheral device 2 are connected. In addition, 5 in the figure is a coprocessor that performs a reset sequence and H/W configuration when the power is turned on, and the coprocessor 5 controls all the systems including the coprocessor 5 according to a cold reset (CRST) signal given from the system. The CRST processing unit 501 initializes the H/W, and the main processor 1 and peripheral device control unit 3 except for the coprocessor 5 and the H/W configuration register 4 according to the output of the warm reset (WRST) signal from the coprocessor 5. The WRST processing unit 502 to be initialized and the H of the peripheral device 2
/W configuration processing unit 503 that executes H/W configuration. Coprocessor 5
is the H/W configuration register 4 in which the initial value of the H/W is set via the address bus and data bus.
connected to. H/W configuration register 4 is connected to peripheral device control section 3 via a bus. That is, the H/W configuration register 4 is not connected to the main processor 1, and only the coprocessor 5 can access the H/W configuration register 4, and the main processor 1 cannot access it. .

【0009】以上のような構成の第1実施例によるH/
W初期化の動作を、図7に示すフローチャートに基づい
て説明する。コンピュータシステムは、CRST及びW
RSTの2系統のリセット信号により初期化される。電
源ON時、コプロセッサ5はシステムからのCRST信
号の入力によってCRST状態になる(S21)。CR
STの解除によりCRST処理部501が起動され、コ
プロセッサ5自身の初期化を行う(S22)。CRST
処理が完了すると、コプロセッサ5はWRST処理部5
2を起動し(S23)、メインプロセッサ1と周辺デバ
イス制御部3にWRST信号を出力してメインプロセッ
サ1と周辺デバイス制御部3とを初期化する(S24)
。コプロセッサ5はWRST信号を継続して出力しなが
らH/Wコンフィギュレーション処理部53を起動し(
S25)、H/Wコンフィギュレーションレジスタ4に
アクセスして周辺デバイス2の初期値を設定する(S2
6)。即ち、この設定によって、メインプロセッサ1は
周辺デバイス2へのアクセスに必要なH/W情報をH/
Wコンフィギュレーションレジスタ4から得て、その設
定に従ったアクセスを周辺デバイス2に対して行うこと
が可能となる。
[0009] The H/
The operation of W initialization will be explained based on the flowchart shown in FIG. The computer system is CRST and W
It is initialized by two systems of reset signals of RST. When the power is turned on, the coprocessor 5 enters the CRST state by inputting the CRST signal from the system (S21). CR
The CRST processing unit 501 is activated by the release of ST, and initializes the coprocessor 5 itself (S22). CRST
When the processing is completed, the coprocessor 5 executes the WRST processing unit 5
2 (S23), and outputs the WRST signal to the main processor 1 and peripheral device control unit 3 to initialize the main processor 1 and peripheral device control unit 3 (S24).
. The coprocessor 5 starts up the H/W configuration processing section 53 while continuously outputting the WRST signal (
S25), accesses the H/W configuration register 4 and sets the initial value of the peripheral device 2 (S25).
6). That is, with this setting, the main processor 1 transmits H/W information necessary for accessing the peripheral device 2.
It is possible to access the peripheral device 2 according to the settings obtained from the W configuration register 4.

【0010】設定が終了した後、コプロセッサ5はメイ
ンプロセッサ1と周辺デバイス制御部3とに対するWR
STを解除し(S27)、メインプロセッサ1は周辺デ
バイス2に対するアクセスを含むアプリケーションを実
行する(S28)。
After the settings are completed, the coprocessor 5 performs WR for the main processor 1 and the peripheral device control unit 3.
The ST is released (S27), and the main processor 1 executes an application including access to the peripheral device 2 (S28).

【0011】また、メインプロセッサ1のアプリケーシ
ョンに障害が発生してメインプロセッサ1が暴走した場
合でも、メインプロセッサ1はH/Wコンフィギュレー
ションレジスタ4へのアクセスが不可能であるため、レ
ジスタの設定値が壊されることはない。コプロセッサ5
は、メインプロセッサ1の暴走を検知した後、例えばメ
インプロセッサ1を再スタートする場合、メインプロセ
ッサ1に対してWRST信号を出力してリセット動作を
行うが、このときはCRST信号は発生しないので、H
/Wコンフィギュレーションレジスタ4に対する初期設
定を再度実行する必要はない。
[0011] Furthermore, even if a failure occurs in the application of the main processor 1 and the main processor 1 goes out of control, the main processor 1 cannot access the H/W configuration register 4. will not be destroyed. Coprocessor 5
For example, when restarting the main processor 1 after detecting a runaway in the main processor 1, the WRST signal is output to the main processor 1 to perform a reset operation, but at this time the CRST signal is not generated. H
/W There is no need to perform the initial setting for the configuration register 4 again.

【0012】図2は本発明に係るコンピュータシステム
の第2の実施例構成を示すブロック図である。本実施例
では、第1の実施例におけるH/Wコンフィギュレーシ
ョンレジスタとしてアドレスデコード用のメモリマップ
設定レジスタを利用する。なお、図中、第1の実施例と
同一又は相当部分には同一番号を付し、その説明を省略
する。図中41はH/Wの初期化、即ち、メモリコンフ
ィギュレーション(メモリマップを設定する)のための
メモリマップ設定レジスタである。メモリマップ設定レ
ジスタ41は、メインプロセッサ1から与えられるアド
レスデータに基づいて、周辺デバイス2に対するセレク
ト信号(チップセレクト)を出力するアドレスデコード
部31に接続されている。
FIG. 2 is a block diagram showing the configuration of a second embodiment of the computer system according to the present invention. In this embodiment, a memory map setting register for address decoding is used as the H/W configuration register in the first embodiment. In the drawings, the same or equivalent parts as in the first embodiment are given the same numbers, and the explanation thereof will be omitted. In the figure, 41 is a memory map setting register for initializing the H/W, that is, for memory configuration (setting a memory map). The memory map setting register 41 is connected to an address decoding section 31 that outputs a select signal (chip select) to the peripheral device 2 based on address data given from the main processor 1.

【0013】メモリマップ設定レジスタ41はメインプ
ロセッサ1に接続されておらず、コプロセッサ5のみが
メモリマップ設定レジスタ41にアクセス可能であって
、メインプロセッサ1はアクセスできない構成となって
いる。なお、H/Wの初期化動作及びメインプロセッサ
1の暴走時の処理動作は第1の実施例と同様であって、
同様の効果が得られる。
The memory map setting register 41 is not connected to the main processor 1, and only the coprocessor 5 can access the memory map setting register 41, and the main processor 1 cannot access it. Note that the initialization operation of the H/W and the processing operation when the main processor 1 runs out of control are the same as in the first embodiment.
A similar effect can be obtained.

【0014】図3は本発明に係るコンピュータシステム
の第3の実施例構成を示すブロック図である。本実施例
では第1の実施例におけるH/Wコンフィギュレーショ
ンレジスタとしてウォッチドッグタイマ(以下、WDT
と略記する)用の設定レジスタを利用する。なお、図中
、第1の実施例と同一又は相当部分には同一番号を付し
、その説明を省略する。図中6はメインプロセッサ1の
アプリケーションの暴走を監視するウォッチドッグタイ
マ(以下、WDTと略記する)、42はWDT6に接続
されており、WDT6の動作をイネーブルとするかディ
セーブルとするかの設定及びWDT6の監視時間の設定
のためのWDT設定レジスタである。
FIG. 3 is a block diagram showing the configuration of a third embodiment of a computer system according to the present invention. In this embodiment, a watchdog timer (hereinafter referred to as WDT) is used as the H/W configuration register in the first embodiment.
(abbreviated as ) is used. In the drawings, the same or equivalent parts as in the first embodiment are given the same numbers, and the explanation thereof will be omitted. In the figure, 6 is a watchdog timer (hereinafter abbreviated as WDT) that monitors the runaway of the application of the main processor 1, and 42 is connected to the WDT 6, and is used to set whether to enable or disable the operation of the WDT 6. and a WDT setting register for setting the monitoring time of WDT6.

【0015】WDT設定レジスタ42にメインプロセッ
サ1は接続されておらず、コプロセッサ5のみがWDT
設定レジスタ42にアクセス可能であって、メインプロ
セッサ1はアクセスできない構成となっている。また、
WDTエラー時のエラー情報はWDT設定レジスタ42
に格納されてコプロセッサ5により読み出しが可能であ
る。なお、H/Wの初期化動作及びメインプロセッサ1
の暴走時の処理動作については第1の実施例と同様であ
り、第1の実施例と同様の効果が得られる。
The main processor 1 is not connected to the WDT setting register 42, and only the coprocessor 5 is connected to the WDT setting register 42.
The configuration is such that the setting register 42 can be accessed, but the main processor 1 cannot. Also,
Error information at the time of a WDT error is stored in the WDT setting register 42.
It can be read by the coprocessor 5. In addition, the initialization operation of H/W and the main processor 1
The processing operation at the time of runaway is the same as in the first embodiment, and the same effects as in the first embodiment can be obtained.

【0016】図4は本発明に係るコンピュータシステム
の第4の実施例構成を示すブロック図である。本実施例
では、第1の実施例におけるH/Wコンフィギュレーシ
ョンレジスタとして、周辺デバイスからメインプロセッ
サへ返されるREADY信号のタイムアウト時間設定用
のレジスタを利用する。なお、図中、第1の実施例と同
一又は相当部分には同一番号を付し、その説明を省略す
る。図中7は周辺デバイス2からメインプロセッサ1に
返すREADY信号のタイムアウトを監視するREAD
Yタイムアウト監視部、43はREADYタイムアウト
監視部7に接続されており、READYタイムアウト監
視部7の動作をイネーブルとするかディセーブルとする
かの設定及びREADYタイムアウト時間の設定のため
のREADYタイムアウト設定レジスタである。
FIG. 4 is a block diagram showing the configuration of a fourth embodiment of a computer system according to the present invention. In this embodiment, a register for setting the timeout time of the READY signal returned from the peripheral device to the main processor is used as the H/W configuration register in the first embodiment. In the drawings, the same or equivalent parts as in the first embodiment are given the same numbers, and the explanation thereof will be omitted. 7 in the figure is READ, which monitors the timeout of the READY signal returned from the peripheral device 2 to the main processor 1.
The Y timeout monitoring unit 43 is connected to the READY timeout monitoring unit 7, and has a READY timeout setting register for setting whether to enable or disable the operation of the READY timeout monitoring unit 7 and setting the READY timeout time. It is.

【0017】READYタイムアウト設定レジスタ43
はメインプロセッサ1に接続されておらず、コプロセッ
サ5のみがREADYタイムアウト設定レジスタ43に
アクセス可能であって、メインプロセッサ1はアクセス
できない構成となっている。また、READYタイムア
ウトエラーの場合のエラー情報はREADYタイムアウ
ト設定レジスタ43に格納されてコプロセッサ5による
読み出しが可能である。なお、H/Wの初期化動作及び
メインプロセッサ1の暴走時の処理動作は第1の実施例
と同様であって、第1の実施例と同様の効果が得られる
。
READY timeout setting register 43
is not connected to the main processor 1, and only the coprocessor 5 can access the READY timeout setting register 43, and the main processor 1 cannot access it. Further, error information in the case of a READY timeout error is stored in the READY timeout setting register 43 and can be read by the coprocessor 5. Note that the initialization operation of the H/W and the processing operation when the main processor 1 runs out of control are the same as in the first embodiment, and the same effects as in the first embodiment can be obtained.

【0018】図5は本発明に係るコンピュータシステム
の第5の実施例構成を示すブロック図である。本実施例
では第1の実施例におけるH/Wコンフィギュレーショ
ンレジスタとして、キャッシュメモリのエリア,サイズ
等の設定用のレジスタを利用する。なお、図中、第1の
実施例と同一又は相当部分には同一番号を付し、その説
明を省略する。図中、8はキャッシュメモリ、9はキャ
ッシュメモリをコントロールするキャッシュコントロー
ル部、44はキャッシュコントロール部9に接続されて
おり、キャッシュコントロール部9の動作をイネーブル
とするかディセーブルとするかの設定及びキャッシュメ
モリ8のエリア,サイズを設定するためのキャッシュ設
定レジスタである。
FIG. 5 is a block diagram showing the configuration of a fifth embodiment of a computer system according to the present invention. In this embodiment, a register for setting the cache memory area, size, etc. is used as the H/W configuration register in the first embodiment. In the drawings, the same or equivalent parts as in the first embodiment are given the same numbers, and the explanation thereof will be omitted. In the figure, 8 is a cache memory, 9 is a cache control unit that controls the cache memory, and 44 is connected to the cache control unit 9, and is used to set whether to enable or disable the operation of the cache control unit 9. This is a cache setting register for setting the area and size of the cache memory 8.

【0019】キャッシュ設定レジスタ44はメインプロ
セッサ1に接続されておらず、コプロセッサ5のみがキ
ャッシュ設定レジスタ44にアクセス可能であって、メ
インプロセッサ1はアクセスできない構成となっている
。H/Wの初期化動作及びメインプロセッサ1の暴走時
の処理動作については第1の実施例と同様であって、第
1の実施例と同様の効果が得られる。
The cache setting register 44 is not connected to the main processor 1, and only the coprocessor 5 can access the cache setting register 44, and the main processor 1 cannot access it. The initialization operation of the H/W and the processing operation when the main processor 1 runs out of control are the same as in the first embodiment, and the same effects as in the first embodiment can be obtained.

【0020】図6は本発明に係るコンピュータシステム
の第6の実施例構成を示すブロック図である。なお、図
中、第1の実施例と同一又は相当部分には同一番号を付
し、その説明を省略する。図中、111〜11nは、メ
インプロセッサ1,メモリ,設定レジスタ等のH/W1
2n及び電源ON時のリセットシーケンス及びH/Wコ
ンフィギュレーションを行うコプロセッサ5nを内蔵す
るICカードである。コプロセッサ51〜5nは、CR
ST処理部,WRST処理部及びH/Wコンフィギュレ
ーション処理部を備える。また、図中13は、ICカー
ド111〜11n各別のH/W初期値を管理するシステ
ム初期化管理プログラム13Aを有し、コプロセッサ5
1〜5nに対して初期化要求を行うシステム初期化管理
カードであり、初期化管理カード13はバス10を介し
て接続されるICカード111〜11nそれぞれのH/
W121〜12nの初期化を管理する。また、ICカー
ド111〜11n内部において、H/W初期値の設定レ
ジスタはメインプロセッサ1に接続されておらず、コプ
ロセッサ51〜5nのみが設定レジスタにアクセス可能
であって、メインプロセッサ1はこの設定レジスタにア
クセスできない構成である。
FIG. 6 is a block diagram showing the configuration of a sixth embodiment of a computer system according to the present invention. In the drawings, the same or equivalent parts as in the first embodiment are given the same numbers, and the explanation thereof will be omitted. In the figure, 111 to 11n represent H/W1 such as the main processor 1, memory, and setting registers.
2n and a coprocessor 5n that performs a reset sequence when the power is turned on and H/W configuration. The coprocessors 51 to 5n are CR
It includes an ST processing section, a WRST processing section, and a H/W configuration processing section. Further, reference numeral 13 in the figure includes a system initialization management program 13A that manages H/W initial values for each of the IC cards 111 to 11n, and a coprocessor 5.
The initialization management card 13 is a system initialization management card that issues initialization requests to the IC cards 111 to 11n connected via the bus 10.
Manages initialization of W121 to W12n. Further, inside the IC cards 111 to 11n, the H/W initial value setting register is not connected to the main processor 1, and only the coprocessors 51 to 5n can access the setting register. The configuration is such that the setting register cannot be accessed.

【0021】次に、第6の実施例によるH/W初期化の
動作について、図8に示すシステム初期化管理カード1
3による初期化要求の手順を示すフローチャート及び図
9に示すICカード111〜11nに内蔵されたコプロ
セッサ51〜5nによる初期化の手順を示すフローチャ
ートに基づいて説明する。電源のON時、システム初期
化管理プログラム13Aの実行(S31)により、シス
テム初期化管理カード13からバス10を経由してIC
カード111〜11nのコプロセッサ51〜5nにH/
Wの初期化要求が通知される(S32)。このとき、I
Cカード111〜11nは、コプロセッサ51〜5nに
より、第1の実施例と同様のCRST信号の入力(S4
1)からWRST信号出力(S44)までのリセットシ
ーケンスを終了してシステム初期化管理カード13から
のH/W初期化要求待ちの状態にある(S45)。コプ
ロセッサ51〜5nは、システム初期化管理カード13
からH/W初期化要求を受けるとH/Wコンフィギュレ
ーション部を起動し(S46)、ICカード111〜1
1nそれぞれの対応するH/W121〜12nの初期設
定を行う(S47)。WRSTが解除されると(S48
)、メインプロセッサ1はアプリケーション実行可能と
なる(S49)。なお、ICカード111〜11n内部
におけるメインプロセッサ1の暴走時の処理動作は前述
の実施例と同様である。
Next, regarding the H/W initialization operation according to the sixth embodiment, the system initialization management card 1 shown in FIG.
The following description will be made based on a flowchart showing the initialization request procedure according to No. 3 and a flowchart showing the initialization procedure by the coprocessors 51 to 5n built in the IC cards 111 to 11n shown in FIG. When the power is turned on, the system initialization management program 13A is executed (S31), and the IC is transferred from the system initialization management card 13 via the bus 10.
H/ to coprocessors 51 to 5n of cards 111 to 11n.
A request to initialize W is notified (S32). At this time, I
The C cards 111 to 11n receive the same CRST signal input (S4) as in the first embodiment by the coprocessors 51 to 5n.
After completing the reset sequence from 1) to outputting the WRST signal (S44), the system waits for a H/W initialization request from the system initialization management card 13 (S45). The coprocessors 51 to 5n are the system initialization management card 13
When the H/W initialization request is received from the H/W configuration section (S46), the
Initial settings are made for the corresponding H/Ws 121 to 12n (S47). When WRST is released (S48
), the main processor 1 becomes able to execute the application (S49). Note that the processing operation when the main processor 1 runs out of control inside the IC cards 111 to 11n is the same as in the above-described embodiment.

【0022】以上のようなマルチプロセッサシステムは
、ICカードのH/W構成に応じて各ICカード111
〜11nのコプロセッサ51〜5nに設けられたH/W
コンフィギュレーション処理部を変更しなくても、シス
テム初期化管理カード13のシステム初期化管理プログ
ラム13Aによってシステムの初期化データを管理して
おき、変更時にはシステム初期化プログラム13Aのデ
ータの変更によって、各ICカードのコプロセッサへは
変更されたH/W初期化データを通知する構成であるの
での、ICカードに適したH/W初期化の管理を容易に
行える。
[0022] In the multiprocessor system as described above, each IC card 111 is
H/W provided in the coprocessors 51 to 5n of ~11n
Even if the configuration processing unit is not changed, the system initialization data is managed by the system initialization management program 13A of the system initialization management card 13, and when changes are made, each Since the configuration is such that the changed H/W initialization data is notified to the coprocessor of the IC card, it is possible to easily manage H/W initialization suitable for the IC card.

【0023】[0023]

【発明の効果】以上のように、本発明に係わるコンピュ
ータシステムは、メインプロセッサのリセット期間中に
、メインプロセッサとは別に独立して動作するコプロセ
ッサによってシステムのH/Wを初期化するとともに、
メインプロセッサによる初期値設定レジスタのアクセス
を不可能としたので、ディップスイッチ,ジャンパ等の
設定誤りによる障害の発生を回避できるとともに、メイ
ンプロセッサの暴走による重大な障害の発生を防止する
という優れた効果を奏する。
As described above, the computer system according to the present invention initializes the system H/W by a coprocessor that operates independently of the main processor during the reset period of the main processor, and
By making it impossible for the main processor to access the initial value setting register, it is possible to avoid failures due to incorrect settings of dip switches, jumpers, etc., and has the excellent effect of preventing serious failures due to runaway of the main processor. play.

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

【図1】本発明に係るコンピュータシステムの第1の実
施例構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a first embodiment of a computer system according to the present invention.

【図2】本発明に係るコンピュータシステムの第2の実
施例構成を示すブロック図である。
FIG. 2 is a block diagram showing the configuration of a second embodiment of a computer system according to the present invention.

【図3】本発明に係るコンピュータシステムの第3の実
施例構成を示すブロック図である。
FIG. 3 is a block diagram showing the configuration of a third embodiment of a computer system according to the present invention.

【図4】本発明に係るコンピュータシステムの第4の実
施例構成を示すブロック図である。
FIG. 4 is a block diagram showing the configuration of a fourth embodiment of a computer system according to the present invention.

【図5】本発明に係るコンピュータシステムの第5の実
施例構成を示すブロック図である。
FIG. 5 is a block diagram showing the configuration of a fifth embodiment of a computer system according to the present invention.

【図6】本発明に係るコンピュータシステムの第6の実
施例構成を示すブロック図である。
FIG. 6 is a block diagram showing the configuration of a sixth embodiment of a computer system according to the present invention.

【図7】本発明に係るコンピュータシステムの第1〜第
5の実施例によるH/W初期化の動作を説明するフロー
チャートである。
FIG. 7 is a flowchart illustrating the operation of H/W initialization according to the first to fifth embodiments of the computer system according to the present invention.

【図8】本発明に係るコンピュータシステムの第6の実
施例によるH/W初期化の動作を説明するフローチャー
トである。
FIG. 8 is a flowchart illustrating the H/W initialization operation according to the sixth embodiment of the computer system according to the present invention.

【図9】本発明に係るコンピュータシステムの第6の実
施例によるH/W初期化の動作を説明するフローチャー
トである。
FIG. 9 is a flowchart illustrating the operation of H/W initialization according to the sixth embodiment of the computer system according to the present invention.

【図10】従来のコンピュータシステムの構成を示すブ
ロック図である。
FIG. 10 is a block diagram showing the configuration of a conventional computer system.

【図11】従来のコンピュータシステムによるH/W初
期化の動作を説明するフローチャートである。
FIG. 11 is a flowchart illustrating the operation of H/W initialization by a conventional computer system.

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

1      メインプロセッサ 2      周辺デバイス 3      周辺デバイス制御部 4      H/Wコンフィギュレーションレジスタ
5      コプロセッサ 6      WDT 7      READY監視部 8      キャッシュメモリ 9      キャッシュコントロール部10    
バス 13    システム初期化管理カード13A  シス
テム初期化管理プログラム22    周辺デバイスコ
ントロール部41    メモリマップ設定レジスタ4
2    WDT設定レジスタ 43    READYタイムアウト設定レジスタ44
    キャッシュ設定レジスタ 51  〜5n    コプロセッサ 111〜11n  ICカード 121〜12n  H/W 501  CRST処理部 502  WRST処理部
1 Main processor 2 Peripheral device 3 Peripheral device control section 4 H/W configuration register 5 Coprocessor 6 WDT 7 READY monitoring section 8 Cache memory 9 Cache control section 10
Bus 13 System initialization management card 13A System initialization management program 22 Peripheral device control section 41 Memory map setting register 4
2 WDT setting register 43 READY timeout setting register 44
Cache setting register 51 ~ 5n Coprocessor 111 ~ 11n IC card 121 ~ 12n H/W 501 CRST processing section 502 WRST processing section

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  メインプロセッサが周辺デバイスにア
クセスしてアプリケーションの実行が可能となるように
、構成ハードウェアを初期化するコンピュータシステム
において、ハードウェアの初期値を設定する手段を有し
、メインプロセッサと独立して動作するコプロセッサと
、コプロセッサが設定する初期値を記憶するレジスタと
、ハードウェアの初期化をコプロセッサに要求する手段
と、メインプロセッサによる前記レジスタのアクセスを
不可能とする手段とを備えたことを特徴とするコンピュ
ータシステム。
Claims: 1. A computer system for initializing component hardware so that a main processor can access peripheral devices and execute applications, comprising: means for setting initial values of the hardware; a coprocessor that operates independently of the coprocessor, a register that stores initial values set by the coprocessor, means for requesting the coprocessor to initialize hardware, and means for disabling access to the register by the main processor. A computer system comprising:
JP3082392A 1991-04-15 1991-04-15 Computer system Expired - Fee Related JP2592360B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3082392A JP2592360B2 (en) 1991-04-15 1991-04-15 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3082392A JP2592360B2 (en) 1991-04-15 1991-04-15 Computer system

Publications (2)

Publication Number Publication Date
JPH04315211A true JPH04315211A (en) 1992-11-06
JP2592360B2 JP2592360B2 (en) 1997-03-19

Family

ID=13773313

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3082392A Expired - Fee Related JP2592360B2 (en) 1991-04-15 1991-04-15 Computer system

Country Status (1)

Country Link
JP (1) JP2592360B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5564054A (en) * 1994-08-25 1996-10-08 International Business Machines Corporation Fail-safe computer boot apparatus and method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS626335A (en) * 1985-07-02 1987-01-13 Nec Corp Data processing system
JPH01230111A (en) * 1988-03-10 1989-09-13 Fujitsu Ltd Power source control system
JPH02252049A (en) * 1989-03-24 1990-10-09 Mitsubishi Electric Corp Initializing control system for electronic computer constituted of multiprocessor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS626335A (en) * 1985-07-02 1987-01-13 Nec Corp Data processing system
JPH01230111A (en) * 1988-03-10 1989-09-13 Fujitsu Ltd Power source control system
JPH02252049A (en) * 1989-03-24 1990-10-09 Mitsubishi Electric Corp Initializing control system for electronic computer constituted of multiprocessor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5564054A (en) * 1994-08-25 1996-10-08 International Business Machines Corporation Fail-safe computer boot apparatus and method

Also Published As

Publication number Publication date
JP2592360B2 (en) 1997-03-19

Similar Documents

Publication Publication Date Title
US9141417B2 (en) Methods and systems for integrated storage and data management using a hypervisor
US5729675A (en) Apparatus for initializing a multiple processor computer system using a common ROM
JP5890049B2 (en) Method and apparatus for clearing a semaphore reservation
EP0099125B1 (en) Multicomputer system having dual common memories
CN104866443B (en) It is exclusive that storage can be interrupted
US5133057A (en) Co-processor for control setting an internal flag register operation mode which controlled a main processor execution mode in a multi-processor system
JPH02202636A (en) Computer with fault tolerant capacity
JPH06250871A (en) CPU core, ASIC having the CPU core, and emulation system including the ASIC
US5003458A (en) Suspended instruction restart processing system based on a checkpoint microprogram address
EP0235255A1 (en) Data processing system including a prefetch circuit.
JPH07219809A (en) Apparatus and method for data processing
JPH0713816B2 (en) Multiprocessor computing system featuring overall control
US7124224B2 (en) Method and apparatus for shared resource management in a multiprocessing system
US7216252B1 (en) Method and apparatus for machine check abort handling in a multiprocessing system
JPS58197553A (en) Program monitor
JP2003223338A (en) Redundant system
JP2592360B2 (en) Computer system
JP2004302731A (en) Information processing apparatus and fault diagnosis method
JP6256087B2 (en) Dump system and dump processing method
JP4023441B2 (en) Computer system and program
JPS6029141B2 (en) coupling device
JP3076155B2 (en) Initial setting method of multiprocessor system
JPH0635747A (en) Debug support device
JPS5816547B2 (en) Virtual memory data processing system
JP3168845B2 (en) Digital signal processor

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071219

Year of fee payment: 11

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081219

Year of fee payment: 12

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091219

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091219

Year of fee payment: 13

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101219

Year of fee payment: 14

LAPS Cancellation because of no payment of annual fees