JPH04107756A - Eeprom protecting system - Google Patents

Eeprom protecting system

Info

Publication number
JPH04107756A
JPH04107756A JP2227135A JP22713590A JPH04107756A JP H04107756 A JPH04107756 A JP H04107756A JP 2227135 A JP2227135 A JP 2227135A JP 22713590 A JP22713590 A JP 22713590A JP H04107756 A JPH04107756 A JP H04107756A
Authority
JP
Japan
Prior art keywords
eeprom
cpu
writing device
rom
signal
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
JP2227135A
Other languages
Japanese (ja)
Inventor
Yasushi Nagase
永瀬 靖
Megumi Shibata
恵 柴田
Mitsuharu Takahashi
高橋 光春
Yoshiyuki Inami
稲見 喜之
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
Fujitsu Communication Systems Ltd
Original Assignee
Fujitsu Ltd
Fujitsu Communication Systems 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, Fujitsu Communication Systems Ltd filed Critical Fujitsu Ltd
Priority to JP2227135A priority Critical patent/JPH04107756A/en
Publication of JPH04107756A publication Critical patent/JPH04107756A/en
Pending legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To prevent data in an EEPROM destroyed by prohibiting write from a CPU to the EEPROM in an EEPROM loaded device when no EEPROM writer is connected. CONSTITUTION:A connection decision circuit 8 is provided at a device 1 on which the EEPROM 3 is loaded, and a signal sending circuit 9 at the EEPROM writer 2, and the write from the CPU 6 on the EEPROM 3 of the EEPROM loaded device 1 is prohibited when no EEPROM writer 2 is connected. In other words, since no signal of the signal sending circuit 9 of the EEPROM writer 2 is sent when no EEPROM writer 2 is connected, no signal is inputted to the connection decision circuit 8 of the EEPRON loaded device 1, and the connection decision circuit decides that no connection to the EEPROM writer 2 is performed, and disconnects a connection line between the CPU 6 and the write terminal of the EEPROM 3, and no write signal from the CPU 6 is sent to the EEPROM 3. Thereby, it is possible to prevent the data in the EEPROM 3 destroyed due to the runaway of the program of the eeprom loaded device.

Description

【発明の詳細な説明】 〔概 要〕 CPU、ROM、RAM及びEEPROMを搭載する装
置に関し、 該EEPROMの内部データを更新するEEPROM書
込み装置未接続中は、該EEPROM内部データの書込
みを防止することを目的とし、該EEPROMを搭載す
る装置に、該EEPROM書込み装置の接続の状態を判
定する接続判定回路を儲け、 該EEPROM書込み装置に、該EEPROM搭載装置
に接続時送出する信号送出回路を儲け、該EEPROM
書込み装置接続中は該書込み装置に搭載されたROMの
内部データを該EEPROMに転送し、 該EEPROM書込み装置未接続中は、該EEPROM
搭載装置のEEPROMに対するCPUからの書込みを
禁止するように構成する。
[Detailed Description of the Invention] [Summary] Regarding a device equipped with a CPU, ROM, RAM, and EEPROM, writing of the internal data of the EEPROM is prevented while an EEPROM writing device for updating the internal data of the EEPROM is not connected. For the purpose of this, a device equipped with the EEPROM is provided with a connection determination circuit for determining the connection state of the EEPROM writing device, and the EEPROM writing device is provided with a signal sending circuit that sends out a signal when connected to the EEPROM device, The EEPROM
When the writing device is connected, the internal data of the ROM installed in the writing device is transferred to the EEPROM, and when the EEPROM writing device is not connected, the internal data of the ROM installed in the writing device is transferred to the EEPROM.
The configuration is such that writing from the CPU to the EEPROM of the installed device is prohibited.

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

本発明は、CPU、ROM、RAM及びEEPROMを
搭載する装置におけるEEPROMプロテクト方式に関
する。
The present invention relates to an EEPROM protection method in a device equipped with a CPU, ROM, RAM, and EEPROM.

EEPROMはプログラム的に書込み可能なリードオン
リーメモリで、電源を除いても書込まれたメモリ内容は
消去されないので、最近は種々の装置に搭載されて使用
されている。
EEPROM is a read-only memory that can be written programmatically, and the written memory contents are not erased even if the power is turned off, so it has recently been installed and used in various devices.

現在電子交換機を複数の交換台と接続する場合に、その
接続制御に交換台制御装置が使用されている。この交換
台制御装置は従来CPU、ROM。
Currently, when an electronic exchange is connected to a plurality of switchboards, a switchboard control device is used to control the connections. This switchboard control device conventionally uses CPU and ROM.

