JPH06162219A - Write control circuit for microcomputer - Google Patents

Write control circuit for microcomputer

Info

Publication number
JPH06162219A
JPH06162219A JP4316748A JP31674892A JPH06162219A JP H06162219 A JPH06162219 A JP H06162219A JP 4316748 A JP4316748 A JP 4316748A JP 31674892 A JP31674892 A JP 31674892A JP H06162219 A JPH06162219 A JP H06162219A
Authority
JP
Japan
Prior art keywords
microcomputer
circuit
data
program data
address data
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
JP4316748A
Other languages
Japanese (ja)
Inventor
Isao Takahashi
高橋  功
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.)
Sanyo Electric Co Ltd
Original Assignee
Sanyo Electric 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 Sanyo Electric Co Ltd filed Critical Sanyo Electric Co Ltd
Priority to JP4316748A priority Critical patent/JPH06162219A/en
Publication of JPH06162219A publication Critical patent/JPH06162219A/en
Pending legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

PURPOSE:To provide the write control circuit of a microcomputer capable of using a general data generating circuit and writing program data into a non-volatile memory in a short time without making a chip area of the microcomputer larger than required. CONSTITUTION:In accordance with a pulse EG generated from an edge detecting circuit 4 at every and fall of the lowest bit A0 of address data, the address data and program data are switched from switching output circuits 11, 12, and outputted in parallel. In such a way, even in the case of the microcomputer in which the number of pins is small, write of the program data to an EPROM 3 can be executed in a short time by using general PROM writer 1.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、プログラムデータの書
き込み及び読み出しが可能であり且つ導出されたピン数
の少ないマイクロコンピュータに、汎用のPROMライ
タを用いてデータ書き込みを行うマイクロコンピュータ
の書込制御回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a write control of a microcomputer capable of writing / reading program data and having a small number of derived pins by using a general-purpose PROM writer. Regarding the circuit.

【0002】[0002]

【従来の技術】一般に、マイクロコンピュータに内蔵さ
れたりするEPROM(不揮発性メモリ)にプログラム
データを書き込む場合、その為のアドレスデータ及びプ
ログラムデータが予め設定されたPROMライタと称す
るデータ発生回路が使用される。このデータ発生回路は
マイクロコンピュータに対して各種出力を発生するもの
であり、例えば、電源電圧、チップイネーブル信号、ア
ウトプットイネーブル信号、アドレスデータ、及びプロ
グラムデータ等を発生する端子を有している。特に上記
したアドレスデータ及びプログラムデータはパラレル出
力されるものであり、アドレスデータ及びプログラムデ
ータを各々m,nビットとすると、これだけでもm+n
本の端子がデータ発生回路に必要となる。こういったデ
ータ発生回路は汎用品として使用されているが、このデ
ータ発生回路を使用するには、少なくともアドレスデー
タ及びプログラムデータを書き込むだけでm+n本のパ
ラレル入力ピンを有するマイクロコンピュータでない
と、内蔵EPROMにプログラムデータの書き込みを行
うことができない問題があった。従って、データ発生回
路から導出されたピン数より少ないピン数のEPROM
内蔵マイクロコンピュータに対してプログラムデータの
書き込みを行う場合、上記の汎用のデータ発生回路が使
用できない為、その為の専用のデータ発生回路を使用し
ていた。
2. Description of the Related Art Generally, when writing program data to an EPROM (nonvolatile memory) built in a microcomputer, a data generating circuit called a PROM writer in which address data and program data for that is preset is used. It The data generating circuit generates various outputs to the microcomputer, and has terminals for generating a power supply voltage, a chip enable signal, an output enable signal, address data, program data, and the like. In particular, the address data and the program data described above are output in parallel. If the address data and the program data are m and n bits, respectively, m + n.
A book terminal is required for the data generation circuit. Such a data generating circuit is used as a general-purpose product, but in order to use this data generating circuit, it is necessary to write at least address data and program data unless it is a microcomputer having m + n parallel input pins. There is a problem that the program data cannot be written in the EPROM. Therefore, an EPROM having a smaller number of pins than the number of pins derived from the data generation circuit
When writing program data to the built-in microcomputer, the above-mentioned general-purpose data generating circuit cannot be used, so a dedicated data generating circuit for that purpose is used.

