JPS62243046A - Control system for main storage device - Google Patents

Control system for main storage device

Info

Publication number
JPS62243046A
JPS62243046A JP61087691A JP8769186A JPS62243046A JP S62243046 A JPS62243046 A JP S62243046A JP 61087691 A JP61087691 A JP 61087691A JP 8769186 A JP8769186 A JP 8769186A JP S62243046 A JPS62243046 A JP S62243046A
Authority
JP
Japan
Prior art keywords
area
ram
error data
rom
address
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
JP61087691A
Other languages
Japanese (ja)
Inventor
Kenji Nonaka
野中 健嗣
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP61087691A priority Critical patent/JPS62243046A/en
Publication of JPS62243046A publication Critical patent/JPS62243046A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To secure an error data store RAM area, and to sufficiently inquire into the cause, by providing a means for using a RAM of a part where a mounted ROM and an address are superposed, for write exclusive use, unless there is a special control. CONSTITUTION:At the time of reading a data from RAMs 11-13 in order to inquire into the cause, a forced lead signal of 1 level is outputted through a controlling circuit 20 from a CPU 10. As a result, read to ROMs 14-16 is made ineffective in AND circuits G1D-GnD through a NOT circuit 22, a read signal to the RAMs 11-13 is made effective in the circuits G1D-GnD, and read of an error data can be executed. In such a way, an error data store RAM area can be secured without being restricted by a program ROM area. Accordingly, an error data can be stored enough, and even if the program ROM area increases, the cause can be inquired into sufficiently.

Description

【発明の詳細な説明】 〔概要〕 電子計算機における上記j1.tX装置をRAM構成と
し、このRAMの一部に、このアドレスと同じアドレス
を使用する、CPUにて実装を検出出来る手段を備えた
ROMを実装し、且つ実装されたRoMとアドレスが重
なる部分のRAMを特別の制御がなければ書き込み専用
にする手段を設けることで、ROMを実装した主記憶装
置の部分も通常は書込み専用の領域として使用出来るよ
うにすることで、ROMの増大に関係なく通常はδ込み
専用に用いる領域を確保出来るようにしたものである。
[Detailed Description of the Invention] [Summary] The above j1. in an electronic computer. The tX device has a RAM configuration, and a ROM that uses the same address as this address and is equipped with a means for detecting the implementation with the CPU is installed in a part of the RAM, and a part where the address overlaps with the installed RoM is installed. By providing a means to make RAM write-only unless there is special control, the part of the main memory where ROM is mounted can also be used as a write-only area. is designed to secure an area exclusively used for δ.

〔産業上の利用分野〕[Industrial application field]

