JPH05233847A - Microcomputer - Google Patents

Microcomputer

Info

Publication number
JPH05233847A
JPH05233847A JP4007183A JP718392A JPH05233847A JP H05233847 A JPH05233847 A JP H05233847A JP 4007183 A JP4007183 A JP 4007183A JP 718392 A JP718392 A JP 718392A JP H05233847 A JPH05233847 A JP H05233847A
Authority
JP
Japan
Prior art keywords
circuit
power supply
signal
switching
voltage
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
JP4007183A
Other languages
Japanese (ja)
Other versions
JP2998386B2 (en
Inventor
Toshio Enomoto
敏雄 榎本
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.)
NEC Corp
Original Assignee
NEC 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 NEC Corp filed Critical NEC Corp
Priority to JP4007183A priority Critical patent/JP2998386B2/en
Publication of JPH05233847A publication Critical patent/JPH05233847A/en
Application granted granted Critical
Publication of JP2998386B2 publication Critical patent/JP2998386B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Microcomputers (AREA)

Abstract

PURPOSE:To respectively independently measure a power source monitor circuit operating voltage and the bottom operating voltage by providing a switching circuit to switch and output a power source monitor signal while being controlled by a switching signal outputted from a system control circuit. CONSTITUTION:In addition to a ROM 1, RAM 2, CPU 3 and input/output port 4 provided at the conventional microcomputer, a switching circuit 13 is provided to connect the output signal of a power source monitor circuit 8 by switching that signal through a terminal (b) to a reset signal generating circuit 9 and through a terminal (c) to a power source monitor output signal line 16 while being controlled by a switching signal 14 outputted from a system control circuit 5. When a power supply voltage VD is decreased to a certain point, the power source monitor circuit 8 is operated, and that signal is outputted through the power source monitor output signal line 16 to the outside. An LSI tester reads this signal and decides the power supply voltage at that time as the power source monitor circuit operating voltage. Since the switching circuit 13 is connected to a terminal (a) or (c) at such a time, no reset signal 10 is generated.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はマイクロコンピュータに
関し、特に電源監視回路を内蔵したマイクロコンピュー
タのテスト回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a microcomputer, and more particularly to a microcomputer test circuit having a power supply monitoring circuit built therein.

【0002】[0002]

【従来の技術】従来、電源監視回路を内蔵したマイクロ
コンピュータは、図3に示すように、ROM1とそのバ
ス制御回路15,RAM2,CPU3,システム制御回
路5,リセット信号生成回路9,電源監視回路8,内部
バス6,テストモード設定信号線11,テストモード信
号線12およびリセット信号線10とを有し、外部バス
7を介して外部回路と信号の授受をしていた。
2. Description of the Related Art Conventionally, as shown in FIG. 3, a microcomputer having a built-in power supply monitoring circuit has a ROM 1 and its bus control circuit 15, RAM 2, CPU 3, system control circuit 5, reset signal generation circuit 9, power supply monitoring circuit. 8. The internal bus 6, the test mode setting signal line 11, the test mode signal line 12 and the reset signal line 10 are provided, and signals are exchanged with an external circuit via the external bus 7.

【0003】次にこのマイクロコンピュータの選別テス
ト項目のうち、最低動作保証電圧のテストについて説明
する。最低動作保証電圧は、このマイクロコンピュータ
を外部バス7を介してLSIテスタに接続し、電源電圧
を所定の電圧値に設定する。そしてテストモード設定信
号11をアクティブにし、ROM1につながるバス制御
回路15を制御してROM1を内部バス6から切離す。
Next, the test of the minimum operation guarantee voltage among the selection test items of the microcomputer will be described. As the minimum operation guarantee voltage, this microcomputer is connected to the LSI tester via the external bus 7 and the power supply voltage is set to a predetermined voltage value. Then, the test mode setting signal 11 is activated and the bus control circuit 15 connected to the ROM 1 is controlled to disconnect the ROM 1 from the internal bus 6.

