JPH07244580A - Version control device - Google Patents

Version control device

Info

Publication number
JPH07244580A
JPH07244580A JP6056653A JP5665394A JPH07244580A JP H07244580 A JPH07244580 A JP H07244580A JP 6056653 A JP6056653 A JP 6056653A JP 5665394 A JP5665394 A JP 5665394A JP H07244580 A JPH07244580 A JP H07244580A
Authority
JP
Japan
Prior art keywords
version information
version
memory
read
output
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
JP6056653A
Other languages
Japanese (ja)
Inventor
Isao Yazaki
勇夫 矢▲崎▼
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.)
Oki Electric Industry Co Ltd
Original Assignee
Oki Electric Industry 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 Oki Electric Industry Co Ltd filed Critical Oki Electric Industry Co Ltd
Priority to JP6056653A priority Critical patent/JPH07244580A/en
Publication of JPH07244580A publication Critical patent/JPH07244580A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To easily execute the version control of all processing blocks without requiring expertise. CONSTITUTION:When a system power supply is turned on, a version information reading part 8 reads out the version information of controllers 5-1 to 5-N, units 6-1 to 6-N, etc., constituting the system and sends the read contents to a memory 3. These version information data are stored in a version information storing part 7 included in the memory 3. Then the version managing device starts the normal operation of the system and the storing part 7 is protected so as to invalidate an access to the memory 3 at the normal operation of the system. When the version information is required to be known, the contents of the storing part 7 are outputted by using a specific version reading instruction.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、情報処理システムを構
成する各種のプログラムやハードウェアにより構成され
る各処理ブロックのバージョンを確認し、その管理を行
うためのバージョン管理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a version management device for confirming the version of each processing block composed of various programs and hardware constituting an information processing system and managing the version.

【0002】[0002]

【従来の技術】情報処理装置は、プロセッサユニットや
メモリ、コントローラ、その他、多種多様の処理ブロッ
クにより構成される。また、これらの処理ブロックは、
それぞれ個々に改良されてバージョンアップされてい
く。システムの保守やプログラムのデバッグの際には、
このようなシステムの各処理ブロックのバージョンを知
ることが必要になる。即ち、従来、システム管理者はそ
の保守点検やデバッグ作業を要求された場合、各処理ブ
ロック毎にそれぞれそのバージョン情報が格納された場
所を調査し、これを一定の入出力命令等によって読み出
して利用していた。
2. Description of the Related Art An information processing apparatus comprises a processor unit, a memory, a controller, and various other processing blocks. In addition, these processing blocks
Each will be individually improved and upgraded. For system maintenance and program debugging,
It is necessary to know the version of each processing block in such a system. That is, conventionally, when the system administrator is requested to perform maintenance inspection or debugging work, the place where the version information is stored for each processing block is investigated, and this is read and used by a certain input / output instruction or the like. Was.

【0003】[0003]

【発明が解決しようとする課題】ところで、上記のよう
な従来の装置では次のような解決すべき課題があった。
システムを構成する各処理ブロックのバージョン情報
は、その処理ブロックの性能や使用方法等を確認するた
めに、デバッグや保守作業の際に必須の情報である。し
かしながら、対象となる処理ブロックのバージョンを確
認する作業は処理ブロック毎に異なり、多くの専門知識
を必要とし、熟練したオペレータでなければ速やかにこ
れを確認することができないといった問題があった。
By the way, the above conventional apparatus has the following problems to be solved.
The version information of each processing block constituting the system is essential information for debugging and maintenance work in order to confirm the performance and usage of the processing block. However, the work of confirming the version of the target processing block differs for each processing block, requires a lot of specialized knowledge, and there is a problem that only a skilled operator can confirm this promptly.

【0004】[0004]

【課題を解決するための手段】本発明のバージョン管理
装置は、以上のような課題を解決するために次のような
構成を採用する。この装置には、システムの電源投入時
にシステムを構成する各処理ブロックのバージョン情報
を読み取るための、バージョン情報読み取り部を設け
る。また、この他にバージョン情報読み取り部により読
み取られた各ブロックのバージョン情報をシステムの通
常動作の開始前に所定の領域に格納して保持するバージ
ョン情報格納部を備える。
The version management device of the present invention adopts the following configuration in order to solve the above problems. This device is provided with a version information reading unit for reading the version information of each processing block that configures the system when the system is powered on. In addition, a version information storage unit that stores and holds the version information of each block read by the version information reading unit in a predetermined area before the normal operation of the system is started.

【0005】[0005]

【作用】バージョン情報読み取り部はシステムの電源が
投入されると、システムを構成するコントローラやユニ
ット等のバージョン情報を読み取り、メモリに送る。メ
モリ中のバージョン情報格納部にはこれらのバージョン
情報が格納される。装置はその後、システムの通常動作
を開始する。バージョン情報を知りたい場合には、バー
ジョン読み出し命令を用いてバージョン情報格納部の内
容を出力する。従って、全ての処理ブロックのバージョ
ン管理が専門知識無しに容易にできる。
When the power of the system is turned on, the version information reading unit reads the version information of the controller, unit, etc. that form the system and sends it to the memory. The version information storage section in the memory stores these version information. The device then begins normal operation of the system. If the user wants to know the version information, the contents of the version information storage unit are output using a version read command. Therefore, version management of all the processing blocks can be easily performed without specialized knowledge.

【0006】[0006]

