Micro-controller with a built-in test circuit and method for testing the same
First Claim
1. A test method for testing a micro-controller sending test results to a test instrument comprising the steps of:
- (a) obtaining a micro-controller which contains;
(i) a program memory containing an application program memory and a test program memory, and a test control circuit which is separate from said program memory;
(ii) a test-mode switching register in cooperation with a multiplexer for selecting either said application program memory or said test program memory for execution, or bypassing said program memory by selecting said test control circuit; and
(b) using a test instrument to send an instruction so as to subject said micro-controller to a test procedure according to an internal test mode, an external test mode, or an application-program-read mode, wherein;
(i) during said external test mode, said test control circuit is selected so that said test is conducted externally in said test instrument;
(ii) during said internal test mode, said test program memory is selected such that said test conducted is internally within said micro-controller;
(iii) after said external and internal tests are conducted, said application-program-read mode is selected so that said application will be executed.
3 Assignments
0 Petitions
Accused Products
Abstract
An improved micro-controller with a built-in test circuit is disclosed. It contains: (a) a test-mode switching register for receiving an external instruction from a test instrument so to select a test mode and to switch the external instruction to a predetermined circuit according to a selected test mode; (b) a test control circuit electrically connected to the test-mode switching register for controlling a timing of the external instruction received from the test instrument; (c) a multiplexer electrically connected to the test control circuit to receive an output signal from the test control circuit; (d) a control circuit electrically connected to the multiplexer for receiving an output signal therefrom, wherein the control circuit decodes and executes the output signal from the multiplexer, and sends an executing result to the test instrument; (e) a test program memory electrically connected to the multiplexer for storing a built-in test program, so as to allow the micro-controller to be tested in an internal mode; (f) an application program memory for storing an application program; and (g) a ROM read-out device electrically connected to the multiplexer and the application program memory for reading program codes from the application program memory to facilitate the test instrument to make a comparison.
19 Citations
5 Claims
-
1. A test method for testing a micro-controller sending test results to a test instrument comprising the steps of:
-
(a) obtaining a micro-controller which contains; (i) a program memory containing an application program memory and a test program memory, and a test control circuit which is separate from said program memory; (ii) a test-mode switching register in cooperation with a multiplexer for selecting either said application program memory or said test program memory for execution, or bypassing said program memory by selecting said test control circuit; and (b) using a test instrument to send an instruction so as to subject said micro-controller to a test procedure according to an internal test mode, an external test mode, or an application-program-read mode, wherein; (i) during said external test mode, said test control circuit is selected so that said test is conducted externally in said test instrument; (ii) during said internal test mode, said test program memory is selected such that said test conducted is internally within said micro-controller; (iii) after said external and internal tests are conducted, said application-program-read mode is selected so that said application will be executed. - View Dependent Claims (2, 3)
-
-
4. A micro-controller with a built-in test circuit, comprising:
-
(a) a test-mode switching register for receiving an external instruction from a test instrument to select a test mode and to switch said external instruction to a predetermined circuit according to a selected test mode; (b) a test control circuit electrically connected to said test-mode switching register for controlling a timing of said external instruction received from said test instrument, and transmitting out said said external instruction; (c) a multiplexer electrically connected to said test control circuit to receive an output signal of said test control circuit; (d) a control circuit electrically connected to said multiplexer for receiving an output signal therefrom, wherein said control circuit contains means for decoding and executing said output signal from said multiplexer and sending an executing result to said test instrument; (e) a test program memory electrically connected to said multiplexer for storing a built-in test program, so as to allow said micro-controller to be tested in an internal mode; (f) an application program memory for storing an application program; (g) a ROM read-out device electrically connected to said multiplexer and said application program memory for reading out program codes from said application program memory to facilitate said test instrument to make a comparison. - View Dependent Claims (5)
-
Specification