JPH10144088A - Write-in method for electrically erasable programmable rom - Google Patents

Write-in method for electrically erasable programmable rom

Info

Publication number
JPH10144088A
JPH10144088A JP31568096A JP31568096A JPH10144088A JP H10144088 A JPH10144088 A JP H10144088A JP 31568096 A JP31568096 A JP 31568096A JP 31568096 A JP31568096 A JP 31568096A JP H10144088 A JPH10144088 A JP H10144088A
Authority
JP
Japan
Prior art keywords
rom
printed circuit
circuit board
writer
buffer
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.)
Granted
Application number
JP31568096A
Other languages
Japanese (ja)
Other versions
JP3781844B2 (en
Inventor
Takao Suzuki
孝夫 鈴木
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP31568096A priority Critical patent/JP3781844B2/en
Publication of JPH10144088A publication Critical patent/JPH10144088A/en
Application granted granted Critical
Publication of JP3781844B2 publication Critical patent/JP3781844B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To provide a writing method by which program data can be written in many ROMs simultaneously without affecting it with trouble by using a ROM writer even when a flash ROM is mounted on a printed circuit board having a power source generation section. SOLUTION: This device is provided with an I/F 21 which can make a CPU a sleeve state externally and can controls a ROM externally, and a connection means 2 connecting this I/F 21 and a ROM writer 3 through a buffer 23 which can set them to a high impedance state. And the I/F 21 and the ROM writer 3 are connected through the connection means 2 in a state in which a ROM is mounted on the printed circuit board 1, the CPU is made a sleeve state, while the buffer 23 is set to a high impedance until the ROM writer 3 is made an operation state, and program data is written in the ROM mounted on the printed circuit board from the ROM writer 3.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、電気的に書き換え
可能なROM(Read Only Memory)の
書き込み方法に係わり、特に、ファクシミリコントロー
ルボード等のプリント基板にCPU等のバスマスタとな
り得るデバイスと共に搭載される該ROMにプログラム
データを書き込む方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for writing an electrically rewritable ROM (Read Only Memory), and more particularly, to a method of mounting a device such as a CPU on a printed circuit board such as a facsimile control board together with a device such as a CPU which can be a bus master. The present invention relates to a method for writing program data to the ROM.

【0002】[0002]

【従来の技術】従来より、書き込んだデータを紫外線等
を用いて消去して再びプログラム(書き込み)できるE
PROM(Erasable Programmabl
e ROM)単品をROMライタを用いて書き込むこと
は、よく行われている。
2. Description of the Related Art Conventionally, written data can be erased using ultraviolet rays or the like and re-programmed (written).
PROM (Erasable Programmable)
e ROM) It is common to write a single item using a ROM writer.

【0003】最近では、一括消去型のフラッシュEEP
ROM(Electric Erasable Pro
grammable ROM;以下、単にフラッシュR
OMと記す)が、その構造上、低コストで大容量を実現
できることから、多く使用されるようになり、フラッシ
ュROM単品を書き込むためにROMライタもこれに対
応するようになって来た。
Recently, a flash EEP of a batch erase type has been proposed.
ROM (Electric Erasable Pro)
grammable ROM; hereinafter simply flash R
OM), because of its structure, a large capacity can be realized at low cost, so that it is widely used, and a ROM writer for writing a single flash ROM has come to correspond to this.

【0004】また、製品の小型化が図れる表面実装用と
して、フラットパッケージのフラッシュROMも多くな
り、ROMライタメーカー等から、DIP(Dual
In−line Package)からフラットパッケ
ージへの変換ボード(ソケット)も供給されている。
[0004] In addition, flash ROMs in flat packages have also been increasing for surface mounting, which can reduce the size of products.
A conversion board (socket) from an in-line package to a flat package is also supplied.

【0005】このように、従来は、主にROM単品の書
き込みを行っていた。そして、書き込み終了したROM
を、プリント基板上に半田付けにて搭載し実装してい
た。
[0005] As described above, conventionally, the writing of a single ROM was mainly performed. And the ROM that has finished writing
Was mounted on a printed circuit board by soldering.

【0006】また、プリント基板に実装された後のフラ
ッシュROM等に、プログラムデータを書き込む方法と
しては、特開平6−60682号公報や特開平6−23
3023号公報や特開平7−13753号公報等に記載
のように、プリント基板に実装されているCPUのよう
なバスマスタとなり得るデバイスで書き込む方法があ
る。
As a method of writing program data to a flash ROM or the like after being mounted on a printed circuit board, Japanese Patent Application Laid-Open Nos. 6-60682 and 6-23
As described in JP-A-3023 and JP-A-7-13753, there is a method of writing with a device that can be a bus master such as a CPU mounted on a printed circuit board.

【0007】[0007]