【実施例】以下、本発明を図の実施例を用いて詳細に説
明する。 [実施例1]図1は、本発明の装置の実施例を示すブロ
ック図である。図の装置は、バスライン1に対し、プロ
セッサ2と、メモリ3と、システム初期化用ROM4
と、コントローラ5−1〜5−Nを接続した構成となっ
ている。コントローラ5−Nには、更にバスライン1−
1を通じユニット6−1〜6−Nが接続されている。
The present invention will be described in detail below with reference to the embodiments shown in the drawings. [Embodiment 1] FIG. 1 is a block diagram showing an embodiment of the apparatus of the present invention. The device shown in the figure has a bus line 1, a processor 2, a memory 3, and a ROM 4 for system initialization.
And the controllers 5-1 to 5-N are connected. The controller 5-N has a bus line 1-
Units 6-1 to 6-N are connected through 1.

【0007】例えば、上記のコントローラ5−Nは入出
力制御装置であって、ユニット6−1〜6−Nはプリン
タやディスプレイ、その他の各種の入出力装置とする。
メモリ3には、バージョン情報読み取り部8と、メモリ
制御部9と、バージョン情報出力制御部10とが接続さ
れている。上記のブロック図において、バスライン1は
データやアドレス信号を転送するためのもので、プロセ
ッサ2はこのバスライン1を介して装置各部の動作を制
御している。
For example, the controller 5-N is an input / output control device, and the units 6-1 to 6-N are printers, displays, and other various input / output devices.
A version information reading unit 8, a memory control unit 9, and a version information output control unit 10 are connected to the memory 3. In the above block diagram, the bus line 1 is for transferring data and address signals, and the processor 2 controls the operation of each part of the device through the bus line 1.

【0008】また、メモリ3には、プロセッサ2が動作
するために必要な各種のデータやパラメータ等が格納さ
れる。このメモリ3はランダム・アクセス・メモリ(R
AM)等から構成される。また、システム初期化用RO
M4は、装置の電源が投入された際に起動し、自動的に
システム各部の状態をチェックし、システムの初期化を
行ってシステムの通常動作に入れるように準備を行うプ
ログラムを格納している。この装置は、例えばリード・
オンリ・メモリから構成される。
The memory 3 also stores various data and parameters necessary for the processor 2 to operate. This memory 3 is a random access memory (R
AM) and the like. In addition, RO for system initialization
The M4 stores a program that starts up when the power of the device is turned on, automatically checks the states of various parts of the system, initializes the system, and prepares for normal operation of the system. . This device is, for example,
It consists of only memory.

【0009】本発明のバージョン管理装置の場合、この
システム初期化用ROM4の内部にバージョン情報読み
取り部8をプログラムの形態で設けている。このバージ
ョン情報読み取り部8は後で図2を用いて説明するよう
に、システムの電源投入時等にシステムを構成する各処
理ブロックのバージョン情報を読み取る制御を行う。な
お、処理ブロックには、図に示したコントローラ5−1
〜5−Nやユニット6−1〜6−N、あるいはその他シ
ステムに接続された各種のモジュール等を含む。システ
ム初期化用ROM4も一定のバージョンの初期化用プロ
グラムを格納したメモリであり、バージョン情報読み取
り部8の読み取り対象となる処理ブロックに含まれる。
In the version management device of the present invention, the version information reading section 8 is provided in the form of a program inside the ROM 4 for system initialization. As will be described later with reference to FIG. 2, the version information reading unit 8 controls to read the version information of each processing block constituting the system when the system is powered on. The processing block includes the controller 5-1 shown in the figure.
.About.5-N, units 6-1 to 6-N, and other various modules connected to the system. The system initialization ROM 4 is also a memory that stores a certain version of the initialization program, and is included in the processing block to be read by the version information reading unit 8.

【0010】メモリ3には、その内部の一定の領域にバ
ージョン情報格納部7が設定される。このバージョン情
報格納部7には、バージョン情報読み取り部8によって
読み取られた各ブロックのバージョン情報が格納され
る。なお、このようなバージョン情報格納部7に格納さ
れたバージョン情報の読み取りを制御するために、メモ
リ制御部9やバージョン情報出力制御部10が設けられ
ている。図に示された矢印11−1,11−2,11−
3は、いずれもシステムの電源投入時にバージョン情報
格納部7に送り込まれるバージョン情報の流れを示して
いる。
In the memory 3, a version information storage unit 7 is set in a certain area inside the memory 3. The version information storage unit 7 stores the version information of each block read by the version information reading unit 8. A memory control unit 9 and a version information output control unit 10 are provided to control the reading of the version information stored in the version information storage unit 7. Arrows 11-1, 11-2, 11-shown in the figure
3 shows the flow of version information sent to the version information storage unit 7 when the system is powered on.

【0011】図2に、上記のような本発明の装置の具体
的な動作フローチャートを示す。まず、ステップS1に
おいて、システムの電源投入が行われる。次に、ステッ
プS2において、図1に示すシステム初期化用ROM4
が起動される。このとき、その一連の初期化処理と併せ
て、バージョン情報読み取り部8による動作が開始され
る。即ち、ステップS3において、バージョン情報読み
取り部8は、予めプログラムとして記述された一定の手
順に従って、システム初期化用ROM4やコントローラ
5−1〜5−N、あるいはユニット6−1〜6−Nに書
き込まれたバージョン情報の読み取りを行う。
FIG. 2 shows a specific operation flowchart of the apparatus of the present invention as described above. First, in step S1, the system is powered on. Next, in step S2, the system initialization ROM 4 shown in FIG.
Is started. At this time, the operation by the version information reading unit 8 is started together with the series of initialization processes. That is, in step S3, the version information reading unit 8 writes the data in the system initialization ROM 4 and the controllers 5-1 to 5-N or the units 6-1 to 6-N according to a predetermined procedure described as a program in advance. Read version information.

