JPH04252315A - Processor resetting method - Google Patents

Processor resetting method

Info

Publication number
JPH04252315A
JPH04252315A JP3026902A JP2690291A JPH04252315A JP H04252315 A JPH04252315 A JP H04252315A JP 3026902 A JP3026902 A JP 3026902A JP 2690291 A JP2690291 A JP 2690291A JP H04252315 A JPH04252315 A JP H04252315A
Authority
JP
Japan
Prior art keywords
initialization
initial setting
operation mode
mup
processing device
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
JP3026902A
Other languages
Japanese (ja)
Inventor
Kazuyuki Masuo
増尾 和行
Tsutomu Komatsubara
小松原 勉
Hideo Shinpo
英男 新保
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.)
Nippon Telegraph and Telephone Corp
Original Assignee
Nippon Telegraph and Telephone 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 Nippon Telegraph and Telephone Corp filed Critical Nippon Telegraph and Telephone Corp
Priority to JP3026902A priority Critical patent/JPH04252315A/en
Publication of JPH04252315A publication Critical patent/JPH04252315A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To apply a general-purpose microprocessor chip even to a processor of a switchboard, etc., that requires the high reliability processor by attaining the initialization to each operation mode of the processor with a simple means. CONSTITUTION:The factor of initialization is set to a reset status register RSR with an initialization request and a microprocessor muP is started. The mode definition date stored in a ROM is set to 8 relevant register group RSG. Then the muP reads the RSR and analyzes the factor of initialization. In regard of the general initialization, e.g. a resetting operation performed through an external switch, the normal initialization processing is carried out. In regard of the initialization proper to an operating mode, i.e., a reset state caused by a trouble, the trouble recovering method is decided based on the date on the operation mode. Then, an initialization routine is selected and carried out in response to each operation mode. The muP clears the RSR at the end of an initial routine and runs or halts a central processor unit CPU in response to the operation mode. Finally the muP halts itself.

Description

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

【0001】0001

【産業上の利用分野】本発明は、交換機等の処理装置の
リセット方法に関し、とくに交換機や通信装置等の処理
装置における初期設定の方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for resetting a processing device such as a switch, and more particularly to a method for initializing a processing device such as a switch or communication device.

【0002】0002

【従来の技術】電話交換機や通信装置等に適用される処
理装置は、高い信頼性を確保するため、例えば、予備の
処理装置を1台余分に用意して、2重化の冗長な構成を
採っている。そして、無中断運転を実現するため2重化
処理装置の故障の検出や切替えを短時間で自動的に行う
特殊な初期設定の回路を具備し高信頼化を図っている。
[Prior Art] In order to ensure high reliability of processing devices applied to telephone exchanges, communication equipment, etc., for example, one extra spare processing device is prepared to create a redundant configuration with duplication. I'm picking it up. In order to achieve uninterrupted operation, the system is equipped with a special initial setting circuit that automatically detects failures and switches over the duplex processing equipment in a short period of time to ensure high reliability.

【0003】すなわち、この初期設定の回路では処理装
置の故障を検出すると処理装置を初期化してメインメモ
リの再開番地からリスタートするような初期設定の機能
や、故障の状況によっては処理装置の初期化後ファイル
記憶装置等からプログラム,データ等をメインメモリに
ロードしてメインメモリの再開番地からリスタートする
ような初期設定の機能を具備し、高信頼化を達成してい
る。
In other words, this initial setting circuit has an initial setting function such as initializing the processing device and restarting it from the restart address of the main memory when a failure of the processing device is detected, and depending on the situation of the failure, the initial setting function of the processing device is initialized. It is equipped with an initial setting function that loads programs, data, etc. from a file storage device into the main memory and restarts from the restart address of the main memory, achieving high reliability.

【0004】また、上記の処理装置を複数台具備したよ
うなマルチプロセッサの構成では、初期設定を複数回実
行しても正常に復旧しないときは、自処理装置の故障が
他の処理装置に影響を及ぼさないよう初期設定を行った
後自己停止する方法等の機能も具備していることがある
[0004] Furthermore, in a multiprocessor configuration including a plurality of the above-mentioned processing devices, if the initial setting is not restored to normal even after performing the initial settings multiple times, it is possible that a failure of the own processing device affects other processing devices. Some devices also have functions such as a method to self-stop after initial settings are made to avoid any adverse effects.