【発明が解決しようとする課題】以上のようにして、フ
ラッシュROM等をROMライタを用いて単品で書き込
む場合、特にフラットパッケージのものは、ROMライ
タに接続されているDIP/フラットパッケージ変換ボ
ード(ソケット)にセットして書き込む際に、その変換
ボード(ソケット)との接触不良により書き込みエラー
が発生したり、書き込み終了後にその変換ボード(ソケ
ット)から取り外すときに、リードを曲げてしまったり
することがあった。フラットパッケージはDIPに比べ
てリードの間隔がかなり狭いので、リードの曲がったR
OMをプリント基板に実装(半田付け)すると、半田付
け不良等の不具合が発生することがあった。
As described above, when a flash ROM or the like is written as a single item using a ROM writer, a flat packaged one is particularly suitable for a DIP / flat package conversion board ( When writing to the conversion board (socket), writing errors may occur due to poor contact with the conversion board (socket), or leads may be bent when removing from the conversion board (socket) after writing is completed. was there. Since the distance between the leads of the flat package is considerably smaller than that of the DIP, the bent R
When the OM is mounted (soldered) on a printed circuit board, problems such as poor soldering may occur.

【0008】また、実装した後にプリント基板上のCP
Uを使って書き込む(ダウンロード)場合には、この動
作をさせるためのプログラムを予め他のメモリに格納し
ておかなければならない。また、プリント基板上のCP
Uを使って行うため、1回で1枚しか書き込むことがで
きなかった。
After mounting, the CP on the printed circuit board is
When writing (downloading) using U, a program for performing this operation must be stored in another memory in advance. Also, the CP on the printed circuit board
Since it is performed using U, only one image can be written at a time.

【0009】また、ROMライタからプリント基板に実
装されているフラッシュROMのような書き換え可能な
ROMに簡単な接続手段を用いて書き込む方法が考えら
れるが、この方法では、プリント基板に書き換え可能な
ROMへの電源生成部を持っていないか、または切り離
すことのできるプリント基板でしか、書き込むことがで
きない。すなわち、プリント基板によっては、フラッシ
ュROMへの供給電源をプリント基板上で生成している
ものもあるため、外部から書き換え可能なROMに電源
供給することができないものもあり、またROMライタ
は非動作時にROMソケットを介して電源電圧が印加さ
れるのを考慮した構成とはなっていないので、ROMソ
ケットを介した電源電圧印加があると内部回路が破壊さ
れる恐れがある。
A method of writing data from a ROM writer to a rewritable ROM such as a flash ROM mounted on a printed circuit board by using a simple connection means can be considered. It can only be written on a printed circuit board that does not have a power supply to it or that can be cut off. That is, some printed circuit boards generate power supply to the flash ROM on the printed circuit board, so that some cannot supply power to the externally rewritable ROM, and the ROM writer does not operate. Since the configuration does not take into account that the power supply voltage is sometimes applied through the ROM socket, the internal circuit may be broken if the power supply voltage is applied through the ROM socket.

【0010】そこで、本発明はこのような問題点を解決
するためになされたものであり、ハイインピーダンス状
態に設定可能なバッファを用いることにより、電気的に
書き換え可能なROMを電源生成部を有するプリント基
板に実装(半田付け)した場合や、さらにこのプリント
基板を装置に組み込んだ後でも、ROMライタを用いて
ROMライタに不具合を及ぼすことなく、一度に多くの
ROMにプログラムデータを書き込むことができる書き
込み方法を提供することを目的とするものである。
Therefore, the present invention has been made to solve such a problem, and has an electric rewritable ROM having a power generation unit by using a buffer which can be set to a high impedance state. Even when mounted (soldered) on a printed circuit board or after the printed circuit board has been incorporated into an apparatus, it is possible to write program data to many ROMs at once without using a ROM writer by using a ROM writer. It is an object of the present invention to provide a writing method that can perform the writing.

【0011】さらに、ハイインピーダンス状態に設定可
能なバッファとして、汎用バッファICである74シリ
ーズ等を使用しても、バッファICを破壊することがな
いようにすることを目的とするものである。
It is another object of the present invention to prevent the buffer IC from being destroyed even when a general-purpose buffer IC such as 74 series is used as a buffer that can be set to a high impedance state.

【0012】また、ROMライタはROM単品への制御
信号等のドライブ能力しかない場合が多いので、ROM
ライタとプリント基板(プリント基板を実装した装置)
との距離が離れたりして、ドライブ負荷が大きい場合で
も対応できるようにすることを目的とするものである。
In many cases, a ROM writer only has a drive capability for a control signal or the like for a single ROM.
Writer and printed circuit board (device with printed circuit board mounted)
It is an object of the present invention to be able to cope with a case where the drive load is large due to an increase in the distance from the drive.

【0013】また、プリント基板の電源供給能力がバッ
ファに供給するに十分でない場合でも書き込みが可能と
なるようにすることを目的とするものである。
It is another object of the present invention to enable writing even when the power supply capability of a printed circuit board is not sufficient to supply a buffer.

【0014】[0014]

【課題を解決するための手段】上記のような目的を達成
するために、本願の請求項1に記載の発明は、バスマス
タになり得るデバイスと電気的に書き換え可能なROM
を搭載するプリント基板に、前記バスマスタになり得る
デバイスを外部からスリープ状態にでき、かつ前記電気
的に書き換え可能なROMを外部からコントロールする
ことができるインタフェース部を備えるとともに、この
インタフェース部とROMライタのROMソケットと
を、ハイインピーダンス状態に設定可能なバッファを介
して接続する接続手段を備えて、プリント基板に電気的
に書き換え可能なROMを搭載した状態で、前記インタ
フェース部とROMライタのROMソケットとを前記接
続手段を介して接続し、前記バスマスタとなり得るデバ
イスをスリープ状態にするとともに、ROMライタが動
作状態になるまでは前記バッファをハイインピーダンス
状態に設定するようにして、プリント基板に搭載された
電気的に書き換え可能なROMにROMライタからプロ
グラムデータを書き込むようにしたものである。
In order to achieve the above object, the invention according to claim 1 of the present application provides a device which can be a bus master and an electrically rewritable ROM.
A printed circuit board on which a bus master device can be externally put into a sleep state, and the electrically rewritable ROM can be externally controlled, and the interface unit and a ROM writer are provided. A connection means for connecting the ROM socket to a ROM socket of a high impedance state via a buffer which can be set to a high impedance state. Are connected via the connection means, and the device which can be the bus master is put into a sleep state, and the buffer is set to a high impedance state until the ROM writer is put into an operation state, and is mounted on a printed circuit board. Electrically rewritable It is obtained so as to write the program data from the ROM writer such ROM.

【0015】さらに、請求項2に記載の発明は、前記請
求項1記載の電気的に書き換え可能なROMの書き込み
方法において、前記バッファの動作電源をプリント基板
側から供給するとともに、プリント基板側の電源をRO
Mライタ側より先に投入するようにしたものである。
According to a second aspect of the present invention, in the method for writing an electrically rewritable ROM according to the first aspect, the operating power supply of the buffer is supplied from a printed circuit board side, and Power supply RO
It is designed to be loaded before the M writer side.

【0016】また、請求項3に記載の発明は、同じく請
求項1記載の電気的に書き換え可能なROMの書き込み
方法において、前記バッファは、プリント基板側とRO
Mライタ側の2つのバッファから成ることを特徴とする
ものである。
According to a third aspect of the present invention, in the electrically rewritable ROM writing method according to the first aspect, the buffer is provided between the printed circuit board and the RO.
It is characterized by comprising two buffers on the M writer side.

【0017】さらに、請求項4に記載の発明は、前記請
求項3記載の電気的に書き換え可能なROMの書き込み
方法において、前記2つのバッファの動作電源をプリン
ト基板側から供給するとともに、プリント基板側の電源
をROMライタ側より先に投入するようにしたものであ
る。
According to a fourth aspect of the present invention, in the method for electrically writing in the electrically rewritable ROM according to the third aspect, an operating power supply for the two buffers is supplied from a printed circuit board side, and The power supply on the side is turned on before the ROM writer side.

【0018】また、請求項5に記載の発明は、前記請求
項1又は請求項3のいずれかに記載の電気的に書き換え
可能なROMの書き込み方法において、前記バッファの
動作電源をプリント基板及びROMライタ以外の別電源
から供給するとともに、この別電源をプリント基板及び
ROMライタ側より先に投入するようにしたものであ
る。
According to a fifth aspect of the present invention, in the method for writing an electrically rewritable ROM according to any one of the first to third aspects, the operating power of the buffer is changed to a printed circuit board or a ROM. In addition to being supplied from a separate power source other than the writer, the separate power source is supplied before the printed circuit board and the ROM writer.

【0019】また、請求項6に記載の発明は、前記請求
項3記載の電気的に書き換え可能なROMの書き込み方
法において、前記2つのバッファの動作電源をプリント
基板とROMライタ側からそれぞれ個別に供給するよう
にしたものである。
According to a sixth aspect of the present invention, in the electrically rewritable ROM writing method according to the third aspect, the operating power supplies of the two buffers are individually supplied from a printed circuit board and a ROM writer. It is intended to be supplied.

【0020】[0020]

【発明の実施の形態】以下、添付図面を参照しながら、
本願発明の実施形態を詳細に説明する。
BRIEF DESCRIPTION OF THE DRAWINGS FIG.
An embodiment of the present invention will be described in detail.

【0021】本願発明の実施形態におけるシステム構成
は、図1に示すように、ファクシミリコントロールボー
ド等のプリント基板1と、ピンアサインの変換機能やハ
イインピーダンスに設定可能なバッファを有する接続手
段2と、複数のROMソケットを有するROMライタ3
とから成っている。上記接続手段2は使用形態に応じて
基板又はケーブルで構成され、基板で構成されたものは
装置に組み込まれていないプリント基板1にのみ対応す
るが、ケーブルで構成されたものは装置に組み込まれた
プリント基板1でもROMライタ3に接続することがで
きる。そして、ROMライタ3から接続手段2を介し
て、プリント基板1に実装されているフラッシュROM
にプログラムデータを書き込むものである。
As shown in FIG. 1, the system configuration in the embodiment of the present invention includes a printed circuit board 1 such as a facsimile control board, a connection means 2 having a pin assignment conversion function and a buffer which can be set to a high impedance, and ROM writer 3 having a plurality of ROM sockets
And consists of The connection means 2 is constituted by a board or a cable according to a use form, and the one constituted by the board corresponds only to the printed circuit board 1 not incorporated in the device, while the one constituted by the cable is incorporated in the device. The printed board 1 can also be connected to the ROM writer 3. Then, the flash ROM mounted on the printed circuit board 1 from the ROM writer 3 via the connection means 2
Is to write the program data to the.

【0022】上記プリント基板1における本願発明に係
る構成は、図2に示すように、バスマスタとなるCPU
11と、フラッシュROM12と、このフラッシュRO
M12を外部よりコントロールすることができるフラッ
シュROMコントロールインタフェース部(I/F)1
3と、CPU11やフラッシュROM12へ電源供給す
る電源生成部14等から成る。これらの間のプリント基
板上には、電源生成部14からの電源ラインと、アドレ
スバスやデータバス、リード/ライト信号等の制御信
号、及びCPU11をスリープ状態(停止状態)にする
ためのスリープ信号等のプリント配線が形成され、それ
らの一端がフラッシュROMコントロールI/F13に
接続されている。通常動作時は、CPU11によってフ
ラッシュROM12が制御されるが、フラッシュROM
12へのプログラムデータの書き込み時には、フラッシ
ュROMコントロールI/F13から、CPU11をス
リープ状態にし、フラッシュROM12を外部より制御
するものである。
As shown in FIG. 2, the configuration of the printed circuit board 1 according to the present invention comprises a CPU serving as a bus master.
11, a flash ROM 12, and the flash RO
Flash ROM control interface unit (I / F) 1 that can control M12 from outside
And a power generation unit 14 for supplying power to the CPU 11 and the flash ROM 12. A power supply line from the power generation unit 14, control signals such as an address bus and a data bus, a read / write signal, and a sleep signal for putting the CPU 11 into a sleep state (stop state) are provided on the printed circuit board therebetween. And the like, and one end thereof is connected to the flash ROM control I / F 13. During normal operation, the flash ROM 12 is controlled by the CPU 11,
When writing program data to the CPU 12, the CPU 11 is put into a sleep state from the flash ROM control I / F 13, and the flash ROM 12 is externally controlled.

【0023】図3は、上記接続手段2の一実施形態の構
成を示すものであり、上記プリント基板1のフラッシュ
ROMコントロールI/F13と接続可能なフラッシュ
ROMコントロールI/F21と、ROMライタ3のR
OMソケットと接続可能なROMライタI/F22と、
これらの間に介在するバッファ部23とから成る。アド
レスバス、データバス、制御信号は、ROMライタ3か
らROMライタI/F22とバッファ部23とフラッシ
ュROMコントロールI/F21を介してプリント基板
1に接続できるようになっている。スリープ信号は、フ
ラッシュROMコントロールI/F21のコネクタをプ
リント基板1と接続することによりCPU11がスリー
プ状態になるように固定(図ではGNDレベル)してい
る。
FIG. 3 shows a configuration of one embodiment of the connection means 2. The flash ROM control I / F 21 connectable to the flash ROM control I / F 13 of the printed circuit board 1 and the ROM writer 3 R
A ROM writer I / F22 connectable to an OM socket;
And a buffer unit 23 interposed therebetween. Address buses, data buses, and control signals can be connected to the printed board 1 from the ROM writer 3 via the ROM writer I / F 22, the buffer unit 23, and the flash ROM control I / F 21. The sleep signal is fixed (GND level in the figure) so that the CPU 11 enters the sleep state by connecting the connector of the flash ROM control I / F 21 to the printed circuit board 1.

【0024】また、バッファ部23への電源供給は、フ
ラッシュROMコントロールI/F21を介してプリン
ト基板1上の電源生成部14から供給される。さらに、
ROMライタ3のROMソケットからの電源ラインがR
OMライタI/F22を介してバッファ部23に制御信
号として供給されるようになっている。
The power supply to the buffer unit 23 is supplied from the power supply generation unit 14 on the printed circuit board 1 via the flash ROM control I / F 21. further,
The power line from the ROM socket of the ROM writer 3 is R
The data is supplied as a control signal to the buffer unit 23 via the OM writer I / F 22.

【0025】上記バッファ部23には、図4に示すよう
に、ハイインピーダンス状態に設定可能な74シリーズ
バッファ(244、245等)のような汎用バッファI
Cが用いられる。図4(a)の231は、74シリーズ
(244等)の単方向3ステート・バス・バッファで、
アドレスバスや制御信号に用いられ、その制御端子Gに
はインバータ233を介して上述したROMライタ3か
らの電源ラインが接続されている。従って、ROMライ
タ3が動作状態になっていないときは、制御端子GがH
レベルとなって出力端子Yはハイインピーダンス(Z)
となる。また、ROMライタ3が動作状態になったとき
は、制御端子GがLレベルとなって、端子Aに入力され
た値が端子Yから出力される。なお、端子Aは入力端子
であるので、ROMライタ3からは常にハイインピーダ
ンスの状態になる。
As shown in FIG. 4, the buffer unit 23 includes a general-purpose buffer I such as a 74 series buffer (244, 245, etc.) which can be set to a high impedance state.
C is used. Reference numeral 231 in FIG. 4A denotes a 74 series (such as 244) unidirectional three-state bus buffer.
It is used for an address bus and a control signal, and its control terminal G is connected to the above-mentioned power supply line from the ROM writer 3 via an inverter 233. Therefore, when the ROM writer 3 is not in the operating state, the control terminal G is set to the H level.
Level and output terminal Y is high impedance (Z)
Becomes When the ROM writer 3 is activated, the control terminal G goes low, and the value input to the terminal A is output from the terminal Y. Since the terminal A is an input terminal, the terminal A is always in a high impedance state from the ROM writer 3.

【0026】一方、図4(b)の232は、74シリー
ズ(245等)の双方向3ステート・バス・バッファ
で、データバスに用いられ、その制御端子Gにはインバ
ータ233を介して上述したROMライタ3からの電源
ラインが接続され、また方向選択端子DIRにはROM
ライタ3からの制御信号の中のリード/ライト信号が接
続されている。従って、ROMライタ3が動作状態にな
っていないときは、制御端子GがHレベルとなって端子
A,B共にハイインピーダンス(Z)となる。また、R
OMライタ3が動作状態になったときは、制御端子Gが
Lレベルとなって、方向選択端子DIRがLレベルのと
きは端子Bに入力された値が端子Aから出力され、端子
DIRがHレベルのときは端子Aに入力された値が端子
Bから出力される。この場合もROMライタ3側が入力
端子になると、ROMライタ3からはハイインピーダン
スの状態になる。
On the other hand, reference numeral 232 in FIG. 4B denotes a 74 series (245 or the like) bidirectional three-state bus buffer which is used for a data bus and whose control terminal G is described above via an inverter 233. A power supply line from the ROM writer 3 is connected, and a ROM is connected to the direction selection terminal DIR.
The read / write signal among the control signals from the writer 3 is connected. Therefore, when the ROM writer 3 is not in the operating state, the control terminal G is at the H level, and the terminals A and B are both at high impedance (Z). Also, R
When the OM writer 3 is in the operating state, the control terminal G is at the L level, and when the direction selection terminal DIR is at the L level, the value input to the terminal B is output from the terminal A and the terminal DIR is at the H level. In the case of the level, the value input to the terminal A is output from the terminal B. Also in this case, when the ROM writer 3 side becomes an input terminal, the ROM writer 3 is in a high impedance state.

【0027】すなわち、ROMライタ3が動作状態にな
っていないときは、ROMライタI/F22側(フラッ
シュROMコントロールI/F21側も)がハイインピ
ーダンス状態となるので、ROMライタ3は物理的には
接続された状態にあっても電気的には切り離された状態
となる。そして、ROMライタ3が動作状態になったと
き、アドレスバス、データバス、制御信号は図3に示し
たような向きになる。従って、ROMライタ3が非動作
状態においてプリント基板1側の電源が投入されても、
ROMライタ3は電気的に切り離された状態にあるの
で、ROMソケットを介して電源電圧が印加されること
がなく、ROMライタ3の内部回路が破壊される恐れは
ない。
That is, when the ROM writer 3 is not operating, the ROM writer I / F 22 (and the flash ROM control I / F 21) is in a high impedance state. Even in the connected state, it is electrically disconnected. Then, when the ROM writer 3 is in the operating state, the address bus, the data bus, and the control signal are oriented as shown in FIG. Therefore, even if the power supply on the printed circuit board 1 side is turned on while the ROM writer 3 is not operating,
Since the ROM writer 3 is electrically disconnected, no power supply voltage is applied through the ROM socket, and there is no possibility that the internal circuit of the ROM writer 3 is broken.

【0028】さて、以上の構成において、フラッシュR
OM12へのプログラムデータの書き込みは以下のよう
に行われる。
Now, in the above configuration, the flash R
Writing of program data to the OM 12 is performed as follows.

【0029】まず、フラッシュROM12が半田付けに
より搭載されたプリント基板1のフラッシュROMコン
トロールI/F13と接続手段2のフラッシュROMコ
ントロールI/F21をコネクタ接続する。これによ
り、GNDレベル(Lowレベル)に固定されたスリー
プ信号がCPU11に印加され、プリント基板1側の電
源が投入されてもCPU11はスリープ状態(停止状
態)となって、フラッシュROM12がCPU11より
電気的に切り離され、外部より自由にコントロールでき
るようになる。
First, a connector is connected between the flash ROM control I / F 13 of the printed circuit board 1 on which the flash ROM 12 is mounted by soldering and the flash ROM control I / F 21 of the connection means 2. As a result, a sleep signal fixed to the GND level (Low level) is applied to the CPU 11, and the CPU 11 is in a sleep state (stop state) even when the power supply of the printed circuit board 1 is turned on, and the flash ROM 12 is electrically operated by the CPU 11 Will be cut off and can be freely controlled from outside.

【0030】次に、接続手段2のROMライタI/F2
2に設けられたコネクタをROMライタ3のROMソケ
ットに差し込む。ROMライタ3には通常、多数(例え
ば8個づつ2列で計16個)のROMソケットが設けら
れているので、上記のようにして接続手段2を取り付け
たプリント基板1をROMライタ3に複数枚セットする
ことができる。なお、接続手段2が基板で構成されてい
ても、上記のようにして接続手段2を取り付けたプリン
ト基板1を複数枚立てて並べた状態でROMライタ3に
セットすることができる。そして、プリント基板1側の
電源が投入されていなければ、まずプリント基板1側の
電源を投入してから、ROMライタ3側の電源を投入し
て動作状態とする。
Next, the ROM writer I / F 2 of the connection means 2
2 is inserted into the ROM socket of the ROM writer 3. Since the ROM writer 3 is usually provided with a large number of ROM sockets (for example, a total of 16 sockets in two rows of 8), a plurality of the printed circuit boards 1 to which the connecting means 2 are attached as described above are mounted on the ROM writer 3. Can be set. Even if the connecting means 2 is formed of a board, the printed circuit board 1 on which the connecting means 2 is attached as described above can be set on the ROM writer 3 in a state where a plurality of printed boards 1 are arranged side by side. If the power supply of the printed circuit board 1 has not been turned on, the power supply of the printed circuit board 1 is first turned on, and then the power supply of the ROM writer 3 is turned on to be in an operation state.

【0031】そして、上記のようにしてプリント基板1
がセットされたROMライタ3を図5のフローチャート
に示すように制御することにより、フラッシュROM1
2へのプログラムデータの書き込みが行われる。なお、
この処理は、プリント基板1に搭載されたフラッシュR
OM12を書き込む場合も、ROMソケットに差し込ま
れたフラッシュROM単体を書き込む場合も同様であ
る。
Then, as described above, the printed circuit board 1
Is controlled as shown in the flowchart of FIG.
2 is written. In addition,
This processing is performed by the flash R mounted on the printed circuit board 1.
The same applies to the case where the OM 12 is written and the case where the flash ROM alone inserted into the ROM socket is written.

【0032】すなわち、先ず、書き込むべきフラッシュ
ROMが有るか否かをチェックする(判断101)。書
き込むべきフラッシュROMが有れば、書き込みモード
に入って制御信号のライト信号等をイネーブルにし(処
理102)、アドレスバスとデータバスに書き込みアド
レスとプログラムデータを出力する(処理103)。そ
して、書き込み動作時間が経過するのを待つ(判断10
4のNループ)。所定の書き込み動作時間が経過すると
(判断104のY)、書き込みチェックモードに入って
制御信号のリード信号等をイネーブルにし(処理10
5)、フラッシュROMから書き込みデータを読み出す
(処理106)。そして、読み出したデータと書き込ん
だデータを比較してデータが正しく書き込まれているか
否かをチェックし(判断107)、データが正しく書き
込まれていなければ処理102に戻って上記書き込み処
理を繰り返す。一方、データが正しく書き込まれていれ
ば、最初の判断101に戻って、書き込むべきフラッシ
ュROMが有るが否かをチェックし、ROMライタ3に
セットされた全てのROMの書き込みが終了するまで上
記処理を繰り返す。
That is, first, it is checked whether or not there is a flash ROM to be written (decision 101). If there is a flash ROM to be written, a write mode is entered to enable a control signal such as a write signal (process 102), and a write address and program data are output to an address bus and a data bus (process 103). Then, it waits until the write operation time elapses (decision 10).
4 N loops). When a predetermined write operation time has elapsed (Y in decision 104), a write check mode is entered to enable a read signal of a control signal and the like (step 10).
5) Read the write data from the flash ROM (process 106). Then, the read data and the written data are compared to check whether or not the data has been correctly written (decision 107). If the data has not been correctly written, the process returns to the process 102 to repeat the write process. On the other hand, if the data has been correctly written, the flow returns to the first judgment 101 to check whether there is a flash ROM to be written or not, and the above processing is performed until the writing of all the ROMs set in the ROM writer 3 is completed. repeat.