【0003】[0003]

【発明が解決しようとする課題】上記した専用のデータ
発生回路は、例えばプログラムデータをパラレル状態か
らシリアル状態に変換して出力することによってピン数
の少ないマイクロコンピュータに対応しようとするもの
であり、その実現の為に、比較的素子数の多いパラレル
シリアル変換する回路を内蔵している。従って、専用の
データ発生回路を購入するのにコストが高くなる問題が
ある。一方、マイクロコンピュータ内部にには、シリア
ル入力されたプログラムデータをパラレルデータに戻す
為のシリアルパラレル変換回路を内蔵しなければならな
い。この変換回路は比較的素子数が多い為、この変換回
路を個々のマイクロコンピュータに内蔵するとなると、
チップ面積が増大してしまう問題があった。更に、デー
タ発生回路からマイクロコンピュータへのプログラムデ
ータの出力をシリアルで行っている為、EPROMにプ
ログラムデータを書き込むのに多くの時間を費やしてし
まう問題があった。
The dedicated data generating circuit described above is intended to support a microcomputer having a small number of pins by converting program data from a parallel state to a serial state and outputting the program data. To achieve this, it has a built-in parallel-serial conversion circuit with a relatively large number of elements. Therefore, there is a problem that the cost becomes high to purchase the dedicated data generating circuit. On the other hand, a serial-parallel conversion circuit for returning serially input program data to parallel data must be built in the microcomputer. This conversion circuit has a relatively large number of elements, so if this conversion circuit is built into each microcomputer,
There is a problem that the chip area increases. Further, since the program data is output from the data generating circuit to the microcomputer serially, there is a problem that a lot of time is spent to write the program data in the EPROM.

【0004】そこで、本発明は、汎用のデータ発生回路
を使え、マイクロコンピュータのチップ面積を必要以上
に大きくすることなく、短時間で不揮発性メモリへのプ
ログラムデータの書き込みを行うことのできるマイクロ
コンピュータの書込制御回路を提供することを目的とす
る。
Therefore, according to the present invention, a general-purpose data generating circuit can be used, and program data can be written in a nonvolatile memory in a short time without increasing the chip area of the microcomputer more than necessary. It is an object of the present invention to provide a write control circuit of.

【0005】[0005]

【課題を解決するための手段】本発明は前記問題点を解
決する為に成されたものであり、その特徴とするところ
は、プログラムデータの書き込み及び読み出しが可能な
不揮発性メモリを内蔵したマイクロコンピュータにプロ
グラムデータを書き込むマイクロコンピュータの書込制
御回路において、前記不揮発性メモリをアクセスする為
のアドレスデータ及び前記不揮発性メモリに記憶される
プログラムデータをパラレル出力するデータ発生回路
と、前記アドレスデータ及び前記プログラムデータを切
換出力する切換出力回路と、前記アドレスデータの最下
位ビットの立上り及び立下りエッジを検出してパルスを
発生し、該パルスの発生時に前記切換出力回路から前記
アドレスデータが出力され、前記パルスが発生しない時
に前記切換出力回路から前記プログラムデータが出力さ
れる様に制御を行うエッジ検出回路と、前記エッジ検出
回路のパルス出力に同期して前記切換出力回路から得ら
れた前記アドレスデータを保持且つ出力するラッチ回路
と、を備えた点である。
The present invention has been made to solve the above-mentioned problems, and is characterized in that it has a built-in micro-memory capable of writing and reading program data. In a write control circuit of a microcomputer for writing program data to a computer, a data generation circuit for parallelly outputting address data for accessing the nonvolatile memory and program data stored in the nonvolatile memory, the address data, and A switching output circuit for switching and outputting the program data, a pulse is generated by detecting a rising edge and a falling edge of the least significant bit of the address data, and when the pulse is generated, the switching output circuit outputs the address data. , The switching output circuit when the pulse is not generated An edge detection circuit that controls so that the program data is output, and a latch circuit that holds and outputs the address data obtained from the switching output circuit in synchronization with the pulse output of the edge detection circuit. It is a prepared point.

【0006】[0006]