【0004】次に入出力ポート4を制御してLSIテス
タから外部バス7を介し命令を入力し、その実行時の状
態を外部バス7に出力する。LSIテスタはこの状態を
読取り予めシミュレーションデ求められている期待値デ
ータと比較して、マイクロコンピュータが正常に動作し
ているかを判定する。
Next, the input / output port 4 is controlled to input an instruction from the LSI tester through the external bus 7, and the execution state is output to the external bus 7. The LSI tester reads this state and compares it with expected value data which is obtained in advance by simulation and determines whether the microcomputer is operating normally.

【0005】[0005]

【発明が解決しようとする課題】この従来の電源監視回
路を内蔵したマイクロコンピュータは、最低動作保証電
圧のテストにおいて(最低動作保証電圧)VMIN>
(電源監視回路動作電圧)VOP>(最低動作電圧)V
OMIの条件を満たしているかどうかのテストが重要で
ある。従来行われていたテストでは、図4に示すように
そのマイクロコンピュータの動作規格に規定する最低動
作保証電圧VMINに対し適度なマージンを下にとり、
その電源電圧にて正常動作をするかを判定していた。
In the conventional microcomputer incorporating the power supply monitoring circuit, a minimum operation guarantee voltage test (minimum operation guarantee voltage) VMIN>
(Power supply monitoring circuit operating voltage) VOP> (Minimum operating voltage) V
It is important to test whether the OMI conditions are met. In a conventional test, as shown in FIG. 4, an appropriate margin is set below the minimum operation guarantee voltage VMIN specified in the operation standard of the microcomputer,
It was determined whether to operate normally with the power supply voltage.

【0006】一般に最低動作保証電圧よりも低い電源電
圧ではその動作は保証できないため、誤動作をする可能
性がある。一方ある温度において電源投入時に、OVか
ら動作電圧へ遷移する過程において、先にあげた誤動作
領域を通過せざるえを得ない。つまり、マイクロコンピ
ュータは電源投入スタート時に誤動作領域の動作履歴を
保持したまま通常動作領域で動作を開始する可能性が残
り、この時は誤動作となる。
In general, the operation cannot be guaranteed with a power supply voltage lower than the minimum operation guarantee voltage, so that a malfunction may occur. On the other hand, when the power is turned on at a certain temperature, in the process of transitioning from the OV to the operating voltage, there is no choice but to pass through the malfunction region mentioned above. In other words, there is a possibility that the microcomputer will start operating in the normal operation area while retaining the operation history of the operation area when the power is turned on.

【0007】この問題の解決方法として、図5(a)に
示すようにマイクロコンピュータが実際に動作を開始す
る最低動作電圧よりも高いレベルで電源監視回路が動作
してシステム全体を初期化する方式がある。
As a solution to this problem, as shown in FIG. 5 (a), the power supply monitoring circuit operates at a level higher than the minimum operating voltage at which the microcomputer actually starts operating, and the entire system is initialized. There is.

【0008】従来のテストでは、図4に示したように最
低動作保証電圧VMINに対し下に適当なマージンをと
った電源電圧のテストポイントPでテストをしていた。
このため、電源監視回路を内蔵したマイクロコンピュー
タにことテストを行うと、電源監視回路が動作し、マイ
クロコンピュータにリセットが掛ったままテストしてし
まう場合があるという問題があった。
In the conventional test, as shown in FIG. 4, the test is performed at the test point P of the power supply voltage with a proper margin below the minimum operation guarantee voltage VMIN.
Therefore, when a test is performed on a microcomputer having a power supply monitoring circuit, there is a problem that the power supply monitoring circuit operates and the microcomputer may be tested while being reset.

【0009】また、電源監視回路動作電圧VOPと最低
動作電圧について独立にテストできないとめ、図5
(b)に示すようにVMIN>VOMI>VOPとなる
ICも良品として判定してしまう。
Further, since it is not possible to independently test the operating voltage VOP and the minimum operating voltage of the power supply monitoring circuit, FIG.
As shown in (b), ICs that satisfy VMIN>VOMI> VOP are also judged as non-defective products.

