JPH0836558A - One-chip microcomputer - Google Patents
One-chip microcomputerInfo
- Publication number
- JPH0836558A JPH0836558A JP6171150A JP17115094A JPH0836558A JP H0836558 A JPH0836558 A JP H0836558A JP 6171150 A JP6171150 A JP 6171150A JP 17115094 A JP17115094 A JP 17115094A JP H0836558 A JPH0836558 A JP H0836558A
- Authority
- JP
- Japan
- Prior art keywords
- chip microcomputer
- program
- memory
- random access
- chip
- 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
Links
- 238000012545 processing Methods 0.000 claims description 8
- 238000004891 communication Methods 0.000 claims description 6
- 238000012546 transfer Methods 0.000 claims description 3
- 230000002093 peripheral effect Effects 0.000 abstract description 14
- 238000004519 manufacturing process Methods 0.000 abstract description 5
- 239000000047 product Substances 0.000 description 18
- 238000010586 diagram Methods 0.000 description 15
- 101100521334 Mus musculus Prom1 gene Proteins 0.000 description 12
- 239000003990 capacitor Substances 0.000 description 9
- 238000000034 method Methods 0.000 description 7
- 239000000758 substrate Substances 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 239000000463 material Substances 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 2
- 230000009467 reduction Effects 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 239000000126 substance Substances 0.000 description 2
- 230000002950 deficient Effects 0.000 description 1
- 239000012467 final product Substances 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 229910044991 metal oxide Inorganic materials 0.000 description 1
- 150000004706 metal oxides Chemical class 0.000 description 1
- 230000009955 peripheral mechanism Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Microcomputers (AREA)
- Dram (AREA)
Abstract
Description
【0001】[0001]
【産業上の利用分野】本発明は、ワンチップ・マイクロ
コンピュータ、ことに民生用などのマイクロコンピュー
タ応用機器に用いるに適したワンチップ・マイクロコン
ピュータに関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a one-chip microcomputer, and more particularly to a one-chip microcomputer suitable for use in consumer-applied microcomputer application equipment.
【0002】[0002]
【従来の技術】近年、マイクロコンピュータを搭載した
機器は、多岐にわたって開発されている。これらの機器
はニューロ制御やファジー制御などの複雑な演算を取り
込むなど、高機能化が著しい。これにともない機器に内
蔵されるマイクロコンピュータのソフトウェアの大きさ
は増大し、プログラミングのミス(通称「バグ」)によ
る機能不良の原因を生む結果となってきた。また、これ
ら製品の商品寿命は短命化し、開発期間の著しい短縮が
ソフトウェア設計者への負担となって、更にバグの発生
に拍車をかけている。2. Description of the Related Art In recent years, a device equipped with a microcomputer has been developed in various ways. These devices are highly sophisticated, such as incorporating complex calculations such as neuro control and fuzzy control. Along with this, the size of the software of the microcomputer incorporated in the device has increased, resulting in a malfunction resulting from a programming mistake (commonly called "bug"). In addition, the product life of these products is shortened, and the drastic reduction of the development period puts a burden on software designers, further spurring the occurrence of bugs.
【0003】このような傾向を受けて、プログラムを内
蔵するリード・オンリー・メモリー(以下、「ROM」
と略す)は、最もコストは安いが変更の効かないマスク
ROMから書換可能なROMを使用することが増えてき
ている。この傾向は、特に新製品の初期バージョンに多
く見られる。これを第1の従来例とする。In response to such a tendency, a read-only memory (hereinafter referred to as "ROM") containing a program
Abbreviated), the rewritable ROM is increasingly used from the mask ROM, which has the lowest cost but cannot be changed. This trend is especially prevalent in early versions of new products. This is a first conventional example.
【0004】また、上述のバグ対策のような消極的な例
のみでなく、ビデオ・テープ・レコーダやコンパクト・
ディスク・プレーヤなどの製品の自動制御分野もソフト
ウェア化されるに及んで、製品には複数のマイクロコン
ピュータやプロセッサが搭載されようになった。これに
よりシステム全体を統御するシステム・コントローラの
マイクロコンピュータからの指令で、周辺の制御プロセ
ッサがコントロールされるという階層構造が成り立つよ
うになっている。これにともない、従来は固定値として
マスクROMに記憶されていた制御プロセッサの制御定
数などを、システム・コントローラと通信して書き換え
るためのランダム・アクセス・メモリー(以下「RA
M」と略す)に記憶することも多くなってきている。こ
れを第2の従来例とする。In addition to the passive examples such as the above-mentioned countermeasures against bugs, video tape recorders and compact discs
With the development of software in the automatic control field of products such as disc players, a plurality of microcomputers and processors have come to be incorporated in products. As a result, a hierarchical structure is established in which peripheral control processors are controlled by commands from the microcomputer of the system controller that controls the entire system. Along with this, a random access memory (hereinafter referred to as “RA”) for rewriting the control constants of the control processor, which are conventionally stored in the mask ROM as fixed values, by communicating with the system controller.
It is also becoming more common to memorize in "M". This is a second conventional example.
【0005】以上のような2つの従来例についてそれぞ
れ図面を参照しながら、従来例につき説明する。図10
は第1の従来例におけるワンチップ・マイクロコンピュ
ータの構成及び周辺回路を表すブロック略図である。図
10において、10はワンチップ・マイクロコンピュー
タ、20は書換可能なプログラマブルROM(以下、
「PROM」と略す)であり、マイクロコンピュータ1
のプログラムが格納されている。30は周辺入出力回路
である。The above-mentioned two conventional examples will be described with reference to the drawings. Figure 10
2 is a block schematic diagram showing a configuration and peripheral circuits of a one-chip microcomputer in a first conventional example. In FIG. 10, 10 is a one-chip microcomputer, 20 is a rewritable programmable ROM (hereinafter,
"PROM") and is a microcomputer 1
The program of is stored. Reference numeral 30 is a peripheral input / output circuit.
【0006】以上のように構成された従来のワンチップ
・マイクロコンピュータとその周辺回路につき、次にそ
の動作を説明する。マイクロコンピュータ10は中央処
理装置(以下「CPU」と略す)1、RAM2、入出力
ポート3、制御バス4、アドレスバス5およびデータバ
ス6、入出力バス7から構成される。このようなマイク
ロコンピュータ10を用いた回路では、種々の機能を実
現している場合が存在するが、ここでは各部の機能とそ
の基本動作をあげて説明するにとどめる。The operation of the conventional one-chip microcomputer constructed as above and its peripheral circuits will be described below. The microcomputer 10 includes a central processing unit (hereinafter abbreviated as “CPU”) 1, a RAM 2, an input / output port 3, a control bus 4, an address bus 5, a data bus 6, and an input / output bus 7. There are cases in which various functions are realized in a circuit using such a microcomputer 10, but here, the functions of each unit and their basic operations will be described only.
【0007】CPU1は、制御バス4、アドレスバス5
およびデータバス6を介して内蔵のRAM2及び入出力
ポート3と外付けのPROM20を制御している。周辺
入出力回路30の入出力は、入出力ポート3を介してC
PU1の指示に従ってデータバス6上のデータを送った
り、データバス6を介してデータをCPU1に受けたり
する。RAM2は、CPU1がアドレスバス5を介して
指示する番地にデータを書き込んだり、あるいは指示さ
れた番地からデータを読み出したりする。The CPU 1 includes a control bus 4 and an address bus 5.
The internal RAM 2 and the input / output port 3 and the external PROM 20 are controlled via the data bus 6. The input / output of the peripheral input / output circuit 30 is C via the input / output port 3.
It sends data on the data bus 6 according to instructions from the PU 1 or receives data from the CPU 1 via the data bus 6. The RAM 2 writes data to an address designated by the CPU 1 via the address bus 5 or reads data from the designated address.
【0008】PROM20にはCPU1が実行すべきコ
ードや参照すべきデータが記憶されており、制御バス4
の指示に従ってアドレスバス5の指定する番地からデー
タあるいはコードをデータバス6を介してCPU1に送
る。このようなPROM20は、前述のような理由によ
り書換可能なものが使用されており、例えば、PROM
以外にも、イレーサブル・アンド・エレクトリカリイ・
プログラマブルROM(以下「EPROM」と略す)あ
るいはエレクトリカリイ・イレーサブル・プログラマブ
ルROM(以下「EEPROM」と略す)が用いられ
る。The PROM 20 stores codes to be executed by the CPU 1 and data to be referred to, and the control bus 4
In accordance with the instruction, data or code is sent from the address specified by the address bus 5 to the CPU 1 via the data bus 6. As such a PROM 20, a rewritable one is used for the reasons described above.
Besides, Erasable and Electrically
A programmable ROM (hereinafter abbreviated as “EPROM”) or an electrically erasable programmable ROM (hereinafter abbreviated as “EEPROM”) is used.
【0009】さて、図11は第2の従来例における従来
のワンチップ・マイクロコンピュータの周辺回路を表す
ブロック略図である。図11において、10はワンチッ
プ・マイクロコンピュータ、40は第1の制御プロセッ
サ、50は第2の制御プロセッサ、60は外部データバ
ス、70は副電源、80は電源スイッチ、90は主電源
である。FIG. 11 is a block diagram showing the peripheral circuit of the conventional one-chip microcomputer in the second conventional example. In FIG. 11, 10 is a one-chip microcomputer, 40 is a first control processor, 50 is a second control processor, 60 is an external data bus, 70 is a sub power supply, 80 is a power switch, and 90 is a main power supply. .
【0010】以上のように構成された従来のワンチップ
・マイクロコンピュータの周辺回路に付き、その動作を
説明する。第1の制御プロセッサ40および第2の制御
プロセッサ50はそれぞれ周辺の機構(図示せず)の自
動制御を行っており、例えばコンパクト・ディスク・プ
レーヤの場合では、第1の制御プロセッサ40は光ピッ
クアップのディスクへの追従制御を行い、第2の制御プ
ロセッサ50はこの光ピックアップをディスクの径方向
への移動制御を行う。この場合であれば、ワンチップ・
マイクロコンピュータ10は、ディスクのばらつきによ
って異なる制御利得データを、外部データバス60を介
して第1の制御プロセッサ40及び第2の制御プロセッ
サ50に送信する。この制御利得データは、各制御プロ
セッサの入出力ポートを通って内蔵されたRAMに記憶
される。The operation of the peripheral circuit of the conventional one-chip microcomputer configured as described above will be described. The first control processor 40 and the second control processor 50 respectively perform automatic control of peripheral mechanisms (not shown). For example, in the case of a compact disc player, the first control processor 40 is an optical pickup. Disc follow-up control, and the second control processor 50 controls the movement of this optical pickup in the disc radial direction. In this case, one chip
The microcomputer 10 sends the control gain data, which varies depending on the disc variation, to the first control processor 40 and the second control processor 50 via the external data bus 60. This control gain data is stored in the built-in RAM through the input / output port of each control processor.
【0011】これらワンチップ・マイクロコンピュータ
10、第1の制御プロセッサ40及び第2の制御プロセ
ッサ50の電源は、通常動作時は電源スイッチ80が閉
じているので、主電源90から電源が供給されており、
何等問題はない。しかし、電源供給が絶たれると、各制
御プロセッサ内のRAMはその記憶データが消えてしま
う。そこで、そのような電源スイッチ80が開かれた状
態では副電源70が動作して各プロセッサ内のRAMが
データを消去されない程度の電圧を常に供給するもので
ある。この副電源70としては、電池やゴールド・キャ
パシタ等の大容量のコンデンサが用いられることが多
い。The power supply for the one-chip microcomputer 10, the first control processor 40, and the second control processor 50 is supplied from the main power supply 90 because the power switch 80 is closed during normal operation. Cage,
There is no problem at all. However, when the power supply is cut off, the stored data in the RAM in each control processor disappears. Therefore, in such a state that the power switch 80 is opened, the auxiliary power supply 70 operates to constantly supply a voltage that does not erase the data in the RAM in each processor. As the sub power source 70, a large capacity capacitor such as a battery or a gold capacitor is often used.
【0012】さて、第3の従来例として、図示しない
が、第1の従来例における書換可能なPROM20をワ
ンチップ・マイクロコンピュータ10に内蔵している場
合も存在する。このようなワンチップ・マイクロコンピ
ュータ10としては、PROMを内蔵するものが1回の
み書き込み可能であることからワンタイム・マイクロコ
ンピュータと呼ばれ、EPROMもしくはEEPROM
を内蔵するものが複数回書き込み可能なことからマルチ
タイム・マイクロコンピュータと呼ばれている。As a third conventional example, although not shown, the rewritable PROM 20 in the first conventional example may be built in the one-chip microcomputer 10. Such a one-chip microcomputer 10, which has a built-in PROM and is writable only once, is called a one-time microcomputer, and is an EPROM or an EEPROM.
It is called a multi-time microcomputer because the built-in one can write multiple times.
【0013】[0013]
【発明が解決しようとする課題】しかしながら、上記の
従来の構成では、それぞれ次のような問題点があった。
第1の従来例では、外付けのPROM、EPROMある
いはEEPROMなどを使用するため、基板面積が増大
するという問題点がある。また、このようなROMは通
常コストも高く、専用の「ROMライター」と呼ばれる
設備が必要となるうえ、ROMをソケットに工程で手挿
入するため、量産性が悪い上に設備費、工数、材料費な
どの製造コストを押し上げるという問題点もある。However, each of the above-mentioned conventional configurations has the following problems.
The first conventional example uses an external PROM, EPROM, EEPROM or the like, and thus has a problem that the substrate area increases. In addition, such a ROM usually has a high cost and requires a special equipment called a "ROM writer". Moreover, since the ROM is manually inserted into the socket during the process, the mass productivity is poor and the equipment cost, man-hours, and materials are low. There is also the problem of increasing manufacturing costs such as costs.
【0014】また、第2の従来例では、電池を用いる場
合にはユーザに定期的な電池交換の手間をかけさせるた
め、使い勝手の悪いものとなるという問題点がある。ま
た、この電池を充電式に換えたり、コンデンサを用いた
りしても、基板面積の増大と部品増による材料費の増加
は避けられないという問題点がある。In the second conventional example, when a battery is used, the user is required to periodically replace the battery, which is inconvenient. Further, even if the battery is replaced by a rechargeable battery or a capacitor is used, there is a problem that an increase in substrate area and an increase in material cost due to increase in parts cannot be avoided.
【0015】また、第3の従来例では、基板面積は第1
の従来例に較べて小さくはなるが、PROM、EPRO
M、EEPROMは一般に書き込み動作に高電圧を必要
とするため、例えば携帯型の製品のように低電圧を用い
る機器では使用が困難であるという問題点がある。さら
にこれらPROMの応答は一般に遅く、特に第2の従来
例においてRAM領域にこのようなPROMを用いるこ
とが高速処理を要求される制御プロセッサには不向きで
あるという問題点がある。In the third conventional example, the substrate area is the first.
Although smaller than the conventional example, PROM, EPRO
Since M and EEPROM generally require a high voltage for a write operation, there is a problem that it is difficult to use them in a device using a low voltage such as a portable product. Furthermore, the response of these PROMs is generally slow, and the use of such a PROM in the RAM area in the second conventional example is not suitable for a control processor that requires high-speed processing.
【0016】更にまた、第3の従来例において、マルチ
タイム・マイクロコンピュータとしてEPROMを用い
た場合には、EPROMの消去には紫外線を照射するこ
とが必要となる為、第2の従来例の改善策としてRAM
として使用することができないという問題点がある。E
EPROMを用いた場合には、書き込みと消去は電気的
に行えるが、書き込み・消去に時間がかかる上にマイク
ロコンピュータのチップ面積を大きくしてしまうという
問題点がある。Furthermore, in the third conventional example, when the EPROM is used as the multi-time microcomputer, it is necessary to irradiate the ultraviolet rays to erase the EPROM. Therefore, the second conventional example is improved. RAM as a measure
There is a problem that it cannot be used as. E
When an EPROM is used, writing and erasing can be performed electrically, but there are problems that writing and erasing take time and the chip area of the microcomputer becomes large.
【0017】本発明は上記の問題点を解決するもので、
第1の従来例と第3の従来例に対しては使用した製品を
生産しやすくし、かつその製品の製造工程の簡素化が可
能なワンチップ・マイクロコンピュータを提供すること
を目的とし、また第2の従来例に対しては、使用するこ
とによって、ユーザの使い勝手を向上するワンチップ・
マイクロコンピュータを提供することを目的とする。The present invention solves the above problems,
It is an object of the present invention to provide a one-chip microcomputer that makes it easier to produce the products used in the first conventional example and the third conventional example and can simplify the manufacturing process of the products. Compared to the second conventional example, it is a one-chip type that improves usability by using it.
The purpose is to provide a microcomputer.
【0018】[0018]
【課題を解決するための手段】上記目的を達成するた
め、本発明のワンチップマイクロコンピュータは、記憶
領域を強誘電体型のランダム・アクセス・メモリとする
ことを特徴とするものである。In order to achieve the above object, the one-chip microcomputer of the present invention is characterized in that the memory area is a ferroelectric random access memory.
【0019】また、外部からの操作によって書換可能な
プログラムを記憶する第1の記憶手段と、データを内部
の演算処理に応じて書換えかつ記憶する第2の記憶手段
と、を備えるものである。Further, it is provided with a first storage means for storing a program rewritable by an external operation, and a second storage means for rewriting and storing data in accordance with an internal arithmetic processing.
【0020】また、書換不可能なプログラムを記憶する
第1の記憶手段と、データを内部の演算処理に応じて書
換えかつ記憶する第2の記憶手段とを備えるワンチップ
・マイクロコンピュータにおいて、第2の記憶手段を強
誘電体型のランダム・アクセス・メモリとすることを特
徴とするものである。Further, in the one-chip microcomputer provided with the first storage means for storing the non-rewritable program and the second storage means for rewriting and storing the data in accordance with the internal arithmetic processing, The storage means is a ferroelectric random access memory.
【0021】[0021]
【作用】本発明は上記した構成により、プログラム内容
を必要に応じて自由に書換可能となり、また電源供給を
絶たれても記憶内容が消えることがなくなることとな
る。According to the present invention, the contents of the program can be freely rewritten as required by the above-mentioned constitution, and the stored contents will not be lost even if the power supply is cut off.
【0022】[0022]
【実施例】以下、本発明の実施例について、図面を参照
しながら説明する。図1は、本発明の第1の実施例にお
けるワンチップ・マイクロコンピュータのブロック略図
であり、前述の第1の従来例に対する解決策を示してい
る。同図において、100はワンチップ・マイクロコン
ピュータ、110は周辺入出力回路である。Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block schematic diagram of a one-chip microcomputer in the first embodiment of the present invention and shows a solution to the above-mentioned first conventional example. In the figure, 100 is a one-chip microcomputer, and 110 is a peripheral input / output circuit.
【0023】ワンチップ・マイクロコンピュータ100
は、全体を統御するCPU100a、外部との通信を行
う入出力ポート100c、CPU100aの作業領域と
して用いるRAM100b、応用プログラムを格納する
プログラム領域を構成する強誘電体型RAM(以下、F
RAMと略す)100e、初期設定時に動作させる初期
プログラムの格納されたマスク型のROM100d、入
出力バス100f、アドレスバス100g、データバス
100hおよび制御バス100iから構成されている。
本実施例の特徴は、プログラム領域をパーシャルROM
とし、残りをFRAMとした点にある。One-chip microcomputer 100
Is a CPU 100a that controls the whole, an input / output port 100c that communicates with the outside, a RAM 100b that is used as a work area of the CPU 100a, and a ferroelectric RAM (hereinafter referred to as "F") that constitutes a program area that stores an application program.
It is composed of a RAM 100e, a mask type ROM 100d in which an initial program to be operated at the time of initialization is stored, an input / output bus 100f, an address bus 100g, a data bus 100h and a control bus 100i.
The feature of this embodiment is that the program area is a partial ROM.
And the rest is FRAM.
【0024】このようなFRAMのメモリセルは、図2
のような構成をしている。同図において40は強誘電体
を用いたキャパシタ、41はこのキャパシタ40をスイ
ッチングするメタル・オキサイド・セミコンダクタ・ト
ランジスタ、42はデータを読み出すためのセンスアン
プにつながるビット線、43はデータをキャパシタ40
に記憶させるためのワード線である。このような構造
は、キャパシタ40を強誘電体に置き換えたのみで、既
にダイナミックRAM(以下、「DRAM」と略す)と
して公知であり、詳しい動作説明は行わない。A memory cell of such an FRAM is shown in FIG.
It has a configuration like. In the figure, 40 is a capacitor using a ferroelectric substance, 41 is a metal oxide semiconductor transistor for switching the capacitor 40, 42 is a bit line connected to a sense amplifier for reading data, 43 is data for the capacitor 40
It is a word line for storing in. Such a structure is merely known as a dynamic RAM (hereinafter, abbreviated as "DRAM") only by replacing the capacitor 40 with a ferroelectric substance, and detailed operation description will not be given.
【0025】このようなFRAMの特徴は、通常のキャ
パシタに較べて10倍以上の電荷を保持でき、不揮発性
に出来るという点にある。また書き込み電圧や書き込み
速度も、通常のDRAMと何等変わるところはなく、通
常のRAMと同様に扱えるという優れた特性を有するも
のである。The characteristic of such an FRAM is that it can hold 10 times or more electric charges as compared with an ordinary capacitor and can be made non-volatile. Further, the write voltage and the write speed are no different from those of the normal DRAM and have excellent characteristics that they can be handled in the same manner as the normal RAM.
【0026】さて、このようなワンチップ・マイクロコ
ンピュータ100の工場出荷段階で記憶されているプロ
グラムは、ROM100dに記憶された初期プログラム
のみであり、最終の商品における使用形態での応用プロ
グラムは、FRAM100eにセットメーカなどで記憶
される。By the way, the program stored in the factory of the one-chip microcomputer 100 is only the initial program stored in the ROM 100d, and the application program in the use form in the final product is the FRAM 100e. It is stored in the set manufacturer, etc.
【0027】ワンチップ・マイクロコンピュータ100
は、セット・メーカにおいて周辺入出力回路110を通
じて所定のコマンドを送り、ROM100dのプログラ
ムを起動する。このコマンドの送り方は、シリアル通信
方式でも良いし、パラレル通信方式でも良い。このRO
M100dに記憶されているプログラムによるワンチッ
プ・マイクロコンピュータ100の動作は、図3に示す
流れ図で表される。One-chip microcomputer 100
Sends a predetermined command through the peripheral input / output circuit 110 in the set maker to activate the program in the ROM 100d. The method of sending this command may be either a serial communication method or a parallel communication method. This RO
The operation of the one-chip microcomputer 100 according to the program stored in the M100d is represented by the flowchart shown in FIG.
【0028】まずステップ101において、周辺入出力
回路110から送られたプログラム・コードは、入出力
ポート100cを介してCPU100a内のレジスタ
(図示せず)に格納される。その後、ステップ102に
おいて、制御バス上にプログラムライト(PWR)信号
を送り、FRAM100eを書き込みモードにして、こ
のプログラム・コードをアドレスバス100gで指示し
たFRAM100eの番地にデータバス100hを介し
て転送する。その後、入出力ポート100cにデータの
終了を示すエンド・コードが入力されていないか否かを
判別し、もしエンド・コードが送られていなければ、処
理を再びステップ101に戻し、そうでなければ一連の
プログラム書き込みの処理を終了する。First, in step 101, the program code sent from the peripheral input / output circuit 110 is stored in a register (not shown) in the CPU 100a via the input / output port 100c. Then, in step 102, a program write (PWR) signal is sent to the control bus to put the FRAM 100e in the write mode, and this program code is transferred to the address of the FRAM 100e designated by the address bus 100g via the data bus 100h. After that, it is determined whether or not an end code indicating the end of data is input to the input / output port 100c. If the end code is not sent, the process is returned to step 101, and otherwise. A series of program writing processing ends.
【0029】なお、データ受信の終了は、ステップ10
3においてエンド・コードを判別するものとしたが、外
部から専用の信号線を設けてエンド信号を受信しても良
い。Incidentally, the end of the data reception is the step 10
Although the end code is discriminated in 3, the end signal may be received from the outside by providing a dedicated signal line.
【0030】これらの初期化の処理が終わった後では、
FRAM100eは、上述のようなプログラム書き込み
処理をしない限り、ワンチップ・マイクロコンピュータ
100は、図10に示した従来例のマイクロコンピュー
タ10と同様の機能を有することとなる。After these initialization processes are completed,
In the FRAM 100e, the one-chip microcomputer 100 has the same function as the microcomputer 10 of the conventional example shown in FIG. 10 unless the program write processing as described above is performed.
【0031】図4は、本発明の第2の実施例におけるワ
ンチップ・マイクロコンピュータのブロック略図であ
り、前述の第1の従来例に対する解決策を示している。
同図において、CPU200a、RAM200b、FR
AM200e、アドレスバス200gおよびデータバス
200hは、第1の実施例におけるCPU100a、R
AM100b、FRAM100e、アドレスバス100
gおよびデータバス100hと同一である。本実施例の
特徴は、第1の実施例においてROM100d上のプロ
グラムを実行することによって行ったプログラム・コー
ドのFRAM100eへの転送を、専用のハードウェア
である書換回路200dを設けて負担させる点にある。FIG. 4 is a schematic block diagram of a one-chip microcomputer in the second embodiment of the present invention, showing a solution to the above-mentioned first conventional example.
In the figure, CPU 200a, RAM 200b, FR
The AM 200e, the address bus 200g, and the data bus 200h are the CPUs 100a, R in the first embodiment.
AM100b, FRAM100e, address bus 100
g and the data bus 100h. The feature of this embodiment is that the transfer of the program code to the FRAM 100e, which is performed by executing the program on the ROM 100d in the first embodiment, is burdened by providing the rewriting circuit 200d which is a dedicated hardware. is there.
【0032】さて、周辺入出力回路110からプログラ
ム・コードの転送が入出力ポート200cに指示される
と、書換指令信号Stが入出力ポート200cから書換
回路200dに送られる。これによって書換回路200
dは、制御バス200i上のPWR信号を送り、FRA
M200eを書き込みモードにし、アドレスバス200
g上にプログラム・コードを書き込むべき番地を指示
し、データバス200hを介して、FRAM200eに
プログラム・コードを転送する。When the peripheral I / O circuit 110 instructs the I / O port 200c to transfer the program code, the rewrite command signal St is sent from the I / O port 200c to the rewrite circuit 200d. As a result, the rewriting circuit 200
d sends the PWR signal on the control bus 200i,
Set the M200e to the write mode and set the address bus 200
The address to write the program code is designated on g, and the program code is transferred to the FRAM 200e via the data bus 200h.
【0033】以上のように第1及び第2の実施例によれ
ば、周辺入出力回路110によってセットメーカが所望
のときにワンチップ・マイクロコンピュータ100のプ
ログラムを自由に書き換えできるので、外付けのEEP
ROMなどが不要となる。As described above, according to the first and second embodiments, the program of the one-chip microcomputer 100 can be freely rewritten by the peripheral input / output circuit 110 when the set maker desires. EEP
ROM etc. are unnecessary.
【0034】図5は、本発明の第3の実施例におけるワ
ンチップ・マイクロコンピュータのブロック略図を示す
ものであり、前述の第2の従来例に対する解決策を示す
ものである。同図において、CPU300a、アドレス
バス300f、データバス300g及び制御バス300
hは、図10に示したCPU1、アドレスバス6、デー
タバス5および制御バス4と同一である。本実施例の特
徴は、FRAM300bをCPU300aの作業領域と
して設けた点にある。FIG. 5 is a block diagram of a one-chip microcomputer according to the third embodiment of the present invention and shows a solution to the above-mentioned second conventional example. In the figure, a CPU 300a, an address bus 300f, a data bus 300g, and a control bus 300.
h is the same as the CPU 1, address bus 6, data bus 5 and control bus 4 shown in FIG. The feature of this embodiment is that the FRAM 300b is provided as a work area of the CPU 300a.
【0035】これにより、一旦FRAM300bに記憶
されたデータは、電源を切られても記憶されたままとな
る。これにより図6に示すごとき応用が可能となる。即
ち、図6に示すように、第1の制御プロセッサ310及
び第2の制御プロセッサ320も作業領域にFRAMを
用いることにより、電源90が電源スイッチ80を開か
れて遮断されても、図11に示す電池70を設けなくと
も制御定数などが保持される。また、低電圧で動作可能
なため携帯型の製品のような電池仕様の機器でも使用可
能である。As a result, the data once stored in the FRAM 300b remains stored even when the power is turned off. This enables the application as shown in FIG. That is, as shown in FIG. 6, even when the first control processor 310 and the second control processor 320 also use the FRAM in the work area, even if the power source 90 is cut off by opening the power switch 80, FIG. The control constants and the like are held even if the battery 70 shown is not provided. Further, since it can operate at a low voltage, it can be used in a battery-specific device such as a portable product.
【0036】以上のように本実施例によれば、本質的に
電池が不要となり、ユーザの使い勝手が向上することと
なる。As described above, according to this embodiment, the battery is essentially unnecessary and the usability for the user is improved.
【0037】なお、以上の実施例では、FRAMのメモ
リセルは、DRAM型としたが、スタティックRAMの
メモリセル構造としてキャパシタを強誘電体にしても良
い。また、作業領域をFRAMに置き換えた場合とプロ
グラム領域をFRAMに置き換えた場合について、それ
ぞれ独立としてきたが、これらの領域を全てFRAMと
しても良い。In the above embodiments, the memory cell of the FRAM is a DRAM type, but the capacitor may be a ferroelectric as the memory cell structure of the static RAM. Further, the case where the work area is replaced with the FRAM and the case where the program area is replaced with the FRAM have been made independent, but all of these areas may be made the FRAM.
【0038】このような場合を図示すると、図7〜図9
のようになる。即ち、図7においては図1におけるRA
M100bとROM100dをそれぞれFRAM100
j、100kに置換した場合を、図8においては図4に
おけるRAM200bをFRAM200jに置換した場
合を、図9においては図5におけるROM300bをF
RAM300iに置換した場合を示す。これら図7〜図
9のいずれの場合も、それぞれ図1、図4、図5の場合
と全く同様に機能する。FIG. 7 to FIG. 9 show such a case.
become that way. That is, in FIG. 7, RA in FIG.
M100b and ROM100d are respectively FRAM100
j and 100k, the RAM 200b in FIG. 4 is replaced with the FRAM 200j in FIG. 8, and the ROM 300b in FIG. 5 is replaced with the FRAM 200j in FIG.
The case where the RAM 300i is replaced is shown. In any of these FIGS. 7 to 9, the same functions as in the cases of FIGS. 1, 4 and 5, respectively.
【0039】[0039]
【発明の効果】以上の実施例のように本発明のワンチッ
プ・マイクロコンピュータは、請求項1〜5では、FR
AMで構成したプログラム領域を、外部からの通信によ
って自由に書き換えることができるため、第1の従来例
において、製品にはPROM、EPROMあるいはEE
PROMなどを外付けする必要がなくなり、基板面積が
小さくて済むので、製品の小型化が容易となる。また専
用のROMライターも必要なくなり、ROM素子をソケ
ットに工程で手挿入する必要もなく、量産性が向上し、
さらに設備費、工数、材料費などの製造に係るコストを
下げることができるものである。According to the one-chip microcomputer of the present invention as in the above-mentioned embodiments, the FRs in claims 1 to 5 are:
Since the program area constituted by AM can be freely rewritten by communication from the outside, in the first conventional example, the product is a PROM, EPROM or EE.
Since it is not necessary to attach a PROM or the like externally and the substrate area is small, the product can be easily downsized. In addition, there is no need for a dedicated ROM writer, and there is no need to manually insert the ROM element into the socket during the process, improving mass productivity,
Further, manufacturing costs such as equipment costs, man-hours, and material costs can be reduced.
【0040】また、低電圧動作が可能なうえに書き込み
・消去の時間が改善されるため、従来のワンタイム・マ
イクロコンピュータの問題点であった低電圧動作する製
品への応用も制限されなくなる。また、プログラム書き
換えの為の通信を行うことにより、プログラムにバグが
あった場合でも、製品上でプログラムを書き換えること
が可能なため、製品或いはマイクロコンピュータの載っ
た基板を不良品とすることがなくなり、また短時間でバ
グを修正した製品を製造できるため、製品の開発期間の
短縮と製品の品質向上を図ることができる。Further, since the low voltage operation is possible and the writing / erasing time is improved, the application to the low voltage operating product, which is a problem of the conventional one-time microcomputer, is not limited. Also, by communicating for program rewriting, even if there is a bug in the program, it is possible to rewrite the program on the product, so the product or the board on which the microcomputer is mounted is not made a defective product. Moreover, since the product with the bug fixed can be manufactured in a short time, the development period of the product can be shortened and the quality of the product can be improved.
【0041】また、請求項6では作業領域をFRAMで
構成する事によって、第2の従来例において、RAMを
保持させるための電池を用いる必要がないので、ユーザ
に定期的な電池交換の手間をかけず、使い勝手の良いも
のとなる。また、この電池による基板面積の増大と部品
増による材料費の増加を抑えることができるので、コス
トダウンと小型化が容易となる。According to the sixth aspect of the invention, since the work area is composed of the FRAM, it is not necessary to use the battery for holding the RAM in the second conventional example, so that the user does not have to perform the periodical battery replacement. It will be easy to use without hanging up. In addition, since it is possible to suppress an increase in substrate area due to the battery and an increase in material cost due to an increase in parts, cost reduction and downsizing are facilitated.
【図1】 本発明の第1の実施例におけるワンチップ・
マイクロコンピュータのブロック略図である。FIG. 1 is a one-chip chip according to a first embodiment of the present invention.
1 is a block schematic diagram of a microcomputer.
【図2】 同実施例におけるFRAMの構成図である。FIG. 2 is a configuration diagram of an FRAM in the same embodiment.
【図3】 同実施例におけるワンチップ・マイクロコン
ピュータの初期動作を表す流れ図である。FIG. 3 is a flowchart showing an initial operation of the one-chip microcomputer in the embodiment.
【図4】 本発明の第2の実施例におけるワンチップ・
マイクロコンピュータのブロック略図である。FIG. 4 is a one-chip chip according to the second embodiment of the present invention.
1 is a block schematic diagram of a microcomputer.
【図5】 本発明の第3の実施例におけるワンチップ・
マイクロコンピュータのブロック略図である。FIG. 5 is a one-chip chip according to the third embodiment of the present invention.
1 is a block schematic diagram of a microcomputer.
【図6】 同実施例におけるワンチップ・マイクロコン
ピュータを複数使用する場合の回路構成図である。FIG. 6 is a circuit configuration diagram when a plurality of one-chip microcomputers are used in the embodiment.
【図7】 本発明の第1の実施例におけるワンチップ・
マイクロコンピュータについてRAMとROMをFRA
Mに変更した場合のブロック略図である。FIG. 7 is a one-chip chip according to the first embodiment of the present invention.
FRA for RAM and ROM for microcomputers
It is a block schematic diagram when changing to M.
【図8】 本発明の第2の実施例におけるワンチップ・
マイクロコンピュータについてRAMをFRAMに変更
した場合のブロック略図である。FIG. 8 is a one-chip chip according to the second embodiment of the present invention.
It is a block schematic diagram when changing RAM to FRAM about a microcomputer.
【図9】 本発明の第3の実施例におけるワンチップ・
マイクロコンピュータについてROMをFRAMに変更
した場合のブロック略図である。FIG. 9 is a one-chip chip according to the third embodiment of the present invention.
It is a block schematic diagram when changing ROM to FRAM about a microcomputer.
【図10】 本発明の第1の従来例におけるワンチップ
・マイクロコンピュータのブロック略図である。FIG. 10 is a block schematic diagram of a one-chip microcomputer in the first conventional example of the present invention.
【図11】 本発明の第2の従来例におけるワンチップ
・マイクロコンピュータのブロック略図である。FIG. 11 is a block schematic diagram of a one-chip microcomputer in a second conventional example of the present invention.
60 外部データバス 80 電源スイッチ 90 主電源 100、200、300 ワンチップ・マイクロコン
ピュータ 110 周辺入出力回路 310、320 制御プロセッサ60 external data bus 80 power switch 90 main power supply 100, 200, 300 one-chip microcomputer 110 peripheral input / output circuit 310, 320 control processor
Claims (8)
セス・メモリとすることを特徴とするワンチップ・マイ
クロコンピュータ。1. A one-chip microcomputer, characterized in that the memory area is a ferroelectric random access memory.
グラムを記憶する第1の記憶手段と、 データを内部の演算処理に応じて書換えかつ記憶する第
2の記憶手段と、を備えるワンチップ・マイクロコンピ
ュータ。2. A one-chip micro, comprising a first storage means for storing a program rewritable by an external operation, and a second storage means for rewriting and storing data in accordance with internal arithmetic processing. Computer.
ム・アクセス・メモリとすることを特徴とする請求項2
に記載のワンチップ・マイクロコンピュータ。3. The first storage means is a ferroelectric random access memory.
The one-chip microcomputer described in.
憶された書換不能なリード・オンリー・メモリと、 強誘電体型のランダム・アクセス・メモリによって構成
された記憶領域と、を備え、上記リード・オンリー・メ
モリーに記憶されたプログラムに従って上記記憶領域へ
上記受信手段の出力を転送することを特徴とする請求項
2に記載のワンチップ・マイクロコンピュータ。4. The first storage means comprises a receiving means for receiving a communication command from the outside, a non-rewritable read-only memory in which a program to be started according to the output of the receiving means is stored, and A storage area constituted by a dielectric random access memory, and the output of the receiving means is transferred to the storage area according to a program stored in the read-only memory. The one-chip microcomputer described in 2.
された記憶領域と、 上記第1の受信手段の出力に応じて、上記第2の受信手
段の出力を上記記憶領域に転送する転送手段と、を備え
る請求項2に記載のワンチップ・マイクロコンピュー
タ。5. The first storage means includes first receiving means for receiving a communication permission command from the outside, second receiving means for receiving communication data from the outside, and ferroelectric random access memory. The one-chip according to claim 2, further comprising: a storage area configured by a memory; and a transfer means for transferring an output of the second reception means to the storage area according to an output of the first reception means. -Microcomputer.
ム・アクセス・メモリとすることを特徴とする請求項2
に記載のワンチップ・マイクロコンピュータ。6. The second storage means is a ferroelectric random access memory.
The one-chip microcomputer described in.
の記憶手段と、 データを内部の演算処理に応じて書換えかつ記憶する第
4の記憶手段と、を備えるワンチップ・マイクロコンピ
ュータにおいて、第4の記憶手段を強誘電体型のランダ
ム・アクセス・メモリとすることを特徴とするワンチッ
プ・マイクロコンピュータ。7. A third memory for storing a non-rewritable program.
In the one-chip microcomputer, the fourth storage means includes a ferroelectric random access memory and a fourth storage means for rewriting and storing data according to internal arithmetic processing. A one-chip microcomputer characterized by:
憶する領域の両方を強誘電体型のランダム・アクセス・
メモリとすることを特徴とするワンチップ・マイクロコ
ンピュータ。8. A ferroelectric random access memory is provided for both the area for storing a program and the area for storing data.
A one-chip microcomputer characterized by being a memory.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6171150A JPH0836558A (en) | 1994-07-22 | 1994-07-22 | One-chip microcomputer |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP6171150A JPH0836558A (en) | 1994-07-22 | 1994-07-22 | One-chip microcomputer |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH0836558A true JPH0836558A (en) | 1996-02-06 |
Family
ID=15917923
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP6171150A Pending JPH0836558A (en) | 1994-07-22 | 1994-07-22 | One-chip microcomputer |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH0836558A (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7243311B2 (en) | 2004-05-28 | 2007-07-10 | Rohm Co., Ltd. | Method and apparatus for supporting development of integrated circuit and a transactional business method involving contracting and licensing |
| JP2010086407A (en) * | 2008-10-01 | 2010-04-15 | Rohm Co Ltd | Electronic equipment |
| JP2010171772A (en) * | 2009-01-23 | 2010-08-05 | Rohm Co Ltd | Cellular phone |
| US8543850B2 (en) | 2008-10-01 | 2013-09-24 | Rohm Co., Ltd. | Electronic device |
-
1994
- 1994-07-22 JP JP6171150A patent/JPH0836558A/en active Pending
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7243311B2 (en) | 2004-05-28 | 2007-07-10 | Rohm Co., Ltd. | Method and apparatus for supporting development of integrated circuit and a transactional business method involving contracting and licensing |
| JP2010086407A (en) * | 2008-10-01 | 2010-04-15 | Rohm Co Ltd | Electronic equipment |
| US8543850B2 (en) | 2008-10-01 | 2013-09-24 | Rohm Co., Ltd. | Electronic device |
| JP2010171772A (en) * | 2009-01-23 | 2010-08-05 | Rohm Co Ltd | Cellular phone |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US5900008A (en) | Semiconductor integrated circuit device | |
| KR101165429B1 (en) | Semiconductor memory device and access method and memory control system for same | |
| WO2004025474A1 (en) | A memory circuit comprising a non-volatile ram and a ram | |
| KR19980042796A (en) | Microcomputer comprising flash EEPROM and method of erasing flash EEPROM | |
| US6038635A (en) | Microcomputer containing flash EEPROM therein | |
| JPH0836558A (en) | One-chip microcomputer | |
| JPH06275084A (en) | Nonvolatile semiconductor storage and data processor using the same | |
| JPS623516B2 (en) | ||
| JPH0675836A (en) | Auxiliary storage device | |
| US6002856A (en) | Semiconductor integrated circuit device | |
| US5757698A (en) | Nonvolatile semiconductor for reading data at a read request even during the writing of data | |
| KR20000033437A (en) | Apparatus for implementing function of bootstrap loader | |
| US20060282626A1 (en) | Memory device and method of controlling operation of the memory device | |
| JPH10307749A (en) | Memory device | |
| JPH01181146A (en) | Single-chip microcomputer | |
| JPS63305444A (en) | Storage device | |
| JPH1050086A (en) | Microcomputer having eeprom and its rewriting method | |
| JPH0363892A (en) | Single chip type microcomputer | |
| JP2002032996A (en) | Microcomputer system | |
| JPS63143656A (en) | Microcomputer device | |
| JP3891543B2 (en) | Nonvolatile semiconductor memory device | |
| JPS646600B2 (en) | ||
| US20040170073A1 (en) | Semiconductor storage unit | |
| JP2581057B2 (en) | Evaluation microcomputer | |
| JPH11143782A (en) | Rewriting device of non-volatile memory in information processor and method therefor |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20040127 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040225 |
|
| A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20040308 |
|
| A911 | Transfer of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A911 Effective date: 20040312 |
|
| A912 | Removal of reconsideration by examiner before appeal (zenchi) |
Free format text: JAPANESE INTERMEDIATE CODE: A912 Effective date: 20050428 |