JPH0373015B2 - - Google Patents
Info
- Publication number
- JPH0373015B2 JPH0373015B2 JP61193417A JP19341786A JPH0373015B2 JP H0373015 B2 JPH0373015 B2 JP H0373015B2 JP 61193417 A JP61193417 A JP 61193417A JP 19341786 A JP19341786 A JP 19341786A JP H0373015 B2 JPH0373015 B2 JP H0373015B2
- Authority
- JP
- Japan
- Prior art keywords
- memory
- clock
- battery
- fixed data
- processor
- 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
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W88/00—Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
- H04W88/08—Access point devices
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Electric Clocks (AREA)
- Power Sources (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
Description
【発明の詳細な説明】
〔概要〕
電池で揮発性メモリと時計のバツクアツプを行
い、電源切断時にもメモリに格納したデータを保
存する情報処理装置において、ROMに記録した
固定データをメモリに書込んでおき、電源投入時
に比較することで、不一致となつた時、電池障害
と判定して、時計データをクリアすることで、オ
ペレータに電池障害を通知する。[Detailed Description of the Invention] [Summary] In an information processing device that backs up volatile memory and a clock using a battery and saves data stored in the memory even when the power is turned off, fixed data recorded in a ROM is written to the memory. When the power is turned on and compared, it is determined that there is a battery failure, and the clock data is cleared to notify the operator of the battery failure.
本発明は電池を用いて揮発性メモリや時計をバ
ツクアツプする情報処理装置に係り、特に電池で
バツクアツプ中に発生した電池障害により、メモ
リに記憶中のデータが破壊されていた場合の電池
障害に対する処理方法に関する。
The present invention relates to an information processing device that backs up a volatile memory or a clock using a battery, and in particular, processing for a battery failure when data stored in the memory is destroyed due to a battery failure that occurs during backup using a battery. Regarding the method.
情報処理装置において、揮発性メモリの内容を
保存したり、日時データを保持するため、情報処
理装置の電源を切断した時、電池でバツクアツプ
することは公知である。ところで、この電池が消
耗して電圧が低下し、メモリの内容が破壊される
ことがある。 2. Description of the Related Art In an information processing device, it is known that a battery is used to back up the volatile memory when the power is turned off in order to save the contents of the volatile memory and retain date and time data. By the way, this battery may become exhausted and the voltage may drop, causing the contents of the memory to be destroyed.
従つて、メモリの内容が破壊されているか否か
を調べる必要があるが、例えばROMに書込まれ
ている固定データをメモリに書込んで置き、情報
処理装置の電源を投入する度に、ROMから読出
した固定データとメモリに書込んである固定デー
タとを比較することで、電池障害を検出すること
が出来る。 Therefore, it is necessary to check whether the contents of the memory have been destroyed. For example, if fixed data written in the ROM is written to the memory and the information processing device is turned on, the ROM is destroyed. A battery failure can be detected by comparing the fixed data read from the memory with the fixed data written in the memory.
このようにして、電池障害を検出した時、この
障害を情報処理装置のプロセツサに通知して、そ
の後の処理を円滑に実行し得るようにすることが
必要である。 In this way, when a battery failure is detected, it is necessary to notify the processor of the information processing device of the failure so that subsequent processing can be executed smoothly.
従来、電池でメモリや時計のバツクアツプを行
つている情報処理装置で、メモリに固定データを
記録し、電源投入毎に固定データの比較を行つて
電池障害を検出しているものが無いため、メモリ
内容が破壊されていても、情報処理装置のプロセ
ツサには通知されていない。
Conventionally, information processing devices that use batteries to back up their memories and clocks record fixed data in memory and compare fixed data every time the power is turned on to detect battery failures. Even if the contents are destroyed, the processor of the information processing device is not notified.
〔発明が解決しようとする問題点〕
上記の如く、電池でバツクアツプされているメ
モリの内容や時計の日時データが破壊されていて
も、情報処理装置のプロセツサには通知されない
ため、オペレータが電源投入時に見逃すと、誤つ
たデータを処理したり、誤つた日時が記録される
という問題がある。[Problems to be solved by the invention] As mentioned above, even if the contents of the memory backed up by the battery or the date and time data of the clock are destroyed, the processor of the information processing device is not notified, so the operator has to turn on the power. Sometimes, if overlooked, there is a problem that incorrect data may be processed or incorrect dates and times may be recorded.
第1図は本発明の一実施例を示す回路のブロツ
ク図である。
FIG. 1 is a block diagram of a circuit showing one embodiment of the present invention.
1は装置全体を制御するプロセツサ、2はプロ
セツサ1の動作を指示するプログラムと固定デー
タが格納されたROM、3は揮発性のメモリ、4
は時計、5は表示部、6はオペレータが命令等を
入力するキーボード、7は電源、8はスイツチ、
9は電池である。 1 is a processor that controls the entire device; 2 is a ROM that stores programs and fixed data that instruct the operation of the processor 1; 3 is a volatile memory; 4
is a clock, 5 is a display, 6 is a keyboard for the operator to input commands, 7 is a power supply, 8 is a switch,
9 is a battery.
プロセツサ1は電源7に電源が投入された時、
ROM2から固定データを読出し、メモリ3に書
込んである固定データと比較し、一致しなければ
メモリ3と時計4をクリアする構成とする。 When the power supply 7 is turned on, the processor 1
The fixed data is read from the ROM 2 and compared with the fixed data written in the memory 3, and if they do not match, the memory 3 and clock 4 are cleared.
上記構成とすることにより、プロセツサ1は電
源が投入される度にメモリ3の固定データが破壊
されているか否かで電池9の障害を判定し、メモ
リ3の固定データが破壊されている場合、メモリ
3と時計4をクリアするため、プロセツサ1の立
ち上がり時に、時計4の日時データを調べた時、
日時データが零となつていることから、時計の設
定指示を表示すること等により、電池障害をオペ
レータに通知することが出来る。
With the above configuration, the processor 1 determines a failure of the battery 9 depending on whether the fixed data in the memory 3 is destroyed each time the power is turned on, and if the fixed data in the memory 3 is destroyed, In order to clear memory 3 and clock 4, when processor 1 starts up, when checking the date and time data of clock 4,
Since the date and time data is zero, it is possible to notify the operator of the battery failure by displaying clock setting instructions or the like.
第2図は第1図の作動を説明するフローチヤー
トである。
FIG. 2 is a flowchart explaining the operation of FIG. 1.
第1図において、電源7の電源が切断される
と、スイツチ8は点線で示す如く電池9側に接続
され、電池9の電流がメモリ3と時計4に供給さ
れる。 In FIG. 1, when the power source 7 is turned off, the switch 8 is connected to the battery 9 side as shown by the dotted line, and the current from the battery 9 is supplied to the memory 3 and the clock 4.
電源7に電源が投入されると、スイツチ8は実
線で示す如く接続され、電源7から電流がメモリ
3と時計4に供給される。スイツチ8は無瞬断ス
イツチであることは勿論である。 When the power source 7 is turned on, the switch 8 is connected as shown by the solid line, and current is supplied from the power source 7 to the memory 3 and the clock 4. It goes without saying that the switch 8 is a non-stop switch.
プロセツサ1はROM2からプログラムを読出
して動作し、第2図に示す如く、メモリ3に書込
まれている固定データと、ROM2から読出した
固定データとを比較する。ここで、比較結果が一
致すれば時計4がクリアされているか否かを調
べ、クリアされていなければ、通常の処理に移行
し、キーボード6から入るオペレータの指示によ
り動作する。 The processor 1 reads a program from the ROM 2 and operates, and compares the fixed data written in the memory 3 with the fixed data read from the ROM 2, as shown in FIG. Here, if the comparison results match, it is checked whether the clock 4 has been cleared or not, and if it has not been cleared, the routine shifts to normal processing and operates according to the operator's instructions entered from the keyboard 6.
メモリ3の固定データとROM2の固定データ
とが一致しない時、プロセツサ1はメモリ3をク
リアした後、ROM2から固定データを読出し、
メモリ3に書込む。そして、時計4のクリアを行
う。次いで時計4がクリアされているか否か調
べ、クリアされていると例えば時刻設定の指示を
表示部5に表示する。(電池障害と表示しても良
いことは勿論である)
オペレータは時計がクリアされていることか
ら、電源切断中にメモリ内容が破壊されたことを
知り、時計の時刻を設定を行う。プロセツサ1は
通常処理に移行する。 When the fixed data in memory 3 and the fixed data in ROM2 do not match, the processor 1 clears memory 3, reads the fixed data from ROM2, and
Write to memory 3. Then, clock 4 is cleared. Next, it is checked whether the clock 4 has been cleared, and if it has been cleared, an instruction to set the time, for example, is displayed on the display section 5. (Of course, it may be displayed as a battery failure.) Since the clock has been cleared, the operator knows that the memory contents were destroyed while the power was turned off, and sets the time on the clock. Processor 1 shifts to normal processing.
以上説明した如く、本発明は電池バツクアツプ
しているメモリや時計が、電池障害で内容が破壊
されている時、メモリと時計をクリアするため、
電池障害をオペレータに通知することが出来ると
共に、メモリクリアを人手で行う手間が省ける効
果がある。
As explained above, the present invention clears the memory and clock when the contents of the memory and clock backed up by the battery are destroyed due to battery failure.
This has the effect of not only notifying the operator of a battery failure but also saving the effort of manually clearing the memory.
第1図は本発明の一実施例を示す回路のブロツ
ク図、第2図は第1図の動作を説明するフローチ
ヤートである。
図において、1はプロセツサ、2はROM、3
はメモリ、4は時計、5は表示部、6はキーボー
ド、7は電源、8はスイツチ、9は電池である。
FIG. 1 is a block diagram of a circuit showing one embodiment of the present invention, and FIG. 2 is a flow chart explaining the operation of FIG. In the figure, 1 is the processor, 2 is the ROM, and 3 is the processor.
is a memory, 4 is a clock, 5 is a display section, 6 is a keyboard, 7 is a power source, 8 is a switch, and 9 is a battery.
Claims (1)
バツクアツプを行う情報処理装置において、 不揮発性メモリ2から該揮発性メモリ3に固定
データを書込んでおき、情報処理装置の電源を投
入した時に、該不揮発メモリ2から読出した固定
データと該揮発性メモリ3に書込んだ固定データ
を比較し、不一致となつた場合、該揮発性メモリ
3及び時計4のデータをクリアすることを特徴と
する電池障害に対する処理方法。[Claims] 1. In an information processing device that backs up a volatile memory 3 and a clock 4 using a battery 9, fixed data is written from the nonvolatile memory 2 to the volatile memory 3, and the information processing device When the power is turned on, the fixed data read from the nonvolatile memory 2 and the fixed data written to the volatile memory 3 are compared, and if they do not match, the data in the volatile memory 3 and clock 4 are cleared. A method for handling a battery failure, characterized by:
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61193417A JPS6349861A (en) | 1986-08-19 | 1986-08-19 | Method for processing battery fault |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP61193417A JPS6349861A (en) | 1986-08-19 | 1986-08-19 | Method for processing battery fault |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS6349861A JPS6349861A (en) | 1988-03-02 |
| JPH0373015B2 true JPH0373015B2 (en) | 1991-11-20 |
Family
ID=16307615
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP61193417A Granted JPS6349861A (en) | 1986-08-19 | 1986-08-19 | Method for processing battery fault |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6349861A (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02119730U (en) * | 1989-03-10 | 1990-09-27 | ||
| JP4535170B2 (en) * | 2007-10-19 | 2010-09-01 | 株式会社デンソー | Microcomputer system |
| US8046615B2 (en) | 2007-10-19 | 2011-10-25 | Denso Corporation | Microcomputer system with reduced power consumption |
| EP3007014B1 (en) * | 2014-10-06 | 2024-07-03 | EM Microelectronic-Marin SA | Low power configuration circuit for a horological motor driver |
-
1986
- 1986-08-19 JP JP61193417A patent/JPS6349861A/en active Granted
Also Published As
| Publication number | Publication date |
|---|---|
| JPS6349861A (en) | 1988-03-02 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPH0373015B2 (en) | ||
| JPH0126086B2 (en) | ||
| JP2540127B2 (en) | Programmable controller failure diagnosis device | |
| JPH05233474A (en) | Storage contents protection system | |
| JPH0592855U (en) | Information processing equipment | |
| JP3101349B2 (en) | Electronic device and control method for electronic device | |
| JPH0687213B2 (en) | Data processing device | |
| JPS62281781A (en) | Monitoring method for accident information | |
| JPS6285347A (en) | Information processor | |
| JPH0731640B2 (en) | Disk access control method | |
| JPS60225193A (en) | Electronic unit with fluorescent indicator tube | |
| JPH01147649A (en) | Method for discriminating propriety of back-up memory | |
| JPS61265613A (en) | Data processing device | |
| JPS6254347A (en) | Processing system for fault of file | |
| JPH02139614A (en) | Ac driven personal computer | |
| JPS62173670A (en) | Input/output controller | |
| JPS6265141A (en) | Initial diagnosis processing system for information processing system | |
| JPS61107048U (en) | ||
| JPH08249091A (en) | Data storage | |
| JPS62187942A (en) | Debugging control processing system | |
| JPH1011331A (en) | Information processing method, information processor, and storage medium | |
| JPS6247722A (en) | Starting method for terminal equipment | |
| JPH01102658A (en) | File write backup method | |
| JPH064805U (en) | Programmable controller | |
| JPH0440542A (en) | Memory control system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| LAPS | Cancellation because of no payment of annual fees |