Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0370815B2 - - Google Patents
[go: Go Back, main page]

JPH0370815B2 - - Google Patents

Info

Publication number
JPH0370815B2
JPH0370815B2 JP57211090A JP21109082A JPH0370815B2 JP H0370815 B2 JPH0370815 B2 JP H0370815B2 JP 57211090 A JP57211090 A JP 57211090A JP 21109082 A JP21109082 A JP 21109082A JP H0370815 B2 JPH0370815 B2 JP H0370815B2
Authority
JP
Japan
Prior art keywords
memory
data
cassette
contents
storage means
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
Application number
JP57211090A
Other languages
Japanese (ja)
Other versions
JPS59101099A (en
Inventor
Michiki Yamamoto
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP57211090A priority Critical patent/JPS59101099A/en
Publication of JPS59101099A publication Critical patent/JPS59101099A/en
Publication of JPH0370815B2 publication Critical patent/JPH0370815B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/076Error or fault detection not based on redundancy by exceeding limits by exceeding a count or rate limit, e.g. word- or bit count limit
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Description

【発明の詳細な説明】 発明の分野 この発明は、記憶内容破壊検出装置に関し、特
にたとえば中央処理装置を含む本体装置に対して
装着される小形の外部記憶装置の記憶内容が破壊
されているか否かを検出するための装置に関す
る。
DETAILED DESCRIPTION OF THE INVENTION Field of the Invention The present invention relates to a memory content destruction detection device, and particularly to a device for detecting memory content destruction, and particularly for detecting whether or not the memory content of a small external storage device attached to a main unit including a central processing unit is destroyed. The present invention relates to a device for detecting.

従来技術の説明 従来、マイクロコンピユータのようなデータ処
理装置の外部記憶装置としては、フロツピーデイ
スク装置などがよく用いられていた。しかし、こ
のフロツピーデイスク装置は、大形でありかつ高
価であるという欠点があつた。このような欠点を
解消するために、CMOS−RAMをカセツト内に
収納したような記憶手段(以下メモリカセツトと
称す)が提案されている。このメモリカセツト
は、データ処理装置本体に対し着脱自在であり、
その内部には半導体メモリとその半導体メモリの
記憶内容をバツクアツプする電池とが内蔵されて
いる。
Description of the Prior Art Conventionally, floppy disk devices and the like have often been used as external storage devices for data processing devices such as microcomputers. However, this floppy disk device had the drawbacks of being large and expensive. In order to overcome these drawbacks, a storage means (hereinafter referred to as a memory cassette) in which a CMOS-RAM is housed in a cassette has been proposed. This memory cassette is removable from the main body of the data processing device.
Inside is a semiconductor memory and a battery for backing up the contents of the semiconductor memory.

ところで、上述のようなメモリカセツトは、内
蔵されている電池が消耗すると、メモリの内容が
破壊される場合があつた。また、取扱いの不注意
等により、メモリの記憶内容やメモリ自身が破壊
されることがあつた。しかしながら、メモリの記
憶内容ないしメモリ自身が破壊されているか否か
は容易に知ることができなかつた。そのため、メ
モリの記憶内容あるいはメモリ自身が破壊されて
いることを知らずに、メモリカセツトをデータ処
理装置に装着するおそれがあつた。この場合、デ
ータ処理装置に誤動作が生じる。
By the way, in the above-mentioned memory cassette, when the built-in battery is exhausted, the contents of the memory may be destroyed. Furthermore, due to carelessness in handling, the contents of the memory or the memory itself may be destroyed. However, it has not been possible to easily know whether the contents of the memory or the memory itself has been destroyed. Therefore, there was a risk that the memory cassette could be inserted into the data processing device without knowing that the stored contents of the memory or the memory itself had been destroyed. In this case, a malfunction occurs in the data processing device.

発明の目的 この発明は、メモリカセツトの記憶内容が破壊
されていることを容易に検出でき、本体装置の誤
動作を防止できるような記憶内容破壊検出装置を
提供することを目的とする。
OBJECTS OF THE INVENTION An object of the present invention is to provide a storage content destruction detection device that can easily detect that the storage contents of a memory cassette have been destroyed and can prevent malfunctions of the main unit.

発明の要約 この発明は、要約すれば、記憶手段が本体装置
に装着されたことを検出すると、記憶手段の記憶
内容が破壊されているか否かをチエツクし、破壊
されているときは外部へ報知するようにしたもの
である。
Summary of the Invention In summary, when it is detected that the storage means is attached to the main body device, the present invention checks whether or not the memory contents of the storage means have been destroyed, and if so, notifies the outside. It was designed to do so.

実施例の説明 第1図はこの発明の一実施例の外観斜視図であ
る。データ処理装置のたとえば操作盤上には、メ
モリカセツト5が装着される受部1が形成され
る。この受部1には、蓋2が開閉自在に取付けら
れる。また、この蓋2の開閉状態を検知するマイ
クロスイツチ4が設けられる。すなわち、蓋2を
閉じるとスイツチ4がオンされる。受部1の側面
には、コネクタジヤツク3が設けられ、メモリカ
セツト5より外部へ露出するプラグ6が挿入結合
される。
DESCRIPTION OF THE EMBODIMENTS FIG. 1 is an external perspective view of an embodiment of the present invention. A receiving portion 1 into which a memory cassette 5 is mounted is formed on, for example, an operation panel of a data processing device. A lid 2 is attached to the receiving portion 1 so as to be openable and closable. Further, a micro switch 4 is provided to detect whether the lid 2 is opened or closed. That is, when the lid 2 is closed, the switch 4 is turned on. A connector jack 3 is provided on the side surface of the receiving portion 1, into which a plug 6 exposed to the outside from the memory cassette 5 is inserted and coupled.

一方、メモリカセツト5のプラグ6には、カセツ
ト内に収納されるCMOS−RAMのアドレス線、
データ線、電源ラインおよびメモリカセツト5の
有無を検知するために用いられる端子(電源と結
線されている)が導出している。
On the other hand, the plug 6 of the memory cassette 5 is connected to the address line of the CMOS-RAM stored in the cassette.
A data line, a power supply line, and a terminal (connected to the power supply) used to detect the presence or absence of the memory cassette 5 are led out.

メモリカセツト5をデータ処理装置の外部記憶
装置として用いる場合、操作者は目的のメモリカ
セツト5を受部1に入れ、プラグ6をコネクタジ
ヤツク3に挿入結合し、蓋2を閉じる。
When using the memory cassette 5 as an external storage device for a data processing device, an operator places the desired memory cassette 5 into the receiving portion 1, inserts and connects the plug 6 into the connector jack 3, and closes the lid 2.

第2図はこの発明の一実施例のブロツク図であ
る。CPU10、ROM11、RAM12および
I/Oポート13はそれぞれデータバス20およ
びアドレスバス21で接続されている。ROM1
1には、データ処理装置の本来の処理プログラム
の他に、メモリカセツト5のデータチエツクプロ
グラム(チエツクサム)が記憶されている。
RAM12には、データ処理装置の各種バツフア
の他に、レジスタAが設けられている。このレジ
スタAには、メモリカセツト5のデータチエツク
結果が記憶されている。I/Oポート13には、
ランプあるいはブザー等を含む報知回路15が接
続される。また、I/Oポート13には、フリツ
プフロツプ(F/F)14が接続される。すなわ
ち、I/Oポート13からフリツプフロツプ14
のリセツト入力端子へリセツト入力信号が与えら
れ、フリツプフロツプ14からI/Oポート13
へQ出力(セツト出力)が与えられる。なお、こ
のフリツプフロツプ14のセツト入力端子には、
前述のマイクロスイツチ4が接続され、フリツプ
フロツプ14はこのスイツチ4のオン時の立下が
り信号によつてセツトされる。さらに、I/Oポ
ート13には、メモリカセツト5からのカセツト
装着信号が与えられる。一方、メモリカセツト5
のコネクタジヤツク3には、前述のデータバス2
0、アドレスバス21および電源16が接続され
る。
FIG. 2 is a block diagram of one embodiment of the present invention. The CPU 10, ROM 11, RAM 12, and I/O port 13 are connected by a data bus 20 and an address bus 21, respectively. ROM1
1 stores a data check program (check sum) for the memory cassette 5 in addition to the original processing program of the data processing device.
The RAM 12 is provided with a register A in addition to various buffers of the data processing device. This register A stores the data check result of the memory cassette 5. I/O port 13 has
A notification circuit 15 including a lamp or a buzzer is connected. Further, a flip-flop (F/F) 14 is connected to the I/O port 13. That is, from the I/O port 13 to the flip-flop 14
A reset input signal is applied to the reset input terminal of the flip-flop 14 to the I/O port 13.
Q output (set output) is given to Note that the set input terminal of this flip-flop 14 is
The aforementioned microswitch 4 is connected, and the flip-flop 14 is set by the falling signal when the switch 4 is turned on. Further, a cassette attachment signal from the memory cassette 5 is applied to the I/O port 13. On the other hand, memory cassette 5
Connector jack 3 has the aforementioned data bus 2.
0, address bus 21 and power supply 16 are connected.

第3図は第2図に示すROM11に記憶された
メモリカセツト5のデータチエツクプログラムを
示すフローチヤートである。以下、この第3図を
参照して、この発明の一実施例の動作について説
明する。
FIG. 3 is a flowchart showing a data check program for the memory cassette 5 stored in the ROM 11 shown in FIG. The operation of an embodiment of the present invention will be described below with reference to FIG.

第3図に示す動作プログラムは、割込動作とし
て処理される。すなわち、操作者が新たなメモリ
カセツト5を受部1に装着し、蓋2を閉じると、
フリツプフロツプ14がセツトされる。このフリ
ツプフロツプ14からのセツト出力すなわちQ出
力はI/Oポート13を介してCPU10に供給
され、第3図の処理が開始する。
The operation program shown in FIG. 3 is processed as an interrupt operation. That is, when the operator attaches a new memory cassette 5 to the receiver 1 and closes the lid 2,
Flip-flop 14 is set. The set output, ie, the Q output, from the flip-flop 14 is supplied to the CPU 10 via the I/O port 13, and the processing shown in FIG. 3 starts.

まず、ステツプ(図示ではSと略す)1におい
て、メモリカセツト5が実際に装着されているか
否かが判断される。この判断は、メモリカセツト
5から供給されるカセツト装着信号をI/Oポー
ト13を介して検知することによつて行なわれ
る。もし、メモリカセツト5が装着されていなけ
れば、メモリ内容のチエツクは行なえないため、
ステツプ2に進みフリツプフロツプ14がリセツ
トされた後割込処理が終了する。一方、メモリカ
セツト5が装着されていれば、ステツプ3に進み
フリツプフロツプ14がリセツトされる。そし
て、ステツプ4において、メモリカセツト5に記
憶されたデータが順次無条件に読出され、ステツ
プ5においてチエツクサム処理が行なわれる。こ
のチエツクサム処理は、周知のように、たとえば
データ中の「1」なるビツトの総数を演算により
求めるものである。チエツクサム処理の結果のデ
ータ(チエツクデータ)は、ステツプ6において
RAM12のレジスタAに転送され記憶される。
続いて、ステツプ7では、メモリカセツト5に予
め記憶されているチエツクデータが読出される。
このチエツクデータは、メモリカセツト5にデー
タを書込む際予め行なわれるチエツクサム処理の
結果のデータであり、メモリカセツト5の固定エ
リアに記憶されている。次に、ステツプ8では、
レジスタAに記憶されているチエツクデータとメ
モリカセツト5から読出されたチエツクデータと
が一致するか否かが判断される。もし、チエツク
データが一致しなければ、メモリカセツト5のデ
ータが破壊されたことを示している。したがつ
て、ステツプ9において、操作者にメモリカセツ
ト5のデータは無効である旨の報知を報知装置1
5によつて行なう。一方、チエツクデータが一致
しておれば、メモリカセツト5のデータが有効で
あるため、CPU10は他の処理へと移行する。
First, in step 1 (abbreviated as S in the figure), it is determined whether the memory cassette 5 is actually installed. This determination is made by detecting a cassette attachment signal supplied from the memory cassette 5 via the I/O port 13. If the memory cassette 5 is not installed, the memory contents cannot be checked.
The process advances to step 2, where the flip-flop 14 is reset and the interrupt processing ends. On the other hand, if the memory cassette 5 is installed, the process advances to step 3 and the flip-flop 14 is reset. Then, in step 4, the data stored in the memory cassette 5 is sequentially and unconditionally read out, and in step 5, checksum processing is performed. This checksum processing, as is well known, involves calculating, for example, the total number of "1" bits in data. The data resulting from the checksum processing (check data) is
It is transferred to register A of RAM 12 and stored.
Subsequently, in step 7, check data previously stored in the memory cassette 5 is read out.
This check data is the result of checksum processing performed in advance when writing data to the memory cassette 5, and is stored in a fixed area of the memory cassette 5. Next, in step 8,
It is determined whether the check data stored in register A and the check data read from memory cassette 5 match. If the check data do not match, it indicates that the data in the memory cassette 5 has been destroyed. Therefore, in step 9, the notification device 1 notifies the operator that the data in the memory cassette 5 is invalid.
Do this according to step 5. On the other hand, if the check data match, the data in the memory cassette 5 is valid, and the CPU 10 shifts to other processing.

なお、マイクロスイツチ4に代えて、メモリカ
セツト5を装着する際にデータ処理装置の電源1
6に接続される端子(コネクタ13に導出されて
いる)と電源16との結合を検出するようにして
もよい。
In addition, instead of the micro switch 4, when installing the memory cassette 5, the power supply 1 of the data processing device is
The connection between the terminal connected to the power source 16 (lead out to the connector 13) and the power source 16 may be detected.

また、報知手段としては、文字表示を行なうよ
うなものを用いてもよい。
Furthermore, as the notification means, one that displays characters may be used.

なお、データ内容をチエツクする方法として
は、たとえばパリテイエラーチエツクなど従来か
ら各種のものが考えられているが、いずれの方法
を用いてもよい。
Note that various methods have been considered for checking the data contents, such as a parity error check, and any method may be used.

発明の効果 以上のように、この発明によれば、記憶手段が
本体装置に装着されたとき記憶手段の記憶内容が
破壊されているか否かをチエツクし破壊されてい
る場合は外部へ報知するようにしたので、操作者
はデータの破壊を容易に知ることができるばかり
でなく、本体装置の誤動作を防止することができ
る。
Effects of the Invention As described above, according to the present invention, when the storage means is attached to the main body device, it is checked whether or not the memory contents of the storage means are destroyed, and if the contents are destroyed, a notification is sent to the outside. Therefore, the operator can not only easily know that data has been destroyed, but also can prevent malfunctions of the main unit.

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

第1図はこの発明の一実施例の外観斜視図であ
る。第2図はこの発明の一実施例のブロツク図で
ある。第3図は第2図に示すROMに記憶されて
いるメモリカセツトのデータチエツクプログラム
を示すフローチヤートである。 図において、1は受部、4はマイクロスイツ
チ、5はメモリカセツト、10はCPU、11は
ROM、12はRAM、15は報知装置を示す。
FIG. 1 is an external perspective view of one embodiment of the present invention. FIG. 2 is a block diagram of one embodiment of the present invention. FIG. 3 is a flowchart showing a data check program for the memory cassette stored in the ROM shown in FIG. In the figure, 1 is a receiving part, 4 is a micro switch, 5 is a memory cassette, 10 is a CPU, and 11 is a
ROM, 12 is RAM, and 15 is a notification device.

Claims (1)

【特許請求の範囲】 1 少なくとも中央処理装置を含む本体装置に対
して着脱自在に構成され、情報を記憶するための
半導体メモリとこの半導体メモリに記憶された内
容を保持するための電源とを内蔵するような記憶
手段において、この記憶手段の記憶内容が破壊さ
れているか否かを検出するための装置であつて、 前記記憶手段が前記本体装置に装着されたこと
を検出する手段、 前記検出手段の検出に応答して、前記記憶手段
の記憶内容が破壊されているか否かをチエツクす
る手段、および 前記チエツク手段が前記破壊を検出したことに
応答して、外部へ報知する報知手段を備える、記
憶内容破壊検出装置。
[Scope of Claims] 1. It is configured to be detachably attached to a main unit including at least a central processing unit, and includes a semiconductor memory for storing information and a power supply for retaining the contents stored in the semiconductor memory. A device for detecting whether or not the memory contents of the storage means have been destroyed in a storage means such as a storage means, comprising: means for detecting that the storage means is attached to the main body device; means for checking whether or not the storage contents of the storage means have been destroyed in response to the detection of the content; and notification means for notifying the outside in response to the detection of the destruction by the checking means; Memory content destruction detection device.
JP57211090A 1982-11-30 1982-11-30 Device for detecting destruction of storage content Granted JPS59101099A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57211090A JPS59101099A (en) 1982-11-30 1982-11-30 Device for detecting destruction of storage content

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57211090A JPS59101099A (en) 1982-11-30 1982-11-30 Device for detecting destruction of storage content

Publications (2)

Publication Number Publication Date
JPS59101099A JPS59101099A (en) 1984-06-11
JPH0370815B2 true JPH0370815B2 (en) 1991-11-11

Family

ID=16600247

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57211090A Granted JPS59101099A (en) 1982-11-30 1982-11-30 Device for detecting destruction of storage content

Country Status (1)

Country Link
JP (1) JPS59101099A (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6015886A (en) * 1983-07-06 1985-01-26 Tokyo Tatsuno Co Ltd Information processor
JPH0640436B2 (en) * 1984-07-26 1994-05-25 カシオ計算機株式会社 Electronic device with memory pack
JPS61248186A (en) * 1985-04-25 1986-11-05 株式会社日立製作所 Operation recorder
JPS61272849A (en) * 1985-05-29 1986-12-03 Canon Inc information processing equipment
JPS622347A (en) * 1985-06-27 1987-01-08 Canon Inc document processing device
JP2763528B2 (en) * 1985-06-27 1998-06-11 キヤノン株式会社 Document processing device
JPS6349956A (en) * 1986-08-20 1988-03-02 Canon Inc Memory management method
JPS63230370A (en) * 1987-03-19 1988-09-26 Fujitsu Ltd Printer device
JPH04276397A (en) * 1991-03-01 1992-10-01 Shimadzu Corp Memory card system function test method

Also Published As

Publication number Publication date
JPS59101099A (en) 1984-06-11

Similar Documents

Publication Publication Date Title
JPH0370815B2 (en)
US20050097572A1 (en) Device driver auto-load
JP2788680B2 (en) Electronic device and data input / output control method thereof
JPS5998362A (en) Discriminating device of memory cassette
CN213688417U (en) Multi-unit integrated sensor data safety filtering equipment
JP2506199B2 (en) Electronics
JPH05233475A (en) Information processor
JPH04175838A (en) Dumping system at the time of autorebooting
JPS5898889A (en) writing device
JPH05303540A (en) Information processor
JP2002073375A (en) Software operation monitoring method in a system having a microcomputer
JPH0311440A (en) Memory corruption check method
JPH0334115B2 (en)
JP3166167B2 (en) Microcomputer
JPS62177783A (en) Preventing device for abnormal insertion of memory cartridge
JPS6188359A (en) One-chip microcomputer
JPS5933551A (en) Operand duplication detecting circuit
JPH10333992A (en) Flash memory write data and devices with flash memory
JPH07152497A (en) Disk control device
JPS61270182A (en) printer
JPH03276322A (en) Electronic equipment
JPS59144246A (en) Data reception control system
JPS6213703B2 (en)
JPS6343769B2 (en)
JPH03217902A (en) Program input device