【0033】上記のようにすれば、電源生成部14を持
ったプリント基板1に実装したフラッシュROM12へ
のプログラムデータの書き込みがROMライタ3により
可能となり、半田付け不良やROMライタ3の内部回路
の破壊等の不具合も発生することなく、一度に多くのフ
ラッシュROM12にプログラムデータを書き込むこと
が可能となる。なお、バッファ部23に用いられる74
シリーズ等の汎用バッファICは、動作電源が供給され
ていない状態で、信号端子に+5V等の電圧が印加され
ると、バッファICが破壊される恐れがある。しかし、
本実施形態のように、バッファ部23にプリント基板1
側から電源供給するとともに、プリント基板1側の電源
をROMライタ3側より先に投入することにより、上記
のようなバッファICが破壊される不具合もなくなる。
According to the above, the program data can be written into the flash ROM 12 mounted on the printed circuit board 1 having the power generation unit 14 by the ROM writer 3. It is possible to write program data to many flash ROMs 12 at once without causing a problem such as destruction. Note that 74 used in the buffer unit 23 is used.
When a voltage such as +5 V is applied to a signal terminal of a general-purpose buffer IC such as a series in a state where the operating power is not supplied, the buffer IC may be broken. But,
As in the present embodiment, the printed circuit board 1 is
By supplying power from the power supply side and turning on the power supply on the printed circuit board 1 side before the ROM writer 3 side, such a problem that the buffer IC is destroyed as described above is also eliminated.