本発明は、テレメータシステム等のエラーデータを格納
してお(必要のあるマイクロコンピュータを使用するデ
ータ伝送装置等の主記憶装置制御方式の改良に関する。
The present invention relates to an improvement in a main memory control system for a data transmission device using a microcomputer that stores error data such as a telemeter system.

デ−タ伝送装置の場合データ伝送中に再現出来ない間欠
障害が発生することがある。
In the case of data transmission equipment, intermittent failures that cannot be reproduced may occur during data transmission.

この原因究明を行うのには、障害が発生゛した時主記憶
装置にエラーデータをロギングしておき、後刻ロギング
データより原因究明を行うことになる。
In order to investigate the cause, error data is logged in the main storage device when a failure occurs, and the cause is investigated later based on the logged data.

このロギングを行う場合、外部記憶装置を使用すると、
回線データは高速の為追随出来ないので、主記憶装置が
用いられる。
If you do this logging, using an external storage device will result in
Main memory is used because line data is so fast that it cannot be followed.

しかし、主記憶装置にはエリアに制限があり且つデータ
RA M 領域、プログラムROM jJf域を持つ必
要があるので、残った部分をエラーデータの格納に用い
ることになるが、プログラムRO’M T+H域が増大
しても、エラーデータ格納領域は十分確保出来ることが
望ましい。
However, the main memory has a limited area and must have a data RAM area and a program ROM jJf area, so the remaining area will be used to store error data, but the program ROM T+H area Even if the error data storage area increases, it is desirable to be able to secure a sufficient error data storage area.

〔従来の技術〕[Conventional technology]

第5図は従来例の主記憶装置のメモリマツプ図である。 FIG. 5 is a memory map diagram of a conventional main storage device.

図中1゛は主記憶装置、5はデータRAM領域、6はプ
ログラムROM MM域、7はエラーデータ格納RAM
領域を示す。
In the figure, 1 is the main memory, 5 is the data RAM area, 6 is the program ROM MM area, and 7 is the error data storage RAM.
Indicates the area.

従来の主記憶装置1゛の使用方法としては、第5図に示
す如く、データRA M a域5.プログラムROM 
領域6として使用した残りの部分をエラーデータ格納R
AM領域7としていた。
As shown in FIG. 5, the conventional method of using the main memory device 1 is to store data in the data RAM a area 5. Program ROM
The remaining part used as area 6 is used to store error data R
It was set to AM area 7.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

しかしながら、この方法では、プログラムROM領域6
が増大すると、エラーデータ格納RAM領域7は狭くな
り、エラーデータを十分格納出来なくなることがあり、
この場合は原因究明を十分行うことが出来なくなる問題
点がある。
However, in this method, the program ROM area 6
When the error data storage RAM area 7 increases, the error data storage RAM area 7 becomes narrower and may not be able to store enough error data.
In this case, there is a problem that the cause cannot be fully investigated.

〔問題点を解決するための手段〕[Means for solving problems]

上記問題点は、第1図の原理ブロック図に示す如く、主
記憶装置1をRAM構成とし、このRAMの一部の領域
のアドレスと同じアドレスを使用する、CPUにて実装
を検出出来る手段を備えたR OM 2を別に実装し、
且つ実装されたROM2とアドレスが重なる部分のRA
M3を特別の制御がなければ書き込み専用にする手段4
を設けた本発明の主記憶装置制御方式により解決される
As shown in the principle block diagram of FIG. 1, the above problem is solved by using a means for detecting the implementation by the CPU, which uses the same address as the address of a part of the RAM, and uses the same address as the address of a part of the RAM. Separately implement ROM 2 with
And the RA of the part where the address overlaps with the mounted ROM2
Method 4 to make M3 write-only without special control
This problem is solved by the main storage device control method of the present invention, which provides the following.

〔作用〕[Effect]

本発明によれば、例えば、主記憶装置1を、データRA
 M 領域、プログラムROM 領域、エラーデータ格
納RAM領域に分けたとした場合、プログラムROM領
域は、通常はエラーデータを格納する書込み専用のRA
M領域とし、この部分には、この部分のアドレスを共用
した、CPUにて実装を検出出来る手段を備えたプログ
ラム用のROM2を別に実装するので、エラーデータ格
納領域・はROM2の増大には関係なくプログラムRO
M SM域とエラーデータ格納RAM領域の和となる。
According to the present invention, for example, the main storage device 1 is
When divided into M area, program ROM area, and error data storage RAM area, the program ROM area is usually a write-only RAM area that stores error data.
M area, and this part is equipped with a separate ROM2 for the program that shares the address of this part and has a means to detect the implementation by the CPU, so the error data storage area is not related to the increase in ROM2. Naku program RO
This is the sum of the MSM area and the error data storage RAM area.

従って、エラーデータは十分格納出来るようになり、プ
ログラムROM jl域が増大しても、原因究明を十分
行うことが出来る。
Therefore, error data can be stored sufficiently, and even if the program ROM jl area increases, the cause can be sufficiently investigated.

言い換えれば、通常は凹込み専用に用いる領域を、RO
Mの増大に関係なく確保出来るようにしたものである。
In other words, the area normally reserved for recessing is
This is so that it can be secured regardless of the increase in M.

〔実施例〕〔Example〕

第2図は本発明の実施例の主記憶装置のメモリマツプ図
、第3図は本発明の実施例の回路図、第I中lは主記憶
装置、6°はプログラム用のROM、8はエラーデータ
格納RAM領域、10はCPU、11〜13はRAM、
14〜16はROM、17〜19は実装有り検出部(マ
イクロスイッチ32による)、20は制御回路、21.
22はノット回路、30はROMIC,31はICソケ
ット、32はマイクロスインチ、CIA−GnA、GI
 C−GnC,GI D−GnDはアンド回路、GIB
−GnD4まオア回路を示し、尚全図を通じ同一符号は
同一機能のものを示す。
Fig. 2 is a memory map diagram of the main memory device according to the embodiment of the present invention, Fig. 3 is a circuit diagram of the embodiment of the present invention, 1 of 1 is the main memory, 6° is the ROM for programming, and 8 is the error code. Data storage RAM area, 10 is CPU, 11 to 13 are RAM,
14 to 16 are ROMs, 17 to 19 are mounting detection units (based on the microswitch 32), 20 is a control circuit, and 21.
22 is a knot circuit, 30 is a ROMIC, 31 is an IC socket, 32 is a microsinch, CIA-GnA, GI
C-GnC, GI D-GnD is an AND circuit, GIB
-GnD4 OR circuit; the same reference numerals indicate the same functions throughout the drawings.

第2図はデータ伝送装置の場合の例であり、主記憶装置
1は全部RAM構成として、データRAM領域5とエラ
ーデータ格納RAM領域7と、アドレスを共用する読み
出し専用のプログラム用のROM6を実装するエラーデ
ータ格納RA M jiU域8とに分けてあり、このエ
ラーデータ格納RAM領域8,7の部分はデータ伝送中
はエラーデータ格納専用でよいので、この部分のアドレ
スを共用する読み出し専用のプログラム用のROM6°
を実装出来るようにしである。
Figure 2 shows an example of a data transmission device, in which the main memory 1 is entirely RAM, and includes a data RAM area 5, an error data storage RAM area 7, and a read-only program ROM 6 that shares an address. The error data storage RAM areas 8 and 7 can be used exclusively for storing error data during data transmission, so a read-only program that shares the address of this area can ROM6° for
This makes it possible to implement .

この実装方法としては、エラーデータ格納RAM el
域8,7のアドレスの一部又は全部を共用出来るように
し且つ第4図に示すROMIC(プログラムROM用)
30を複数個挿入出来るようにする為に、複数個の第4
図に示すICソケット31を設けである。
As for this implementation method, error data storage RAM el
A ROMIC (for program ROM) which allows part or all of the addresses in areas 8 and 7 to be shared and shown in FIG.
In order to be able to insert multiple 30's, multiple 4th
An IC socket 31 shown in the figure is provided.

尚このICソケット31の中には第4図に示す如く実装
した時オンとする実装有り検出用のマイクロスイッチ3
2を設けである。
Furthermore, inside this IC socket 31, as shown in FIG.
2 is provided.

プログラムROM6’ が増大し、このICソゲ・7ト
31にROMIC30を多く挿入しても、エラーデータ
格納RA M ?+i域7,8の部分の増減にはには影
響がないので、エラーデータは十分格納することが出来
る。
Even if the program ROM 6' increases and more ROMICs 30 are inserted into this IC module 31, the error data storage RAM will not be available. Since there is no effect on the increase or decrease in the +i areas 7 and 8, error data can be stored sufficiently.

勿論エラーデータ格納r2AM領域7は書込み読み出し
が出来るので他の用途に用いることは勿論出来る。
Of course, since the error data storage r2AM area 7 can be written to and read from, it can of course be used for other purposes.

次に第3図に従って、この場合の回路について説明する
Next, the circuit in this case will be explained according to FIG.

第3図は第2図のエラーデータ格納RA M領域8.7
及びプログラム用のROM6’ の部分の回路を示して
あり、RAMII〜13及びROM 14〜16は夫々
例えば2に語のものであり、RAM1lとROM 14
.  RAM 12とROM15゜RAM13とROM
16とは夫々アドレスを共用するように対応している。
Figure 3 shows the error data storage RAM area 8.7 in Figure 2.
and a program ROM 6', RAM II to 13 and ROM 14 to 16 are for example two words, and RAM 1l and ROM 14 are shown.
.. RAM 12 and ROM 15° RAM 13 and ROM
16 so that they share the same address.

又第4図のマイクロスイッチ32による実装有り検出部
17〜19にはROMの実装を検出した時は制御回路2
0経由でcpuioに知らせ、CPUl0はこの情報に
より、アドレスが共用された第2図に示すエラーデータ
格納RA M ”5J[域8を認識出来る。
In addition, the mounting detecting parts 17 to 19 using the microswitches 32 in FIG.
This information is sent to the CPUIO via 0, and the CPU 10 is able to recognize the error data storage RAM 5J [area 8] shown in FIG. 2, where the address is shared.

又この゛時ROMの実装有りを検出した実装有り検出部
より、このROMと同一アドレスのRAMに対してリー
ド時データを出力しないようにアンド回路QnC(nは
1.2.・・nの内のもの)でロックする。これにより
CPUl0よりデータをリードする時はROMよりプロ
グラムが読み出されることになる。
Also, at this time, an AND circuit QnC (n is 1, 2, etc.) is set so that the mounting detection section that detects the presence of the ROM does not output data when reading to the RAM at the same address as this ROM. lock it with As a result, when data is read from CPU10, the program is read from the ROM.

ROMが実装されていないアドレスのRAMはアンド回
路GnCでロックされないためRAMとして使用出来る
A RAM at an address where no ROM is mounted can be used as a RAM because it is not locked by the AND circuit GnC.

又アンド回路QnA(nは1. 2.  ・・n)は強
制リード用であるので通常は制御回路20よりの0レベ
ルの信号によりロックされており、一方アンド回路Gn
D (nは1,2.・・n)はノット回路22にて反転
されたルベルが入力しているのでロックされていない。
Also, since the AND circuit QnA (n is 1, 2, . . . n) is for forced read, it is normally locked by a 0 level signal from the control circuit 20, while the AND circuit Gn
D (n is 1, 2, . . . n) is not locked because the inverted level is input by the knot circuit 22.

今CPUl0よりルベルのリード信号及びアドレス信号
を送出すると、ROMが実装されているアドレス該当部
分のROMよりアンド回路GnDを介して読み出される
Now, when the read signal and address signal of Lebel are sent from the CPU10, they are read out from the ROM at the address corresponding part where the ROM is mounted via the AND circuit GnD.

勿論ROMが実装されていない対応のRAMからもアン
ド回路GnC,オア回路GnBを介して読み出すことは
出来る。
Of course, it is also possible to read data from a corresponding RAM in which no ROM is mounted via the AND circuit GnC and the OR circuit GnB.

次にCI’UIOより0レベルのライトイ3号及びアド
レス信号を送出すると、ノット回路21にて反転されル
ベルのライト信号となり該当アドレスのRAMにデータ
が8き込まれる。
Next, when the CI'UIO sends out the write number 3 and the address signal at 0 level, it is inverted by the NOT circuit 21 and becomes a write signal of the level, and data 8 is written into the RAM at the corresponding address.

これはROMが実装されている対応のRAMでもそうで
ないRAMでも書き込むことは出来る。
This can be written to either a compatible RAM that has a ROM installed or a RAM that does not.

次に原因究明の為に、RAMII〜13よりデータを読
み取る時は、CPUl0より制御回路20経由でルベル
の強制リード信号を出力させると、ノット回路22経出
でアンド回路G n DにてROM14〜16へのリー
ドは無効となり、RAM1l〜13へのリード信号はア
ンド回路GnA(nは1,2.・・・n)にて有効とな
り、エラーデータの読みとりが可能となる。
Next, in order to investigate the cause, when reading data from RAMII~13, a Lebel forced read signal is output from the CPU10 via the control circuit 20. The read to RAM 16 becomes invalid, and the read signal to RAM 11 to 13 becomes valid at the AND circuit GnA (n is 1, 2, . . . n), making it possible to read the error data.

このようにすることにより、プログラムROM領域の制
約を受けないで、エラーデータ格納RAM3ff域を確
保することが出来る。
By doing so, it is possible to secure the error data storage RAM3ff area without being restricted by the program ROM area.

〔発明の効果〕〔Effect of the invention〕

以上詳細に説明せる如く本発明によれば、ROMを実装
した上記位装置の部分も通常は四込み専用の領域として
使用出来るようなり、ROMの増大に関係なく通常は書
込み専用に用いる領域を確保出来るようなるので、例え
ばプログラムROM領域の制約を受けないで、エラーデ
ータ格納RAM領域を確保することが出来、プログラム
ROM領域が増大しても、原因究明を十分行うことが出
来るようになる効果がある。
As explained in detail above, according to the present invention, the part of the above-mentioned device in which the ROM is mounted can also be used as a write-only area, and an area normally used for write-only is secured regardless of the increase in ROM. For example, it is possible to secure a RAM area for storing error data without being constrained by the program ROM area, and even if the program ROM area increases, the cause can be fully investigated. be.

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

第1図は本発明の原理ブロック図、 第2図は本発明の実施例の主記憶装置のメモリマツプ図
、 第3図は本発明の実施例の回路図、 第5図は従来例の主記憶装置のメモリマツプ図である。 図におい°ζ、 1.1°は主記憶装置、 2はcpuにて実装を検出出来る手段を備えたROM 
。 3はROMとアドレスが重なる部分のRAM。 4は特別の制御がなければ書き込み専用にする手段、 5はデータRAM領域、 6はプログラムROM領域、 6゛はプログラム用のROM、 7.8はエラーデータ格納RAM領域、10はCPU。 11〜13はRAM。 14〜16はROM。 17〜19は実装有り検出部、 20は制御回路、 21.22はノット回路、 30はROMIC。 31はrcソケット、 32はマイクロスインチ、 GIA 〜GnA、GIC〜GnC,GID〜GnDは
アンド回路、 GIB−GnBはオア回路を示す。 草6図
Fig. 1 is a principle block diagram of the present invention, Fig. 2 is a memory map diagram of the main storage device of an embodiment of the invention, Fig. 3 is a circuit diagram of an embodiment of the invention, and Fig. 5 is a main memory of a conventional example. FIG. 3 is a memory map diagram of the device. In the figure, °ζ, 1.1 is the main memory, and 2 is a ROM equipped with a means to detect the implementation in the CPU.
. 3 is RAM where the address overlaps with ROM. 4 is a write-only means unless there is special control; 5 is a data RAM area; 6 is a program ROM area; 6'' is a ROM for programming; 7.8 is an error data storage RAM area; 10 is a CPU. 11 to 13 are RAM. 14 to 16 are ROMs. 17 to 19 are mounted detection units, 20 is a control circuit, 21.22 is a knot circuit, and 30 is a ROMIC. 31 is an rc socket, 32 is a microsinch, GIA~GnA, GIC~GnC, GID~GnD are AND circuits, and GIB-GnB is an OR circuit. Grass 6

Claims (1)

【特許請求の範囲】[Claims] 電子計算機における主記憶装置(1)をRAM構成とし
、このRAMの一部の領域のアドレスと同じアドレスを
使用する、CPUにて実装を検出出来る手段を備えたR
OM(2)を実装し、且つ実装されたROM(2)とア
ドレスが重なる部分のRAM(3)を特別の制御がなけ
れば書き込み専用にする手段(4)を設けたことを特徴
とする主記憶装置制御方式。
The main memory (1) in an electronic computer has a RAM configuration, uses the same address as the address of a part of this RAM, and is equipped with a means for detecting implementation by the CPU.
The main feature is that an OM (2) is mounted, and a means (4) is provided for making the RAM (3) in a portion where the address overlaps with the mounted ROM (2) exclusive for writing unless there is special control. Storage device control method.
JP61087691A 1986-04-16 1986-04-16 Control system for main storage device Pending JPS62243046A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61087691A JPS62243046A (en) 1986-04-16 1986-04-16 Control system for main storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61087691A JPS62243046A (en) 1986-04-16 1986-04-16 Control system for main storage device

Publications (1)

Publication Number Publication Date
JPS62243046A true JPS62243046A (en) 1987-10-23

Family

ID=13921949

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61087691A Pending JPS62243046A (en) 1986-04-16 1986-04-16 Control system for main storage device

Country Status (1)

Country Link
JP (1) JPS62243046A (en)

Similar Documents

Publication Publication Date Title
EP0106600B1 (en) Circuit for checking storage protection
US5796092A (en) IC card and IC card system
US4163288A (en) Associative memory
JPS62243046A (en) Control system for main storage device
US5446873A (en) Memory checker
JPS60176163A (en) Address selection system of input/output board
US20030200401A1 (en) Microcomputer system automatically backing-up data written in storage medium in transceiver, and transceiver connected thereto
JPS6035694B2 (en) Main memory protection method
JPS6113234B2 (en)
JPH04336347A (en) Memory device
JPS6020779B2 (en) Composite computer system
JPS6329859A (en) Memory protection circuit
JP2529069B2 (en) Distributed processing system
JPS605369A (en) Memory control system
JPS59170956A (en) Coupling device of computer
JPS62120565A (en) Allocation control system for main storage area
JPH0752429B2 (en) Master card master number setting method
JPS62293582A (en) Memory device
JPS63143649A (en) Malfunction preventing system due to external noise
JPH0221620B2 (en)
JPH1021143A (en) Memory interface device
JPH02139636A (en) Program storage device for microcomputer
JPH02232750A (en) Memory module address recognizing device
JPH0336650A (en) Memory protecting system
JPS62256142A (en) Memory expansion system