JPH01271994A - Method for writing data to eprom - Google Patents

Method for writing data to eprom

Info

Publication number
JPH01271994A
JPH01271994A JP63099466A JP9946688A JPH01271994A JP H01271994 A JPH01271994 A JP H01271994A JP 63099466 A JP63099466 A JP 63099466A JP 9946688 A JP9946688 A JP 9946688A JP H01271994 A JPH01271994 A JP H01271994A
Authority
JP
Japan
Prior art keywords
writing
mode
eprom
written
page
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
JP63099466A
Other languages
Japanese (ja)
Inventor
Yukio Shibata
幸雄 柴田
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.)
Fanuc Corp
Original Assignee
Fanuc 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 Fanuc Corp filed Critical Fanuc Corp
Priority to JP63099466A priority Critical patent/JPH01271994A/en
Publication of JPH01271994A publication Critical patent/JPH01271994A/en
Pending legal-status Critical Current

Links

Landscapes

  • Read Only Memory (AREA)

Abstract

PURPOSE:To make a decoder to select a page mode terminal unnecessary and to reduce a cost by previously writing 1 to all the bits in the latch circuit of an EPROM in a page mode. CONSTITUTION:For the writing modes of respective EPROMs 10a-10d, the writing mode of an EPROM out of the above-mentioned EPROMs, for which data writing is selected, and the level a terminal CS is made into a low level, is a byte writing mode, and the writing modes of the other EPROMs are a page writing mode. As the result, for the EPROMs for which data writing is not selected, the contents of latch circuits 11 are written to memory cells 12 in the page writing mode. Thereupon, actually no data are written to the memory cells 12 even when the data are written from the latch circuits 11 to the memory cells 12 in the page writing mode by previously writing '1' to all the bits in the latch circuits 11 of the EPROMs. Consequently, the decoder to control a terminal PGM becomes unnecessary, and the cost of the hardware can be reduced.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はEPROMの書き込み方法に関し、特にEPR
OMをプリント板に実装して書き込むEFROMの書き
込み方法に関する。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to an EPROM writing method, and particularly to an EPROM writing method.
This invention relates to an EFROM writing method in which an OM is mounted on a printed board and written into it.

〔従来の技術〕[Conventional technology]

EPROMは書き込みできるデータ量に対してチップの
サイズが小さく、所定の回数書き換えができるので、数
値制御装置、ロボット制御装置等に広く使用されている
EPROM has a small chip size relative to the amount of data that can be written, and can be rewritten a predetermined number of times, so it is widely used in numerical control devices, robot control devices, and the like.

一方、これらの制御装置に使用するEFROMの量は相
当の個数を必要とし、通常は一枚のプリント板に相当量
のEFROMを実装する。そして実装した状態でデータ
を各EFROMに書き込むことが行われている。
On the other hand, these control devices require a considerable number of EFROMs, and usually a considerable number of EFROMs are mounted on one printed board. Then, data is written into each EFROM in the mounted state.