【作用】本発明によれば、アドレスデータの最下位ビッ
トの立上り及び立下り毎にエッジ検出回路から発生する
パルスに応じて、切換出力回路からアドレスデータ及び
プログラムデータを切り換えてパラレル出力する様にし
た為、ピン数の少ないマイクロコンピュータであっても
汎用のデータ発生回路を用いて短時間で不揮発性メモリ
へのプログラムデータの書き込みを行うことができる。
According to the present invention, the switching output circuit switches the address data and the program data in parallel according to the pulse generated from the edge detection circuit at every rise and fall of the least significant bit of the address data. Therefore, even a microcomputer with a small number of pins can write program data to the nonvolatile memory in a short time using a general-purpose data generation circuit.

【0007】[0007]

【実施例】本発明の詳細を図面に従って具体的に説明す
る。図1は本発明のマイクロコンピュータの書込制御回
路を示す図である。図1において、(1)はPROMラ
イタ(データ発生回路)であり、マイクロコンピュータ
(2)に内蔵される、プログラムデータの書き込み及び
読み出しが可能なEPROM(3)に対して書き込み動
作を行う為のアドレスデータ及びプログラムデータが予
めセットされている。ここで、EPROM(3)は1K
バイトのアドレスを有し、各アドレスの記憶容量を8ビ
ットとすると、PROMライタ(1)の10本の端子
(1A)からは10ビットのアドレスデータA0〜A9
がパラレルに出力され、8本の端子(1B)からは8ビ
ットのプログラムデータD0〜D7がパラレルに出力さ
れることになる。また、PROMライタ(1)の端子
(1C)(1D)(1E)からは各々、EPROM
(3)を書き込み可能状態とする時に「0」となるチッ
プイネーブル信号*CE、EPROM(3)からプログ
ラムデータの読み出しを行う時に「0」となるアウトプ
ットイネーブル信号*OE、及びEPROM(3)にデ
ータ書き込みを行う時に該EPROM(3)に印加され
る高電圧Vppが出力される。これらの出力はマイクロコ
ンピュータ(2)の入力端子(2A)(2B)(2C)
を介してEPROM(3)に印加される。この他にもP
ROMライタ(1)からはマイクロコンピュータ(2)
の為の各種信号が出力されるが本発明とは関係ない部分
なので説明を省略する。
The details of the present invention will be described in detail with reference to the drawings. FIG. 1 is a diagram showing a write control circuit of a microcomputer of the present invention. In FIG. 1, (1) is a PROM writer (data generation circuit) for performing a write operation to an EPROM (3) which is built in the microcomputer (2) and capable of writing and reading program data. Address data and program data are preset. Here, EPROM (3) is 1K
Assuming that each address has a byte address and the storage capacity of each address is 8 bits, 10-bit address data A0 to A9 is output from 10 terminals (1A) of the PROM writer (1).
Are output in parallel, and 8-bit program data D0 to D7 are output in parallel from the eight terminals (1B). Further, from the terminals (1C) (1D) (1E) of the PROM writer (1), the EPROM
The chip enable signal * CE which becomes “0” when the (3) is set to the writable state, the output enable signal * OE which becomes “0” when the program data is read from the EPROM (3), and the EPROM (3) The high voltage Vpp applied to the EPROM (3) is output when data is written to the EPROM (3). These outputs are input terminals (2A) (2B) (2C) of the microcomputer (2).
Is applied to the EPROM (3) via. Besides this, P
From the ROM writer (1) to the microcomputer (2)
Although various signals are output for this purpose, they are not related to the present invention, and the description thereof is omitted.