【0034】図6は、上記バッファ部23の他の実施形
態を示すものであり、本実施形態のバッファ部23は、
フラッシュROMコントロールI/F21のコネクタに
近接又は内蔵して設けられるフラッシュROMコントロ
ールI/F側バッファ23aと、ROMライタI/F2
2のコネクタに近接又は内蔵して設けられるROMライ
タI/F側バッファ23bの2つのバッファからなり、
それらの間は適当な長さのケーブルで接続されている。
FIG. 6 shows another embodiment of the buffer unit 23. The buffer unit 23 of the present embodiment comprises:
A flash ROM control I / F-side buffer 23a provided near or built in to the connector of the flash ROM control I / F 21, and a ROM writer I / F 2
And two ROM writer I / F-side buffers 23b provided near or built into the two connectors,
They are connected by an appropriate length of cable.

【0035】そして、フラッシュROMコントロールI
/F側バッファ23aとROMライタI/F側バッファ
23bのそれぞれのバッファには、前記実施形態と同様
に、図4に示したような74シリーズバッファを用い、
プリント基板1側から各バッファ23a,23bに電源
供給するようにしている。また、ROMライタ3側の電
源ラインを前記実施形態と同様に、図4に示した各バッ
ファIC231,232の制御端子Gにインバータ23
3を介して接続するようにしている。これにより、RO
Mライタ3が動作状態になっていないとき、ROMライ
タI/F22側はハイインピーダンス状態になり、RO
Mライタ3が動作状態になったとき、アドレスバス、デ
ータバス、制御信号は図6のような向きになる。
Then, the flash ROM control I
For each of the / F side buffer 23a and the ROM writer I / F side buffer 23b, a 74 series buffer as shown in FIG.
Power is supplied to the buffers 23a and 23b from the printed circuit board 1 side. The power supply line on the ROM writer 3 side is connected to the control terminal G of each of the buffer ICs 231 and 232 shown in FIG.
3 are connected. This allows RO
When the M writer 3 is not operating, the ROM writer I / F 22 is in a high impedance state,
When the M writer 3 enters the operating state, the address bus, the data bus, and the control signal are oriented as shown in FIG.