RAM等から構成されて、ROMに装置を動かすに必要
なプログラムを書込み、RAMには計算結果を一時記憶
して交換台に対する接続処理をCPUで処理していた。
It consisted of RAM, etc., and the programs necessary to operate the device were written in the ROM, calculation results were temporarily stored in the RAM, and the connection process to the switchboard was processed by the CPU.

しかし、ROMに書込むプログラムは必要に応じて更新
等のため、現地でROMのICを交換する場合があり、
ICパッケージの抜き差しによるトラブルが発生する問
題があった。そこで、プログラム的に書込み可能なリー
ドオンリーメモリEEPROMを交換台制御装置に搭載
し、ROMのIC交換トラブルを防止するようになった
However, in order to update the program written to the ROM as necessary, the ROM IC may be replaced on-site.
There was a problem in which troubles occurred due to the insertion and removal of the IC package. Therefore, a read-only memory EEPROM that can be written programmatically has been installed in the switchboard control device to prevent the trouble of replacing the ROM IC.

〔従来の技術〕[Conventional technology]

従来のEEPROM搭載装置のブロック構成図を第3図
に示す。図において、21はEEPROM搭載装置、2
2はEEPROM書込み装置、23はEEPROM搭載
装置に搭載されるE E P ROM、24は同搭載装
置のROM、25は同搭載装置のRAM、26は同搭載
装置のCPU、27はEEPROM書込み装置のROM
、28は差込みプラグを示す。
A block diagram of a conventional EEPROM-equipped device is shown in FIG. In the figure, 21 is an EEPROM mounted device, 2
2 is an EEPROM writing device, 23 is an EEPROM installed in the EEPROM loading device, 24 is a ROM of the loading device, 25 is a RAM of the loading device, 26 is a CPU of the loading device, 27 is an EEPROM writing device of the loading device. ROM
, 28 indicates a plug.

EEPROM書込み装置22はプログラム設定用のRO
M27を搭載し、差込みプラグ28によりEEPROM
搭載装置21に容易に接続可能で、プログラム設定用の
ROM27は種々用意してあり、必要なプログラムを搭
載したEEPROM書込み装置22を、現地でEEPR
OM搭載装置21に差込みプラグ28で、差込み、EE
PROM搭載装置21のEEPROM23にEEPRO
M書込み装置22のROM27のプログラム内容を転送
することができる。
The EEPROM writing device 22 is an RO for program setting.
Equipped with M27, EEPROM with plug 28
A variety of ROMs 27 are available for program settings that can be easily connected to the on-board device 21, and the EEPROM writing device 22 loaded with the necessary programs can be easily connected to the on-board device 21.
Insert the plug 28 into the OM-equipped device 21, and connect the EE
EEPRO in EEPROM23 of PROM mounted device 21
The program contents of the ROM 27 of the M writing device 22 can be transferred.

EEPROM書込み装置22をEEPROM搭載装置2
1に接続すると、CPU26がROM27のデータを読
込み、CPU26は読込んだデータを書込み端子により
EEPROM23に書込む。したがってEEPROM2
3のプログラム内容が書換えられる。
The EEPROM writing device 22 is connected to the EEPROM loading device 2.
1, the CPU 26 reads data from the ROM 27, and writes the read data to the EEPROM 23 through the write terminal. Therefore, EEPROM2
3 program contents are rewritten.

RAM25はワーク用として使用され計算結果を一時記
憶する。EEPROM23のプログラム内容はEEPR
OM書込み装置22を抜いても保持されているが、別の
プログラム内容のEEPROM書込み装置を差込めば、
E E P R06M23のプログラム内容も書換えら
れる。
The RAM 25 is used for work and temporarily stores calculation results. The program contents of EEPROM23 are EEPR
It is retained even if the OM writing device 22 is removed, but if you insert an EEPROM writing device with different program contents,
The program contents of EEP R06M23 are also rewritten.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上記従来の方式では、EEPROM書込み装置22がE
EPROM搭載装置2Iに差込まれてない時、CPU2
6からの書込みアクセスによりEEPROM23に書込
みが可能なため、EEPROM23の内部データの書換
えか可能であった。このためEEPROM搭載装置のプ
ログラム暴走等によるEEFROM内部データの破壊と
いう問題かあった。
In the conventional method described above, the EEPROM writing device 22
When the EPROM is not inserted into the device 2I, the CPU 2
Since it is possible to write to the EEPROM 23 through write access from 6, it is only possible to rewrite the internal data of the EEPROM 23. For this reason, there was a problem of destruction of internal data in the EEFROM due to program runaway in the EEPROM-equipped device.