【0008】(4)はエッジ検出回路であり、アドレス
データの最下位ビットA0の立上り及び立下り毎に検出
パルスを発生するものである。このエッジ検出回路
(4)の一例として図2に示す回路があり、その各部波
形を図3に示している。即ち、3段のインバータ(5)
(6)(7)、3番目のインバータの出力aとアドレス
データの最下位ビットA0の論理積を演算するANDゲ
ート(8)、前記出力a及び前記最下位ビットA0の論
理和を演算するNORゲート(9)、及び出力b及びc
の論理和を演算して検出パルスEGを発生するORゲー
ト(10)から成る。尚、インバータ段は3段に限定さ
れるものではなく、検出パルスEGの幅に応じて可変す
ればよい。例えば検出パルスEGの幅を長くしたい場
合、インバータ段の数を増やして最下位ビットA0の遅
延を大きくすればよく、反対に検出パルスEGの幅を短
くしたい場合、インバータ段の数を減らして最下位ビッ
トA0の遅延を小さくすればよい。更に、エッジ検出回
路(4)は図2に限定されるものでもなく、最下位ビッ
トA0の立上り及び立下りでパルスを発生できる構成で
あれが如何なる構成であってもよい。ここで、最下位ビ
ットA0がハイレベル又はローレベルへと変化する毎に
アドレスデータは変化しており、それ故に、アドレスデ
ータが変化する最下位ビットA0の立上り及び立下り毎
に検出パルスEGを発生させ、このハイレベルのタイミ
ングでEPROM(3)のアクセスを行い、直後のロー
レベルのタイミングで当該アドレスに書き込むべきプロ
グラムデータをEPROM(3)に取り込ませる様にし
ている。
(4) is an edge detection circuit, which generates a detection pulse at every rise and fall of the least significant bit A0 of the address data. As an example of the edge detection circuit (4), there is a circuit shown in FIG. 2, and the waveforms of the respective parts are shown in FIG. That is, three-stage inverter (5)
(6) (7) AND gate (8) for calculating the logical product of the output a of the third inverter and the least significant bit A0 of the address data, NOR for calculating the logical sum of the output a and the least significant bit A0 Gate (9) and outputs b and c
It is composed of an OR gate (10) for calculating the logical sum of the above and generating the detection pulse EG. The number of inverter stages is not limited to three, and may be varied according to the width of the detection pulse EG. For example, if the width of the detection pulse EG is to be increased, the number of inverter stages may be increased to increase the delay of the least significant bit A0. Conversely, if the width of the detection pulse EG is to be shortened, the number of inverter stages may be reduced to the maximum. The delay of the lower bit A0 may be reduced. Further, the edge detection circuit (4) is not limited to that shown in FIG. 2, and may have any configuration as long as it can generate a pulse at the rising and falling edges of the least significant bit A0. Here, the address data changes every time the least significant bit A0 changes to a high level or a low level. Therefore, the detection pulse EG is output at every rising and falling of the least significant bit A0 when the address data changes. The EPROM (3) is generated and the EPROM (3) is accessed at this high-level timing, and the program data to be written to the address is fetched into the EPROM (3) at the next low-level timing.

【0009】(11)はアドレスデータの上位2ビット
A8,A9を除く8ビットA0〜A7が印加されるバッ
ファであり、各ビットに対応して8個設けられている。
また(12)は8ビットのプログラムデータD0〜D7
が印加されるトランスミッションゲートであり、各ビッ
トに対応して8個設けられている。これらのバッファ
(11)及びトランスミッションゲート(12)は切換
出力回路を構成しており、各々エッジ検出回路(4)の
検出パルスEGで制御される。即ち、検出パルスEGが
発生しているハイレベルの時、バッファ(11)からア
ドレスデータA0〜A7が出力され、検出パルスEGが
ローレベルの時、トランスミッションゲート(12)か
らプログラムデータD0〜D7が出力される。このバッ
ファ(11)及びトランスミッションゲート(12)か
ら切換出力される8ビットデータは端子(2D)を介し
てマイクロコンピュータ(2)内部に取り込まれる。
Reference numeral (11) is a buffer to which 8 bits A0 to A7 excluding the upper 2 bits A8 and A9 of the address data are applied, and eight buffers are provided corresponding to each bit.
Further, (12) is 8-bit program data D0 to D7.
Is a transmission gate to which is applied, and eight are provided corresponding to each bit. The buffer (11) and the transmission gate (12) form a switching output circuit, and each is controlled by the detection pulse EG of the edge detection circuit (4). That is, when the detection pulse EG is at high level, the buffer (11) outputs the address data A0 to A7, and when the detection pulse EG is at low level, the transmission gate (12) outputs the program data D0 to D7. Is output. The 8-bit data switched and output from the buffer (11) and the transmission gate (12) is taken into the microcomputer (2) via the terminal (2D).