【0012】例えば、コントローラ5−1〜5−Nのバ
ージョン情報は、一定のI/Oアドレスの読み出し命令
によって読み出される。また、ユニット6−1〜6−N
のバージョン情報は、コントローラ5−Nに起動をかけ
てコントローラ5−Nから各ユニット6−1〜6−Nに
対する一定の命令を出力することによって読み出され、
コントローラ5−Nを経由してメモリ3に向け読み出さ
れる。
For example, the version information of the controllers 5-1 to 5-N is read by a read command of a fixed I / O address. In addition, the units 6-1 to 6-N
Version information is read by activating the controller 5-N and outputting a constant command from the controller 5-N to each of the units 6-1 to 6-N,
It is read out toward the memory 3 via the controller 5-N.

【0013】このように、バージョン情報は、素子やユ
ニット、あるいはデバイスの種類によって格納される場
所が異なる。バージョン情報読み取り部8には、予めそ
のような処理ブロック毎のバージョン情報読み出し方法
と格納アドレスに関する情報が用意されており、各処理
ブロック毎の固有の格納場所からバージョン情報を読み
出して、矢印11−1〜11−3のようにバージョン情
報格納部7に送り込む。こうしてステップS4におい
て、バージョン情報格納部7に全ての処理ブロックのバ
ージョン情報が所定の順に格納される。このバージョン
情報は例えば、素子を識別する素子番号とバージョンナ
ンバー等から構成される。
As described above, the location where the version information is stored differs depending on the type of element, unit, or device. The version information reading unit 8 is prepared in advance with information regarding such a version information reading method for each processing block and a storage address. The version information is read from a unique storage location for each processing block, and arrow 11- It is sent to the version information storage unit 7 like 1 to 11-3. Thus, in step S4, the version information of all the processing blocks is stored in the version information storage unit 7 in a predetermined order. This version information is composed of, for example, an element number for identifying an element and a version number.

【0014】以上のような処理をシステムの電源投入時
に実行させてしまうことによって、その後、保守点検あ
るいはデバッグ作業の際にバージョン情報を必要とした
とき、オペレータはバージョン読み出し命令等を用いて
メモリ3中のバージョン情報格納部7をアクセスし、要
求するバージョン情報を容易に得ることができる。
By executing the above processing when the power of the system is turned on, when version information is required for maintenance inspection or debugging after that, the operator uses the version read command or the like to store the memory 3 information. The version information storage unit 7 therein can be accessed to easily obtain the requested version information.

【0015】[実施例2]この実施例の装置では、上記
のようなバージョン情報をメモリ3に格納することによ
って通常動作時のメモリアクセス動作が複雑になるのを
避けるために、次のような処置を施している。即ち、ス
テップS5において、バージョン情報格納部7のマスク
を行う。この制御は図1に示すメモリ制御部9によって
行われる。
[Embodiment 2] In the device of this embodiment, in order to avoid the memory access operation during normal operation from becoming complicated by storing the above version information in the memory 3, the following operation is performed. I am taking measures. That is, in step S5, the version information storage unit 7 is masked. This control is performed by the memory control unit 9 shown in FIG.

【0016】また、その後ステップS6からステップS
9の動作によってバージョン情報の出力を可能にする。
即ち、装置の通常動作中に一定の命令が入力されると、
ステップS6において、これがバージョン読み出し命令
かどうかが判断される。バージョン読み出し命令でなけ
ればステップS7に移り、他の処理が進められる。
After that, from step S6 to step S
The operation of 9 enables the output of version information.
That is, if a certain command is input during normal operation of the device,
In step S6, it is determined whether this is a version read command. If it is not a version read command, the process proceeds to step S7 and other processing is advanced.

【0017】また、バージョン読み出し命令の場合には
ステップS8に移り、ステップS5で実行したマスクの
解除が行われる。そして、ステップS9において、メモ
リ3のバージョン情報格納部7のアクセスを可能にし、
バージョン情報の出力が行われる。この出力は、例えば
プリンタやディスプレイ、その他各種の出力手段を用い
て行われる。なお、このような出力手段は図1には示し
ていない。このようなバージョン情報の出力が完了する
と再びステップS5に移り、バージョン情報格納部のマ
スクが実行される。
In the case of the version read command, the process proceeds to step S8, and the mask release executed in step S5 is performed. Then, in step S9, the version information storage unit 7 of the memory 3 is made accessible,
Version information is output. This output is performed using, for example, a printer, a display, or other various output means. It should be noted that such output means is not shown in FIG. When the output of such version information is completed, the process moves to step S5 again, and masking of the version information storage unit is executed.

【0018】図3に、上記のようなバージョン情報格納
部のマスクを実行するためのメモリ制御部のブロック図
を示す。なお、この図3に示した実施例は、図1に示し
たメモリ制御部9とバージョン情報出力制御部10の機
能を兼ね備えた回路である。もちろん、これらのブロッ
クをそれぞれ別個に構成するようにしても差し支えな
い。
FIG. 3 is a block diagram of a memory control unit for executing the masking of the version information storage unit as described above. The embodiment shown in FIG. 3 is a circuit having the functions of the memory control unit 9 and the version information output control unit 10 shown in FIG. Of course, these blocks may be configured separately.

