JPH0368023A - Electronic computer - Google Patents
Electronic computerInfo
- Publication number
- JPH0368023A JPH0368023A JP20409689A JP20409689A JPH0368023A JP H0368023 A JPH0368023 A JP H0368023A JP 20409689 A JP20409689 A JP 20409689A JP 20409689 A JP20409689 A JP 20409689A JP H0368023 A JPH0368023 A JP H0368023A
- Authority
- JP
- Japan
- Prior art keywords
- program
- area
- write
- memory
- read
- 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
Links
Landscapes
- Stored Programmes (AREA)
- Executing Machine-Instructions (AREA)
Abstract
Description
【発明の詳細な説明】
〔産業上の利用分野〕
この発明は、放射線被爆環境下、計算機の保守が容易で
ない環境下にある1例えば人工衛星、宇宙往還機、宇宙
基地等に搭載される計算機に関するものである。[Detailed Description of the Invention] [Field of Industrial Application] This invention is applicable to computers installed in artificial satellites, spacecraft, space bases, etc., which are exposed to radiation and in environments where computer maintenance is not easy. It is related to.
従来の電子計算機は大別して2つのタイプに分類される
。第4図は従来の電子計算機の第1のタイプである読み
書き可能メモリ主体の電子計算機の典型的な構成を示す
図であ九図にかいて(1)は中央処理装置(以下、cp
σと略す。)、伐)は読み出し専用メモリ(以下、RO
Mと略す。)、(□□□は読み書き可能メモリ(以下、
RAMと略す。)。Conventional electronic computers can be broadly classified into two types. Figure 4 is a diagram showing a typical configuration of an electronic computer based on readable/writable memory, which is the first type of conventional electronic computer.
Abbreviated as σ. ), logging) is read-only memory (hereinafter referred to as RO)
Abbreviated as M. ), (□□□ is read/write memory (hereinafter referred to as
Abbreviated as RAM. ).
(41dバス(テータバス、アドレスバス、 及ヒfl
l[制御バスから成る)、(51はRAM及び一部RO
Mに収納された搭載プログラム、(6)はRA M +
3)上のワークエリア(スタックエリアを含む)、(7
)はRAM(3)上のスペースエリアである。図には示
して旨ないが、これ以外にI10インタフェース、電源
。(41d bus (data bus, address bus,
l [consists of a control bus], (51 is RAM and some RO
The installed program stored in M, (6) is RAM +
3) Upper work area (including stack area), (7
) is a space area on RAM (3). Although not shown in the diagram, there is also an I10 interface and power supply.
クロック、DMム(Direct Memory Ac
cess) :yントローラ1割少込み処理回路、セー
フティ回路等が付加される場合舛多いが、ここではこの
発明に直接関係しなしので省略する。Clock, DM (Direct Memory Ac)
cess) :Y controller 1 There are many cases in which a small interrupt processing circuit, a safety circuit, etc. are added, but they are omitted here because they are not directly related to this invention.
第5図は従来の電子計算機のg20タイプである読み出
し専用メモリ主体の電子計算機の典型的構成を示す図で
あう1図にかいテ(tlハc P U、 +21はRO
M、(31はRAM、(41はバス、(5)はROM
+21に収納された搭載プログラム、(6)はRA M
(31上のワークエリア(スタックエリアを含む)、
m&−)RAM+31上のスペースエリアである0次に
これらの電子計算機の動作を!12明する・uOM+2
1tたはRAM+3)に収納された搭載プログラムはO
P U (1)にようバス(4)を介して逐次読み出さ
れ、解読、処理されて電子計算機に要求されている入出
力データ処理、制御計算、故障検知等の諸機能を果たす
。このとき、可変パラメータや一時データの収納場所、
スタック待避場所としてRA M +31上のワークエ
リア(6)がOP [r (1)の制御の下で適宜使用
される。Figure 5 is a diagram showing a typical configuration of a conventional electronic computer of the g20 type, which is a computer mainly based on read-only memory.
M, (31 is RAM, (41 is bus, (5) is ROM
Onboard program stored in +21, (6) is RAM
(Work area on 31 (including stack area),
m&-) The operation of these electronic computers in the 0th order, which is the space area on RAM+31! 12 light・uOM+2
The onboard program stored in 1t or RAM + 3) is O.
The data is sequentially read out by the P U (1) via the bus (4), decoded and processed, and performs various functions required of the electronic computer, such as input/output data processing, control calculation, and failure detection. At this time, storage locations for variable parameters and temporary data,
A work area (6) on RAM +31 is used as a stack save area as appropriate under the control of OP [r (1).
従来の電子計算機の第1のタイプであるRAM(3)主
体の電子計算機は地上局からのコマンドによってRA
M +31上に収納された搭載プログラムを軌道上にわ
いて書き換えたす、スペアエリアを使って搭載プログラ
ムにバッチを当てたbする。いわゆる軌道上再プログラ
ムが可能であった。従って。The first type of conventional electronic computer, a RAM (3) based computer, uses RA based on commands from the ground station.
The onboard program stored on M+31 was rewritten in orbit, and the spare area was used to apply a batch to the onboard program. So-called in-orbit reprogramming was possible. Therefore.
軌道上で不具合等で搭載プログラムを変更する場合に柔
軟に対処することか可能であった。その反面、現在宇宙
用のRAMとして使用されている半導体素子の多←が放
射線に対してする防備が弱く。It was possible to flexibly deal with changes to the onboard program due to problems in orbit. On the other hand, many of the semiconductor devices currently used in space RAM have weak protection against radiation.
lL道道上かいてビットステータス創反転する。いわゆ
るシングルイベントエラーをしばしば発生するという大
きな欠点を有していた。そのため放射線のシールド対策
間必要になるが、完全な防止は不可能であるため、この
タイプの電子計算機の多くはクリティカルなプログラム
やパラメータをよシ放射線に対してする防備が高いRQ
Mに収納し。LL Bit status is reversed by writing on the road. This method has a major drawback in that so-called single event errors often occur. For this reason, radiation shielding measures are required, but since complete prevention is impossible, many of this type of electronic computers are equipped with high RQ to protect critical programs and parameters from radiation.
Store it in M.
エラー発生時には一時的にROM上のプログラムを使用
して安全な制御モードに移行した上、 RAMにプロ
グラムを再ロードする等の処置が施されていた。しかし
、この間、−時的ではあるがミッションを中断すること
が避けられなかった。また。When an error occurred, measures were taken such as temporarily transitioning to a safe control mode using the program in ROM, and then reloading the program to RAM. However, during this time, it was inevitable that the mission would be interrupted, albeit temporarily. Also.
RAMにプログラムを保持してしくためにはRAyへ電
力供給を常に行う必要があう、電力供給の中断等の障害
時には障害回復後にRAMにプログラムを再ロードする
必要が有カ、上記同様の処置が施されていても一時的で
はあるがミッションを中断することが避けられなかった
。In order to retain the program in the RAM, it is necessary to constantly supply power to the RAy.In the event of a failure such as an interruption in the power supply, it is necessary to reload the program to the RAM after the failure is recovered.The same measures as above are required. Even if this was done, it was inevitable that the mission would be interrupted, albeit temporarily.
一方、第2のタイプであるROM主体の電子計算機は、
ROMのビット反転に必要エネルギーレベルd RA
Mに比べて遥かに高いため放射線によるシングルイベン
トエラーは問題にならず、この点で信頼性が高いのが特
徴である。しかし、搭載プログラムがすべてROMに書
かれているため軌道上再プログラムは一般に不可能であ
シ、軌道上での予期しない不具合の発生によるプログラ
ムの変更及び追加、及びミッション要求の変更によるプ
ログラムの変更及び追加に対して柔軟に対応できなしと
いう欠点があった。On the other hand, the second type of ROM-based computer is
Energy level required for bit inversion of ROM d RA
Since it is much higher than M, single event errors due to radiation are not a problem, and in this respect it is characterized by high reliability. However, since all onboard programs are written in ROM, in-orbit reprogramming is generally impossible, and program changes or additions due to unexpected malfunctions in orbit, or program changes due to changes in mission requirements. It also had the disadvantage of not being able to respond flexibly to additions.
この発明は従来の電子計算機における上記の問題点を解
決するためになされたもので、従来のROM主体の電子
計算機が有する放射線に対する高い信頼性と、RAM主
体の電子計算機が有する軌道上再プログラム機能による
システムの柔軟性を併せ持ち、な)かつシステムの柔軟
性を得るために低下する信頼性を、RAMに置くパッチ
プログラムをそのサブルーチン単位で設定することによ
う、最小限に抑えることのできる電子計算機を得ること
を目的とする。This invention was made to solve the above-mentioned problems in conventional electronic computers, and has the high reliability against radiation that conventional ROM-based computers have, and the in-orbit reprogramming function that RAM-based computers have. This is an electronic computer that has system flexibility due to system flexibility, and can minimize the reliability that decreases due to system flexibility by setting patch programs stored in RAM for each subroutine. The purpose is to obtain.
この発明に係る電子計算機は、ブレークポイントの搭載
プログラム上での設定位置をサブルーチンの先頭に限シ
、その設定位置をサブルーチンブレークポイントとし、
サブルーチンブレークポイントからRAMに置いたパッ
チプログラムに飛ぶ為のブランチ先アドレスをRAMK
書き込む機能を持ったブランチ先アドレス書込みプログ
ラムと。In the computer according to the present invention, the setting position of the breakpoint on the installed program is limited to the beginning of the subroutine, and the setting position is set as the subroutine breakpoint,
RAMK is the branch destination address to jump from the subroutine breakpoint to the patch program placed in RAM.
Branch destination address writing program with writing function.
サブルーチンブレークポイントからパッチプログラムへ
のブランチの有シ無しを決定するブレークポイントフラ
グをRAMに書き込む機能を持ったブレークポイントフ
ラグ書込みプログラムと3パッチプログラムをRAMに
書き込む機能を持ったパッチプログラム書込みプログラ
ムと、サブルーチンコール命令の実行後、上記ブレーク
ポイントフラグエリアにあるブレークポイントがパッチ
プログラムへのブランチの実行を示す時にのみ上記ブラ
ンチ先アドレスエリアにあるブレークポイントフラグに
対応するブランチ先アドレスの値をプログラムカクンタ
に設定するブランチ先制御プログラムを含む搭載プログ
ラムをROM上に置き。A breakpoint flag writing program that has a function of writing a breakpoint flag to RAM that determines whether or not there is a branch from a subroutine breakpoint to a patch program; and a patch program writing program that has a function of writing three patch programs to RAM; After execution of the subroutine call instruction, only when the breakpoint in the breakpoint flag area indicates execution of a branch to the patch program, the value of the branch destination address corresponding to the breakpoint flag in the branch destination address area is written to the program address area. Place the installed program including the branch destination control program to be set on the ROM.
またRAM上に上記ブランチ先アドレス書込みプログラ
ム餌ブランチ先アドレスを書き込むためのブランチ先ア
ドレスエリアと、上記ブレークポイントフラグ書込みプ
ログラムがブレークポイントフラグを書き込むためのブ
レークポイントフラグエリアと、上記パッチプログラム
書込みプログラムがパッチプログラムを書き込むための
バッチエリアを備えたものである。Also, on the RAM, there is a branch destination address area for writing the branch destination address as bait for the branch destination address writing program, a breakpoint flag area for the breakpoint flag writing program to write a breakpoint flag, and a breakpoint flag area for writing the breakpoint flag by the breakpoint flag writing program. It is equipped with a batch area for writing patch programs.
この発明に係る電子計算機は、すべての搭載プログラム
をROMに収納し、ブランチ先制御プログラムによう、
搭載プログラムのサブルーチンに対応するRAM上のパ
ッチプログラムを搭載プログラムのサブルーチン人シロ
位置より結合実行し。The electronic computer according to the present invention stores all the installed programs in the ROM, and stores them in the branch destination control program.
The patch program on the RAM corresponding to the subroutine of the onboard program is combined and executed from the subroutine position of the onboard program.
以て軌道上再プログラムを可能とする。This enables in-orbit reprogramming.
以下、この発明の一実施例を第1図、第2図を用すて説
明する。An embodiment of the present invention will be described below with reference to FIGS. 1 and 2.
+81図はこの発明の電子計算機の構成図であり。Figure +81 is a block diagram of the electronic computer of this invention.
ROM(2)に収納された搭載プログラム(5)はバス
(4)を介して順次読み出されapσ(1)で解読、処
理される。Rh M (31のワークエリア(6)は、
可変パラメータや中間データの収納場所、スタックエリ
ア等としてapσ(1)の制御下で使用される。またス
ペースエリア(7)はパッチプログラム凶の収納に0F
U(1)の制御下で使用される。The installed program (5) stored in the ROM (2) is sequentially read out via the bus (4) and decoded and processed by apσ (1). Rh M (31 work areas (6) are
It is used as a storage place for variable parameters and intermediate data, a stack area, etc. under the control of apσ(1). Also, the space area (7) is 0F for storing patch programs.
Used under the control of U(1).
搭載プログラム(5)は通常の実行では3パッチプログ
ラム書込みプログラム(LlJ、ブランチ先アドレス書
込みプログラムa・とブレークポイントフラグ書込みプ
ログラムの実行は行わず、アプリケーションプログラム
(I3の実行のみを行う。地上局の再プログラム書込み
要求コマンド等にょう3パッチプログラム書込みプログ
ラム0とブランチ先アドレス書込みプログラム(LIが
実行され3パッチプログラム書込みプログラムa3によ
、l) RA M +31のスペースエリア(7)にコ
マンド等にょう送られてきたパッチプログラム(2)が
ロードされ、ブランチ先アドレス書込みプログラム0O
によ#)RA M +31のブランチ先アドレスエリア
(8)にパッチプログラム(至)の先頭アドレスが書き
込まれる。次に地上局の再プログラム実行コマンド等に
より# プレークポイントフラグ書込みプログラムα2
)dK実行され、ブレークポイントフラグエリア(9)
にブレークポイントフラグがオンまたはオフとして書き
込1れる。アプリケーションプログラムの実行において
、ブランチ先制御プログラムへ4はサブルーチンコール
命令の読み取少毎にブレークポイントフラグエリア(9
1に書き込オれでいるコールされたサブルーチン固有の
ブレークポイントフラグを参照し、オンであれば、コー
ルされた廿ブルーチン固有のブランチ先アドレスをプロ
グラムカウンタに設定し、実行の流れをRA M (3
1上のパッチプログラム翰に移す。During normal execution, the onboard program (5) does not execute the 3 patch program writing program (LlJ, branch destination address writing program a) and breakpoint flag writing program, but only executes the application program (I3). Reprogram write request command, etc. 3 patch program write program 0 and branch destination address write program (LI is executed and 3 patch program write program a3, 1) A command, etc. is sent to the space area (7) of RAM +31. The sent patch program (2) is loaded and the branch destination address write program 0O
The start address of the patch program (to) is written in the branch destination address area (8) of RAM +31. Next, use the ground station's reprogram execution command, etc. to write the break point flag writing program α2.
) dK executed, breakpoint flag area (9)
The breakpoint flag is written as on or off. During execution of an application program, a breakpoint flag area (9) is sent to the branch destination control program every time a subroutine call instruction is read.
Refer to the breakpoint flag specific to the called subroutine that is set to 1, and if it is on, set the branch destination address specific to the called subroutine in the program counter, and change the flow of execution to RAM ( 3
Move it to the patch program screen above.
また、オフであれば、プログラムカウンタの値は変更せ
ず、実行の流れiJ ROM +21に収納された搭載
プログラム(5)のとbBで変化はしない。Further, if it is off, the value of the program counter is not changed, and the execution flow does not change between the installed program (5) stored in iJ ROM +21 and bB.
第2図はこの発明の電子引算機の処理の流れ図であう1
本図を用りて詳細に説明する。Figure 2 is a flowchart of the processing of the electronic subtraction machine of this invention.
This will be explained in detail using this figure.
搭載プログラム(5)は、ステップαaで開始後、再プ
ログラム誉き込み要求の有す無しをステップ(l!9で
判断し、地上局の再プログラム書込み要求コマンド等が
ある場合のみ3パッチプログラム書込みプログラムOと
ブランチ先アドレス書込みプログラムαGが実行され3
パッチプログラム書込みプログラムα2によJ RA
M +31のスペースエリア(71にコマンド等によう
送られてきたパッチプログラム(29a)、 (29t
l)l・・・がロードされ、ブランチ先アドレス書込み
プログラムαGによJ) RA M (3)のブランチ
先アドレスエリア(8)にコマンド等によう送られてき
たパッチプログラム(29a)l (29b)?・・・
の先頭アドレスである廿ブルーチンブレークポイントか
らのブランチ先アドレス(28a)、 (28b)、
・・・が書き込會れる。次に再プログラム実行要求の有
無をステップaOで判断し、ブレークポイントフラグ書
込みプログラムUが実行され、地上局の再プログラム実
行要求コマンド等により、ブレークポイントフラグエリ
ア(9)にサブルーチン固有のブレークポイントフラグ
(27a)、 (27b)、・・・がオンlたはオフと
して畳き込まれる。After starting in step αa, the onboard program (5) judges whether there is a reprogramming request or not in step (l!9), and writes the 3 patch program only if there is a reprogramming request command from the ground station. Program O and branch destination address writing program αG are executed.
JRA using patch program writing program α2
M+31 space area (patch program (29a) sent to 71 as a command etc., (29t
l) l... is loaded and the patch program (29a) l (29b )? ...
The branch destination address (28a), (28b),
... will write and meet. Next, the presence or absence of a reprogram execution request is determined in step aO, the breakpoint flag writing program U is executed, and a subroutine-specific breakpoint flag is written in the breakpoint flag area (9) by the reprogramming execution request command from the ground station. (27a), (27b), . . . are convolved as on or off.
アプリケーションプログラムα3のサブルーチンコール
命令(13a)が実行されるとプログラムカウンタの値
がワークエリア(6)のスタックエリアO1にスタック
される。そして処理はサブルーチンに移シ(矢印30)
、ブランチ光制御プログラムα2)が呼ばれ(矢印31
)、その処理がステップ翰で開始される。始めにブレー
クポイントフラグエリア(9)を参照し、コールされた
サブルーチン固有のブレークポイントフラグ(27a)
のオンオフをステップCOで判断する。When the subroutine call instruction (13a) of the application program α3 is executed, the value of the program counter is stacked in the stack area O1 of the work area (6). Processing then moves to a subroutine (arrow 30)
, the branch light control program α2) is called (arrow 31
), the process is started in step 翑. First, refer to the breakpoint flag area (9) and set the breakpoint flag (27a) specific to the called subroutine.
The on/off state is determined in step CO.
ステップQllにおりでオフの場合はプログラムカウン
タの値は変更せずに処理をステップαDで終了し、サブ
ルーチンの処理を続行しく矢印32)。If it is off at step Qll, the process ends at step αD without changing the value of the program counter, and the subroutine process continues (arrow 32).
サブルーチン内の次の命令(13b)が次に実行される
。そしてサブルーチン内の最期の命令であるサブルーチ
ンリターン命令(1SC)の実行によ勺サブルーチンコ
ール命令(13a)の次の命令(13a)へと処理は続
行される(矢印35)。The next instruction (13b) in the subroutine is executed next. Then, by executing the subroutine return instruction (1SC), which is the last instruction in the subroutine, processing continues to the instruction (13a) following the first subroutine call instruction (13a) (arrow 35).
一方ステップ21)K>いてオンの場合はブランチ先ア
ドレスエリア(8)上の廿ブルーチン固有のブランチ先
アドレス(28&)をプログラムカウンタにステラフ6
3で設定し、処理をステップa力で終了する0これによ
り、処理の流れはRA M (31のスペースエリア1
71にコマンド等によう送られてきたパッチプログラム
(’9a)、 (29b)、・・・の伺れかに移る(矢
印53)。本図の例では、サブルーチンコール命令(1
30でコールされたサブルーチン固有のブランチ先アド
レスがパッチプログラム(29a)の先頭アドレスを指
してLnfc場合である。プログラムカウンタが示すア
ドレスの命令はパッチプログラム(29a)の先頭の命
令であう、その命令力ヨ次に読み取られる。よってパッ
チプログラムの実行水可能である。そしてパッチプログ
ラム(2S’a)の最後の命令をサブルーチンリターン
命令とすることにょう、プログラムカウンタはワークエ
リア(7)のスタックエリア@Oにスタックされていた
値+2に変更され、処理の流れはROM +21上のア
プリケーションプログラムな3のサブルーチンコール命
令(13a)の次の命令(13d)へ移る(矢印34)
。On the other hand, if step 21) K> is on, the branch destination address (28 &) specific to the branch routine in the branch destination address area (8) is set to the program counter.
3, and end the process with step a force.0 As a result, the flow of processing is RAM
The program moves on to the patch programs ('9a), (29b), . . . that were sent as commands to 71 (arrow 53). In the example in this figure, the subroutine call instruction (1
This is the case where the branch destination address specific to the subroutine called in 30 points to the start address of the patch program (29a) and Lnfc. The instruction at the address indicated by the program counter is the first instruction of the patch program (29a) and is read next. Therefore, it is possible to run patch programs. Then, by making the last instruction of the patch program (2S'a) a subroutine return instruction, the program counter is changed to the value stacked in the stack area @O of the work area (7) + 2, and the flow of processing is Move to the next instruction (13d) after the subroutine call instruction (13a) of application program 3 on ROM +21 (arrow 34)
.
上記の処理の流れをアプリケーションプログラムαjの
サブルーチンコール命令の実行のサイクルとしてアプリ
ケーションプログラムα3のすべての命令を処理し終わ
れば搭載プログラム(5)の1サイクルの実行はステッ
プa9で終了する。Assuming that the above processing flow is a cycle of execution of the subroutine call instruction of the application program αj, once all the instructions of the application program α3 have been processed, the execution of one cycle of the installed program (5) ends at step a9.
第3図はこの発明の他の実施例を示す電子計算機の処理
の流れ図であう1本図を用いて詳細に説明する。FIG. 3 will be described in detail with reference to a flowchart of processing of an electronic computer showing another embodiment of the present invention.
パッチプログラム書込みプログラムα2の実行後。After executing patch program writing program α2.
パリティチェックプログラム(ハ)によう書き込んだパ
ッチプログラムのパリティチェックを行い、その結果が
正常慶らばオフ、異常ならばオンのパリティチェックフ
ラグをワークエリア(6)のパリティチェックエリア4
1)に書き込む。そして、ブランチ先制御プログラムー
の実行に釦いて、上記パリティチェックエリア(4Dを
参照し、パリティチェックフラグのオンオフをステップ
(至)で判断する。Perform a parity check of the patch program written in the parity check program (c), and set the parity check flag to OFF if the result is normal, and ON if the result is abnormal, to parity check area 4 of work area (6).
Write in 1). Then, the execution of the branch destination control program is pressed, and with reference to the parity check area (4D), it is determined in steps whether the parity check flag is on or off.
ステップ@でパリティチェックフラグがオンならば、プ
ログラムカウンタの値は変更せずに処理をステップαD
で終了し、サブルーチンの処理を続行しく矢印32)、
サブルーチン内の次の命令(13b)が次に実行さ
れる。そしてサブルーチン内の最期の命令であるサブル
ーチンリターン命令(150)の実行によ砂廿ブルーチ
ンコール命令(13a)の次の命令(1))へと処理は
続行される(矢印35)。If the parity check flag is on in step @, the process continues at step αD without changing the value of the program counter.
to exit and continue the subroutine processing (arrow 32),
The next instruction (13b) in the subroutine is executed next. Then, by executing the subroutine return instruction (150), which is the last instruction in the subroutine, processing continues to the instruction (1)) following the subroutine call instruction (13a) (arrow 35).
一方ステップ@でパリティチェックフラグがオフならば
1次にブレークポイントフラグエリア(9)参照シ、コ
ールされたサブルーチン固有のブレークポイントフラグ
(27a)のオンオフをステップQDで判断する。On the other hand, if the parity check flag is off in step @, the breakpoint flag area (9) is referenced first, and it is determined in step QD whether the breakpoint flag (27a) specific to the called subroutine is on or off.
また、この発明のさらに他の実施例を示す電子計算機の
処理について第2図を用いて説明する。Further, processing of an electronic computer showing still another embodiment of the present invention will be explained using FIG. 2.
第2図にかいてブランチ先アドレス書込みプログラムa
・の実行にようブランチ先アドレスエリアへに書き込筐
れるブランチ先アドレス(28a)、 (28b)、・
・・は同じアドレスデータを3ワード連続したもの、1
!!7.同様にブレークポイントフラグ書き込みプログ
ラムα2lの実行によるR A M f3+のブレーク
ポイントフラグエリア(9)に書き込lれるブレークポ
イントフラグ(27a)、 (27b)、・・・も同じ
オンオフフラグを3ワード連続したものとなる。そして
、ブランチ先制御プログラム+141にかけるブレーク
ポイントフラグ(Z7a)のオンオフ判断(ステップe
i+ )の時のブレークポイントフラグの参照と。In Figure 2, branch destination address writing program a
The branch destination address (28a), (28b), which is written to the branch destination address area when executing ・
... is 3 consecutive words of the same address data, 1
! ! 7. Similarly, the breakpoint flags (27a), (27b), etc. written to the breakpoint flag area (9) of RAM f3+ by executing the breakpoint flag writing program α2l are also the same on/off flags for three consecutive words. It becomes what it is. Then, the on/off determination of the break point flag (Z7a) applied to the branch destination control program +141 is performed (step e
i+ ) reference to the breakpoint flag.
判断結果がオンの時のブランチ先アドレスの参照は多数
決判断によって行われる。When the determination result is on, reference to the branch destination address is performed by majority decision.
以上のように、この発明によってROMに搭載プログラ
ムを収納することによりシングルイベントエラー及び電
力供給の中断に対する高い信頼性を得ることができ、ま
た、ブランチ先制御プログラムによj5ROMの搭載プ
ログラムのサブルーチンの入す口からRAMのパッチプ
ログラムに実行の流れを変えることができることよりR
AMのパッチプログラムを必要な機能単位で容易に構築
でき、よって信頼性の最小限の低下を伴うのみで再プロ
グラムが可能となり、ミッション要求の変更によるプロ
グラムの変更等の、システムに対する高い柔軟性を得る
ことができるという効果がある。As described above, by storing the installed program in the ROM according to the present invention, high reliability against single event errors and power supply interruptions can be obtained, and the subroutine of the installed program in the j5ROM can be controlled by the branch destination control program. It is possible to change the flow of execution from the input port to the RAM patch program.
AM patch programs can be easily constructed based on the required functions, allowing reprogramming with minimal deterioration in reliability and providing high flexibility to the system, such as changing programs due to changes in mission requirements. There is an effect that can be obtained.
また、この発明にかいては、地上からのコマンド等で構
築されるパッチプログラムに異常がある場合はそのパッ
チプログラムの実行を行わないロジックを付加すること
により、システムのコマンド送信ミス、コマンド受信ミ
ス及びコマンドデータ化に対する信頼性を更に増すこと
μできるという効果がある。In addition, according to this invention, by adding logic that does not execute the patch program when there is an abnormality in the patch program constructed by commands etc. from the ground, it is possible to prevent system command transmission errors and command reception errors. This also has the effect of further increasing the reliability of command data conversion.
さらにこの発明にかいては、RAMのブランチ先アドレ
スエリアとブレークポイントフラグエリアを三重系にす
ることとその読み取シを多数決判断にすることによう、
これらのエリアのシングルイベントエラーによるアドレ
ス、フラグの誤解釈を無くすことが可能となう、システ
ムのシングルイベントエラーに対する信頼性を更に増す
ことができるという効果がある。Furthermore, in this invention, the branch destination address area and the breakpoint flag area of the RAM are made into a triple system, and the reading thereof is decided by majority decision.
This has the effect of making it possible to eliminate misinterpretation of addresses and flags due to single event errors in these areas, and further increasing the reliability of the system against single event errors.
第1図はこの発明の一実施例による電子計算機を示す構
成図、第2図はこの発明の第1.第3の一実施例による
電子計算機の動作の詳細を示す流れ図、第3図はこの発
明のwc2の一実施例による電子計算機の動作の詳細を
示す流れ図、第4図は従来のRAM主体の電子計算機の
構成図、第5図は従来のROM主体の電子計算機の構成
図である。
図にかいて、(1)ばC!PU、12)はROM(31
はRAM、(41はバス、(5)は搭載プログラム、(
6)はワークエリア、(7)はスペースエリア、(8)
はブランチ先アドレスエリア、(91はブレークポイン
トフラグエリア、■はスタックエリア、(4Dはパリテ
ィチェックエリア、α・はブランチ先アドレス書き込み
プログラム、 anはブレークポイントフラグ書き込み
プログラム、α2はパッチプログラム書き込みプログラ
ム、αjはアプリケーションプログラム、a−はブラン
チ先制御プログラム、@はパリティチェックプログラム
、G!Iはパッチプログラムである。
なか図中同一又は相当部分には同一符号を付して示しで
ある。FIG. 1 is a configuration diagram showing an electronic computer according to an embodiment of the invention, and FIG. 2 is a configuration diagram showing an electronic computer according to an embodiment of the invention. FIG. 3 is a flowchart showing details of the operation of a computer according to a third embodiment of the present invention. FIG. FIG. 5 is a block diagram of a conventional ROM-based electronic computer. In the diagram, (1) BaC! PU, 12) is ROM (31
is RAM, (41 is bus, (5) is installed program, (
6) is the work area, (7) is the space area, (8)
is the branch destination address area, (91 is the breakpoint flag area, ■ is the stack area, (4D is the parity check area, α is the branch destination address writing program, an is the breakpoint flag writing program, α2 is the patch program writing program, αj is an application program, a- is a branch destination control program, @ is a parity check program, and G!I is a patch program.Identical or equivalent parts in the figures are indicated by the same reference numerals.
Claims (3)
出し専用メモリと、データの読み書き可能メモリによつ
て構成される電子計算機において、上記データの読み出
し専用メモリの中に、上記データの読み書き可能メモリ
にパッチプログラムを書き込むプログラムを書き込むこ
とのできるエリアと、上記データの読み書き可能メモリ
にブレークポイントサブルーチンからのブランチ先アド
レスを書き込むプログラムを書き込むことのできるエリ
アと、上記データの読み書き可能メモリにブレークポイ
ントサブルーチンでのブランチの有無を制御するブレー
クポイントフラグを書き込むプログラムを書き込むこと
のできるエリアと、サブルーチンコールの際に上記デー
タの読み書き可能メモリ上のブレークポイントフラグを
参照しブレークポイントサブルーチンからのブランチ先
を制御するプログラムを書き込むことのできるエリアを
有し、また、上記データの読み書き可能メモリの中に、
上記ブランチ先アドレスを書き込むためのエリアと、上
記ブレークポイントフラグを書き込むためのエリアと3
パッチプログラムを書き込むためのエリアとを有する電
子計算機。(1) In an electronic computer consisting of a central processing unit that controls processing, a read-only memory for data, and a memory that allows data to be read and written, the above data can be read and written in the read-only memory for the above data. An area where you can write a program that writes a patch program to memory, an area where you can write a program that writes a branch destination address from the breakpoint subroutine to memory that allows you to read and write the above data, and a breakpoint to memory that allows you to read and write the above data. An area where you can write a program to write a breakpoint flag that controls whether or not there is a branch in the subroutine, and a branch destination from the breakpoint subroutine by referring to the breakpoint flag on the read/write memory of the above data when calling the subroutine. It has an area where a control program can be written, and also has a read/write memory for the above data.
An area for writing the above branch destination address, an area for writing the above breakpoint flag, and 3
An electronic computer having an area for writing patch programs.
ータの読み書き可能メモリ上のパッチプログラムのパリ
テイチェックを行うプログラムを書き込むことのできる
エリアと、サブルーチンコールの際にそのパリテイチエ
ックの結果によりブレークポイントサブルーチンからの
ブランチ先を制御するプログラムを書き込むことのでき
るエリアとを有する請求項(1)記載の電子計算機。(2) In the read-only memory for the above data, there is an area where you can write a program that performs a parity check of the patch program on the read/write memory for the above data, and when a subroutine call is made, the result of the parity check is 2. The electronic computer according to claim 1, further comprising an area in which a program for controlling a branch destination from a breakpoint subroutine can be written.
ータの読み書き可能メモリに上記ブランチ先アドレスを
三重系として書き込むプログラムを書き込むことのでき
るエリアと、上記ブレークポイントフラグを三重系とし
て書き込むプログラムを書き込むことのできるエリアと
、上記読み書き可能メモリから引用するデータを三つの
メモリのデータの多数決判断により決定するプログラム
を書き込むことのできるエリアを有し、また、上記デー
タの読み書き可能メモリの中に、上記ブランチ先アドレ
スのメモリを三重系として書き込むためのエリアと、上
記ブレークポイントフラグのメモリを三重系として書き
込むためのエリアとを有する請求項(1)記載の電子計
算機。(3) In the read-only memory for the above data, write an area where you can write a program that writes the branch destination address as a triple system in the read/write memory for the data, and a program that writes the breakpoint flag as a triple system. and an area where a program can be written that determines the data to be quoted from the above-mentioned read/write memory by majority vote of the data in the three memories. 2. The electronic computer according to claim 1, further comprising an area for writing the branch destination address memory as a triple system, and an area for writing the breakpoint flag memory as a triple system.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20409689A JPH0368023A (en) | 1989-08-07 | 1989-08-07 | Electronic computer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP20409689A JPH0368023A (en) | 1989-08-07 | 1989-08-07 | Electronic computer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0368023A true JPH0368023A (en) | 1991-03-25 |
Family
ID=16484729
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP20409689A Pending JPH0368023A (en) | 1989-08-07 | 1989-08-07 | Electronic computer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0368023A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08328844A (en) * | 1995-05-29 | 1996-12-13 | Nec Shizuoka Ltd | Program alternation method |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6318441A (en) * | 1986-07-09 | 1988-01-26 | Natl Space Dev Agency Japan<Nasda> | On-board computer for space-flying body |
| JPS6476323A (en) * | 1987-09-18 | 1989-03-22 | Fujitsu Ltd | Load module replacement system in on-line mode |
-
1989
- 1989-08-07 JP JP20409689A patent/JPH0368023A/en active Pending
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS6318441A (en) * | 1986-07-09 | 1988-01-26 | Natl Space Dev Agency Japan<Nasda> | On-board computer for space-flying body |
| JPS6476323A (en) * | 1987-09-18 | 1989-03-22 | Fujitsu Ltd | Load module replacement system in on-line mode |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH08328844A (en) * | 1995-05-29 | 1996-12-13 | Nec Shizuoka Ltd | Program alternation method |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0497380A2 (en) | Microcomputer having a watchdog timer | |
| JPS58191046A (en) | Cpu control switching system | |
| US5363502A (en) | Hot stand-by method and computer system for implementing hot stand-by method | |
| US5928356A (en) | Method and apparatus for selectively controlling groups of registers | |
| JPS61182160A (en) | Data processing device | |
| JPS6376028A (en) | Method for controlling execution of instruction step in virtual computer system | |
| JP2001256044A (en) | Data processing device | |
| JPH0452834A (en) | Electronic computer | |
| EP0020972A1 (en) | Program controlled microprocessing apparatus | |
| JPH02194434A (en) | Electronic computer | |
| JPH09167090A (en) | Electronic computer | |
| JPH01120626A (en) | Electronic computer | |
| JPH01315830A (en) | Electronic computer | |
| JPH0430245A (en) | Multiprocessor control system | |
| JPS62204336A (en) | Electronic computer | |
| JPH02302825A (en) | Electronic computer | |
| JPH04296938A (en) | Computer device | |
| JPS6310234A (en) | interrupt processing device | |
| JP2985188B2 (en) | Redundant computer system | |
| JPS59111501A (en) | Sequence controller | |
| JPS6195464A (en) | Data protecting system | |
| JPS6014345A (en) | Protecting system of program runaway | |
| JPH02228732A (en) | Electronic computer | |
| JPS5833758A (en) | Programmable controller | |
| JPS63155330A (en) | Microprogram controller |