JPS61228797A - Electronic key telephone set - Google Patents

Electronic key telephone set

Info

Publication number
JPS61228797A
JPS61228797A JP7021085A JP7021085A JPS61228797A JP S61228797 A JPS61228797 A JP S61228797A JP 7021085 A JP7021085 A JP 7021085A JP 7021085 A JP7021085 A JP 7021085A JP S61228797 A JPS61228797 A JP S61228797A
Authority
JP
Japan
Prior art keywords
rom
written
program
abnormality
checksum
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
JP7021085A
Other languages
Japanese (ja)
Inventor
Masayoshi Inoue
雅由 井上
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP7021085A priority Critical patent/JPS61228797A/en
Publication of JPS61228797A publication Critical patent/JPS61228797A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M9/00Arrangements for interconnection not involving centralised switching
    • H04M9/002Arrangements for interconnection not involving centralised switching with subscriber controlled access to a line, i.e. key telephone systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/22Arrangements for supervision, monitoring or testing
    • H04M3/24Arrangements for supervision, monitoring or testing with provision for checking the normal operation
    • H04M3/241Arrangements for supervision, monitoring or testing with provision for checking the normal operation for stored program controlled exchanges

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Monitoring And Testing Of Exchanges (AREA)
  • Exchange Systems With Centralized Control (AREA)
  • Sub-Exchange Stations And Push- Button Telephones (AREA)

Abstract

PURPOSE:To make it possible to prevent a malfunction and to find instantly the abnormality of a program written on a ROM by inspecting written contents on the ROM, interrupting the execution of a program when the abnormality is found and displaying the state on an abnormality displaying part when an electronic key telephone set system is started up or is reset. CONSTITUTION:The program is started from the address 0 of the ROm 1 and is jumped to a test process part 9 when the system is started up or it is rest. At the inspection processing part 9, a check sum is calculated for every ROMN from N=1 to N=n and it is checked with the check sum of the ROMN which is written in advance at a check sum part 8 and when they are equal, the value of the N is updated and the above stated process is repeated until the N=n and when all of the content of the ROM1-ROMn are normal, the program is jumped to a system control part 4 and the primary process of the electronic key telephone set is started. When in inconsistency, the abnormality is displayed at an abnormality display part 7 and the interruption of the program is commanded.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は電子式ボタン電話装置に関する。[Detailed description of the invention] [Industrial application field] The present invention relates to electronic key telephone devices.

〔従来の技術〕[Conventional technology]

従来、この種の電子式ボタン電話装置のプログラム(B
P−ROMに格納されている)は、システム立ち上げ時
またはリセット時にθ番地からスター)L、、RAMの
初期設定、ハードウェア制御部の初期設定等を行った後
、システムの制御を開始していた。
Conventionally, this type of electronic button telephone device program (B
(stored in P-ROM) starts from address θ when starting up or resetting the system) After performing initial settings of RAM, initial settings of hardware control unit, etc., system control is started. was.

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

前述した従来の電子式ボタン電話装置は、EP−ROM
の書込み内容が正しいという前提のもとに制御を行なっ
ているので、EP−ROMに誤った内容のプログラムが
書込まれていた場合や、紫外線消去可能なEP−ROM
の場合にIP−ROMにプログラムが書込まれた後、消
去用紫外線透窓に紫外線が照射された場合の゛よ5に書
込み内容が変化した場合に誤動作をするという°欠点が
あった。
The conventional electronic key telephone device described above is an EP-ROM.
Since control is performed on the assumption that the written contents of the
In this case, after a program has been written into the IP-ROM, there are drawbacks such as when the ultraviolet rays are irradiated onto the ultraviolet ray transparent window for erasing, and malfunctions occur if the written contents change.

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