本発明は、EEPROM23の書込み端子にCPU26
からの書込み信号の他に、EEPROM書込み装置22
かEEPROM搭載装置21に完全に差込まれている時
だけ有効になる「接続中J信号の条件を入れることによ
り、EEPROM23内部データの破壊を防止すること
を目的とする。
In the present invention, the CPU 26 is connected to the write terminal of the EEPROM 23.
In addition to the write signal from the EEPROM writing device 22
The purpose of this is to prevent the internal data of the EEPROM 23 from being destroyed by setting the condition of the "connected J signal" which becomes valid only when the EEPROM is completely inserted into the EEPROM mounted device 21.

〔課題を解決するための手段〕[Means to solve the problem]

本発明の原理構成図を第1図に示す。図において、Iは
EEPROM搭載装置、2はEEFROM書込み装置、
3は搭載装置のEEFROM、4は搭載装置のROM、
5は搭載装置のRAM、6は搭載装置のCPU、7は書
込み装置のROMを示す。
FIG. 1 shows the principle configuration diagram of the present invention. In the figure, I is an EEPROM loading device, 2 is an EEFROM writing device,
3 is the EEFROM of the installed device, 4 is the ROM of the installed device,
5 is the RAM of the mounted device, 6 is the CPU of the mounted device, and 7 is the ROM of the writing device.

該EEPROM3を搭載する装置1に、該EEFROM
書込み装置2との接続状態を判定する接続判定回路8を
儲け、 該EEPROM書込み装置2に、該EEPROM搭載装
置lとの接続時送出する信号送出回路9を儲け、 該EEPROM書込み装置2を該EEPROM搭載装置
1に接続中は該書込み装置2に搭載されたROM7の内
部データをEEPROM3に転送し、 該EEPROM書込み装置2を接続していない時は、該
EEPROM搭載装置1のEEPROM3に対するCP
U6からの書込みを禁止するように構成する。
The EEFROM 3 is installed in the device 1 equipped with the EEPROM 3.
A connection determination circuit 8 for determining the connection state with the writing device 2 is provided, and a signal sending circuit 9 is provided for the EEPROM writing device 2 to send out a signal when connected to the EEPROM-equipped device l, and the EEPROM writing device 2 is connected to the EEPROM. While connected to the installed device 1, the internal data of the ROM 7 installed in the writing device 2 is transferred to the EEPROM 3, and when the EEPROM writing device 2 is not connected, the CP for the EEPROM 3 of the EEPROM installed device 1 is transferred.
It is configured to prohibit writing from U6.

〔作用〕[Effect]

(1)  E E P ROM書込み装置2を接続中の
場合、EEPROM書込み装置2の信号送出回路9の地
気が差込みプラグを経由してEEPROM搭載装置1の
接続判定回路8に接続される。接続判定回路8はEEP
ROM書込み装置2の信号送出回路9の地気を検出して
、CPU6からEEPROM3への書込み線を接続し、
ROM7からのデータがCPU6に接続されると、CP
U6からの書込み信号がEEPROM3に接続され、R
OM7のデータがEEPROM3に転送される。ROM
4には転送用プログラムが格納され、RAM5はワーク
として使用される。
(1) When the EEPROM writing device 2 is being connected, the signal from the signal sending circuit 9 of the EEPROM writing device 2 is connected to the connection determination circuit 8 of the EEPROM loading device 1 via the plug. Connection determination circuit 8 is EEP
Detect the signal transmission circuit 9 of the ROM writing device 2, connect the write line from the CPU 6 to the EEPROM 3,
When data from ROM7 is connected to CPU6, CPU
The write signal from U6 is connected to EEPROM3 and R
Data in OM7 is transferred to EEPROM3. ROM
4 stores a transfer program, and RAM 5 is used as a work.

(2)  E E P ROM書込み装置2を未接続の
場合、EEPROM書込み装置2の信号送出回路9の地
気が送出されないので、EEPROM搭載装置I搭載装
置窓回路8に信号が送出されず、接続判定回路8はEE
PROM書込み装置2との接続が無いと判定し、CPU
6とEEPROM3の書込み端子間の接続線を切り、E
EPROM3へはCPU6からの書込み信号が送出され
ない。したがって、EEPROM書込み装置2が接続さ
れていない時は、EEPROM3の内部データの書換え
は行われないで済む。
(2) If the EEPROM writing device 2 is not connected, the signal sending circuit 9 of the EEPROM writing device 2 will not send out the air, so no signal will be sent to the EEPROM loading device I loading device window circuit 8, and the connection will be interrupted. Judgment circuit 8 is EE
It is determined that there is no connection with the PROM writing device 2, and the CPU
6 and the write terminal of EEPROM3, cut the connection wire between E
A write signal from the CPU 6 is not sent to the EPROM 3. Therefore, when the EEPROM writing device 2 is not connected, there is no need to rewrite the internal data of the EEPROM 3.