【0019】図3のメモリ制御部9は、メモリ3をアク
セスするためのアドレスバス15に接続され、これを受
け入れるデコーダ17を備えている。また、このデコー
ダ17にはアクセス制御のためのALE(アドレスラッ
チイネーブル)信号が入力する構成となっている。デコ
ーダ17の出力側には2個のフリップフロップ21,2
2が配置されている。また、フリップフロップ21の出
力はNANDゲート23に送り込まれる。フリップフロ
ップ22の出力はNANDゲート23とANDゲート2
4に送り込まれる。NANDゲート23の出力はAND
ゲート25に送り込まれる。ANDゲート24の出力は
ORゲート26に送り込まれ、ANDゲート25の出力
はORゲート27に送り込まれる構成となっている。
The memory controller 9 of FIG. 3 is provided with a decoder 17 which is connected to the address bus 15 for accessing the memory 3 and accepts it. Further, the decoder 17 is configured to receive an ALE (address latch enable) signal for access control. Two flip-flops 21 and 2 are provided on the output side of the decoder 17.
2 are arranged. The output of the flip-flop 21 is sent to the NAND gate 23. The output of the flip-flop 22 is the NAND gate 23 and the AND gate 2.
Sent to 4. The output of the NAND gate 23 is AND
It is sent to the gate 25. The output of the AND gate 24 is sent to the OR gate 26, and the output of the AND gate 25 is sent to the OR gate 27.

【0020】なお、この回路の外部からはメモリ3に対
するWE(書き込みイネーブル)信号が入力し、これが
ORゲート26の残りの端子に入力する。また、初期化
処理のときだけ有効になる動作制御のためのA信号32
がANDゲート24とANDゲート25のもう一方の端
子に入力する構成となっている。更に、メモリ3に対す
るOE(出力イネーブル)信号33はORゲート27の
もう一方の端子に入力する構成となっている。ORゲー
ト26とORゲート27の出力は、それぞれ図1に示す
メモリ3の実際の書き込みイネーブル信号WEあるいは
読み出しイネーブル信号OEとして出力される構成とな
っている。
A WE (write enable) signal for the memory 3 is input from the outside of this circuit and is input to the remaining terminals of the OR gate 26. In addition, the A signal 32 for operation control that becomes effective only during the initialization processing
Is input to the other terminals of the AND gate 24 and the AND gate 25. Further, the OE (output enable) signal 33 for the memory 3 is input to the other terminal of the OR gate 27. The outputs of the OR gate 26 and the OR gate 27 are output as the actual write enable signal WE or read enable signal OE of the memory 3 shown in FIG. 1, respectively.

【0021】上記回路において、デコーダ17はアドレ
スバス15から入力するアドレス信号をデコードし、フ
リップフロップ12,22のD端子へ入力するべき1ビ
ットのデータと、フリップフロップ21,22のセッ
ト、リセットを制御するためのC端子へ入力するべき1
ビットの制御信号を出力する構成となっている。フリッ
プフロップ21,22はD型フリップフロップ等から構
成される。
In the above circuit, the decoder 17 decodes the address signal input from the address bus 15, and sets 1-bit data to be input to the D terminals of the flip-flops 12 and 22, and sets and resets the flip-flops 21 and 22. 1 to be input to the C terminal for controlling
It is configured to output a bit control signal. The flip-flops 21 and 22 are composed of D-type flip-flops and the like.

【0022】以上のメモリ制御部9は次のように動作す
る。まず、図1に示すシステムが電源を投入され、シス
テム初期化用ROM4が通常の初期化処理を実行してい
る段階では、A信号32が有効(ロウレベル)となって
いる。これによって、ANDゲート24と25はいずれ
もゲートを閉じた状態となり、デコーダ17方向から入
力する信号はこのANDゲート24,25で阻止され
る。従って、初期化処理の間に、所定のタイミングで入
力するWE信号31やOE信号33は、いずれもORゲ
ート26,27を通じてそのまま図1に示すメモリ3に
入力する。これによって、メモリ3に対して所定のデー
タの書き込みや読み出しが行われる。
The above memory control section 9 operates as follows. First, when the system shown in FIG. 1 is powered on and the system initialization ROM 4 is executing a normal initialization process, the A signal 32 is valid (low level). As a result, the AND gates 24 and 25 are both closed, and signals input from the direction of the decoder 17 are blocked by the AND gates 24 and 25. Therefore, during the initialization process, the WE signal 31 and the OE signal 33, which are input at a predetermined timing, are directly input to the memory 3 shown in FIG. 1 through the OR gates 26 and 27. As a result, writing and reading of predetermined data is performed on the memory 3.

【0023】バージョン情報読み取り部8によるバージ
ョン情報の各ブロックからの読み出しとメモリ3のバー
ジョン情報格納部7への書き込みは、この初期化処理の
間に実行される。即ち、図3に示すA信号32がロウレ
ベルの段階で、メモリ3へバージョン情報の書き込みが
行われる。システムの初期化処理が完了すると、図3に
示すA信号32がハイレベルに切り替わる。これによっ
て、ANDゲート24,25が開放される。
The reading of version information from each block by the version information reading unit 8 and the writing of the version information into the version information storage unit 7 of the memory 3 are executed during this initialization processing. That is, the version information is written in the memory 3 when the A signal 32 shown in FIG. 3 is at a low level. When the initialization process of the system is completed, the A signal 32 shown in FIG. 3 switches to the high level. As a result, the AND gates 24 and 25 are opened.

