JPH0628032B2 - Micro program controller - Google Patents
Micro program controllerInfo
- Publication number
- JPH0628032B2 JPH0628032B2 JP62044081A JP4408187A JPH0628032B2 JP H0628032 B2 JPH0628032 B2 JP H0628032B2 JP 62044081 A JP62044081 A JP 62044081A JP 4408187 A JP4408187 A JP 4408187A JP H0628032 B2 JPH0628032 B2 JP H0628032B2
- Authority
- JP
- Japan
- Prior art keywords
- microprogram
- rom
- ram
- version number
- version
- 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.)
- Expired - Lifetime
Links
- 101100087530 Caenorhabditis elegans rom-1 gene Proteins 0.000 description 4
- 102100031584 Cell division cycle-associated 7-like protein Human genes 0.000 description 4
- 101000777638 Homo sapiens Cell division cycle-associated 7-like protein Proteins 0.000 description 4
- 101100305983 Mus musculus Rom1 gene Proteins 0.000 description 4
- 101001106432 Homo sapiens Rod outer segment membrane protein 1 Proteins 0.000 description 2
- 102100021424 Rod outer segment membrane protein 1 Human genes 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000000034 method Methods 0.000 description 1
Description
【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマイクロプログラム制御装置に関し,特にマイ
クロプログラムがROM及びRAMに格納されたマイクロプロ
グラム制御装置に関する。The present invention relates to a microprogram controller, and more particularly to a microprogram controller in which microprograms are stored in ROM and RAM.
従来,この種のマイクロプログラム制御装置は,互換性
一致チェックがなされず,マイクロプログラムが暴走し
てしまうことがあった。Conventionally, in this type of microprogram control device, compatibility check is not performed, and the microprogram may run away.
上述した従来のマイクロプログラム制御装置は,ROM及
びRAMに格納されたマイクロプログラムの互換性一致チ
ェックがなされず,マイクロプログラムが暴走してしま
うことがあるので,版数不一致と判断できるまでに時間
を要する。従って,このようなマイクロプログラム制御
装置を使用するコンピュータシステムが長時間ダウンし
てしまうという欠点がある。In the conventional microprogram control device described above, the compatibility check of the microprograms stored in the ROM and the RAM is not performed, and the microprogram may run out of control. Therefore, it takes time to determine that the version numbers do not match. It costs. Therefore, there is a drawback that a computer system using such a micro program controller is down for a long time.
〔問題点を解決するための手段〕 本発明によるマイクロプログラム制御装置は,ROM及びR
AMにマイクロプログラムを格納するマイクロプログラム
制御装置において,外部記憶媒体から前記RAMにマイク
ロプログラムを初期ロードする手段及び前記RAMの固定
番地にマイクロプログラムと同時にロードされるROM版
数期待値及びRAM版数を記憶する手段を有し,また前記R
OMにはRAM版数期待値及びROM版数を記憶する手段を有
し,前記RAM部のマイクロプログラム部のマイクロプロ
グラムのロードが完了した時点において前記ROM部のマ
イクロプログラムルーチンにより相互の版数チェックを
行うことを特徴とする。[Means for Solving the Problems] The microprogram controller according to the present invention comprises a ROM and an R
In a microprogram control device for storing a microprogram in an AM, means for initially loading the microprogram from an external storage medium into the RAM, and an expected ROM version number and a RAM version number that are loaded simultaneously with the microprogram in a fixed address of the RAM And a means for storing
The OM has means for storing the expected RAM version number and the ROM version number, and when the loading of the microprogram of the microprogram section of the RAM section is completed, the mutual version numbers are checked by the microprogram routine of the ROM section. It is characterized by performing.
次に本発明の実施例について図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.
第1図は本発明の一実施例の構成を示すブロック図であ
る。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention.
ROM1はマイクロプログラムを記憶する読み出し専用メ
モリである。RAM2は外部記憶媒体4からマイクロプロ
グラムがマイクロプログラム実行部3内のマイクロプロ
グラムロード制御部によりロードされ,ROM1と共にマ
イクロプログラムが格納される。マイクロプログラム実
行部3の指示でこれらマイクロプログラムは順次読み出
されて,マイクロプログラム実行部3はマイクロ命令を
実行する。The ROM 1 is a read-only memory that stores microprograms. In the RAM 2, the microprogram is loaded from the external storage medium 4 by the microprogram loading control unit in the microprogram execution unit 3, and the microprogram is stored together with the ROM 1. These microprograms are sequentially read according to an instruction from the microprogram execution unit 3, and the microprogram execution unit 3 executes microinstructions.
次に第2図及び第3図を参照して,本実施例の動作につ
いて説明する。Next, the operation of this embodiment will be described with reference to FIGS. 2 and 3.
本マイクロプログラム制御装置の電源投入等によりROM
1のマイクロプログラムが起動され,RAM2へのマイク
ロプログラムのロードを外部記憶媒体4に要求し,外部
記憶媒体4から転送されたデータを順次RAM2へ格納す
る。RAM2へのマイクロプログラムのロード終了によ
り,RAM2のマイクロプログラムが実行可能となるが,
このときに,第3図で示すロードされたRAM2の固定番
地に記憶されたROM版数(REV)期待値10-1とROM1で記
憶されたROM REV11-2とを比較し(ステップ201),R
OM REV11-2がROM REV期待値10-1以上である(ステップ
201のYES)なら,次に,ROM1で記憶されたRAM REV
期待値11-1とRAM2で記憶されたRAM REV10-2とを比較し
(ステップ202),RAM REV10-2がRAM REV期待値11-1
以上であることをチェックする。以上のチェックにおい
て,エラーを検出した場合(ステップ201のNO又はス
テップ202のNO)は,外部装置に対し版数互換性不一
致の初期マイクロプログラムロード失敗を表示する。ROM when the power of this microprogram controller is turned on, etc.
The microprogram 1 is activated, requests the external storage medium 4 to load the microprogram into the RAM 2, and sequentially stores the data transferred from the external storage medium 4 in the RAM 2. After loading the microprogram into RAM2, the microprogram in RAM2 can be executed.
At this time, the ROM version number (REV) expected value 10-1 stored in the fixed address of the loaded RAM2 shown in FIG. 3 is compared with the ROM REV11-2 stored in ROM1 (step 201), R
If OM REV11-2 is greater than or equal to ROM REV expected value 10-1 (YES in step 201), then RAM REV stored in ROM 1
The expected value 11-1 is compared with the RAM REV10-2 stored in RAM2 (step 202), and the RAM REV10-2 is the expected RAM REV value 11-1.
Check that the above. If an error is detected in the above checks (NO in step 201 or NO in step 202), an initial microprogram load failure indicating a version number mismatch is displayed to the external device.
次に実際の使用方法について記述する。Next, the actual usage is described.
例として,RAM部のマイクロプログラムに変更があった
場合,RAM REV10-2は新しい版数に設定され,ROM REV期
待値10-1はROM部のマイクロプログラムと互換性がある
場合は更新されない。また,互換性がなくなった場合に
は,互換性のある新しいROMの版数が設定される。ここ
で,もし互換性のない古いROM1を使用した場合,上述
したチェック方法により,ROM REV11-2≧ROM REV期待値
10-1が満足できず,エラーとなってしまう。As an example, if the microprogram in the RAM section is changed, the RAM REV10-2 is set to a new version number, and the expected ROM REV value 10-1 is not updated if it is compatible with the microprogram in the ROM section. If the compatibility is lost, a new compatible ROM version is set. Here, if an incompatible old ROM1 is used, the ROM REV11-2 ≥ ROM REV expected value is checked by the above checking method.
10-1 is not satisfied, resulting in an error.
以上説明したように本発明は,ROM部及びRAM部の版数チ
ェックを行うようにすることにより,マイクロプログラ
ムの暴走を避け,直ちにROM及びRAMのマイクロプログラ
ム版数非互換を認識することが可能である。従って,原
因究明を速やかに行え,本マイクロプログラム制御装置
を有するコンピュータシステムの長時間ダウンを回避で
きるという効果がある。As described above, according to the present invention, by checking the version numbers of the ROM part and the RAM part, it is possible to avoid runaway of the microprogram and immediately recognize the incompatibility of the microprogram version numbers of the ROM and RAM. Is. Therefore, there is an effect that the cause can be promptly investigated and a long time down of the computer system having the micro program control device can be avoided.
第1図は本発明の一実施例の構成を示すブロック図,第
2図はROM1で実行するマイクロプログラムルーチンでR
OM部とRAM部の版数互換性チェックを行う流れ図,第3
図はその版数互換性チェックで使用される各々の版数記
憶手段を示した図である。 1…ROM,2…RAM,3…マイクロプログラム実行部,4
…外部記憶媒体。FIG. 1 is a block diagram showing the configuration of an embodiment of the present invention, and FIG. 2 is a microprogram routine executed by the ROM 1 which is R
Flowchart for checking version compatibility of OM and RAM, 3rd
The figure shows each version number storage means used in the version number compatibility check. 1 ... ROM, 2 ... RAM, 3 ... Microprogram execution unit, 4
... external storage medium.
Claims (1)
るマイクロプログラム制御装置において,外部記憶媒体
から前記RAMにマイクロプログラムを初期ロードする手
段及び前記RAMの固定番地にマイクロプログラムと同時
にロードされるROM版数期待値及びRAM版数を記憶する手
段を有し,また前記ROMにはRAM版数期待値及びROM版数
を記憶する手段を有し,前記RAM部のマイクロプログラ
ム部のマイクロプログラムのロードが完了した時点にお
いて前記ROM部のマイクロプログラムルーチンにより相
互の版数チェックを行うことを特徴とするマイクロプロ
グラム制御装置。1. A microprogram control device for storing a microprogram in a ROM and a RAM, means for initially loading the microprogram from an external storage medium into the RAM, and a ROM version loaded simultaneously with the microprogram in a fixed address of the RAM. The ROM has means for storing the expected value and the RAM version number, and the ROM has means for storing the expected RAM version number and the ROM version number. A microprogram control device, wherein mutual version numbers are checked by the microprogram routine of the ROM section at the time of completion.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62044081A JPH0628032B2 (en) | 1987-02-28 | 1987-02-28 | Micro program controller |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62044081A JPH0628032B2 (en) | 1987-02-28 | 1987-02-28 | Micro program controller |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS63213029A JPS63213029A (en) | 1988-09-05 |
| JPH0628032B2 true JPH0628032B2 (en) | 1994-04-13 |
Family
ID=12681667
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62044081A Expired - Lifetime JPH0628032B2 (en) | 1987-02-28 | 1987-02-28 | Micro program controller |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0628032B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008027129A (en) * | 2006-07-20 | 2008-02-07 | Yamaha Corp | Compatibility decision device and program |
-
1987
- 1987-02-28 JP JP62044081A patent/JPH0628032B2/en not_active Expired - Lifetime
Also Published As
| Publication number | Publication date |
|---|---|
| JPS63213029A (en) | 1988-09-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4654783A (en) | Unique process for loading a microcode control store in a data processing system | |
| US20080010446A1 (en) | Portable apparatus supporting multiple operating systems and supporting method therefor | |
| EP0111952B1 (en) | Verification of a processor architecture having a partial instruction set | |
| US6415383B1 (en) | Address offset feature for a hard disk drive | |
| US4719564A (en) | Interpreter linkage system for linking extension interpreters to a basic interpreter | |
| US6502176B1 (en) | Computer system and methods for loading and modifying a control program without stopping the computer system using reserve areas | |
| JPH0628032B2 (en) | Micro program controller | |
| JP2001256044A (en) | Data processing device | |
| JP3264966B2 (en) | Startup control method for computer system | |
| KR100436003B1 (en) | Method for loading a device driver, more specifically correlated to loading the device driver on a memory through a dos prompt after a computer system is completely booted up | |
| JPH07281986A (en) | Extended board, information processor using the same and control method for peripheral device | |
| JPS6013494B2 (en) | Self-diagnosis method | |
| JPS628831B2 (en) | ||
| JPH0317760A (en) | Data write confirming system | |
| US20040255108A1 (en) | Systems and methods for building advanced configuration and power interface namespaces | |
| JPH0648453B2 (en) | Peripheral device initialization control method | |
| JPS62163142A (en) | Apparatus for correcting computer program | |
| JPS6214240A (en) | Program inspecting system | |
| JP2958609B2 (en) | Calculator test method | |
| JPS635431A (en) | Management system for program patch information | |
| JPS6020771B2 (en) | Micro diagnosis method | |
| JPS6373439A (en) | Bootstrap system | |
| JPH04181321A (en) | Microprogram loading system | |
| JPH06161959A (en) | Information processor | |
| JPS615353A (en) | Test control system |