JPS6037041A - Data processor - Google Patents
Data processorInfo
- Publication number
- JPS6037041A JPS6037041A JP58146010A JP14601083A JPS6037041A JP S6037041 A JPS6037041 A JP S6037041A JP 58146010 A JP58146010 A JP 58146010A JP 14601083 A JP14601083 A JP 14601083A JP S6037041 A JPS6037041 A JP S6037041A
- Authority
- JP
- Japan
- Prior art keywords
- data processor
- instruction
- area
- stored
- unused area
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/004—Error avoidance
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
Abstract
Description
【発明の詳細な説明】
〔発明の技術分野〕
この発明は暴走時の保護機能を有するデータ処理装置に
関するものである。DETAILED DESCRIPTION OF THE INVENTION [Technical Field of the Invention] The present invention relates to a data processing device having a protection function against runaway.
データ処理装置はメモリに記憶された命令にしたがって
順序動作を行なうようになっている。この装置は商用電
源で使用する場合は電圧が安定しているので問題ないが
、自動車等に搭載した場合は電源電圧が大幅に低下した
時に予期しない異常動作をひきおこし、暴走状態におち
いることがらシ、この時は順序動作が全くブタラメな状
態になってしまう。この状態におちいることを防ぐため
に各種の提案がなされているが、複雑な外部回路を設け
ねばならず、経済性および信頼性が悪くなるという欠点
を有していた。Data processing devices are adapted to perform sequential operations in accordance with instructions stored in memory. When this device is used on a commercial power source, there is no problem as the voltage is stable, but when it is installed in a vehicle, etc., it may cause unexpected abnormal operation when the power supply voltage drops significantly, resulting in a runaway state. , in this case, the sequential operation becomes completely random. Various proposals have been made to prevent this from happening, but they have had the disadvantage of requiring a complicated external circuit, resulting in poor economic efficiency and reliability.
したがってこの発明の目的は、経済性および信頼性を低
下させることなく暴走を防止することができるデータ処
理装置を提供することにある。Therefore, an object of the present invention is to provide a data processing device that can prevent runaway without reducing economy and reliability.
このような目的を達成するためにこの発明は、命令を記
憶させるメモリの未使用領域に装置の動作開始時点の動
作に戻る命令を記憶させたものである。以下、実施例を
示す図面を用いてこの発明の詳細な説明する。In order to achieve this object, the present invention stores an instruction for returning the device to the operation at the start of operation in an unused area of the memory in which the instruction is stored. Hereinafter, the present invention will be described in detail using drawings showing embodiments.
第1図はデータ処理装置の一例を示すブロック図である
。同図において1はCPU、2はROM13はRAM、
4は入出力装置である。このように構成された装置は電
源が供給された後、第2図に示すようにステップ100
において「パワーオンリセット」が行なわれ動作開始状
態となる。その後CPUI はROM2 に記憶さ扛た
命令が読出される度に、読出された命令にしたがい、第
2図に示すように、ステップ101のrRAMクリヤ」
、ステップ102の「初期値設定」等の処理を次々と行
なう。FIG. 1 is a block diagram showing an example of a data processing device. In the same figure, 1 is the CPU, 2 is the ROM, 13 is the RAM,
4 is an input/output device. After the device configured as described above is supplied with power, it performs step 100 as shown in FIG.
A "power-on reset" is performed at the time, and the operation starts. Thereafter, each time an instruction stored in ROM2 is read out, the CPU clears the rRAM in step 101 according to the read out instruction, as shown in FIG.
, "initial value setting" in step 102, etc. are performed one after another.
この場合、ROM2は第3図に示すようにエリヤ21に
CPUIの順序動作を書込んだプログラムが記憶されて
おり、エリヤ22はプログラムの記憶さ扛ていない未使
用エリヤとなっている。このため、CPUIがエリヤ2
1を指定し、そこに記憶されたプログラムが読出されて
いる時は決められた順序動作が次々と行なわれる。しか
し、異常動作によってエリヤ22が指定された時、そこ
にはプログラムが書込まれていないので、その時点以後
の装置の動作は全く保証されなくなってしまう。In this case, as shown in FIG. 3, the ROM 2 has an area 21 in which a program in which sequential operations of the CPU are written is stored, and an area 22 which is an unused area in which no program is stored. For this reason, the CPUI
1 is specified, and when the program stored there is read out, operations are performed in a predetermined order one after another. However, when the area 22 is designated due to an abnormal operation, since no program has been written there, the operation of the device after that point is no longer guaranteed.
そこで、この発明はROM2の未使用エリヤであるエリ
ヤ22の全てのアドレスに第2図に示すステップ101
のrRAMクリヤ」動作に戻る命令を記憶させておく。Therefore, the present invention provides that all the addresses in area 22, which is an unused area of ROM 2, are stored in step 101 shown in FIG.
A command to return to the "rRAM clear" operation is stored.
このようにすると、異常現象によってエリヤ22が指定
された場合、この装置は動作開始時点の状態に戻る。こ
のため、従来は異常動作が一過性のものであっても装置
は正常な順序動作が行なえなかったものが、この発明に
よれば、動作再開後は正常な順序動作を行なうことがで
きる。In this way, if the area 22 is designated due to an abnormal phenomenon, the device returns to the state at the start of operation. Therefore, although in the past, the device could not perform normal sequential operations even if the abnormal operation was temporary, according to the present invention, it is possible to perform normal sequential operations after restarting the operation.
以上説明したようにこの発明に係るデータ処理装置は、
メモリの未使用領域に装置の動作開始時点の動作に戻る
命令を記憶させるようにしたので暴走防止のために外部
回路を付加する必要がなくなり、経済性および信頼性と
もに向上し、また異常動作が一過性のものであれば、動
作再開後は正常な順序動作に戻ることができるという効
果を有する。As explained above, the data processing device according to the present invention includes:
Since the command to return to the operation at the start of the device operation is stored in an unused area of the memory, there is no need to add an external circuit to prevent runaway, improving both economy and reliability, and preventing abnormal operation. If it is temporary, it has the effect that the normal sequential operation can be returned to after the operation is resumed.
第1図はデータ処理装置の一例を示すブロック図、第2
図は第1図の装置の動作を示すフローチャート、第3図
はメモリアップである。
1 ・ ・ ・ −CPU、 2 ・ ・ Φ 會 R
OM、 3 ・ 0・@RAM、4・Φ拳・入出力装置
。
特許出願人 株式会社小糸製作所
代理人山川政樹(はが1名)Figure 1 is a block diagram showing an example of a data processing device, Figure 2 is a block diagram showing an example of a data processing device.
The figure is a flowchart showing the operation of the apparatus of FIG. 1, and FIG. 3 is a memory up. 1 ・ ・ ・ -CPU, 2 ・ ・ Φ R
OM, 3・0・@RAM, 4・ΦFist・I/O device. Patent applicant: Koito Manufacturing Co., Ltd. Agent Masaki Yamakawa (1 person)
Claims (1)
なうデータ処理装置において、メモリの未使用領域に装
置の動作開始時点の動作に戻る命令を記憶させたことを
特徴とするデータ処理装置。1. A data processing device that processes data according to instructions stored in a memory, characterized in that an unused area of the memory stores an instruction for returning to the operation at the time the device started operating.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58146010A JPS6037041A (en) | 1983-08-10 | 1983-08-10 | Data processor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP58146010A JPS6037041A (en) | 1983-08-10 | 1983-08-10 | Data processor |
Publications (1)
Publication Number | Publication Date |
---|---|
JPS6037041A true JPS6037041A (en) | 1985-02-26 |
Family
ID=15398048
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP58146010A Pending JPS6037041A (en) | 1983-08-10 | 1983-08-10 | Data processor |
Country Status (1)
Country | Link |
---|---|
JP (1) | JPS6037041A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63233452A (en) * | 1987-03-20 | 1988-09-29 | Sanyo Electric Co Ltd | Data protecting device |
-
1983
- 1983-08-10 JP JP58146010A patent/JPS6037041A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS63233452A (en) * | 1987-03-20 | 1988-09-29 | Sanyo Electric Co Ltd | Data protecting device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS6037041A (en) | Data processor | |
JPS6037042A (en) | Data processor | |
WO2016131313A1 (en) | Code loading method and apparatus for embedded operating system | |
JP3607658B2 (en) | Portable electronic device | |
JPH02297237A (en) | Automatic restarting device for electronic computer system | |
JP2001256055A (en) | Program download system | |
JPH0728572A (en) | Automatic data preserving device at power interruption | |
JPH0119184B2 (en) | ||
JPS5532192A (en) | Information processing device | |
JPS63117396A (en) | Non-volatile semiconductor memory device | |
JPH0566951A (en) | Computer system | |
JPS6012849A (en) | Fault information recording system | |
JPS58168121A (en) | Processing system of power failure restoration | |
JPH0259492B2 (en) | ||
JPH11272642A (en) | 1-chip microcomputer and start address setting method | |
JPH06202861A (en) | Automatic application restarting device | |
JPH05265602A (en) | Power management control device | |
JPH0218739B2 (en) | ||
JPH11282711A (en) | Development supporting device for software | |
JPH01166152A (en) | Program storage control system | |
JPH02224053A (en) | Monitoring system for input time of terminal | |
JPH0916407A (en) | Electronic computer | |
JPH09311790A (en) | Data processor and exchanger | |
JPH0531773B2 (en) | ||
JPS6227423B2 (en) |