【0010】このようなICは電源電圧をOVから上げ
て行くと、まず電源監視回路が動作し、その後ICが動
作を開始するため誤動作領域Bの履歴を最低動作保証電
圧以上の安定動作領域まで持こみ誤動作をする不具合品
である。つまり、不具合品の除去ができないという問題
がありまたこのようなICは図5(c)に示すような電
池交換時の電圧変化に対しても誤動作をする。
In such an IC, when the power supply voltage is raised from OV, the power supply monitoring circuit operates first, and then the IC starts operating, so that the history of the malfunction area B is extended to the stable operation area above the minimum guaranteed operation voltage. This is a defective product that causes malfunctions when carried. That is, there is a problem that the defective product cannot be removed, and such an IC also malfunctions with respect to the voltage change at the time of battery replacement as shown in FIG.

【0011】[0011]

【課題を解決するための手段】本発明のマイクロコンピ
ュータは、内部にROM,RAM,CPU,入出力ポー
ト内部バスおよびそれらによって構成される内部回路シ
ステムを制御するシステム制御回路とリセット信号生成
回路を有し、前記内部回路システムに供給され電源電圧
を監視して、所定電圧において電源監視信号を出力して
リセット信号生成回路を動作させるリセット信号生成信
号を出力する電源電圧監視回路を含むマイクロコンピュ
ータにおいて、前記電源監視回路の出力端と前記リセッ
ト信号生成回路の入力端の間に、前記システム制御回路
の出力する切換信号に制御されて前記電源監視信号を切
換え出力する切換回路を挿入して構成されている。
A microcomputer of the present invention internally includes a ROM, a RAM, a CPU, an input / output port internal bus, and a system control circuit and a reset signal generation circuit for controlling an internal circuit system constituted by them. A microcomputer including a power supply voltage monitoring circuit that monitors a power supply voltage supplied to the internal circuit system, outputs a power supply monitoring signal at a predetermined voltage, and outputs a reset signal generation signal for operating a reset signal generation circuit. A switching circuit for switching and outputting the power supply monitoring signal under the control of the switching signal output from the system control circuit is inserted between the output terminal of the power supply monitoring circuit and the input terminal of the reset signal generating circuit. ing.

【0012】[0012]

【実施例】次に本発明について図面を参照して説明す
る。図1は本発明のマイクロコンピュータのブロック図
である。本実施例のマイクロコンピュータは、図3の従
来のマイクロコンピュータの有するROM1,RAM
2,CPU3および入出力ポート4に、システム制御回
路5の出力する切換信号14に制御されて電源監視回路
8の出力信号を、b端を介してリセット信号生成回路9
に、またc端を介して電源監視出力信号線16に切換え
て接続する切換回路13を付加している。
The present invention will be described below with reference to the drawings. FIG. 1 is a block diagram of a microcomputer of the present invention. The microcomputer of this embodiment is the ROM1 and RAM of the conventional microcomputer shown in FIG.
2, the CPU 3 and the input / output port 4 are controlled by the switching signal 14 output from the system control circuit 5 to output the output signal of the power supply monitoring circuit 8 to the reset signal generation circuit 9 via the terminal b.
In addition, a switching circuit 13 for switching and connecting to the power supply monitoring output signal line 16 via the terminal c is added.

【0013】次に、動作を説明すると、通常モードの電
源投入スタート時は切換回路13のa・b端が接してお
り、電源電圧VDの上昇と共に、個々の回路がバラバラ
に動作を開始し、電源監視回路8の作動をトリガとして
リセット信号生成回路9が動作し、システムリセットを
して通常動作状態となる。
Next, the operation will be described. At the start of power-on in the normal mode, the ends a and b of the switching circuit 13 are in contact with each other, and as the power supply voltage VD rises, the individual circuits start to operate independently. The reset signal generation circuit 9 operates by the operation of the power supply monitoring circuit 8 as a trigger to reset the system and enter the normal operation state.