【0036】以上の構成における書き込み動作は上記実
施形態と同様であり、同様の作用効果が得られる。さら
に、前述したように、ROMライタ3はROM単品への
制御信号等のドライブ能力しかない場合が多いので、R
OMライタ3とプリント基板1(プリント基板1を実装
した装置)との距離が離れたりして、ドライブ負荷が大
きい場合には対応できなくなるが、上記のようにすれ
ば、プリント基板1とROMライタ3の間は、バッファ
の能力にもよるが、かなりの距離であっても書き込みが
可能となり、装置に組み込まれた状態のプリント基板1
にもケーブル接続により対応することができるようにな
る。
The write operation in the above configuration is the same as in the above embodiment, and the same operation and effect can be obtained. Further, as described above, since the ROM writer 3 often has only the drive capability of a control signal or the like for a single ROM, the R
If the distance between the OM writer 3 and the printed circuit board 1 (the device on which the printed circuit board 1 is mounted) is large and the drive load is large, it is not possible to cope with the problem. 3, writing can be performed over a considerable distance, depending on the capacity of the buffer.
Can be dealt with by cable connection.

【0037】図7は、上記それぞれのバッファ23a,
23bに外部電源31から動作電源を供給するようにし
た実施形態である。この場合、フラッシュROMコント
ロールI/F側バッファ23aの各バッファIC23
1,232の制御端子Gには、プリント基板1側からの
電源ラインをインバータ233を介して接続し、また、
ROMライタI/F側バッファ23bの各バッファIC
231,232の制御端子Gには、ROMライタ3側か
らの電源ラインをインバータ233を介して接続してい
る。従って、フラッシュROMコントロールI/F側バ
ッファ23aは、プリント基板1の電源が入っていない
ときプリント基板1側はハイインピーダンス状態とな
り、プリント基板1に電源が入っているときには、アド
レスバス、データバス、制御信号が図7に示すような向
きになる。また、ROMライタI/F側バッファ23b
は、ROMライタ3が動作状態になっていないときRO
Mライタ3側はハイインピーダンス状態となり、ROM
ライタ3が動作状態になったときは、アドレスバス、デ
ータバス、制御信号が図7に示すような向きになる。
FIG. 7 shows the respective buffers 23a, 23a,
This is an embodiment in which an operating power supply is supplied from an external power supply 31 to an external power supply 23b. In this case, each buffer IC 23 of the flash ROM control I / F side buffer 23a
A power line from the printed circuit board 1 side is connected to the control terminals G of 1 and 232 via an inverter 233.
Each buffer IC of the ROM writer I / F side buffer 23b
A power line from the ROM writer 3 side is connected to the control terminals G of 231 and 232 via an inverter 233. Therefore, the flash ROM control I / F buffer 23a is in a high impedance state when the power of the printed circuit board 1 is not turned on, and when the power of the printed circuit board 1 is turned on, the address bus, the data bus, The control signal is oriented as shown in FIG. The ROM writer I / F side buffer 23b
Is RO when the ROM writer 3 is not operating.
The M writer 3 enters the high impedance state, and the ROM
When the writer 3 is in the operating state, the address bus, the data bus, and the control signal are oriented as shown in FIG.

【0038】以上の構成における書き込み動作は上記実
施形態とほぼ同様であり、同様の作用効果が得られる。
さらに、プリント基板1やROMライタ3とは別電源で
ある外部電源31から各バッファ23a,23bに電源
が供給されるので、プリント基板1やROMライタ3の
電源供給能力が各バッファ23a,23bに供給するに
十分でない場合でも書き込みが可能となる。
The writing operation in the above configuration is almost the same as in the above embodiment, and the same operation and effect can be obtained.
Further, since power is supplied to the buffers 23a and 23b from an external power supply 31 which is a separate power supply from the printed circuit board 1 and the ROM writer 3, the power supply capability of the printed circuit board 1 and the ROM writer 3 is applied to the buffers 23a and 23b. Writing is possible even if it is not enough to supply.

【0039】なお、この場合、外部電源31をプリント
基板1及びROMライタ3側より先に投入することによ
り、各バッファ23a,23bに用いられるバッファI
C231,232の破壊の恐れがなくなる。また、上述
したように、ROMライタ3が動作状態になっていない
ときROMライタ3側はハイインピーダンスとなって電
気的に切り離された状態になるので、外部電源31が先
に投入されてもROMライタ3の内部回路が破壊される
恐れがなくなるとともに、プリント基板1に電源が入っ
ていないときフラッシュROMコントロールI/F側バ
ッファ23aのプリント基板1側はハイインピーダンス
となって電気的に切り離された状態になるので、外部電
源31が先に投入されてもプリント基板1の内部回路が
破壊される恐れもない。
In this case, when the external power supply 31 is turned on before the printed circuit board 1 and the ROM writer 3 side, the buffer I used for each of the buffers 23a and 23b is turned on.
There is no fear of destruction of C231 and C232. Further, as described above, when the ROM writer 3 is not in the operating state, the ROM writer 3 is in a high impedance state and is in an electrically disconnected state. The internal circuit of the writer 3 is not destroyed, and when the power is not supplied to the printed circuit board 1, the printed circuit board 1 side of the flash ROM control I / F buffer 23a becomes high impedance and is electrically disconnected. In this state, even if the external power supply 31 is turned on first, the internal circuit of the printed circuit board 1 will not be destroyed.