【0005】[0005]

【発明が解決しようとする課題】このような各種の初期
設定機能を具備した交換機等のような処理装置では、従
来は個別のICや専用のLSIで初期設定の機能を実現
しており、初期設定の機能が異なる処理装置毎に、最適
な回路の構成を採る方法が各々の性能や経済性の面から
優れていた。
[Problem to be Solved by the Invention] Conventionally, in processing devices such as exchanges equipped with various initial setting functions, the initial setting function has been realized using individual ICs or dedicated LSIs. A method of configuring an optimal circuit for each processing device with different functions has been superior in terms of performance and economy.

【0006】近年、マイクロプロセッサ等の部品技術の
高速な進歩にともない高密度化,高集積化が可能となり
、また処理装置等の性能が向上してきた。そして汎用的
なマイクロプロセッサチップ(MPU)が安価に提供さ
れ、高信頼化,高性能化を要求される交換機の処理装置
等にも汎用的なマイクロプロセッサチップMPUが適用
されるようになってきた。しかし、マイクロプロセッサ
チップMPUの周辺に前記のような特別な初期設定の回
路を装置毎に具備させて高信頼化を実現していたのでは
、経済性は達成できない。
[0006] In recent years, with rapid progress in component technology for microprocessors and the like, higher density and higher integration have become possible, and the performance of processing devices and the like has improved. As general-purpose microprocessor chips (MPUs) have become available at low prices, they have come to be used in switching equipment processing equipment that requires high reliability and high performance. . However, if high reliability is achieved by providing each device with a special initial setting circuit as described above around the microprocessor chip MPU, economical efficiency cannot be achieved.

【0007】すなわち、処理装置の用途等により要求さ
れる初期設定の機能が異なるため、各々の初期設定機能
を別々の回路で実現するのは経済的でない。また各種の
初期設定機能の全てを一つの回路で行う方法は、実現が
困難であるとともに、回路規模が多くなる欠点がある。
That is, since the required initial setting functions differ depending on the purpose of the processing device, it is not economical to realize each initial setting function with separate circuits. Furthermore, a method in which all of the various initial setting functions are performed in one circuit is difficult to implement and has the disadvantage of increasing the circuit scale.

【0008】本発明の目的は上記問題点を解決し、処理
装置の各種の動作モードに対する初期設定を簡単な回路
で容易に実現でき、交換機等、高信頼化が要求される処
理装置に対しても汎用的なマイクロプロセッサチップM
PUを適用できる処理装置のリセット方法を提供するこ
とにある。
An object of the present invention is to solve the above-mentioned problems, to easily realize initial settings for various operating modes of a processing device with a simple circuit, and to provide a solution for processing devices that require high reliability, such as switching equipment. Also a general-purpose microprocessor chip M
An object of the present invention is to provide a method for resetting a processing device to which PU can be applied.

【0009】[0009]

【課題を解決するための手段】本発明は上記目的を達成
するため、処理装置の外部あるいは処理装置の内部要因
でリセット指示信号を送出するリセット指示信号送出手
段と、前記リセット指示信号送出手段からリセット指示
信号を受信すると、該リセット指示信号の要因を表示す
る要因表示手段と、処理装置の動作機能に応じた初期設
定を行う複数の初期設定手段を備え、前記要因表示手段
の内容を判定して識別した要因により、前記複数の初期
設定手段の中から一つの初期設定手段を選択し、動作機
能に応じた初期設定を処理装置に行うことを特徴とする
[Means for Solving the Problems] In order to achieve the above object, the present invention provides reset instruction signal sending means for sending out a reset instruction signal by a factor external to a processing device or internal to the processing device, and When a reset instruction signal is received, the processing apparatus includes a factor display means for displaying the cause of the reset instruction signal, and a plurality of initial setting means for making initial settings according to the operating function of the processing device, and determines the contents of the cause display means. According to the identified factors, one initial setting means is selected from among the plurality of initial setting means, and initial settings are performed on the processing device according to the operating function.