【0010】(13)はラッチ回路であり、端子(2
E)を介してマイクロコンピュータ(2)内部に取り込
まれた検出パルスEGでトリガされた時に8ビットのア
ドレスデータA0〜A7を保持するものであり、各ビッ
トに対応して8個設けられている。そして、ラッチ回路
(13)から出力される8ビットのアドレスデータA0
〜A7及び端子(2F)を介してマイクロコンピュータ
(2)に取り込まれるアドレスデータの上位2ビットA
8及びA9がEPROM(3)に同時に印加されて該E
PROM(3)のアクセスが行われる。一方、端子(2
D)に取り込まれたプログラムデータは、ラッチ回路
(13)に保持されることなくそのままEPROM
(3)に印加されてアクセスされているアドレスに書き
込まれる。
(13) is a latch circuit, which has terminals (2
The address data A0 to A7 of 8 bits is held when triggered by the detection pulse EG taken into the microcomputer (2) via E), and 8 pieces are provided corresponding to each bit. . Then, the 8-bit address data A0 output from the latch circuit (13)
˜A7 and the upper 2 bits A of the address data taken into the microcomputer (2) via the terminal (2F)
8 and A9 are simultaneously applied to the EPROM (3) so that the E
The PROM (3) is accessed. On the other hand, the terminal (2
The program data fetched by D) is not stored in the latch circuit (13) and is directly stored in the EPROM.
It is written to the address being accessed by being applied to (3).

【0011】上記した構成によれば、アドレスデータ及
びプログラムデータの8ビットをパラレルにマイクロコ
ンピュータ(2)に取り込む為の端子(2D)を共用し
ているので、独立に8本の端子をマイクロコンピュータ
に設ける必要がなく、端子ピン数の少ないマイクロコン
ピュータに有効となる。また、アドレスデータ及びプロ
グラムデータを独立にパラレル出力する汎用のPROM
ライタ(1)を端子ピン数の少ないマイクロコンピュー
タに使用でき、従来の様に専用のPROMライタを使用
する必要がなくなりその為のコストを抑えることができ
る。また、PROMライタ(1)からマイクロコンピュ
ータ(2)までアドレスデータ及びプログラムデータを
パラレルで伝達できるので、端子ピン数の少ないマイク
ロコンピュータに内蔵されたEPROMに対するプログ
ラムデータの書き込み時間を従来に比べて短縮できる。
更に、マイクロコンピュータ(2)のチップ上には比較
的素子数の少ないラッチ回路のみを配置し、残りのエッ
ジ検出回路及び切換出力回路はマイクロコンピュータ
(2)外部の基板上に設ける様にしている。ここで、上
記したマイクロコンピュータ(2)は比較的多くの数を
生産するが、上記した基板の生産数はごく僅かに限られ
ている。従って、マイクロコンピュータ(2)のみを生
産するのと等価となる為、チップ面積が大きくなるのを
抑えこれに伴いコストアップを抑えることができる。
According to the above configuration, since the terminal (2D) for taking in 8 bits of the address data and the program data in parallel to the microcomputer (2) is shared, the eight terminals are independently connected to the microcomputer. It is not necessary to provide it on the CPU and is effective for a microcomputer having a small number of terminal pins. A general-purpose PROM that outputs address data and program data independently in parallel
The writer (1) can be used in a microcomputer having a small number of terminal pins, and it is not necessary to use a dedicated PROM writer as in the conventional case, and the cost therefor can be suppressed. Further, since the address data and the program data can be transmitted in parallel from the PROM writer (1) to the microcomputer (2), the writing time of the program data to the EPROM incorporated in the microcomputer having a small number of terminal pins can be shortened as compared with the conventional case. it can.
Further, only a latch circuit having a relatively small number of elements is arranged on the chip of the microcomputer (2), and the remaining edge detection circuit and switching output circuit are provided on a substrate outside the microcomputer (2). . Here, the microcomputer (2) described above produces a relatively large number, but the number of substrates produced is very limited. Therefore, since it is equivalent to producing only the microcomputer (2), it is possible to suppress an increase in the chip area and thereby suppress an increase in cost.