【0040】図8は、上記フラッシュROMコントロー
ルI/F側バッファ23aにはプリント基板1側から動
作電源を供給し、ROMライタI/F側バッファ23b
にはROMライタ3側から動作電源を供給するようにし
た実施形態である。この場合、フラッシュROMコント
ロールI/F側バッファ23aの各バッファIC23
1,232の制御端子Gには、ROMライタ3側からの
電源ラインをインバータ233を介して接続し、また、
ROMライタI/F側バッファ23bの各バッファIC
231,232の制御端子Gには、プリント基板1側か
らの電源ラインをインバータ233を介して接続してい
る。従って、フラッシュROMコントロールI/F側バ
ッファ23aは、ROMライタ3が動作状態になってい
ないときROMライタ3側はハイインピーダンス状態と
なり、ROMライタ3が動作状態になったときは、アド
レスバス、データバス、制御信号が図8に示すような向
きになる。また、ROMライタI/F側バッファ23b
は、プリント基板1の電源が入っていないときプリント
基板1側はハイインピーダンス状態となり、プリント基
板1に電源が入っているときには、アドレスバス、デー
タバス、制御信号が図8に示すような向きになる。
FIG. 8 shows that the flash ROM control I / F buffer 23a is supplied with operating power from the printed circuit board 1 side, and the ROM writer I / F buffer 23b
Is an embodiment in which operating power is supplied from the ROM writer 3 side. In this case, each buffer IC 23 of the flash ROM control I / F side buffer 23a
A power line from the ROM writer 3 side is connected to the control terminals G of 1 and 232 via an inverter 233.
Each buffer IC of the ROM writer I / F side buffer 23b
Power supply lines from the printed circuit board 1 side are connected to control terminals G of 231 and 232 via an inverter 233. Therefore, the flash ROM control I / F side buffer 23a is configured such that when the ROM writer 3 is not in operation, the ROM writer 3 is in a high impedance state, and when the ROM writer 3 is in operation, the address bus, data, The bus and control signals are oriented as shown in FIG. The ROM writer I / F side buffer 23b
When the power of the printed circuit board 1 is not turned on, the side of the printed circuit board 1 is in a high impedance state, and when the power of the printed circuit board 1 is turned on, the address bus, the data bus, and the control signal are oriented in the directions shown in FIG. Become.

【0041】以上の構成における書き込み動作も上記実
施形態とほぼ同様であり、同様の作用効果が得られる。
さらに、プリント基板1とROMライタ3がそれぞれの
側のバッファ23a,23bには電源供給可能であれ
ば、別電源として上記実施形態のような外部電源31を
必要としなくなる。
The write operation in the above configuration is almost the same as in the above embodiment, and the same operation and effect can be obtained.
Furthermore, if the printed circuit board 1 and the ROM writer 3 can supply power to the buffers 23a and 23b on the respective sides, the external power supply 31 as in the above embodiment is not required as a separate power supply.

【0042】なお、この場合、プリント基板1とROM
ライタ3の両方の電源が投入されるまでは、いずれかの
バッファ23a又は23bがハイインピーダンスとなっ
て両バッファ23a,23b間が電気的に切り離された
状態になるので、いずれから先に電源投入されても、R
OMライタ3やプリント基板1の内部回路が破壊される
恐れもなく、また、各バッファ23a,23bに用いら
れるバッファIC231,232が破壊される恐れもな
い。
In this case, the printed circuit board 1 and the ROM
Until both power supplies of the writer 3 are turned on, one of the buffers 23a or 23b becomes a high impedance state and the two buffers 23a and 23b are electrically disconnected from each other. Even if R
There is no danger of the OM writer 3 and the internal circuit of the printed circuit board 1 being destroyed, and there is no danger of the buffer ICs 231 and 232 used for the buffers 23a and 23b being destroyed.

【0043】さらに、ここまでは、図2に示したような
電源生成部14を持ったプリント基板1で説明してきた
が、図9に示すように、電源生成部を持たないプリント
基板1に他の電源生成部41を接続した構成であっても
よい。この場合、システム構成は、図10に示すよう
に、単品のプリント基板1だけでなく、接続されてしま
っている複数のプリント基板1であっても良いし、さら
には装置全体であっても構わない。
Further, up to here, the printed circuit board 1 having the power generation unit 14 as shown in FIG. 2 has been described, but as shown in FIG. May be connected. In this case, as shown in FIG. 10, the system configuration may be not only a single printed circuit board 1 but also a plurality of connected printed circuit boards 1 or the entire apparatus. Absent.

【0044】このようにすれば、電源生成部を有するよ
うに接続された複数のプリント基板1に実装されたフラ
ッシュROM12への書き込みや、装置に実装されたフ
ラッシュROM12への書き込みが可能である。
In this way, it is possible to write to the flash ROM 12 mounted on a plurality of printed circuit boards 1 connected so as to have a power generation unit, and to write to the flash ROM 12 mounted on the device.

【0045】ところで、上記各実施形態においては、本
願の各発明を、一括消去型の電気的書き換え可能なRO
MであるフラッシュROMに適用した場合について説明
したが、電気的に書き換え可能なROMであれば、一括
消去型に限らず、通常のEEPROMにも適用可能であ
る。
In each of the above embodiments, each invention of the present application is referred to as a collectively erase type electrically rewritable RO.
Although the case where the present invention is applied to a flash ROM of M has been described, any electrically rewritable ROM can be applied not only to the batch erase type but also to a normal EEPROM.

【0046】また、本願の各発明は、プリント基板とし
てファクシリコントロールボードに限らず、バスマスタ
となり得るデバイスを搭載した各種コントロールボード
に適用可能である。なお、バスマスタとなり得るデバイ
スとしては、CPUの他にDMAコントローラなどがあ
る。
Further, each invention of the present application is applicable not only to a facsimile control board as a printed circuit board, but also to various control boards equipped with a device that can be a bus master. In addition, as a device that can be a bus master, there is a DMA controller in addition to the CPU.

【0047】[0047]

【発明の効果】以上のように、本願の請求項1記載の発
明によれば、バスマスタになり得るデバイスと電気的に
書き換え可能なROMを搭載するプリント基板に、前記
バスマスタになり得るデバイスを外部からスリープ状態
にでき、かつ前記電気的に書き換え可能なROMを外部
からコントロールすることができるインタフェース部を
備えるとともに、このインタフェース部とROMライタ
のROMソケットとを、ハイインピーダンス状態に設定
可能なバッファを介して接続する接続手段を備えて、プ
リント基板に電気的に書き換え可能なROMを搭載した
状態で、前記インタフェース部とROMライタのROM
ソケットとを前記接続手段を介して接続し、前記バスマ
スタとなり得るデバイスをスリープ状態にするととも
に、ROMライタが動作状態になるまでは前記バッファ
をハイインピーダンス状態に設定するようにして、プリ
ント基板に搭載された電気的に書き換え可能なROMに
ROMライタからプログラムデータを書き込むようにし
たので、電気的に書き換え可能なROMを電源生成部を
有するプリント基板に実装(半田付け)した場合や、さ
らにこのプリント基板を装置に組み込んだ後でも、RO
Mライタを用いてROMライタに不具合を及ぼすことな
く、一度に多くのROMにプログラムデータを書き込む
ことができる効果がある。
As described above, according to the first aspect of the present invention, a device that can be a bus master and a device that can be a bus master can be externally mounted on a printed circuit board on which an electrically rewritable ROM is mounted. A sleep state, and an interface that can externally control the electrically rewritable ROM, and a buffer that can set the interface and the ROM socket of the ROM writer to a high impedance state. The interface unit and the ROM of the ROM writer in a state in which the printed circuit board has an electrically rewritable ROM,
A socket is connected via the connection means, the device which can be the bus master is put into a sleep state, and the buffer is set in a high impedance state until the ROM writer is put into an operation state, and mounted on a printed circuit board. Since the program data is written from the ROM writer to the electrically rewritable ROM, the electrically rewritable ROM is mounted (soldered) on a printed circuit board having a power generation unit, Even after the board is assembled in the equipment, RO
There is an effect that program data can be written to many ROMs at once without causing any trouble to the ROM writer by using the M writer.