【0010】0010

【作用】本発明は処理装置の適用位置や用途等の動作を
定義している動作モードを記憶し、また初期設定の発生
原因を記憶表示し、動作モードに応じた初期設定の要因
を、表示している初期設定の発生原因を参照して分析を
行い識別し、記憶している動作モードに対応した初期設
定を実行することにより、初期設定の原因が生じた時、
記憶している動作モードに応じた初期設定を実行する。
[Operation] The present invention memorizes the operation mode that defines the operation of the processing device such as its application position and purpose, and also stores and displays the causes of the initial settings, and displays the factors of the initial settings according to the operation mode. By referring to and analyzing the cause of the initial setting that has occurred, identifying it, and executing the initial setting that corresponds to the memorized operation mode, when the cause of the initial setting occurs,
Execute initial settings according to the stored operation mode.

【0011】[0011]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。図1は本発明の実施例で、処理装置全体の
構成例を示す。
Embodiments Next, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is an embodiment of the present invention, showing an example of the overall configuration of a processing device.

【0012】CPUはセントラルプロセッサユニットで
汎用のマイクロプロセッサチップMPU等により構成さ
れている。MMはメインメモリで、セントラルプロセッ
サユニットCPUで実行するプログラムが格納されてい
る他、一部のエリアに初期設定機能を実行する手段であ
るマイクロプログラムルーチン、すなわち初期設定ルー
チンが格納されている。
[0012] The CPU is a central processor unit and is composed of a general-purpose microprocessor chip MPU or the like. MM is a main memory that stores programs to be executed by the central processor unit CPU, and also stores in a part of the area a microprogram routine that is a means for executing initial setting functions, that is, an initial setting routine.

【0013】この初期設定を実行するルーチンは、書き
替える必要がないこと、またセントラルプロセッサユニ
ットCPU等からの悪影響を受けないようにするため、
リードオンリーの読み出し専用メモリ(ROM)で構成
する。さらに読み出し専用メモリROMの領域の一部に
セントラルプロセッサユニットCPU等の動作モードを
定義したデータ、例えば動作構成,動作機能が格納され
ている。
[0013] In order to avoid the need to rewrite the routine for executing this initial setting and to prevent it from being adversely affected by the central processor unit CPU, etc.,
It consists of read-only memory (ROM). Further, in a part of the area of the read-only memory ROM, data defining the operating mode of the central processor unit CPU, etc., such as the operating configuration and operating functions, is stored.

【0014】この動作モードを定義したデータは、セン
トラルプロセッサユニットCPUの冗長構成が、例えば
2重化構成のデュプレックスモードであることを示した
り、ウォッチドッグタイマ等の各種タイマの初期値を定
義するためのデータである。そしてこの定義データは周
辺回路(PEC)のレジスタ群(RGG)等に設定する
データで、初期設定ルーチンのマイクロプログラムによ
り設定される。
[0014] The data defining this operating mode is used to indicate that the redundant configuration of the central processor unit CPU is, for example, a duplex mode with a duplex configuration, and to define the initial values of various timers such as a watchdog timer. This is the data. This definition data is data set in the register group (RGG) of the peripheral circuit (PEC), and is set by the microprogram of the initial setting routine.

【0015】また、レジスタ群RGGの中に初期設定の
原因を表示するリセットステータスレジスタ(RSR)
を具備する。リセットステータスレジスタRSRは、初
期設定のルーチンにおいて、初期化の方法を選択する際
に参照するため必要である。
[0015] Also, in the register group RGG, there is a reset status register (RSR) that displays the cause of the initial setting.
Equipped with. The reset status register RSR is necessary for reference when selecting an initialization method in the initial setting routine.

【0016】この初期設定のルーチンを実行するために
セントラルプロセッサユニットCPUとは別に、例えば
8ビット程度の小さなマイクロプロセッサ(μP)をこ
の実施例では示している。
In order to execute this initial setting routine, a small microprocessor (μP) of, for example, about 8 bits is shown in this embodiment in addition to the central processor unit CPU.