本発明の電子式ボタン電話装置は、八−ドウエア制御部
により制御される異常表示部を有し、EP−ROMには
ROMのチェックサムが予め書込まれ、またEP−RO
Mにはシステム立上げ時またはリセット時に起動されて
、ROMのチェックサムを求め、これを前記IP−RO
Mに予め書込まれている前記ROMのチェックサムと照
合し、両者が一致した場合には前記EP−ROMに書込
まれているプログラムの実行を指令し、不一致の場合に
は該EP−ROMに書込まれているプログラムの中止を
指令するとともに、異常表示部に異常を表示させるRO
M書込み内容検査プログラムが備えられていることを特
徴とする。
The electronic key telephone device of the present invention has an abnormality display section controlled by an eight-doware control section, a checksum of the ROM is written in advance in the EP-ROM, and
M is activated at system startup or reset, calculates the checksum of the ROM, and sends this to the IP-RO.
The checksum is compared with the checksum of the ROM written in advance in M, and if the two match, the program written in the EP-ROM is commanded to be executed, and if they do not match, the program written in the EP-ROM is The RO commands the cancellation of the program written in the RO and displays an error on the error display section.
It is characterized by being equipped with an M written content inspection program.

このようにシステムの立上げまたはリセット時にROM
の内容(チェックサム)が検査され、異常があればプロ
グラムの実行が中止されるとともに、その旨が異常表示
部に表示されるのでボタン電話装置が誤動作することが
なくなる。
In this way, when starting up or resetting the system, the ROM
The content (checksum) of the button is inspected, and if there is an abnormality, the execution of the program is stopped and this fact is displayed on the abnormality display section, so that the button telephone device does not malfunction.

〔実施例〕〔Example〕

本発明の実施例につい【図面を参照して説明する。 Embodiments of the present invention will be described with reference to the drawings.

第1図は本発明の電子式ボタン電話装置の一実施例のブ
ロック図である。マイクロプロセラf1は、ROM書込
み内容検査プログラム8およびシステム制御プログラム
4が書き込まれたEP−ROM2゜RAM 5からのプ
ログラムおよびデーターによってハードウェア制御部6
を制御する。八−ドウエア制御部6によって制御される
異常表示部7は、ROMの書込み内容に異常が発見され
たときに異常を表示する。EP−ROMBは第2図に示
すようにn個のROM 、 ROM1. ROM2. 
・・”−、ROMn からなり、その中のItOMlに
はアドレス0番地からプログラムが書込まれているがR
OM書込み内容検査プログラム8およびシステム制御プ
ログラム4が書き込まれている。ROM書き込み内容検
査プログラム8の中には図右側に拡大して示すようにチ
ェックサム部8が設けられROMI、ROM9.・・・
・・・、ROMnのチェック讐ムが予め書込まれ、また
検査処理部9が書込まれている。
FIG. 1 is a block diagram of an embodiment of the electronic key telephone device of the present invention. The microprocessor f1 controls the hardware control unit 6 using the program and data from the EP-ROM2°RAM 5 in which the ROM written content inspection program 8 and the system control program 4 are written.
control. An abnormality display section 7 controlled by the hardware control section 6 displays an abnormality when an abnormality is found in the contents written in the ROM. As shown in FIG. 2, the EP-ROMB includes n ROMs, ROM1. ROM2.
..."-, ROMn, and the program is written to ItOMl from address 0, but R
An OM written content inspection program 8 and a system control program 4 are written. The ROM written contents inspection program 8 is provided with a checksum section 8 as shown enlarged on the right side of the figure, and the checksum section 8 is provided for ROMI, ROM9. ...
. . , the check memory of ROMn is written in advance, and the inspection processing section 9 is also written.

次に第8図のフローチャートを参照して本実施例の動作
を説明する。
Next, the operation of this embodiment will be explained with reference to the flowchart of FIG.

まず、システムの立上り時またはリセット時にはプログ
ラムはROMIのアビレフ0番地からスタートし、検査
処理部9ヘジヤンプする(処理a)。
First, when the system is started up or reset, the program starts from address 0 of the ROMI and jumps to the inspection processing section 9 (processing a).