また、記憶容量がIMビット程度のEFROMではデー
タを書き込む方法として、バイト書き込みモードとペー
ジ書き込みモードがある。EPROM単独ではページ書
き込みモードの方が書き込み速度が速(、優れている。
Furthermore, in an EFROM having a storage capacity of approximately IM bits, there are a byte write mode and a page write mode as methods for writing data. When using an EPROM alone, the page write mode has a faster (and better) write speed.

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

しかし、いずれの書き込みモードでも書き込みを行うE
PROMを選択するデコーダと書き込みを行うEPRO
Mのページモード端子を選択するデコーダの2個のデコ
ーダが必要になる。このようなデコーダはEPROMの
書き込み時のみ必要であり、EPROMを実装したプリ
ント板が制御装置に実装されて使用されるときは不要で
ある。
However, the E
Decoder to select PROM and EPRO to write
Two decoders are required, one for selecting the page mode terminal of M. Such a decoder is necessary only when writing to the EPROM, and is unnecessary when the printed board on which the EPROM is mounted is mounted in a control device and used.

本発明はこのような点に鑑みてなされたものであり、E
PROMをプリント板に実装して書き込むEPROMの
書き込み方法であって、デコーダの個数を減らしたEF
ROMの書き込み方法を提供することを目的とする。
The present invention has been made in view of these points, and is
This is an EPROM writing method in which the PROM is mounted on a printed board and written to it, and is an EF method that reduces the number of decoders.
The purpose is to provide a ROM writing method.

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

本発明では上記課題を解決するために、EPROMをプ
リント板に実装して書き込むEPROMの書き込み方法
において、 ページモードでEPROMのランチ回路の全てのビット
にデータ1を書き込み、 バイトモードで書き込みすべきEFROMを選択してデ
ータを書き込むことを特徴とするEFROMの書き込み
方法が、 提供される。
In the present invention, in order to solve the above problems, in an EPROM writing method in which the EPROM is mounted on a printed board and written, data 1 is written to all bits of the launch circuit of the EPROM in page mode, and data 1 is written to all bits of the launch circuit of the EPROM in the byte mode. An EFROM writing method is provided, which is characterized by selecting and writing data.

〔作用〕[Effect]

バイトモードでデータを書き込む前に、ページモードで
EFROMのラッチ回路にデータIを書き込んでおけば
、ページ制御端子を制御する必要がなく、ページ制御端
子を選択するデコーダが不要になる。
If data I is written in the latch circuit of the EFROM in the page mode before data is written in the byte mode, there is no need to control the page control terminal, and a decoder for selecting the page control terminal becomes unnecessary.

〔実施例〕〔Example〕

以下、本発明の一実施例を図面に基づいて説明する。 Hereinafter, one embodiment of the present invention will be described based on the drawings.

第3図にEPROMの概要を示す。図において、10は
EPROMであり、11はラッチ回路であり、内部にラ
ッチがある。12はメモリセルである。13はバスであ
り、アドレスバスとデータバスの両方を含んでいる。端
子C3はチップ選択用の端子であり、端子PGMはペー
ジモードを選択するときの端子である。
Figure 3 shows an overview of EPROM. In the figure, 10 is an EPROM, 11 is a latch circuit, and there is a latch inside. 12 is a memory cell. A bus 13 includes both an address bus and a data bus. Terminal C3 is a terminal for chip selection, and terminal PGM is a terminal for selecting page mode.

EPROMl0は2種類の書き込みモードがある。EPROM10 has two types of write modes.

第1はバイト書き込みモードであり、端子C3及び端子
PGMをロウレベルにする。このときは、データはラッ
チ回路11を経由せずに直接メモリセルにデータが書き
込まれる。
The first mode is a byte write mode, in which the terminal C3 and the terminal PGM are set to low level. At this time, data is directly written into the memory cell without passing through the latch circuit 11.

第2はページ書き込みモードであり、端子C3をロウレ
ベルに、端子PGMをハイレベルにする。
The second mode is a page write mode, in which the terminal C3 is set to low level and the terminal PGM is set to high level.

このときは、書き込みデータは一旦ラッチ回路11に電
気的に書き込まれるので、外部からの書き込み速度は高
速になる。
At this time, since the write data is once electrically written into the latch circuit 11, the writing speed from the outside becomes high.

第1図は本発明を実施するためのEFROMを実装した
プリント板のブロック図である。図において、1はメモ
リボードであり、2はアドレスバス、3はデータバスで
ある。4はデコーダであり、チップ選択端子信号C51
=C3nを出力する。
FIG. 1 is a block diagram of a printed circuit board mounted with an EFROM for implementing the present invention. In the figure, 1 is a memory board, 2 is an address bus, and 3 is a data bus. 4 is a decoder, which receives a chip selection terminal signal C51.
=C3n is output.

10a〜10dはEPROMであり、ここでは4個のE
PROMを表しているが、実際には必要に応じて多数の
EFROMが実装される。
10a to 10d are EPROMs, in which four E
Although it represents a PROM, in reality, a large number of EFROMs are installed as necessary.

各EPROMのC8端子はデコーダ3によって、書き込
まれるEPROMが選択されるが、端子PGMはロウレ
ベルになっている。従って、各EPROM10a〜10
dの書き込みモードは、書き込み選択がされ、端子C8
がロウレベルになっているEPROMはバイト書き込み
モードであり、それ以外のEPROMはページ書き込み
モードである。この結果、書き込み選択されていないE
PROMはページ書き込みモードで、第3図のラッチ回
路11の内容がメモリセル12に書き込まれてしまう。
The decoder 3 selects the C8 terminal of each EPROM to be written into, but the terminal PGM is at a low level. Therefore, each EPROM10a to 10
In the write mode of d, write is selected and the terminal C8
The EPROM in which the is at a low level is in the byte write mode, and the other EPROMs are in the page write mode. As a result, E
The PROM is in page write mode, and the contents of the latch circuit 11 shown in FIG. 3 are written into the memory cell 12.

。 これを解決するために、本発明では予めEPROMのラ
ンチ回路11の全てのビットにi′1」を書き込んでお
く。書き込み前のEPROMは全てのビットがF14で
あるので、ページ書き込みモードで、ランチ回路11か
らメモリセル12にデータが書き込まれても、実際には
なにも書き込まれない。この結果、端子PGMを制御す
るデコーダが不要となり、ハードウェアのコストが低減
される。
. In order to solve this problem, in the present invention, "i'1" is written in all bits of the launch circuit 11 of the EPROM in advance. Since all bits in the EPROM before writing are F14, even if data is written from the launch circuit 11 to the memory cell 12 in the page write mode, nothing is actually written. As a result, a decoder for controlling the terminal PGM is not required, and the hardware cost is reduced.

第2図に本発明を実施するためのフローチャート図を示
す。図において、Sに続く数値はステップ番号を示す。
FIG. 2 shows a flowchart for implementing the present invention. In the figure, the number following S indicates the step number.

〔S1〕アドレスをOに設定する。[S1] Set the address to O.

〔S2〕ページモードでラッチ回路の全てのビットに「
1」を書き込む。
[S2] In page mode, set all bits of the latch circuit to “
1”.

〔S3〕バイトモードで必要なEPROMを選択し、デ
ータを書き込む。選択されないEPROMはC3端子が
ハイレベルであり、ページ−T−−トドなり、ラッチ回
路のデータi’lJが書き込まれるが、実際はなにも書
き込まれない。
[S3] Select the required EPROM in byte mode and write data. In the unselected EPROM, the C3 terminal is at a high level, and the data i'lJ of the latch circuit is written to page-T--, but nothing is actually written.

〔S4〕書き込んだデータが正常か調べ、正常ならS5
へ、正常でないときはS6へいく。
[S4] Check whether the written data is normal, and if it is normal, proceed to S5.
If it is not normal, go to S6.

〔S5〕最終アドレスを調べ、最終アドレスでないとき
は、アドレスを+1して、S2へいく。
[S5] Check the final address, and if it is not the final address, add 1 to the address and proceed to S2.

〔S6〕書き込みデータが不良であり、プリント板に不
良のEFROMがあるので、書き込みを停止して、アラ
ーム表示等をする。
[S6] Since the written data is defective and there is a defective EFROM on the printed board, writing is stopped and an alarm is displayed.

本実施例はページ書込みモードの1種について説明した
が、他のページ書込みモードにおいても同様な考え方で
実施できる。
Although this embodiment has been described for one type of page write mode, other page write modes can be implemented using the same concept.

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

以上説明したように本発明では、予めページモードでE
PROMのラッチ回路の全てのビットに1を書き込んで
おくようにしたので、ページモード端子を選択するデコ
ーダが不要となり、コストが低減される。
As explained above, in the present invention, in advance in page mode,
Since 1 is written in all bits of the PROM latch circuit, a decoder for selecting the page mode terminal is not required, and the cost is reduced.

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

第1図は本発明を実施するためのEFROMを実装した
プリント板のブロック図、 第2図は本発明を実施するためのフローチャート図、 第3図はEPROMの概要を示す図である。 1−−−−−−−−−−−−−−−メモリボード2−−
−−−−−−−・・・−アドレスバス3−−−−−−−
−・−−−一・データバス10・−一−−−−−−・−
−−−−E P ROMl 0 a 〜10 d ・・
・・−=−−−E P ROMll−・−・・−・−・
・ラッチ回路 12−・−・・・−・・−・・−・メモリセル第2圓 璽3図
FIG. 1 is a block diagram of a printed circuit board equipped with an EFROM for implementing the present invention, FIG. 2 is a flowchart for implementing the present invention, and FIG. 3 is a diagram showing an outline of the EPROM. 1------------Memory board 2---
−−−−−−−−−Address bus 3−−−−−−−
−・−−−1・Data bus 10・−1−−−−−−・−
-----E P ROMl 0 a ~ 10 d...
・・−=−−−E P ROMll−・−・・−・−・
・Latch circuit 12−・−・・−・・−・・−・Memory cell 2nd circle diagram 3

Claims (1)

【特許請求の範囲】[Claims] (1)EPROMをプリント板に実装して書き込むEP
ROMの書き込み方法において、 ページモードでEPROMのラッチ回路の全てのビット
にデータ1を書き込み、 バイトモードで書き込みすべきEPROMを選択してデ
ータを書き込むことを特徴とするEPROMの書き込み
方法。
(1) EPROM is mounted on a printed board and written to it.
A ROM writing method characterized by writing data 1 to all bits of a latch circuit of an EPROM in a page mode, and selecting an EPROM to be written to and writing data in a byte mode.
JP63099466A 1988-04-22 1988-04-22 Method for writing data to eprom Pending JPH01271994A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63099466A JPH01271994A (en) 1988-04-22 1988-04-22 Method for writing data to eprom

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63099466A JPH01271994A (en) 1988-04-22 1988-04-22 Method for writing data to eprom

Publications (1)

Publication Number Publication Date
JPH01271994A true JPH01271994A (en) 1989-10-31

Family

ID=14248087

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63099466A Pending JPH01271994A (en) 1988-04-22 1988-04-22 Method for writing data to eprom

Country Status (1)

Country Link
JP (1) JPH01271994A (en)

Similar Documents

Publication Publication Date Title
US7275200B2 (en) Transparent error correcting memory that supports partial-word write
JPH09147551A (en) Simultaneous address method of multibank column of memory device circuit and multibank memory array
JPH0472255B2 (en)
JPS6329360B2 (en)
US5845315A (en) Method and apparatus for reducing the access time of a memory device by decoding a row address during a precharge period of the memory device
JPH0383299A (en) Semiconductor storage device
JPH03254499A (en) Semiconductor storage device
JPS62217498A (en) Semiconductor memory device
JPH01271994A (en) Method for writing data to eprom
JPH086809A (en) Field programmable gate array
JPH0227596A (en) Semiconductor memory
JP3256562B2 (en) Semiconductor storage device
JPS5892054A (en) Programmable chip enable circuit
JPS63305444A (en) Storage device
JPH0757459A (en) Semiconductor memory
JPH0210451A (en) Semiconductor storage device
JPH0765586A (en) Access system for eeprom
JP2573679B2 (en) Semiconductor storage device
JP2833902B2 (en) Display attribute control circuit of bitmap display device
JPH0352160B2 (en)
JPH0721799A (en) Semiconductor memory device
JPH05210566A (en) Memory device and data read/write method of memory
JPS63304492A (en) Semiconductor memory device
JPS5958698A (en) Semiconductor integrated circuit storage device
JPH0527944A (en) Data writing/transmitting device