【0017】なお、セントラルプロセッサユニットCP
U内のマイクロプロセッサチップMPUを利用すること
も可能であるが、セントラルプロセッサユニットCPU
等を初期設定する機能が必要であるため、異なるマイク
ロプロセッサチップMPU、すなわち小さなマイクロプ
ロセッサμPにより実現した方が確実である。
Note that the central processor unit CP
It is also possible to use the microprocessor chip MPU in the U, but the central processor unit CPU
etc., it is more reliable to implement it using a different microprocessor chip MPU, that is, a small microprocessor μP.

【0018】図1において初期設定の要求が発生したと
きの動作の概要のフローを図2に示す。
FIG. 2 shows a general flow of operations when an initial setting request occurs in FIG. 1.

【0019】内部、又は外部より初期設定の要求が発生
すると、要因がリセットステータスレジスタRSRに設
定される。また、マイクロプロセッサμPが起動される
。そしてマイクロプロセッサμPはメインメモリMM内
の読み出し専用メモリROMの内容を読み出し、内容に
従って初期設定のルーチンが実行される。
When a request for initialization is generated internally or externally, the cause is set in the reset status register RSR. Also, the microprocessor μP is activated. The microprocessor μP then reads the contents of the read-only memory ROM in the main memory MM, and an initialization routine is executed according to the contents.

【0020】このルーチンでは、まず読み出し専用メモ
リROM内のモード定義のデータをレジスタ群RGGの
関係するレジスタ群に設定する(ステップ10)。
In this routine, first, mode definition data in the read-only memory ROM is set in a register group related to the register group RGG (step 10).

【0021】設定後、マイクロプロセッサμPはリセッ
トステータスレジスタRSRを読み出し、初期設定の要
因を解析する(ステップ20)。
After setting, the microprocessor μP reads the reset status register RSR and analyzes the cause of the initial setting (step 20).

【0022】そして一般的な初期設定、例えば外部スイ
ッチからのリセット等であれば、通常の初期設定処理、
例えばセントラルプロセッサユニットCPUを初期設定
し、メインメモリMMの再開番地からのリスタートの指
示を実行する。
[0022] For general initial settings, such as resetting from an external switch, the normal initial setting process,
For example, the central processor unit CPU is initialized and an instruction to restart from the restart address of the main memory MM is executed.

【0023】一方、動作モード特有の初期設定、すなわ
ち、故障によるリセットの場合は、故障後の回復法を動
作モードのデータで判定して実行する。例えば、外部に
故障を波及しないような自己停止のための初期設定機能
や、ファイル記憶装置からプログラム,データ等をメイ
ンメモリMMにロードするイニシャルプログラムロード
IPLを実行するための初期設定機能等、個々の動作モ
ードに応じた初期設定ルーチンを選択する(ステップ3
0)。
On the other hand, in the case of initial settings specific to the operation mode, ie, reset due to a failure, a recovery method after the failure is determined and executed based on the data of the operation mode. For example, an initial setting function for self-stop to prevent failures from spreading to the outside, an initial setting function for executing an initial program load IPL that loads programs, data, etc. from a file storage device to the main memory MM, etc. Select the initial setting routine according to the operation mode of the (Step 3)
0).

【0024】マイクロプロセッサμPは、初期設定のル
ーチンが終了したならば、リセットステータスレジスタ
RSRをクリア状態とする(ステップ40)。
When the initial setting routine is completed, the microprocessor μP clears the reset status register RSR (step 40).

【0025】また、セントラルプロセッサユニットCP
Uに対しては動作モードに応じてラン、またはホルトに
する(ステップ50)。
[0025] Furthermore, the central processor unit CP
U is set to run or halt depending on the operation mode (step 50).

【0026】そして最後にマイクロプロセッサμPは自
分自身でホルトとなる。
Finally, the microprocessor μP halts itself.

【0027】[0027]

【発明の効果】以上説明したように、本発明は初期設定
の原因を示すレジスタと、初期設定を実行する初期設定
のルーチンを具備することにより各種の動作モードに対
する初期設定を簡単な回路で容易に実現でき、交換機等
、高信頼化が要求される処理装置に対しても汎用的なマ
イクロプロセッサチップMPUを適用できる効果がある
As explained above, the present invention has a register indicating the cause of the initial setting and an initial setting routine that executes the initial setting, thereby facilitating initial setting for various operation modes with a simple circuit. This has the effect that the general-purpose microprocessor chip MPU can be applied to processing devices such as switchboards that require high reliability.

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