【0024】デコーダ17はアドレスバス15に対しメ
モリ3のバージョン情報格納部7のアクセスのためのア
ドレスが入力された場合に、通常動作の際にはその読み
出しを禁止するようにマスクする制御を行う。即ち、バ
ージョン情報格納部7のアクセスのためのアドレスがア
ドレスバス15からデコーダ17に入力し、ALE信号
16(アドレスラッチイネーブル信号)が有効になる
と、デコーダ17はその出力信号17−1〜17−4を
それぞれ“0”,“0”,“0”,“0”から“0”,
“0”,“1”,“1”に変化させる。フリップフロッ
プ21には、このタイミングで“0”の信号が格納さ
れ、フリップフロップ22には“1”の信号が格納され
る。
When an address for accessing the version information storage unit 7 of the memory 3 is input to the address bus 15, the decoder 17 carries out a masking control so as to prohibit the reading during normal operation. . That is, when an address for accessing the version information storage unit 7 is input from the address bus 15 to the decoder 17 and the ALE signal 16 (address latch enable signal) becomes valid, the decoder 17 outputs its output signals 17-1 to 17-. 4 are “0”, “0”, “0”, “0” to “0”,
Change to "0", "1", "1". The flip-flop 21 stores a signal of "0" at this timing, and the flip-flop 22 stores a signal of "1".

【0025】そして、次のクロック以後、フリップフロ
ップ22から内容が“1”の信号が出力され、ANDゲ
ート24とNANDゲート23に送り込まれると、NA
NDゲート23の出力は“1”となる。この信号はAN
Dゲート25が開放しているから、このANDゲート2
5を通過し、更にORゲート27を通過してメモリ3に
向け送り込まれる。メモリ3のアウトプットイネーブル
信号OEはハイレベル、即ち“1”の場合に無効とされ
る。従って、メモリ3のバージョン情報格納部7を読み
出しのためにアクセスするアドレス信号は通常動作の
際、常に無効とされる。
After the next clock, the flip-flop 22 outputs a signal having the content "1", and when it is sent to the AND gate 24 and the NAND gate 23, NA is output.
The output of the ND gate 23 becomes "1". This signal is AN
Since the D gate 25 is open, this AND gate 2
5 and further passes through the OR gate 27 and is sent to the memory 3. The output enable signal OE of the memory 3 is invalidated when it is at a high level, that is, "1". Therefore, the address signal for accessing the version information storage unit 7 of the memory 3 for reading is always invalidated during the normal operation.

【0026】一方、フリップフロップ22の出力が
“1”になると、ANDゲート24の出力は“1”とな
り、これがORゲート26を通じて書き込みイネーブル
信号WEとしてメモリ3に入力する。この信号もハイレ
ベル“1”で無効であるから、バージョン情報格納部7
への書き込み用アクセスも無効とされる。
On the other hand, when the output of the flip-flop 22 becomes "1", the output of the AND gate 24 becomes "1", which is inputted to the memory 3 as the write enable signal WE through the OR gate 26. Since this signal is also invalid at the high level “1”, the version information storage unit 7
Write access to is also disabled.

【0027】次に、図2のステップS6において、一定
のバージョン読み出し命令を実行する場合には、デコー
ダ17に対し予めバージョン情報格納部7のアドレスと
は異なる特別に用意されたバージョン情報読み取りのた
めのアクセス許可アドレスが入力するように構成する。
このアドレスは一般のメモリアクセス用アドレスとは異
なる値の領域に設定しておく。このようなアドレスが入
力すると、デコーダ17はその出力17−1〜17−4
の内容を全て“1”に切り替える。これによって、フリ
ップフロップ21に対し内容が“1”の信号が格納され
る。その信号は次のクロックでNANDゲート23に入
力する。NANDゲート23のもう一方の端子にはフリ
ップフロップ22から内容が“1”の信号が入力してい
る。従って、NANDゲート23の出力信号は“0”と
なり、ANDゲート25の出力もロウレベル“0”に切
り替わる。
Next, in step S6 of FIG. 2, when a certain version read command is executed, a special prepared version information different from the address of the version information storage unit 7 is read from the decoder 17 in advance. Configure to enter the access permission address of.
This address is set in an area having a value different from that of a general memory access address. When such an address is input, the decoder 17 outputs its output 17-1 to 17-4.
Switch all contents to "1". As a result, the signal having the content “1” is stored in the flip-flop 21. The signal is input to the NAND gate 23 at the next clock. A signal having the content “1” is input from the flip-flop 22 to the other terminal of the NAND gate 23. Therefore, the output signal of the NAND gate 23 becomes "0", and the output of the AND gate 25 also switches to the low level "0".

【0028】この信号はORゲート27を通じてメモリ
3へ入力する。従って、メモリ3の出力イネーブル信号
は有効となり、メモリ3からバージョン情報の読み出し
が可能な状態となる。このとき、ANDゲート24とO
Rゲート26の出力は変化しないから、メモリ3の書き
込みイネーブル信号WEは無効のままである。従って、
バージョン情報の書き換えは禁止されて保護される。ま
た、上記のようにアクセス許可アドレスをデコーダ17
に入力し、その次のタイミングでアドレスバス15にメ
モリ3のバージョン情報格納部7のアドレスを出力する
と、フリップフロップ21,22によって丁度1クロッ
クの間だけバージョン情報の読み取りが可能となる。
This signal is input to the memory 3 through the OR gate 27. Therefore, the output enable signal of the memory 3 becomes valid, and the version information can be read from the memory 3. At this time, AND gate 24 and O
Since the output of the R gate 26 does not change, the write enable signal WE of the memory 3 remains invalid. Therefore,
Rewriting of version information is prohibited and protected. In addition, as described above, the access permission address is given to the decoder 17
Then, when the address of the version information storage section 7 of the memory 3 is output to the address bus 15 at the next timing, the version information can be read by the flip-flops 21 and 22 for just one clock.