【0048】さらに、請求項2記載の発明によれば、前
記請求項1記載の電気的に書き換え可能なROMの書き
込み方法において、前記バッファの動作電源をプリント
基板側から供給するとともに、プリント基板側の電源を
ROMライタ側より先に投入するようにしたので、前記
請求項1の効果に加えて、ハイインピーダンス状態に設
定可能なバッファとして、汎用バッファICである74
シリーズ等を使用しても、バッファICを破壊すること
がなくなる。
According to a second aspect of the present invention, in the electrically rewritable ROM writing method according to the first aspect, the operating power of the buffer is supplied from the printed circuit board side, and Is turned on earlier than the ROM writer side, so that in addition to the effect of claim 1, a general-purpose buffer IC is used as a buffer that can be set to a high impedance state.
Even if a series or the like is used, the buffer IC will not be destroyed.

【0049】また、請求項3記載の発明によれば、同じ
く請求項1記載の電気的に書き換え可能なROMの書き
込み方法において、前記バッファは、プリント基板側と
ROMライタ側の2つのバッファから成るようにしたの
で、前記請求項1の効果に加えて、ROMライタがRO
M単品への制御信号等のドライブ能力しかない場合で、
ROMライタとプリント基板(プリント基板を実装した
装置)との距離が離れたりして、ドライブ負荷が大きい
場合でも対応できるようになる。
According to a third aspect of the present invention, in the electrically rewritable ROM writing method according to the first aspect, the buffer includes two buffers on a printed circuit board side and a ROM writer side. Thus, in addition to the effect of claim 1, the ROM writer can
When there is only drive capability such as control signal to M single item,
Even if the distance between the ROM writer and the printed circuit board (the device on which the printed circuit board is mounted) is increased, and the drive load is large, it is possible to cope with the case.

【0050】さらに、請求項4記載の発明によれば、前
記請求項3記載の電気的に書き換え可能なROMの書き
込み方法において、前記2つのバッファの動作電源をプ
リント基板側から供給するとともに、プリント基板側の
電源をROMライタ側より先に投入するようにしたの
で、前記請求項3の効果に加えて、ハイインピーダンス
状態に設定可能なバッファとして、汎用バッファICで
ある74シリーズ等を使用しても、バッファICを破壊
することがなくなる。
According to a fourth aspect of the present invention, in the electrically rewritable ROM writing method according to the third aspect, the operating power of the two buffers is supplied from a printed circuit board side and the printing power is supplied to the two buffers. Since the power supply on the substrate side is turned on before the ROM writer side, in addition to the effect of the third aspect, a general-purpose buffer IC such as 74 series is used as a buffer that can be set to a high impedance state. Also, the buffer IC is not destroyed.

【0051】また、請求項5記載の発明によれば、前記
請求項1又は請求項3に記載の電気的に書き換え可能な
ROMの書き込み方法において、前記バッファの動作電
源をプリント基板及びROMライタ以外の別電源から供
給するとともに、この別電源をプリント基板及びROM
ライタ側より先に投入するようにしたので、前記請求項
1又は請求項3の効果に加えて、プリント基板の電源供
給能力がバッファに供給するに十分でない場合でも書き
込みが可能となる。
According to a fifth aspect of the present invention, in the electrically rewritable ROM writing method according to the first or third aspect, the operation power of the buffer is set to a power supply other than a printed circuit board and a ROM writer. And a separate power supply, this printed circuit board and ROM
Since the power is supplied before the writer side, in addition to the effects of the first or third aspect, writing becomes possible even when the power supply capability of the printed circuit board is not sufficient to supply the power to the buffer.

【0052】また、請求項6記載の発明によれば、前記
請求項3記載の電気的に書き換え可能なROMの書き込
み方法において、前記2つのバッファの動作電源をプリ
ント基板とROMライタ側からそれぞれ個別に供給する
ようにしたので、前記請求項3の効果に加えて、ROM
ライタとプリント基板がそれぞれの側のバッファに電源
供給可能であれば別電源を必要としなくなる。
According to a sixth aspect of the present invention, in the electrically rewritable ROM writing method according to the third aspect, the operating power supplies of the two buffers are individually set from a printed circuit board and a ROM writer. In addition to the effect of the third aspect, the ROM
If the writer and the printed circuit board can supply power to the buffers on each side, no separate power supply is required.

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

【図1】本願発明の実施形態におけるシステム構成を示
すブロック図。
FIG. 1 is a block diagram showing a system configuration according to an embodiment of the present invention.

【図2】上記図1におけるプリント基板の本願発明に係
る構成を示すブロック図。
FIG. 2 is a block diagram showing a configuration of the printed circuit board in FIG. 1 according to the present invention.

【図3】上記図1における接続手段の一実施形態の構成
を示すブロック図。
FIG. 3 is a block diagram showing a configuration of an embodiment of a connection unit in FIG. 1;

【図4】上記図3のバッファ部に用いられる汎用バッフ
ァICを示す図。
FIG. 4 is a diagram showing a general-purpose buffer IC used in the buffer unit of FIG. 3;

【図5】ROMライタにおけるフラッシュROMの書き
込み処理を示すフローチャート。
FIG. 5 is a flowchart showing a flash ROM writing process in the ROM writer.

【図6】上記バッファ部の他の実施形態を示すブロック
図。
FIG. 6 is a block diagram showing another embodiment of the buffer unit.

【図7】同じく、上記バッファ部の他の実施形態を示す
ブロック図。
FIG. 7 is a block diagram showing another embodiment of the buffer unit.

【図8】同じく、上記バッファ部の他の実施形態を示す
ブロック図。
FIG. 8 is a block diagram showing another embodiment of the buffer unit.

【図9】電源生成部を持たないプリント基板に電源生成
部を接続した構成を示すブロック図。
FIG. 9 is a block diagram illustrating a configuration in which a power generation unit is connected to a printed circuit board that does not have a power generation unit.

【図10】上記図9の場合のシステム構成を示すブロッ
ク図。
FIG. 10 is a block diagram showing a system configuration in the case of FIG. 9;

【符号の説明】[Explanation of symbols]