【図1】本発明の実施例である。FIG. 1 is an embodiment of the present invention.

【図2】本発明の実施例の動作フロー図である。FIG. 2 is an operational flow diagram of an embodiment of the present invention.

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

CPU  セントラルプロセッサユニットMM  メイ
ンメモリ PEC  周辺回路 RGG  レジスタ群 RSR  リセットステータスレジスタμP  マイク
ロプロセッサ ROM  読み出し専用メモリ
CPU Central processor unit MM Main memory PEC Peripheral circuit RGG Register group RSR Reset status register μP Microprocessor ROM Read-only memory

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  処理装置の外部あるいは処理装置の内
部要因でリセット指示信号を送出するリセット指示信号
送出手段と、前記リセット指示信号送出手段からリセッ
ト指示信号を受信すると、該リセット指示信号の要因を
表示する要因表示手段と、処理装置の動作機能に応じた
初期設定を行う複数の初期設定手段を備え、前記要因表
示手段の内容を判定して識別した要因により、前記複数
の初期設定手段の中から一つの初期設定手段を選択し、
動作機能に応じた初期設定を処理装置に行うことを特徴
とする処理装置のリセット方法。
1. Reset instruction signal sending means for sending out a reset instruction signal due to a factor external to a processing device or internal to the processing device; and upon receiving a reset instruction signal from the reset instruction signal sending device, the cause of the reset instruction signal is determined. It is provided with a factor display means for displaying and a plurality of initial setting means for making initial settings according to the operational function of the processing device, and a factor identified by determining the contents of the factor display means is used to determine whether or not one of the plurality of initial setting means is selected. Select one initial setting method from
A method for resetting a processing device, comprising performing initial settings on the processing device according to an operating function.
JP3026902A 1991-01-28 1991-01-28 Processor resetting method Pending JPH04252315A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3026902A JPH04252315A (en) 1991-01-28 1991-01-28 Processor resetting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3026902A JPH04252315A (en) 1991-01-28 1991-01-28 Processor resetting method

Publications (1)

Publication Number Publication Date
JPH04252315A true JPH04252315A (en) 1992-09-08

Family

ID=12206165

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3026902A Pending JPH04252315A (en) 1991-01-28 1991-01-28 Processor resetting method

Country Status (1)

Country Link
JP (1) JPH04252315A (en)

Similar Documents

Publication Publication Date Title
US6393560B1 (en) Initializing and restarting operating systems
US5748877A (en) Method for executing embedded diagnostics from operating system-based applications
US20070011507A1 (en) System and method for remote system support
US20080229158A1 (en) Restoration device for bios stall failures and method and computer program product for the same
WO2020239060A1 (en) Error recovery method and apparatus
US20050204123A1 (en) Boot swap method for multiple processor computer systems
US10379931B2 (en) Computer system
US7721083B2 (en) CPU runaway determination circuit and CPU runaway determination method
JP2002259130A (en) Information processing system and is start control method
JPH07219809A (en) Apparatus and method for data processing
CN110083491A (en) A kind of BIOS initialization method, apparatus, equipment and storage medium
US20050033952A1 (en) Dynamic scheduling of diagnostic tests to be performed during a system boot process
JP2004362543A (en) Safety power disconnection system and its method
CA2340342A1 (en) A method, computer, and article of manufacturing for fault tolerant booting
JP2001290758A (en) Computer system
JPH04252315A (en) Processor resetting method
JP2005202306A (en) Large screen display system
CN114443446B (en) Hard disk indicator lamp control method, system, terminal and storage medium
TWI715005B (en) Monitor method for demand of a bmc
JP3449812B2 (en) Control electronics
CN114816552A (en) Server startup blocking optimization method, system, terminal and storage medium
US7386712B2 (en) Firmware developer user interface with break command polling
US20020083361A1 (en) Home base user interface
JPS61221850A (en) Loading system for reinitialization program
US20060026321A1 (en) Increasing the number of I/O decode ranges using SMI traps