【0014】一方テストモード時は、外部よりテストモ
ード設定信号11をアクティブにすることでテストモー
ド信号12アクティブにし、バス制御回路15を動作さ
せ、ROM1を内部バス6から切離す。また外部バスよ
り入出力ポート4を介して内部に命令を入れて種々のテ
ストを行いその結果を入出力ポート4を介して外部バス
7に出力し、結果を読出し、LSIテスタにてパターン
との照合を行なう。
On the other hand, in the test mode, the test mode signal 12 is activated by externally activating the test mode setting signal 11, the bus control circuit 15 is operated, and the ROM 1 is disconnected from the internal bus 6. In addition, an instruction is input from the external bus via the input / output port 4, various tests are performed, the results are output to the external bus 7 via the input / output port 4, the results are read, and the LSI tester outputs the pattern. Match.

【0015】また、最低動作電圧VOMIのテストはテ
ストモードスタート時に切換回路13をa・b端方向に
切換えて電源を立上げ、システムリセットをかけて動作
を開始しておき、その後切換信号14をアクティブにし
て、切換回路13をa・c端に切換えた後に、外部から
命令を入れ、その出力により内部の動作を照合しながら
電源電圧を下げていく。
Further, in the test of the minimum operating voltage VOMI, when the test mode starts, the switching circuit 13 is switched to the a / b end direction to turn on the power supply, the system is reset to start the operation, and then the switching signal 14 is applied. After the switch circuit 13 is activated and the switching circuit 13 is switched to the terminals a and c, a command is input from the outside, and the output is used to lower the power supply voltage while checking the internal operation.

【0016】電源電圧VDがあるポイントまで下がる
と、電源監視回路8が作動し、その信号は電源監視出力
信号線16を介して外部に出力される。LSIテスタは
この信号を読み、その時の電源電圧を電源監視回路作動
電圧とする。この時切換回路13はa・c端に接続され
ているのでリセット信号10は発生しない。
When the power supply voltage VD drops to a certain point, the power supply monitoring circuit 8 operates and its signal is output to the outside through the power supply monitoring output signal line 16. The LSI tester reads this signal and uses the power supply voltage at that time as the power supply monitoring circuit operating voltage. At this time, since the switching circuit 13 is connected to the terminals a and c, the reset signal 10 is not generated.

【0017】さらに電源電圧VDを下げていくと、内部
の状態出力とLSIテスタの期待値が異なるところが現
れる。この時の電源電圧VDを最低動作電圧VOMIと
する。ここで電源監視回路作動電圧VOPと最低動作電
圧VOMIが上記の説明と逆の場合は、それぞれの状態
の変化の順も上記説明の逆となる。
When the power supply voltage VD is further lowered, a portion where the internal state output and the expected value of the LSI tester are different appears. The power supply voltage VD at this time is the minimum operating voltage VOMI. Here, when the power supply monitoring circuit operating voltage VOP and the minimum operating voltage VOMI are opposite to the above description, the order of change of each state is also opposite to the above description.

【0018】図2は本発明の第2の実施例のブロック図
である。第1の実施例との相違は、マイクロコンピュー
タの内部に予めテスト用のプログラムを入れたテストR
OM17と制御バス15が付加されている点である。
FIG. 2 is a block diagram of the second embodiment of the present invention. The difference from the first embodiment is that the test R in which a test program is previously stored in the microcomputer.
The point is that the OM 17 and the control bus 15 are added.

【0019】第1の実施例の場合において、最低動作電
圧VOMIを求める場合、外部より命令を入れ、それの
実行が正しく行われるかを判定していた。
In the case of the first embodiment, when the minimum operating voltage VOMI is obtained, an instruction is input from the outside and it is determined whether the instruction is executed correctly.