検査処理部9において、N=1からN=1の各ROMN
についてチェックサムを計算しく処理C)これをチェッ
クサム部8に予め書き込まれているROMNのチェック
サムと照合しく処理d)9両者が一致した場合にはNの
値を更新して(処理e)N=nになるまで(処理f)前
述の処理が繰返され、ROMI〜ROMnの全ての内容
が正常であったならばシステム制御部4ヘジヤンプしく
処理g)e電子式ボタン電話装置のとして本来の処理を
開始する。不一致の場合には、異常表示部7に異常が表
示され(処理h)てプログラムの中止が指令される。
In the inspection processing unit 9, each ROMN from N=1 to N=1
C) Calculate the checksum for C) Check this against the checksum of ROMN written in advance in the checksum section 8. D) If the two match, update the value of N (Process e) The above-mentioned process is repeated until N=n (process f), and if all the contents of ROMI to ROMn are normal, the system control unit 4 jumps and processes g) e The original process as an electronic button telephone device Start processing. If there is a mismatch, an error is displayed on the error display section 7 (process h) and a command is given to cancel the program.

なお、本実施例では、複数個のROMの中の最頭のRO
MIにROM書込み内容検査プログラムが書き込まれて
いるが、これは他のROMであってもよい。
Note that in this embodiment, the first RO among the plurality of ROMs
Although the ROM written content inspection program is written in the MI, this may be in another ROM.

〔発明の効果〕 ′ 以上説明したように本発明は、電子式ボタン電話装置の
システム立ち上げ時、またはリセット時に、ROMの書
込み内容を検査し、異常があればプログラムの実行を中
止するとともに異常表示部にその旨を表示することによ
り、誤動作が防止されるとともにROMに書込まれたプ
ログラムの異常を即座に発見できる。
[Effects of the Invention] 'As explained above, the present invention inspects the contents written in the ROM when starting up or resetting the system of an electronic key telephone device, and if an abnormality is found, the execution of the program is stopped and the abnormality is detected. By displaying this on the display, malfunctions can be prevented and abnormalities in the program written in the ROM can be immediately discovered.

また、本発明は製造時には、複数個のROMの中のRO
M書き込み内容検査プログラムが書き込まれているRO
Mだけを検査すればよいので検査時間を短縮できるとい
う効果がある。
In addition, the present invention provides an RO in a plurality of ROMs at the time of manufacturing.
RO in which the M written content inspection program is written
Since only M needs to be inspected, the inspection time can be reduced.

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

第1図は本発明の電子式ボタン電話装置の一実施例のブ
ロック図、第2図は第1図のEP−ROM2の詳細図、
第8図はROM書込み内容検査プログラム8の処理を示
すフローチャートである。 1・・・・・・マイクロプロセッサ。 2・・・・・・EP−ROM。 8・・・・・・ROM書き込み内容検査プログラム。 4・・・・・・システム制御プログラム。 5・・・・・・RAM  。 6・・・・・・ハードウェア制御部。 7・・・・・・異常表示部。 8・・・・・・チェックサム部。 9・・・・・・検査処理部。 第1図 喚 く 訃 へ 公 も ■ へ Σ □〇− Cと Σ 一一ノ               \−0−一−−
−ノα
FIG. 1 is a block diagram of an embodiment of the electronic button telephone device of the present invention, FIG. 2 is a detailed diagram of the EP-ROM 2 shown in FIG. 1,
FIG. 8 is a flow chart showing the processing of the ROM written content inspection program 8. 1...Microprocessor. 2...EP-ROM. 8...ROM written content inspection program. 4...System control program. 5...RAM. 6...Hardware control unit. 7... Abnormality display section. 8...Checksum section. 9...Inspection processing section. Figure 1 To the screaming corpse, the public also ■ to Σ □〇- C and Σ 11 no \-0-1--
−ノα

Claims (1)