【0029】図4に、このような本発明の装置の動作を
示すタイミングチャートを図示した。図に示す(a)は
電源がオンかオフかを表わし、(b)は初期化処理が実
行されているタイミングを表わす。(c)はA信号が無
効か有効かを表わし、(d)はメモリ3の出力イネーブ
ル信号が無効か有効かを表わす。また、(e)はアクセ
ス許可アドレスが発生しているタイミングを示し、
(f)はバージョン情報格納部の読み出しのためのアド
レスが発生しているタイミングを示す。
FIG. 4 shows a timing chart showing the operation of such a device of the present invention. In the figure, (a) shows whether the power is on or off, and (b) shows the timing when the initialization process is executed. (C) shows whether the A signal is invalid or valid, and (d) shows whether the output enable signal of the memory 3 is invalid or valid. Further, (e) shows the timing when the access-permitted address is generated,
(F) shows the timing at which an address for reading the version information storage unit is generated.

【0030】時刻t1に電源がオンされると、時刻t2
まで初期化処理が実行される。この間だけ、先に説明し
たようにA信号は有効とされバージョン情報の格納等が
実行される。そして、時刻t2において初期化処理が終
了し、A信号が無効になると、出力イネーブル信号が無
効な状態となり、例えば時刻t3にバージョン情報格納
部アドレスに対するアクセスが発生しても、その読み出
し動作は無効となる。
When the power is turned on at time t1, time t2
The initialization process is executed up to. Only during this period, as described above, the A signal is valid and the version information is stored. When the initialization process ends at time t2 and the A signal becomes invalid, the output enable signal becomes invalid, and even if an access to the version information storage unit address occurs at time t3, the read operation is invalid. Becomes

【0031】次に、時刻t4においてアクセス許可アド
レスが発生すると、その次のタイミングで時刻t5から
t6の間、図3に示すフリップフロップ21の出力が
“1”となり、出力イネーブル信号が有効となる。この
タイミングでバージョン情報格納部アドレスが出力され
ると、時刻t5から時刻t6の間、バージョン情報の1
回の読み取りが可能となる。
Next, when an access-permitted address is generated at time t4, the output of the flip-flop 21 shown in FIG. 3 becomes "1" and the output enable signal becomes valid from time t5 to time t6 at the next timing. . When the version information storage unit address is output at this timing, the version information 1 is output from time t5 to time t6.
It can be read once.

【0032】以上のように、システムの電源投入時にバ
ージョン情報読み取り部が各処理ブロックのバージョン
情報を読み取り、これをメモリ3上のバージョン情報格
納部7に格納しておけば、オペレータは特に複雑なバー
ジョン情報の読み取り操作を行うことなく、容易に各ブ
ロックのバージョン情報をメモリ3から読み出して利用
することができる。
As described above, if the version information reading unit reads the version information of each processing block when the system is powered on and stores it in the version information storage unit 7 on the memory 3, the operator is particularly complicated. It is possible to easily read the version information of each block from the memory 3 and use it without performing the read operation of the version information.

【0033】また、実施例2のようにシステムの初期化
処理終了後、バージョン情報をバージョン情報格納部7
に格納して、このバージョン情報格納部7をシステムの
他の記憶領域から切り離しマスクするようにすれば、そ
の後のソフトウェアによるメモリマッピング等の作業に
おいて、このようなバージョン情報格納部7の存在を意
識しないですむ。また、不用意にバージョン情報の破壊
等が行われるのを防止できる。
After the system initialization processing is completed as in the second embodiment, the version information is stored in the version information storage unit 7.
If the version information storage unit 7 is stored in the memory, and the version information storage unit 7 is separated from other storage areas of the system and masked, the existence of the version information storage unit 7 is recognized in the subsequent work such as memory mapping by software. You don't have to. Further, it is possible to prevent the version information from being destroyed carelessly.

【0034】なお、そのように特別にマスクされたバー
ジョン情報は、システムの保守管理やデバッグ作業の際
に読み出しが必要となるから、特別のバージョン読み出
し命令を用意し、これによってアクセス許可アドレスを
発生させて読み取りを可能にし、その後再び上記のよう
なマスク処理を実行すればよい。
Since the specially masked version information needs to be read during system maintenance and debugging, a special version read command is prepared to generate an access-permitted address. Then, the reading can be performed, and then the mask processing as described above can be executed again.

【0035】図5と図6に、本発明の装置と従来装置に
よる方法とを比較するための比較例を図示した。図5は
従来のユニットのバージョン確認方法を示す比較例で、
図6は同様のコントローラのバージョン確認方法を示す
比較例を示す。即ち、従来の方法によれば、まず図5に
示すように、ステップS1において、装置に電源を投入
し、ステップS2において、システム初期化用ROMを
起動すると、ステップS3において、システム初期化用
ROMにおける各種イニシャル処理が実行される。その
後、ステップS4において、オペレータはユニットのバ
ージョン確認方法等を調べ、その後ステップS5におい
て、I/O命令を発し、ユニットを制御しているコント
ローラよりユニットのバージョンを読み出すコマンドを
送り、読み出しを実行する。
FIGS. 5 and 6 show comparative examples for comparing the apparatus of the present invention with the method of the conventional apparatus. FIG. 5 is a comparative example showing the conventional unit version confirmation method.
FIG. 6 shows a comparative example showing the same controller version confirmation method. That is, according to the conventional method, first, as shown in FIG. 5, the apparatus is powered on in step S1 and the system initialization ROM is started in step S2. Then, in step S3, the system initialization ROM is started. Various initial processes in are executed. Then, in step S4, the operator checks the version confirmation method of the unit, etc., and then in step S5, issues an I / O command, sends a command to read the version of the unit from the controller controlling the unit, and executes the reading. .