〔実施例〕〔Example〕

本発明の実施例のブロック構成図を第2図に示す。図に
おいて、lはEEPROM搭載装置、2はEEPROM
書込み装置、3は搭載装置のEEPROM、4は搭載装
置のROM、5は搭載装置のRAM、6は搭載装置のC
PU、7は書込み装置のROM、8は接続判定回路、9
は信号送出回路、10は差込みプラグを示す。
A block diagram of an embodiment of the present invention is shown in FIG. In the figure, l is an EEPROM equipped device, 2 is an EEPROM
Writing device, 3 is EEPROM of the installed device, 4 is ROM of the installed device, 5 is RAM of the installed device, 6 is C of the installed device
PU, 7 is the ROM of the writing device, 8 is a connection determination circuit, 9
1 indicates a signal sending circuit, and 10 indicates a plug.

EEPROM搭載装置l搭載装置窓回路8は抵抗llと
インバータ12とアンド13とからなり、EEPROM
書込み装置2の信号送出回路9は地気14からなる。差
込みプラグ10を挿入中は地気14の“0”がインバー
タI2の入力側に接続され、出力側には“l”が送出さ
れ、CPU6のWRITE端子からの信号はアンド13
の入力“l”により制御されてそのまま出力され、EE
PROM3のWRITE端子に入力される。したがって
、EEPROM書込み装置2のROM7からの入力デー
タは保護され、CPU3のWRITE信号によりEEP
ROM3に転送される。
Device with EEPROM 1 Device with EEPROM The window circuit 8 consists of a resistor 1, an inverter 12, and an AND 13.
The signal sending circuit 9 of the writing device 2 consists of a ground air 14. While the plug 10 is inserted, "0" of the earth 14 is connected to the input side of the inverter I2, "l" is sent to the output side, and the signal from the WRITE terminal of the CPU 6 is AND13.
It is controlled by the input “l” of EE and is output as is.
It is input to the WRITE terminal of PROM3. Therefore, the input data from the ROM 7 of the EEPROM writing device 2 is protected, and the EEPROM write data is protected by the WRITE signal of the CPU 3.
Transferred to ROM3.

次に差込みプラグ10が挿入されていない時は、地気1
4が接続されないので抵抗11からの+5vがインバー
タ12の入力側に接続され、出力側には“0”が送出さ
れ、CPU6のWRITE端子からの信号はアンド13
の入力“0”により制御されて、EEPROM3のWR
ITE端子には“0”だけしか送出されない。したがっ
て、CPU6からのWRITE信号はEEPROM3の
WRITE端子には送出されず、EEPROM書込み装
置が接続されてない時はEEPROM3の内部データは
書換えられることはない。
Next, when the plug 10 is not inserted,
4 is not connected, +5V from the resistor 11 is connected to the input side of the inverter 12, "0" is sent to the output side, and the signal from the WRITE terminal of the CPU 6 is AND13.
is controlled by the input “0” of EEPROM3.
Only "0" is sent to the ITE terminal. Therefore, the WRITE signal from the CPU 6 is not sent to the WRITE terminal of the EEPROM 3, and the internal data of the EEPROM 3 is not rewritten when the EEPROM writing device is not connected.

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

本発明により、EEPROMの内部データ書換えはEE
PROM書込み装置か接続されている時だけ行われ、E
EPROM搭載装置のプログラム暴走等によるEEPR
OM内部データの破壊を防止する事が出来る。
According to the present invention, the internal data of EEPROM can be rewritten using EE.
This is done only when a PROM writing device is connected, and E
EEPR due to program runaway of EPROM equipped device, etc.
Destruction of OM internal data can be prevented.

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