【0020】本実施例の場合は、予めテストROM17
が行っているのでこのテストROM17に書かれている
命令を読出し実行する。実行結果はいったんRAM上に
メモリし、それを後で読出し、LSIテスタ上の期待値
と照合し、その結果が正しい限界値を最低動作電圧VO
MIとする。本実施例のマイクロコンピュータは、RO
M1による最低動作電圧VOMIの限界もテストROM
17の物理的構造をROM1と同一にしておけばテスト
ROM17の限界で代用できる。
In the case of the present embodiment, the test ROM 17 is previously prepared.
Is executed, the instruction written in the test ROM 17 is read and executed. The execution result is once stored in the RAM, read out later, and compared with the expected value on the LSI tester, and the correct result is used as the minimum operating voltage VO.
Let's call it MI. The microcomputer of this embodiment is an RO
Test ROM for the minimum operating voltage VOMI due to M1
If the physical structure of the ROM 17 is the same as that of the ROM 1, the limit of the test ROM 17 can be substituted.

【0021】さらに本実施例によれば、クロックを与え
て内部命令群の実行結果をRAM2から読出すので、L
SIテスタを用いて並列測定でき、生産能力が上がる。
Further, according to this embodiment, since the execution result of the internal instruction group is read from the RAM 2 by applying the clock, L
Parallel measurement can be performed using the SI tester, increasing the production capacity.

【0022】[0022]

【発明の効果】以上説明したように本発明は電源監視回
路内蔵マイクロコンピュータにおいて、電源監視回路作
動電圧と最低動作電圧をそれぞれ独立に測定できるとい
う効果を有する。
As described above, the present invention has an effect that the operating voltage of the power supply monitoring circuit and the minimum operating voltage can be measured independently in the microcomputer having the power supply monitoring circuit.

【0023】これによる〔(最低動作保証電圧)VMI
N>(電源監視回路動作電圧)VOP>(最低動作電
圧)VOMI〕という関係を保証でき、電源投入時に不
具合動作をおこすチップを選別にて除去できるので、品
質の向上に大きな効果がある。
Due to this, [(minimum operation guarantee voltage) VMI
N> (power supply monitoring circuit operating voltage) VOP> (minimum operating voltage) VOMI] can be assured, and chips that cause defective operation when power is turned on can be selected and removed, which is a great improvement in quality.

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

【図1】本発明の第1の実施例のブロック図である。FIG. 1 is a block diagram of a first embodiment of the present invention.

【図2】本発明の第2の実施例のブロック図である。FIG. 2 is a block diagram of a second embodiment of the present invention.

【図3】従来のマイクロコンピュータの一例のブロック
図である。
FIG. 3 is a block diagram of an example of a conventional microcomputer.

【図4】図3のブロックの動作を説明するための電圧特
性図である。
FIG. 4 is a voltage characteristic diagram for explaining the operation of the block of FIG.

【図5】(a)〜(c)は図3の各電圧と電源電圧を示
す図である。
5 (a) to 5 (c) are diagrams showing respective voltages and power supply voltage of FIG.

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