【0036】また、図6において、図5の処理と同様
に、ステップS1からステップS3の処理を実行する
と、ステップS4において、コントローラのバージョン
管理レジスタ等の番地を調査する。そして、ステップS
5において、そのバージョン管理レジスタ番地をI/O
命令によって読み出す。
Further, in FIG. 6, as in the case of the process of FIG. 5, when the processes of steps S1 to S3 are executed, the address of the version management register of the controller is checked in step S4. And step S
5, the version control register address is I / O
Read by instruction.

【0037】上記、図5と図6のいずれの場合において
も、ステップS5とステップS6において、それぞれオ
ペレータが一定の専門知識を必要とする操作を行わなけ
ればならない。本発明ではこのような複雑な操作をバー
ジョン情報読み取り部が実行し、その後は、一定のバー
ジョン読み出し命令によって直ちにこれらのバージョン
情報が読み出される。
In both cases of FIG. 5 and FIG. 6 described above, in step S5 and step S6, the operator must perform an operation requiring a certain amount of specialized knowledge. In the present invention, such a complicated operation is executed by the version information reading unit, and thereafter, the version information is immediately read by a certain version read command.

【0038】[実施例3]図7に、本発明の装置の他の
動作フローチャートを示す。本発明の装置は、上記のよ
うにシステムの電源投入時にメモリへバージョン情報を
格納するといった動作をすることが好ましい。しかしな
がら、システムによっては、そのシステム初期化用RO
Mの書換えが容易でない場合がある。また、必ずしも常
にメモリ上にバージョン情報格納部を設けておく必要は
なく、適当なタイミングでバージョン情報の格納を行え
ばよい場合がある。また、システム初期化処理とは別の
タイミングでバージョン情報の格納を行いたい場合があ
る。このような場合には、実施例3を実行する。
[Embodiment 3] FIG. 7 shows another operational flowchart of the apparatus of the present invention. The apparatus of the present invention preferably operates to store version information in the memory when the system is powered on as described above. However, depending on the system, the RO for initializing the system
Rewriting M may not be easy. Further, it is not always necessary to always provide the version information storage unit on the memory, and it may be sufficient to store the version information at an appropriate timing. In addition, it may be desirable to store version information at a timing different from the system initialization processing. In such a case, the third embodiment is executed.

【0039】即ち、図7に示すように、まずステップS
1の前に通常動作が起動される。そして、ステップS1
において、その動作中入力された命令がバージョン管理
命令かどうかの判断がされ、別の命令の場合にはステッ
プS2に移り、他の処理が実行される。そして、バージ
ョン管理命令であると確認されると、ステップS3にお
いて、各処理ブロックのバージョン情報の読み取りが行
われる。この処理自体は既に実施例1で説明したと同様
の処理である。その後、ステップS4において、メモリ
3中にバージョン情報格納部7が設定されてバージョン
情報の格納が行われる。その後、このバージョン情報格
納部7には必要に応じて実施例1と同様のマスク処理が
施される。
That is, as shown in FIG. 7, first, step S
Before 1, normal operation is activated. And step S1
At, it is determined whether the command input during the operation is a version control command, and if it is another command, the process proceeds to step S2 and another process is executed. Then, if it is confirmed that it is a version management command, the version information of each processing block is read in step S3. This process itself is the same as that described in the first embodiment. Then, in step S4, the version information storage unit 7 is set in the memory 3 and the version information is stored. Thereafter, the version information storage unit 7 is subjected to the same mask processing as that of the first embodiment, if necessary.

【0040】本発明は以上の実施例に限定されない。上
記実施例においては、メモリ3をランダム・アクセス・
メモリ等により構成したが、例えばこれをハードディス
ク等、その他の情報格納手段に置き換えても差し支えな
い。また、メモリ制御部9とバージョン情報出力制御部
10とをまとめた回路で実施例を説明したが、これらは
それぞれメモリのマスクを制御するための回路と、メモ
リのマスクを解除し一定の命令によってバージョン情報
の読み取りを制御するための回路により構成して差し支
えない。また、これらはハードウェアによってもソフト
ウェアによっても実現が可能である。
The present invention is not limited to the above embodiments. In the above embodiment, the memory 3 is randomly accessed.
Although it is composed of a memory or the like, it may be replaced with another information storage means such as a hard disk. Further, although the embodiments have been described with reference to a circuit in which the memory control unit 9 and the version information output control unit 10 are combined, each of them has a circuit for controlling the mask of the memory and a circuit for canceling the mask of the memory to execute a certain instruction. A circuit for controlling reading of version information may be used. Further, these can be realized by hardware or software.

【0041】[0041]

【発明の効果】以上説明した本発明のバージョン管理装
置は、システムの電源投入時に、システムを構成する各
処理ブロックのバージョン情報を読み取るバージョン情
報読み取り部と、こうして読み取られたバージョン情報
をシステムの通常動作の開始前に所定の領域に格納して
保持するバージョン情報格納部を備えるようにしたの
で、システムの保守管理やデバッグ処理の際に、オペレ
ータが各処理ブロック毎に専門的な知識を駆使してバー
ジョン情報を読み取るといった作業が軽減される。な
お、システムの電源が投入され、通常動作が開始した後
に、任意のタイミングでバージョン管理命令を入力し、
バージョン情報を読み取って所定の領域に格納すること
も可能である。
The version management device of the present invention described above, when the power of the system is turned on, the version information reading section for reading the version information of each processing block constituting the system, and the version information read in this way is normally read by the system. It has a version information storage unit that stores and retains it in a predetermined area before the operation starts, so that the operator can make full use of specialized knowledge for each processing block during system maintenance management and debug processing. Therefore, the work of reading the version information is reduced. In addition, after the system power is turned on and normal operation starts, enter the version control command at any time,
It is also possible to read the version information and store it in a predetermined area.

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