【0012】[0012]

【発明の効果】本発明によれば、アドレスデータ及びプ
ログラムデータを切り換えてパラレル出力する為、両デ
ータを取り込む為のマイクロコンピュータの端子を共用
でき、端子ピン数の少ないマイクロコンピュータに有効
となる。また、アドレスデータ及びプログラムデータを
独立にパラレル出力する汎用のデータ発生回路を端子ピ
ン数の少ないマイクロコンピュータに使用でき、従来の
様に専用のデータ発生回路を使用する必要がなくなりそ
の為のコストを抑えることができる。また、データ発生
回路からマイクロコンピュータまでアドレスデータ及び
プログラムデータをパラレルで伝達できるので、端子ピ
ン数の少ないマイクロコンピュータに内蔵された不揮発
性メモリに対するプログラムデータの書き込み時間を従
来に比べて短縮できる。更に、マイクロコンピュータの
チップ上には比較的素子数の少ないラッチ回路のみを配
置し、残りのエッジ検出回路及び切換出力回路はマイク
ロコンピュータ外部の基板上に設ける様にしている。こ
こで、上記したマイクロコンピュータは比較的多くの数
を生産するが、上記した基板の生産数はごく僅かに限ら
れている。従って、マイクロコンピュータのみを生産す
るのと等価となる為、チップ面積が大きくなるのを抑え
これに伴いコストアップを抑えることができる、等の利
点が得られる。
According to the present invention, since the address data and the program data are switched and output in parallel, the terminals of the microcomputer for fetching both data can be shared, which is effective for a microcomputer having a small number of terminal pins. In addition, a general-purpose data generation circuit that outputs address data and program data independently in parallel can be used in a microcomputer with a small number of terminal pins, eliminating the need to use a dedicated data generation circuit as in the past, thus reducing the cost. Can be suppressed. Further, since the address data and the program data can be transmitted in parallel from the data generating circuit to the microcomputer, the writing time of the program data to the nonvolatile memory built in the microcomputer having a small number of terminal pins can be shortened as compared with the conventional case. Further, only a latch circuit having a relatively small number of elements is arranged on the chip of the microcomputer, and the remaining edge detection circuit and switching output circuit are provided on a substrate outside the microcomputer. Here, although the above-mentioned microcomputer produces a relatively large number, the above-mentioned number of substrates produced is very limited. Therefore, since it is equivalent to producing only a microcomputer, it is possible to obtain advantages such as suppressing an increase in the chip area and suppressing an increase in cost.

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

【図1】本発明のマイクロコンピュータの書込制御回路
を示す図である。
FIG. 1 is a diagram showing a write control circuit of a microcomputer of the present invention.

【図2】図1に使用されるエッジ検出回路の一実施例を
示す図である。
FIG. 2 is a diagram showing an embodiment of an edge detection circuit used in FIG.

【図3】図2の各部波形を示す波形図である。FIG. 3 is a waveform diagram showing waveforms at various points in FIG.

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