第1図は本発明の原理構成図、第2図は実施例のブロッ
ク構成図、第3図は従来例のブロック構成図を示す。 図において、1.21はEEPROM搭載装置、2.2
2はEEPROM書込み装置、3,23はEEPROM
、4,7.24.27はROM、5.25はRAM、6
,26はCPU、8は接続判定回路、9は信号送出回路
、10.28は差込みプラグ、11は抵抗、12はイン
バータ、13はアンド、14は地気を示す。 EEPROM搭載装置 実施例のブロック構成図 第2図 従来例のブロック構成図 第3図
FIG. 1 is a block diagram of the principle of the present invention, FIG. 2 is a block diagram of an embodiment, and FIG. 3 is a block diagram of a conventional example. In the figure, 1.21 is an EEPROM equipped device, 2.2
2 is EEPROM writing device, 3 and 23 are EEPROM
, 4, 7.24.27 is ROM, 5.25 is RAM, 6
, 26 is a CPU, 8 is a connection determination circuit, 9 is a signal sending circuit, 10.28 is a plug, 11 is a resistor, 12 is an inverter, 13 is an AND, and 14 is an earth. Figure 2: Block configuration diagram of an embodiment of an EEPROM equipped device Figure 3: Block configuration diagram of a conventional example

Claims (1)

【特許請求の範囲】  CPU、ROM、RAM及びEEPROMを搭載する
装置において、 該EEPROM(3)を搭載する装置(1)に、該EE
PROM書込み装置(2)の接続状態を判定する接続判
定回路(8)を儲け、 該EEPROM書込み装置(2)に、該EEPROM搭
載装置(1)に接続時送出する信号送出回路(9)を儲
け、 該EEPROM書込み装置(2)接続中は該書込み装置
(2)に搭載されたROM(7)の内部データを該EE
PROM(3)に転送し、 該EEPROM書込み装置(2)未接続中は、該EEP
ROM搭載装置(1)のEEPROM(3)に対するC
PU(6)からの書込みを禁止することを特徴とするE
EPROMプロテクト方式。
[Claims] In a device equipped with a CPU, a ROM, a RAM, and an EEPROM, the device (1) equipped with the EEPROM (3) includes the EE
A connection determination circuit (8) is provided to determine the connection state of the PROM writing device (2), and a signal sending circuit (9) is provided to the EEPROM writing device (2) to send out a signal when connected to the EEPROM loading device (1). , While the EEPROM writing device (2) is connected, the internal data of the ROM (7) mounted on the writing device (2) is transferred to the EEPROM writing device (2).
When the EEPROM writing device (2) is not connected, the EEPROM is transferred to the EEPROM (3).
C for EEPROM (3) of ROM mounted device (1)
E characterized by prohibiting writing from PU (6)
EPROM protection method.
JP2227135A 1990-08-29 1990-08-29 Eeprom protecting system Pending JPH04107756A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2227135A JPH04107756A (en) 1990-08-29 1990-08-29 Eeprom protecting system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2227135A JPH04107756A (en) 1990-08-29 1990-08-29 Eeprom protecting system

Publications (1)

Publication Number Publication Date
JPH04107756A true JPH04107756A (en) 1992-04-09

Family

ID=16856032

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2227135A Pending JPH04107756A (en) 1990-08-29 1990-08-29 Eeprom protecting system

Country Status (1)

Country Link
JP (1) JPH04107756A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001188686A (en) * 1999-10-22 2001-07-10 Sony Corp Data rewriting device, control method, and recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001188686A (en) * 1999-10-22 2001-07-10 Sony Corp Data rewriting device, control method, and recording medium

Similar Documents

Publication Publication Date Title
US7958376B2 (en) Write once system and method for facilitating digital encrypted transmissions
US5796092A (en) IC card and IC card system
JPS63187353A (en) Data protection circuit for blocking transmission of signal through bus
JPH04107756A (en) Eeprom protecting system
JPH04219823A (en) Method and apparatus for protecting rom data
US7178035B1 (en) Write once system and method for facilitating digital encrypted transmissions
JPH08179942A (en) Immune ic, and card and computer using the ic
JPH05100847A (en) Memory protection system for information processor
JPH0628173A (en) Method and device for substituting program
JPH07271634A (en) Control unit equipped with flash eeprom
JP4450161B2 (en) Unit and programmable controller
JPS6339013A (en) Electronic computer
JPH0562485A (en) Rewriting device for eeprom of controller
US6295589B1 (en) Apparatus and method prohibiting RAM diagnosis when other units may access RAM
JPH06259982A (en) Method and device for rewriting flash rom
KR19990045550A (en) Method and apparatus for reading, modifying and overwriting data stored in a memory device
JPH05225361A (en) Register rewriting system
JP2904991B2 (en) Numerical control unit
JP2000047896A (en) Device for setting information characteristic of device
JPH05189001A (en) Controller
JPS6318593A (en) Data writing system to earom
JPS62119653A (en) Program alteration system for terminal equipment
JPH11203115A (en) Controller
JPH02155057A (en) Data processor
JPH10333992A (en) Flash memory write data and flash memory loading equipment