1 プリント基板 2 接続手段 3 ROMライタ 11 CPU 12 フラッシュROM 13,21 フラッシュROMコントロールI/F 14,41 電源生成部 22 ROMライタI/F 23 バッファ部 23a フラッシュROMコントロールI/F側バッフ
ァ 23b ROMライタI/F側バッファ 31 外部電源
DESCRIPTION OF SYMBOLS 1 Printed circuit board 2 Connection means 3 ROM writer 11 CPU 12 Flash ROM 13, 21 Flash ROM control I / F 14, 41 Power supply generation part 22 ROM writer I / F 23 Buffer part 23a Flash ROM control I / F side buffer 23b ROM writer I / F buffer 31 External power supply

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 バスマスタになり得るデバイスと電気的
に書き換え可能なROMを搭載するプリント基板に、前
記バスマスタになり得るデバイスを外部からスリープ状
態にでき、かつ前記電気的に書き換え可能なROMを外
部からコントロールすることができるインタフェース部
を備えるとともに、 前記インタフェース部とROMライタのROMソケット
とを、ハイインピーダンス状態に設定可能なバッファを
介して接続する接続手段を備えて、 前記プリント基板に電気的に書き換え可能なROMを搭
載した状態で、前記インタフェース部とROMライタの
ROMソケットとを前記接続手段を介して接続し、前記
バスマスタとなり得るデバイスをスリープ状態にすると
ともに、ROMライタが動作状態になるまでは前記バッ
ファをハイインピーダンス状態に設定するようにして、
プリント基板に搭載された電気的に書き換え可能なRO
MにROMライタからプログラムデータを書き込むこと
を特徴とする電気的に書き換え可能なROMの書き込み
方法。
1. A device which can be a bus master and an electrically rewritable ROM mounted on a printed circuit board. The device which can be a bus master can be put into a sleep state from the outside and the electrically rewritable ROM can be externally put on the printed circuit board. And a connection unit for connecting the interface unit and the ROM socket of the ROM writer via a buffer that can be set to a high impedance state, and electrically connected to the printed circuit board. While the rewritable ROM is mounted, the interface unit and the ROM socket of the ROM writer are connected via the connection unit, and the device which can be the bus master is put into a sleep state, and the ROM writer is operated until the ROM writer is put into an operation state. High-impedance buffer So as to set the dance state,
Electrically rewritable RO mounted on printed circuit board
An electrically rewritable ROM writing method, wherein program data is written to M from a ROM writer.
【請求項2】 前記バッファの動作電源をプリント基板
側から供給するとともに、プリント基板側の電源をRO
Mライタ側より先に投入するようにしたことを特徴とす
る請求項1記載の電気的に書き換え可能なROMの書き
込み方法。
2. An operating power supply for the buffer is supplied from a printed circuit board side, and a power supply on the printed circuit board side is
2. The method according to claim 1, wherein the writing is performed earlier than the M writer side.
【請求項3】 前記バッファは、プリント基板側とRO
Mライタ側の2つのバッファから成ることを特徴とする
請求項1記載の電気的に書き換え可能なROMの書き込
み方法。
3. The buffer according to claim 1, wherein said buffer is provided between
2. The method according to claim 1, further comprising two buffers on the M writer side.
【請求項4】 前記2つのバッファの動作電源をプリン
ト基板側から供給するとともに、プリント基板側の電源
をROMライタ側より先に投入するようにしたことを特
徴とする請求項3記載の電気的に書き換え可能なROM
の書き込み方法。
4. The electrical device according to claim 3, wherein the power supply for operating the two buffers is supplied from the printed circuit board side, and the power supply on the printed circuit board side is turned on before the ROM writer side. Rewritable ROM
Writing method.
【請求項5】 前記バッファの動作電源をプリント基板
及びROMライタ以外の別電源から供給するとともに、
この別電源をプリント基板及びROMライタ側より先に
投入するようにしたことを特徴とする請求項1又は請求
項3のいずれかに記載の電気的に書き換え可能なROM
の書き込み方法。
5. An operation power supply for the buffer is supplied from another power supply other than a printed circuit board and a ROM writer,
4. The electrically rewritable ROM according to claim 1, wherein the separate power supply is turned on before the printed circuit board and the ROM writer.
Writing method.
【請求項6】 前記2つのバッファの動作電源をプリン
ト基板とROMライタ側からそれぞれ個別に供給するよ
うにしたことを特徴とする請求項3記載の電気的に書き
換え可能なROMの書き込み方法。
6. The electrically rewritable ROM writing method according to claim 3, wherein operating power for said two buffers is individually supplied from a printed circuit board and a ROM writer.
JP31568096A 1996-11-13 1996-11-13 ROM writing system and ROM writing device Expired - Lifetime JP3781844B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP31568096A JP3781844B2 (en) 1996-11-13 1996-11-13 ROM writing system and ROM writing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP31568096A JP3781844B2 (en) 1996-11-13 1996-11-13 ROM writing system and ROM writing device

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2002058444A Division JP2002278784A (en) 2002-03-05 2002-03-05 Rom rewrite system, rom-loaded circuit device used in the system and connecting device connected to the rom- loaded circuit device

Publications (2)

Publication Number Publication Date
JPH10144088A true JPH10144088A (en) 1998-05-29
JP3781844B2 JP3781844B2 (en) 2006-05-31

Family

ID=18068274

Family Applications (1)

Application Number Title Priority Date Filing Date
JP31568096A Expired - Lifetime JP3781844B2 (en) 1996-11-13 1996-11-13 ROM writing system and ROM writing device

Country Status (1)

Country Link
JP (1) JP3781844B2 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20040000921A (en) * 2002-06-26 2004-01-07 대동롬텍 주식회사 Apparatus for input rpogram of flash memory with a built-in a portable radiophone
KR100439217B1 (en) * 2001-09-27 2004-07-05 엘지전자 주식회사 Apparatus and method for ROM writer in communication system
JP2007195884A (en) * 2006-01-30 2007-08-09 Sayama Precision Ind Co Id setting terminal of inter-machine game medium dispensing machine

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100439217B1 (en) * 2001-09-27 2004-07-05 엘지전자 주식회사 Apparatus and method for ROM writer in communication system
KR20040000921A (en) * 2002-06-26 2004-01-07 대동롬텍 주식회사 Apparatus for input rpogram of flash memory with a built-in a portable radiophone
JP2007195884A (en) * 2006-01-30 2007-08-09 Sayama Precision Ind Co Id setting terminal of inter-machine game medium dispensing machine

Also Published As

Publication number Publication date
JP3781844B2 (en) 2006-05-31

Similar Documents

Publication Publication Date Title
US5995405A (en) Memory module with flexible serial presence detect configuration
EP0398188B1 (en) Modular computer memory circuit board
US7360137B2 (en) Flash programmer for programming NAND flash and NOR/NAND combined flash
JP2004185199A (en) Memory system and control method for the same
JP2003241730A (en) Display device
US6535780B1 (en) High speed programmer system
US7831751B2 (en) System and method for programming a display controller chip
JPH10144088A (en) Write-in method for electrically erasable programmable rom
US7210063B2 (en) Programmable device and method of programming
US20060040528A1 (en) Connector module and motor utilizing the same
JP3187324B2 (en) Writing method of electrically rewritable ROM
JP2002278784A (en) Rom rewrite system, rom-loaded circuit device used in the system and connecting device connected to the rom- loaded circuit device
JPH0333927A (en) Electronic equipment
JP4935336B2 (en) System bus interface
JP2001051908A (en) Printed circuit board, method and device for reading data and checking write data, data writer and connector
JP2005218727A (en) Image display device for game machine
JPH1011278A (en) Microcomputer device with rewritable nonvolatile memory
JP3002282B2 (en) Emulation tester connection device
JPH04222002A (en) Display device
US6501667B2 (en) Data writing system
JP2001318907A (en) Microcomputer incorporating flash memory
KR100472178B1 (en) Computers that can randomly connect memory addresses and data terminals
JP2002215413A (en) Firmware transfer method and inter-module data transmission system
US6624907B1 (en) Controller for a printing unit
JP2004246939A (en) Memory on-board writing device of electronic equipment and electronic equipment

Legal Events

Date Code Title Description
A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060308

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100317

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20110317

Year of fee payment: 5

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120317

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130317

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140317

Year of fee payment: 8

EXPY Cancellation because of completion of term