(1) PROMライタ (2) マイクロコンピュータ (3) EPROM (4) エッジ検出回路 (11) バッファ (12) トランスミッションゲート (13) ラッチ回路 (1) PROM writer (2) Microcomputer (3) EPROM (4) Edge detection circuit (11) Buffer (12) Transmission gate (13) Latch circuit

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 プログラムデータの書き込み及び読み出
しが可能な不揮発性メモリを内蔵したマイクロコンピュ
ータにプログラムデータを書き込むマイクロコンピュー
タの書込制御回路において、 前記不揮発性メモリをアクセスする為のアドレスデータ
及び前記不揮発性メモリに記憶されるプログラムデータ
をパラレル出力するデータ発生回路と、 前記アドレスデータ及び前記プログラムデータを切り換
えてパラレル出力する切換出力回路と、 前記アドレスデータの最下位ビットの立上り及び立下り
エッジを検出してパルスを発生し、該パルスの発生時に
前記切換出力回路から前記アドレスデータが出力され、
前記パルスが発生しない時に前記切換出力回路から前記
プログラムデータが出力される様に制御を行うエッジ検
出回路と、 前記エッジ検出回路のパルス出力に同期して前記切換出
力回路から得られた前記アドレスデータを保持且つ出力
するラッチ回路と、を備え、 前記ラッチ回路に保持されたアドレスデータによって前
記不揮発性メモリのアクセスを行い、アクセスされたア
ドレスに前記切換出力回路から出力された前記プログラ
ムデータを書き込むことを特徴とするマイクロコンピュ
ータの書込制御回路。
1. A write control circuit of a microcomputer for writing program data to a microcomputer having a built-in nonvolatile memory capable of writing and reading program data, comprising: address data for accessing the nonvolatile memory; Generating circuit for parallelly outputting the program data stored in the volatile memory, a switching output circuit for switching the address data and the program data and outputting in parallel, and detecting a rising edge and a falling edge of the least significant bit of the address data. To generate a pulse, and the address data is output from the switching output circuit when the pulse is generated,
An edge detection circuit that controls the program data to be output from the switching output circuit when the pulse is not generated; and the address data obtained from the switching output circuit in synchronization with the pulse output of the edge detection circuit. A latch circuit that holds and outputs the program data output from the switching output circuit to the accessed address by accessing the nonvolatile memory with the address data held in the latch circuit. And a write control circuit for a microcomputer.
【請求項2】 前記エッジ検出回路及び前記切換出力回
路はマイクロコンピュータ外部の基板上に設けられ、前
記ラッチ回路はマイクロコンピュータ内部に設けられた
ことを特徴とする請求項1記載のマイクロコンピュータ
の書込制御回路。
2. The microcomputer according to claim 1, wherein the edge detection circuit and the switching output circuit are provided on a substrate outside a microcomputer, and the latch circuit is provided inside the microcomputer. Embedded control circuit.
JP4316748A 1992-11-26 1992-11-26 Write control circuit for microcomputer Pending JPH06162219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4316748A JPH06162219A (en) 1992-11-26 1992-11-26 Write control circuit for microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4316748A JPH06162219A (en) 1992-11-26 1992-11-26 Write control circuit for microcomputer

Publications (1)

Publication Number Publication Date
JPH06162219A true JPH06162219A (en) 1994-06-10

Family

ID=18080477

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4316748A Pending JPH06162219A (en) 1992-11-26 1992-11-26 Write control circuit for microcomputer

Country Status (1)

Country Link
JP (1) JPH06162219A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8841939B2 (en) 2012-07-11 2014-09-23 Kabushiki Kaisha Toshiba Switching control circuit and switching device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8841939B2 (en) 2012-07-11 2014-09-23 Kabushiki Kaisha Toshiba Switching control circuit and switching device

Similar Documents

Publication Publication Date Title
JP2696026B2 (en) Semiconductor storage device
US20050141273A1 (en) Flash memory system capable of inputting/outputting sector data at random
KR100458812B1 (en) Semiconductor memory device capable of securing large latch margin
JPH07192470A (en) Output circuit for semiconductor memory
JP3078934B2 (en) Synchronous random access memory
KR20040047612A (en) Method for testing semiconductor memory device and test circuit for semiconductor memory device
JP3380828B2 (en) Semiconductor memory device
JP2784550B2 (en) Semiconductor storage device
KR0147703B1 (en) Layout circuit for plug/play in pci bus
US7154316B2 (en) Circuit for controlling pulse width
JP2002222084A (en) Semiconductor storage device, sector address conversion circuit, address conversion method, and method for using semiconductor storage device
JP2001043700A (en) Semiconductor memory
TWI660355B (en) Semiconductor memory device and data setting method
US5608686A (en) Synchronous semiconductor memory device with low power consumption
JPH06162219A (en) Write control circuit for microcomputer
US20050168266A1 (en) High voltage generating circuit and semiconductor memory device having the same
US5577005A (en) Circuit for using chip information
JP2661596B2 (en) DRAM address generation circuit for CD-ROM
JP2806849B2 (en) Memory address controller
JPH06251168A (en) Address generation circuit for microcomputer incorporating eprom
JP3625240B2 (en) Semiconductor memory device
JPS6319027B2 (en)
JP2002208289A (en) Semiconductor memory
JPH0369089A (en) Memory
JPH07105080A (en) Semi-conductor integrated circuit