JPH011040A - Microcomputer with built-in test circuit - Google Patents
Microcomputer with built-in test circuitInfo
- Publication number
- JPH011040A JPH011040A JP62-157106A JP15710687A JPH011040A JP H011040 A JPH011040 A JP H011040A JP 15710687 A JP15710687 A JP 15710687A JP H011040 A JPH011040 A JP H011040A
- Authority
- JP
- Japan
- Prior art keywords
- test
- microcomputer
- circuit
- data
- built
- 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
Abstract
(57)【要約】本公報は電子出願前の出願データであるた
め要約のデータは記録されません。(57) [Summary] This bulletin contains application data before electronic filing, so abstract data is not recorded.
Description
【発明の詳細な説明】
〔概要〕
本発明の試験回路内蔵マイクロコンピュータは、その老
4体チップ内に試験用の命令データを外部より入力する
外部端fと1.+2込み読み出し専用記憶回路に該デー
タを占込み処理をする制御回路とを設け、外部から入力
された試験用の命令データに基づいてマイクロコンピュ
ータの自立動作試験をする機能を備えていることを特徴
としている。DETAILED DESCRIPTION OF THE INVENTION [Summary] A microcomputer with a built-in test circuit according to the present invention has external terminals f and 1. +2 A read-only memory circuit is provided with a control circuit that performs an interpolation process on the data, and is equipped with a function to perform an independent operation test of the microcomputer based on test command data input from the outside. It is said that
これにより、マイクロコンピュータの高Jl fffi
化にともなう試験回路の増加という聞届がなく、外部か
ら入力する試験データを逐次、す持えて、1よデータに
基いて自立動作試験をすることがM 濠となる。このた
め、マイクロコンピュータの試験回路の縮小化と、生産
コストを低減することを”TfIとする。This results in high Jl fffi of the microcomputer.
There is no report that the number of test circuits will increase due to the development of new technologies, and the M moat is to carry out independent operation tests based on the data inputted from the outside one after another. For this reason, "TfI" refers to reducing the size of microcomputer test circuits and reducing production costs.
未発IIは試験回路内蔵マイクロコンピュータに関する
ものであり、更に詳しく3えばマイクロコンピュータの
自立動作試験に係る構造に関するものである。Unissued II relates to a microcomputer with a built-in test circuit, and more specifically relates to a structure related to a self-sustaining operation test of a microcomputer.
第4図は従来例に係る説1jl1図である。 FIG. 4 is a diagram 1jl1 of a conventional example.
回図は、14体チップl内に、中央演算処理回路2.命
令内容f−タ読出し専用記憶回路(ROM)3 、試験
用の命令データ読み出し専用記憶回路(ROM)4.随
時データ、17込み読み出し記憶回路(RAM)5で構
成する試験回路内蔵マイクロコンピュータを示している
。The circuit includes 14 central processing circuits 2. Instruction content f-data read-only memory circuit (ROM) 3, instruction data read-only memory circuit (ROM) for testing 4. A microcomputer with a built-in test circuit is shown, which is composed of a memory circuit (RAM) 5 for reading and reading data at any time.
なあ、マイクロコンピュータの自立作動試験に必安な試
験データは、ROM4とに記憶されている。By the way, the test data essential for the self-sustaining operation test of the microcomputer is stored in ROM4.
ところで従来例によれば、マイクロコンピュータの自立
動作試験をするために専用のROM4を設けている。こ
のためマイクロコンピュータが高機濠化するに従って、
゛性導体チップ内の試験用のROM4の容ら1.の増加
を強いられ、その占有面積の増大を招く。By the way, according to the conventional example, a dedicated ROM 4 is provided for testing the self-sustaining operation of the microcomputer. For this reason, as microcomputers become more sophisticated,
Contents of ROM4 for testing in the conductor chip 1. This will force an increase in the area occupied.
また、 ・度製品化した半導体チップの白)′/−動作
試験の変更が生じた場合は、既存のROMで対応で5な
いため、’f’′4体チップ全チップするマスクの変更
やそれに伴う5J造プロセス増加により、マイクロコン
ピュータの生産コストが1−昇するという問題がある。In addition, if there is a change in the operation test of a semiconductor chip that has been commercialized, the existing ROM cannot handle it, so it may be necessary to change the mask for all four chips or Due to the accompanying increase in the number of 5J manufacturing processes, there is a problem in that the production cost of microcomputers increases by one.
本発明はかかる従来の問題に鑑み創作されたものであり
、高a能化するマイクロコンピュータの自☆−動作試験
を機ft的かつ経済的にすることを+−i(南とする試
験回路内蔵マイクロコンピュータの提供を目的とする。The present invention has been created in view of such conventional problems, and aims to make self-operation testing of microcomputers with increasingly high aa performance opportunistic and economical. The purpose is to provide microcomputers.
本発明の試験回路内蔵マイクロコンピュータは、その原
理を第1図に示すように、゛ト導体チップ11内に、デ
ータを処理する中央演算処理回路12と1.与込み読み
出し専用記憶回路13と、試験用の命令データ16の占
込み処理を制御する制御回路14と、試験用の命令デー
タ16を入力する外部端子15とを1没け、外部より入
力する試験用の命令データに基づいてマイクロコンピュ
ータの自)5″動作試験をする機走を備えていることを
特徴としている。The principle of the microcomputer with a built-in test circuit according to the present invention is shown in FIG. The input read-only storage circuit 13, the control circuit 14 that controls the input processing of the instruction data 16 for the test, and the external terminal 15 for inputting the instruction data 16 for the test are set to 1 and the test is input from the outside. It is characterized by having a machine that tests the operation of the microcomputer based on the instruction data for the microcomputer.
未発II+によれば試験用の命令データ16を外部より
入力できるので、試験用の命令データ16を制り1回路
14を介して117込み読み出し・+7用記憶回路13
に随時、I;き任えをすることがIi 億である。According to the unissued II+, the instruction data 16 for testing can be input from the outside, so the instruction data 16 for testing is read out via the 1 circuit 14 and the storage circuit 13 for +7.
From time to time, it is Ii billion to leave it to I;
これにより、111次、試験用の命令データ16を、I
;5科えて、試験回路を増、没することなく高a濠化す
るマイクロコンピュータの1°11′/:動作試験をす
ることがlI能となる。As a result, the 111th order test instruction data 16 is
As a result, it becomes possible to perform operational tests on a microcomputer with a high aperture without increasing or destroying the number of test circuits.
次に図を蓼照しながら本発明の実施例について説明する
。Next, embodiments of the present invention will be described with reference to the drawings.
第2〜3図は本発明の実施例に係る試験回路内蔵マイク
ロコンピュータを説明する図である。2 and 3 are diagrams illustrating a microcomputer with a built-in test circuit according to an embodiment of the present invention.
第214(a)は1本発明の第1の実施例図であり、゛
ト導体チップ11内にグーえられたデータを処理する中
央演算処理回路(CPU)12と1.!;込み読み出し
専用記憶回路(RAM)13と、試験用の命令データ1
6のノ;込みを制御する制御回路14と、外部端′f−
(ポート)15と、命令データ読出し専用記憶回路(R
OM)17とで構成する試験回路内蔵マイクロコンピュ
ータを示している。214(a) is a diagram showing a first embodiment of the present invention, in which a central processing circuit (CPU) 12 and 1. ! ; Read-only memory circuit (RAM) 13 and test instruction data 1
6, a control circuit 14 for controlling the connection, and an external terminal 'f-
(port) 15 and an instruction data read-only memory circuit (R
OM) 17 shows a microcomputer with a built-in test circuit.
なお、マイクロコンピュータの「1ヶ動作試験に必゛冴
な試験用の命令データ16を外部端一(−15より入力
する。Note that test command data 16 necessary for a single operation test of the microcomputer is input from the external terminal (-15).
次に第2図(b)は第2図(a)を更に具体化した試験
回路内蔵マイクロコンピュータの構成図である。Next, FIG. 2(b) is a block diagram of a microcomputer with a built-in test circuit, which is a further embodiment of FIG. 2(a).
なお、その構成は、半導体チップ21内に中央演算処理
回路(CPU)22と、RAM23と、試験用の命令デ
ータ26をRAM23に書込み処理をする制御する制御
手段241.外部/試験入力端′f−252からのデー
タをCPU22に送るか、RAM23に送るかを選択す
るセレクトL段242およびRAM23のアト’ t−
ズを計数するカウンタ「1段243からなる制御回路と
、データ入力端Y−と試験用命令データ26の入力端r
とを選択するセレクト端子251と、データ入力端r−
と試験用命令データ26の入力端f−とをノ(川する外
部/試験入力端f−252と、ROM27と、タイ−y
−28ト、A/Dコンバータ29とを設けている。The configuration includes a central processing circuit (CPU) 22 in the semiconductor chip 21, a RAM 23, and a control means 241. Select L stage 242 and RAM 23 AT't- for selecting whether to send data from the external/test input terminal 'f-252 to the CPU 22 or to the RAM 23.
A control circuit consisting of a one-stage counter 243, a data input terminal Y-, and an input terminal r of the test instruction data 26.
a select terminal 251 for selecting and a data input terminal r-
and the input terminal f- of the test command data 26.
-28 and an A/D converter 29 are provided.
次にその動作を説明すると、まず自立動作試験に必要な
試験用の命令データ26の不図示の入力コードをセット
し、セレクト端子251を選択して外部/試験入力端/
’ 252に入力する。なおセレクト端1’−251を
操作したとき試験用の命令データ26を入力する旨の信
−;は、制御回路24とCPU22に送信され、RAM
23は試験用の命令データ26の一;込みの準備をする
。また、制御回路24のセレクト1段242は、外部入
力データモードをCPU22からRAM23にすJり科
え、試験用の命令データ又は外部入力データ26を選択
する。なお非試験時は、セレクト「段242がCP U
22に外部入力データを送イl1−iるように選択し
ている。Next, to explain the operation, first set the input code (not shown) of the test command data 26 necessary for the self-sustaining operation test, select the select terminal 251, and select the external/test input terminal/
' Enter in 252. Note that when the select terminal 1'-251 is operated, a signal indicating that the test command data 26 is to be input is sent to the control circuit 24 and the CPU 22, and is sent to the RAM.
23 prepares the instruction data 26 for testing. Further, the first select stage 242 of the control circuit 24 changes the external input data mode from the CPU 22 to the RAM 23, and selects test instruction data or external input data 26. In addition, when not testing, select "Row 242 is CPU
22 to send external input data l1-i.
次に試験用のt9 ’)データ26を +ir1次RA
M23にと込み処理をする。なお、制−1回路24は、
RAM23の、12込み処理と、RAM23のアドレス
をカウントするカウンタ243とを;tj制御r段24
1で制−1する。また、カウンタ243はCPU22に
カウントアンプを送信し、占込み処理を終了する。Next, test t9') data 26 is +ir primary RA
Processing is performed in M23. Note that the control-1 circuit 24 is
The 12-input processing of the RAM 23 and the counter 243 that counts the address of the RAM 23; tj control r stage 24
Control by 1 -1. Further, the counter 243 transmits the count amplifier to the CPU 22, and ends the preemption processing.
このようにして、外部より入力した試験用のri令デー
タ26にノ、(づいて試験回路を増加させることなくC
PU22 、RAM23 、RAM27 、タイマー、
A/Dコンバータ等から成るマイクロコンピュータ自身
の機能により、′jえられたデータの入力計算から出力
等に至るまでの1゛1台[動作試験をすることがf+r
濠となる。In this way, the test ri instruction data 26 inputted from the outside can be used without increasing the number of test circuits.
PU22, RAM23, RAM27, timer,
The functions of the microcomputer itself, which consists of A/D converters, etc., are used to perform operation tests on each unit, from input calculation of obtained data to output, etc.
It becomes a moat.
第3図は第2の実施例に係る試験回路内蔵マイクロコン
ピュータを説明する図である。FIG. 3 is a diagram illustrating a microcomputer with a built-in test circuit according to a second embodiment.
第1の実施例(第2図)に説1!■シた同じ符号のもの
は同じa濠を示しているので、説明を省略すなお自)″
/:動作試験に必要なROM17に記憶されていない試
験用の命令データ16を1!;込み読み出し記憶回路1
3に占込み処理をする制御回路14を、中央演算処理回
路12に兼用させている点で第1の実施例と異っている
。Theory 1 in the first embodiment (Figure 2)! ■Those with the same numbers indicate the same a moat, so I will omit the explanation)
/: 1 for the test command data 16 that is not stored in the ROM 17 and is necessary for the operation test! ; Read-out storage circuit 1
This embodiment differs from the first embodiment in that the central processing circuit 12 also serves as the control circuit 14 that performs the filling process.
これにより中央演算処理機能に試験用の命令データ16
の外部/試験を選択I別する機能等を付加することにな
るが、半導体チップ内に占有する試験回路を極力小さく
し、外部より入力した試験用の命令データ16に基づい
てマイクロコンピュータの自ヴ動作試験をすることが”
r fEとなる。This allows the central processing function to use test instruction data 16.
However, the test circuit occupied in the semiconductor chip should be made as small as possible, and the microcomputer's self-control function based on the test command data 16 input from the outside should be added. It is possible to perform an operation test.”
r fE.
以i−説明したように、未発明によれば試験用の命令デ
ータを外部より入力し、崖1次1.qき科えてマイクロ
コンピュータの白台二動作試験をすることができる。As explained above, according to the invention, command data for the test is inputted from the outside, and the cliff 1st order 1. 1.Be able to test the operation of a microcomputer on a white machine.
このため、マイクロコンピュータの高a濠化に伴う試験
1・11路の増加という問題を解消することができると
ともに、これにより生産コストの増大を抑捌することが
τjr能となる。Therefore, it is possible to solve the problem of an increase in the number of tests 1 and 11 due to the high a moat of the microcomputer, and it is also possible to suppress an increase in production costs.
4、図面のlPi弔な説II
第1図は本発11の試験回路内蔵マイクロコンピュータ
の原理を説明する図、
第2図は第1の実施例のに係る説IJ1図、第3図は本
発す1の!J’S2の実施例に係る説1!$114゜第
4図は従来例に係る説11図である。4. Figure 1 is a diagram explaining the principle of the microcomputer with a built-in test circuit of the present invention 11, Figure 2 is a diagram illustrating the principle of the microcomputer with a built-in test circuit according to the first embodiment, Figure 3 is a diagram explaining the principle of the microcomputer with a built-in test circuit, and Figure 3 is a diagram explaining the principle of the microcomputer with a built-in test circuit of the present invention. The first one to emit! Theory 1 regarding the example of J'S2! $114゜Figure 4 is an 11th diagram of a conventional example.
(符号の説明)
1.11・・パr;導体チップ、
2.12・・・CPU(中央演算処理回路)、3・・・
ROM (試験内容データ記憶回路)、4.17.27
・・・ROM(試験用命令データ記憶回路)。(Explanation of symbols) 1.11...Par; conductor chip, 2.12...CPU (central processing circuit), 3...
ROM (test content data storage circuit), 4.17.27
...ROM (test instruction data storage circuit).
5.1:3.23・−・RAM(随時11:込み読み出
し記憶回路)、
15.25・・・外部端−f−2
251・・−セレクト端子、
252・・・外部/試験入力端−L、
16.26・・・試験用の命令データ又は外部入力デー
タ、
24・・・制御回路、
241・・・制御1段。5.1: 3.23...RAM (anytime 11: Reading/reading storage circuit), 15.25...External terminal - f-2 251...-Select terminal, 252... External/test input terminal- L, 16.26...Test instruction data or external input data, 24...Control circuit, 241...Control 1 stage.
242・・・セレクタ、 243・・・カウンタ、 28・・・タイマー、 29・・・A/Dコン八−へ。242...Selector, 243...Counter, 28...timer, 29...A/D controller 8-.
Claims (2)
随時書込み読み出し記憶回路(13)と、試験用の命令
データ(16)の書込み処理を制御する制御回路(14
)と、試験用の命令データ(16)を入力する外部端子
(15)とを設け、外部より入力する試験用の命令デー
タ(16)に基づいてマイクロコンピュータの自立動作
試験をする機能を備えていることを特徴とする試験回路
内蔵マイクロコンピュータ。(1) A central processing circuit (12) that processes data;
An occasional write/read storage circuit (13) and a control circuit (14) that controls the writing process of test instruction data (16).
) and an external terminal (15) for inputting test instruction data (16), and has the function of performing an independent operation test of the microcomputer based on the test instruction data (16) input from the outside. A microcomputer with a built-in test circuit.
)の制御処理機能を兼用することを特徴とする特許請求
の範囲第1項に記載の試験回路内蔵マイクロコンピュー
タ。(2) The central processing circuit (12) is connected to the control circuit (14).
2. The microcomputer with a built-in test circuit according to claim 1, which also functions as a control processing function.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62157106A JPS641040A (en) | 1987-06-24 | 1987-06-24 | Microcomputer incorporating test circuit |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP62157106A JPS641040A (en) | 1987-06-24 | 1987-06-24 | Microcomputer incorporating test circuit |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH011040A true JPH011040A (en) | 1989-01-05 |
| JPS641040A JPS641040A (en) | 1989-01-05 |
Family
ID=15642360
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP62157106A Pending JPS641040A (en) | 1987-06-24 | 1987-06-24 | Microcomputer incorporating test circuit |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS641040A (en) |
-
1987
- 1987-06-24 JP JP62157106A patent/JPS641040A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| KR880001972Y1 (en) | Control device of electronic sewing machine | |
| JPH0342732A (en) | Semiconductor integrated circuit | |
| JPH011040A (en) | Microcomputer with built-in test circuit | |
| JP2579170B2 (en) | Memory card | |
| US4807178A (en) | Programmable sequence controller having indirect and direct input/output apparatus | |
| JPS61168051A (en) | Single-chip microcomputer | |
| US4513400A (en) | Circuit for reading out address data applied to a memory in a one-chip microcomputer | |
| JPH01320550A (en) | Tracing system | |
| JPH0896512A (en) | CD player | |
| JPS6039163U (en) | External input/output device | |
| JPS59144962A (en) | Storage control device | |
| JPH0553710A (en) | General-purpose keyboard | |
| JPS5971557A (en) | Semiconductor integrated circuit device | |
| JPH064480Y2 (en) | Semiconductor memory device | |
| JPS5937787B2 (en) | Integrated circuit testing equipment | |
| JPH0592854U (en) | Semiconductor integrated circuit | |
| JPH0335326A (en) | Microprocessor | |
| JPH02226548A (en) | Magnetic disk device | |
| JPS6260033A (en) | Microprocessor control system | |
| JPS6126159A (en) | Information processor | |
| JPS61276046A (en) | Data processor with memory diagnostic function | |
| JPH0756708A (en) | Japanese code converting device | |
| JPH03257504A (en) | sequence controller | |
| JPS5828337U (en) | address detection circuit | |
| JPS58151630A (en) | Selecting device |