【図1】本発明の装置の実施例ブロック図である。FIG. 1 is a block diagram of an embodiment of the device of the present invention.

【図2】本発明の装置の動作フローチャートである。FIG. 2 is an operation flowchart of the device of the present invention.

【図3】メモリ制御部のブロック図である。FIG. 3 is a block diagram of a memory control unit.

【図4】本発明の装置の動作タイミングチャートであ
る。
FIG. 4 is an operation timing chart of the device of the present invention.

【図5】ユニットのバージョン確認比較例フローチャー
トである。
FIG. 5 is a flow chart of a version confirmation comparative example of the unit.

【図6】コントローラのバージョン確認比較例フローチ
ャートである。
FIG. 6 is a flowchart of a controller version confirmation comparison example.

【図7】本発明の装置の他の動作フローチャートであ
る。
FIG. 7 is another operation flowchart of the device of the present invention.

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

1 バスライン 2 プロセッサ 3 メモリ 4 システム初期化用ROM 7 バージョン情報格納部 8 バージョン情報読み取り部 9 メモリ制御部 10 バージョン情報出力制御部 1 Bus line 2 Processor 3 Memory 4 System initialization ROM 7 Version information storage unit 8 Version information reading unit 9 Memory control unit 10 Version information output control unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 システムの電源投入時に、前記システム
を構成する各処理ブロックのバージョン情報を読み取る
バージョン情報読み取り部と、 前記バージョン情報読み取り部により読み取られた各ブ
ロックのバージョン情報を、システムの通常動作の開始
前に、所定の領域に格納して保持するバージョン情報格
納部とを備えたことを特徴とするバージョン管理装置。
1. When the system is powered on, the version information reading unit that reads the version information of each processing block that configures the system and the version information of each block that is read by the version information reading unit are used for normal operation of the system. Prior to the start of the version management apparatus, the version management apparatus further comprising a version information storage unit that stores and holds the version information in a predetermined area.
【請求項2】 各処理ブロックのバージョン情報を格納
したバージョン情報格納部を、システムの他の記憶領域
から切り離してマスクするメモリ制御部と、 所定のバージョン読み出し命令の入力により前記メモリ
制御部のマスクを解除するバージョン情報出力制御部と
を備えたことを特徴とする請求項1記載のバージョン管
理装置。
2. A memory control unit that masks a version information storage unit that stores version information of each processing block separately from other storage areas of the system, and a mask of the memory control unit by inputting a predetermined version read command. 2. The version management device according to claim 1, further comprising a version information output control unit for canceling.
【請求項3】 任意のタイミングで入力されるバージョ
ン管理命令により、システムを構成する各処理ブロック
のバージョン情報を読み取るバージョン情報読み取り部
と、 前記バージョン情報読み取り部により読み取られた各処
理ブロックのバージョン情報を、所定の領域に格納して
保持するバージョン情報格納部とを備えたことを特徴と
するバージョン管理装置。
3. A version information reading unit for reading the version information of each processing block constituting the system by a version management command input at an arbitrary timing, and version information of each processing block read by the version information reading unit. And a version information storage section for storing and holding the same in a predetermined area.
JP6056653A 1994-03-02 1994-03-02 Version control device Pending JPH07244580A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6056653A JPH07244580A (en) 1994-03-02 1994-03-02 Version control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6056653A JPH07244580A (en) 1994-03-02 1994-03-02 Version control device

Publications (1)

Publication Number Publication Date
JPH07244580A true JPH07244580A (en) 1995-09-19

Family

ID=13033336

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6056653A Pending JPH07244580A (en) 1994-03-02 1994-03-02 Version control device

Country Status (1)

Country Link
JP (1) JPH07244580A (en)

Similar Documents

Publication Publication Date Title
EP0851358B1 (en) Processing system security
EP3242199B1 (en) Flash memory controller and control method for flash memory controller
CN107678762B (en) System version upgrading method and device
JP2000148465A (en) Firmware changing method
GB2508252A (en) Providing write-protection to a memory device
JP2007249933A (en) Managing access to content in data processing equipment
CN112948321A (en) Method for managing the operation of a system-on-chip and corresponding system-on-chip
JP2002358237A (en) Protection circuit for preventing access without privilege to memory device of processor
JPH0212363A (en) Initialization method and apparatus for computer system
EP3242237B1 (en) Sub-area-based method and device for protecting information of mcu chip
JP3055999B2 (en) Microprogram control device group
JP2829674B2 (en) Shutdown method and start-up method of disk controller and disk controller
JP2002538532A (en) Access protection device for IC card applications
JPH05224707A (en) Program changing method for programmable controller
JPH0635747A (en) Debug support device
JP2859048B2 (en) Microcomputer
JP2000347944A (en) Microcomputer with built-in nonvolatile memory
JPH06282493A (en) Memory device
JP2769382B2 (en) Information processing device
JPH04213112A (en) Cache control method in floppy access in speed change and automatic speed mode
JPH1185620A (en) Microcomputer with built-in nonvolatile memory
JPH03228111A (en) Timer control system for data processor
JPH04304532A (en) Computer provided with debugging function for rom program
JPS62248043A (en) Memory switching circuit for fetching microcomputer instruction
JP2000259453A (en) Debugging method