1 ROM 2 RAM 3 CPU 4 入出力ポート 5 システム制御回路 6 内部バス 7 外部バス 8 電源監視回路 9 リセット信号生成回路 10 リセット信号 11 テストモード設定信号 12 テストモード信号 13 切換回路 14 切換信号 15 バス制御回路 16 電源監視出力信号線 17 テストROM 1 ROM 2 RAM 3 CPU 4 I / O port 5 System control circuit 6 Internal bus 7 External bus 8 Power supply monitoring circuit 9 Reset signal generation circuit 10 Reset signal 11 Test mode setting signal 12 Test mode signal 13 Switching circuit 14 Switching signal 15 Bus control Circuit 16 Power supply monitoring output signal line 17 Test ROM

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 内部にROM,RAM,CPU,入出力
ポート内部バスおよびそれらによって構成される内部回
路システムを制御するシステム制御回路とリセット信号
生成回路を有し、前記内部回路システムに供給され電源
電圧を監視して、所定電圧において電源監視信号を出力
してリセット信号生成回路を動作させるリセット信号生
成信号を出力する電源電圧監視回路を含むマイクロコン
ピュータにおいて、前記電源監視回路の出力端と前記リ
セット信号生成回路の入力端の間に、前記システム制御
回路の出力する切換信号に制御されて前記電源監視信号
を切換え出力する切換回路を挿入したことを特徴とする
マイクロコンピュータ。
1. A ROM, a RAM, a CPU, an input / output port internal bus, and a system control circuit for controlling an internal circuit system constituted by them and a reset signal generating circuit, and the power is supplied to the internal circuit system. In a microcomputer including a power supply voltage monitoring circuit that monitors a voltage and outputs a power supply monitoring signal at a predetermined voltage to operate a reset signal generation circuit, an output terminal of the power supply monitoring circuit and the reset A microcomputer, wherein a switching circuit for switching and outputting the power supply monitoring signal under the control of a switching signal output from the system control circuit is inserted between input terminals of the signal generating circuit.
【請求項2】 予めテスト用プログラムを格納するテス
トROMを設けたことを特徴とする請求項1記載のマイ
クロコンピュータ。
2. The microcomputer according to claim 1, further comprising a test ROM which stores a test program in advance.
JP4007183A 1992-01-20 1992-01-20 Microcomputer Expired - Lifetime JP2998386B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP4007183A JP2998386B2 (en) 1992-01-20 1992-01-20 Microcomputer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP4007183A JP2998386B2 (en) 1992-01-20 1992-01-20 Microcomputer

Publications (2)

Publication Number Publication Date
JPH05233847A true JPH05233847A (en) 1993-09-10
JP2998386B2 JP2998386B2 (en) 2000-01-11

Family

ID=11658951

Family Applications (1)

Application Number Title Priority Date Filing Date
JP4007183A Expired - Lifetime JP2998386B2 (en) 1992-01-20 1992-01-20 Microcomputer

Country Status (1)

Country Link
JP (1) JP2998386B2 (en)

Also Published As

Publication number Publication date
JP2998386B2 (en) 2000-01-11

Similar Documents

Publication Publication Date Title
US20020129298A1 (en) Method of and apparatus for testing CPU built-in RAM mixed LSI
US20110018572A1 (en) Semiconductor device test system
US5365250A (en) Semiconductor device for driving liquid crystal panel
KR100532447B1 (en) Parallel test apparatus and method of integrated circuit device able to provide high test current
KR100414739B1 (en) Internal voltage generator of semiconductor memory device
US5402079A (en) Integrated circuit relay control system
JPH05233847A (en) Microcomputer
JP5013895B2 (en) Semiconductor integrated circuit device
KR20050121376A (en) Test device for semiconductor device and method of testing semiconductor device by using the test device
KR20010053128A (en) Electronic test memory device
JP4179190B2 (en) One-chip microcomputer and one-chip microcomputer overvoltage application test method
JPH10334698A (en) Semiconductor storage device, test apparatus, and test method
JP3159701B2 (en) Device test apparatus and test method
KR100335643B1 (en) Computer system for setting value through software and method for controlling the same
JPH01129432A (en) Integrated circuit
KR100385398B1 (en) Integrated circuit burn-in test apparatus having connection fail check mode, probing board and method for checking connection fail
JPS60120269A (en) Semiconductor testing apparatus
JP2003302444A (en) Testing device
KR20040062769A (en) Apparatus for measuring dc parameters in a wafer burn-in system
JPH03282270A (en) Apparatus for testing semiconductor integrated circuit
JPH04329381A (en) Electronic circuit testing device and testing method
JP2002131380A (en) Semiconductor testing device, semiconductor testing system, and testing method for semiconductor device
JP3064990B2 (en) Test burn-in device and test burn-in method
JP2865118B2 (en) IC tester and test pattern optimization method
JPH1019999A (en) Ic tester

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991005