【特許請求の範囲】 マイクロプロセツサと、該マイクロプロセツサを制御す
るプログラムが書き込まれたEP−ROMと、データを
一時的に記憶するRAMと、前記マイクロプロセツサに
よつて制御されるハードウエア制御部を備えた制御装置
を有する電子式ボタン電話装置において、 前記ハードウエア制御部により制御される異常表示部を
有し、前記EP−ROMにはROMのチエツクサムが予
め書込まれ、また前記EP−ROMにはシステム立上げ
時またはリセツト時に起動されて、ROMのチエツクサ
ムを求め、これを前記EP−ROMに予め書込まれてい
る前記ROMのチエツクサムと照合し、両者が一致した
場合には前記EP−ROMに書込まれているプログラム
の実行を指令し、不一致の場合には該EP−ROMに書
込まれているプログラムの中止を指令するとともに、前
記異常表示部に異常を表示させるROM書込み内容検査
プログラムが備えられていることを特徴とする電子式ボ
タン電話装置。
[Scope of Claims] A microprocessor, an EP-ROM in which a program for controlling the microprocessor is written, a RAM for temporarily storing data, and hardware controlled by the microprocessor. An electronic button telephone device having a control device including a control section, further comprising an abnormality display section controlled by the hardware control section, a ROM checksum being written in advance in the EP-ROM, and a ROM checksum being written in advance in the EP-ROM. - The ROM is activated at the time of system startup or reset to obtain the checksum of the ROM, and compares this with the checksum of the ROM written in advance in the EP-ROM. If the two match, the ROM writing that commands the execution of the program written in the EP-ROM, and in the case of a mismatch, commands the cancellation of the program written in the EP-ROM, and displays an abnormality on the abnormality display section. An electronic button telephone device characterized by being equipped with a content inspection program.
JP7021085A 1985-04-03 1985-04-03 Electronic key telephone set Pending JPS61228797A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7021085A JPS61228797A (en) 1985-04-03 1985-04-03 Electronic key telephone set

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7021085A JPS61228797A (en) 1985-04-03 1985-04-03 Electronic key telephone set

Publications (1)

Publication Number Publication Date
JPS61228797A true JPS61228797A (en) 1986-10-11

Family

ID=13424929

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7021085A Pending JPS61228797A (en) 1985-04-03 1985-04-03 Electronic key telephone set

Country Status (1)

Country Link
JP (1) JPS61228797A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63172302A (en) * 1987-01-12 1988-07-16 Matsushita Electric Ind Co Ltd Data drive type air conditioning controller
JPS63267051A (en) * 1987-04-24 1988-11-04 Sekisui Chem Co Ltd Self fault diagnosing system for telephone set
JPS63294049A (en) * 1987-05-26 1988-11-30 Nec Corp Key telephone system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53127246A (en) * 1977-04-13 1978-11-07 Toshiba Corp Control program check system
JPS577690A (en) * 1980-06-16 1982-01-14 Hitachi Ltd Initial program loading system
JPS581895A (en) * 1981-06-26 1983-01-07 Hitachi Ltd Detecting method for breakdown of memory contents

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS53127246A (en) * 1977-04-13 1978-11-07 Toshiba Corp Control program check system
JPS577690A (en) * 1980-06-16 1982-01-14 Hitachi Ltd Initial program loading system
JPS581895A (en) * 1981-06-26 1983-01-07 Hitachi Ltd Detecting method for breakdown of memory contents

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63172302A (en) * 1987-01-12 1988-07-16 Matsushita Electric Ind Co Ltd Data drive type air conditioning controller
JPS63267051A (en) * 1987-04-24 1988-11-04 Sekisui Chem Co Ltd Self fault diagnosing system for telephone set
JPS63294049A (en) * 1987-05-26 1988-11-30 Nec Corp Key telephone system

Similar Documents

Publication Publication Date Title
JPS61228797A (en) Electronic key telephone set
JP2635777B2 (en) Programmable controller
JPS6034132B2 (en) programmable controller
JPH01200406A (en) Program comparing device for programmable controller
JP2762665B2 (en) Blog programming device for programmable controller
JPS62143108A (en) Data recorder
JPH05265767A (en) Program start method
JPH0296864A (en) Device and method for updating data
JP2775731B2 (en) Controller and its control method
JPS63300327A (en) Self-diagnostic system for robot controller
JPS63115273A (en) Cad system
JPH01270102A (en) Abnormality monitoring system
JPH07210219A (en) Process controller
JP2002312188A (en) Rom controller
JPH01161518A (en) Command input processing system
JPS62162110A (en) Self diagnosing device for controller
JPH02116902A (en) Measuring system for process time of pc
JPH02165305A (en) Programmable controller
JPH05151093A (en) Programming system of microcomputer
JPS62190533A (en) Interrupt mask control system
JPH0497389A (en) Display control method for crt display device
JPH0468421A (en) System resetting method for man-machine interface device
JPS63206831A (en) Method for controlling start up of application program
EP0971291A1 (en) Analysing tool
JPH02247730A (en) Program correcting history control system