[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

EP0032895A4 - Testor for microprocessor-based systems. - Google Patents

Testor for microprocessor-based systems.

Info

Publication number
EP0032895A4
EP0032895A4 EP19790901509 EP79901509A EP0032895A4 EP 0032895 A4 EP0032895 A4 EP 0032895A4 EP 19790901509 EP19790901509 EP 19790901509 EP 79901509 A EP79901509 A EP 79901509A EP 0032895 A4 EP0032895 A4 EP 0032895A4
Authority
EP
European Patent Office
Prior art keywords
bus
failure
signals
coupled
test
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.)
Withdrawn
Application number
EP19790901509
Other languages
German (de)
French (fr)
Other versions
EP0032895A1 (en
Inventor
Edward Sneed Donn
Michael David Lippman
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.)
Fluke Corp
Original Assignee
John Fluke Manufacturing Co Inc
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 John Fluke Manufacturing Co Inc filed Critical John Fluke Manufacturing Co Inc
Publication of EP0032895A1 publication Critical patent/EP0032895A1/en
Publication of EP0032895A4 publication Critical patent/EP0032895A4/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/273Tester hardware, i.e. output processing circuits
    • G06F11/277Tester hardware, i.e. output processing circuits with comparison between actual response and known fault-free response

Definitions

  • ATE automatic testing equipment
  • a microprocessor-based board it is meant a general-purpose central processing unit (CPU) or a special purpose microprocessor-based process controller, or the like, which is assembled in a self-contained package such as one or several circuit boards and is characterized by input and output terminals, (board edge inputs and outputs), at least one microprocessor unit (MP ⁇ ), a bi-directional data and control bus coupled with the MPU, and at least some programmed logic functions (in either hardware or software form) , and which is capable of performing complex system functions and executing instructions according to "intelligent", i.e., programmed, decision criteria.
  • the invention is related to a technique for automatic operational (real-time) testing of a microprocessor-based board or system.
  • a difficulty in attempting to upgrade conventional ATE is the lack of facilities to automatical and sequentially search out and identify sources of error and locations of faults within a bus-connected operating system.
  • a second difficulty, which inhibits the diagnosi of faults, is the relatively limited access given the ATE the internal operation of the system.
  • the MPU-based boar or system with its minimum component count and minimum number control and data lines represents a tremendously advanced system design. But, when such a system works improperly, i.e., requires debugging, the complexity of t debugging problem can defy diagnosis by previously known trouble-shooting techniques. There is thus a need for improved techniques and devices for automatically testing microcomputer-based boards and systems.
  • Logic testers for some simple microprocessor-ba systems are also known. Fluke Trendar of Mountain View, California, manufactures a line of microprocessor board testers utilizing nodal signature diagnostic and real-tim comparative diagnostic techniques for testing of random logic boards, LSI-type boards and microprocessor-based boards.
  • One such representative system is the Model 3040A. Testers and techniques have also been developed capable of testing complex and irregular LSI devices in real time.
  • a representative system is offered by Megatest Corporation of Sunnyvale, California.
  • the level of complexity of a programmed microprocessor-based board exceeds the current capability of these or other ATE to thoroughly analyze and detect faults. For example, known spatial algorithms are incapable of locating faults which create errors propagated through a programmed bus-connected system. Therefore, with the increased availability and importance of microprocessor-based boards, there is an increased need for ATE capable of quickly and thoroughly diagnosing faults in complex programmed systems.
  • an automatic test apparatus is coupled to a bi-directional internal data, address and control bus of a programmed microprocessor-based system and tests the performance of a system in real time by direct comparison with a known good system (reference system) .
  • Signal responses on the bi-directional bus in the reference system are compared in real time to the unknown system, (system under test or test system), in order to sense failures.
  • Failures are isolated by monitoring the digital signals on the bi-directional bus, and, according to a sequential algorithm, stopping the test at the first occurrence of a failure, identifying the status of the bus at the occurrence of the failure, and directing a search for the source of the failure.
  • the technique is known as a "stop on first fail" algorithm.
  • the "stop on first fail” algorithm prevents a failure from propagating through a system which would otherwise make it impossible to locate the source of the fault.
  • the bi-directional bus is coupled to the microprocessor unit and acts as a sequentially time-shared "spinal cord" among subsystems communicating with the microprocessor unit.
  • the bus represents a tigh software/hardware feedback loop. According to the invention, therefore, the feedback loop is broken and th failure is traced by identifying the functional status o the bus and indicating the location of the failure throu automatic reference to the microprocessor memory map.
  • the principal object of this invention is to provide a means for automatically diagnosing faults of a programmed microprocessor-based board or system. This i accomplished by providing means for accessing and techni for monitoring the bi-directional data and control bus coupled to the MP ⁇ on the microprocessor-based board to locate operational failures..
  • a further object of the invention is to operat two microprocessor-based boards in parallel real time fo test purposes, one of which is a system under test (test system or SUT) . This is accomplished by stimulating bot the reference system (REF) and the SUT by peripherals (i and output devices) common to both systems or by a commo stimulus generator. In addition, means are provided for synchronously clocking the operation of both the REF and SUT.
  • REF reference system
  • peripherals i and output devices
  • a further object of the invention is to provide diagnostic algorithm for locating faults.
  • the algorithm operative to simultaneously stop the operation of the REF and the SUT at the first occurrence of non-coincident signals on the MP ⁇ bus.
  • the algorithm employs direct information, data information, and status information derived from the monitoring of all input and output terminals of the MPU and the memory map of- the SUT to loc and display the source of the failure.
  • a display may indicate which channel is the source of the error.
  • the t "channel" refers to that device corresponding to a particular memory address. A channel is identified from information obtained at the first failure and through the memory map.
  • a still further object important to the operation of the invention is to provide an ability in the tester itself to utilize key information fed to the MPU, and particularly to identify the status and operational mode of the bi-directional bus.
  • FIG. 1 is a block diagram of a tester according to the invention illustrating the testing equipment.
  • FIGs. 2A and 2B are together a detailed block diagram of the tester of Fig. 1.
  • Fig. 2C illustrates the manner in which Figs. 2A and 2B relate.
  • Figs. 2A, 2B and 2C are referred to collectively as Fig. 2.
  • Fig. 3 is a flow chart illustrating the sequential diagnostic algorithm according to the invention.
  • Fig. 4 is a circuit diagram according to the sequential diagnostic algorithm.
  • Fig. 5 is a circuit diagram of a preferred embodiment of the primary data collection functions according to the invention.
  • FIG. 1 illustrates a test system environment embodying the invention.
  • the environment includes a testing apparatus 10, a programmed computer system to be tested, "SUT” or “test system” 12, a system for comparison with the test system, "REF” or “reference system” 14, and operational peripheral devices 16 coupled through digital logic to the test system 12 and the reference system logic.
  • the peripheral devices 16 operate to stimulate both the test system 12 and the reference system 14 in synchronism.
  • the peripheral devices 16 may be input/output equipment actually used in an operational system, such as displays, keyboards, printers and sensors, or there may provided a stimulus generator which is operative to simu actual input/output signals.
  • Each system 12, 1 self-contained on a circuit board 15.
  • Each system 12, 1 comprises a digital central processing unit (CPU) 18, me 20, an input/output subsystem 22, interface logic 24 and directional (or three-state) data and control bus 26.
  • a clock 28 or clock input 30 is associated with each CPU 1
  • the memory 20 comprises a storage medium for digitized data and for an ordered set of operational instructions (a program) for the CPU 18.
  • the program may permanently resident in memory 20, for example, in the f of a read only memory, or it may be temporarily resident in a random access memory having read and write capabilities.
  • the CPU 18 compr a microprocessing unit which is generally provided in a single unit package (chip) with multiple terminals 30.
  • typical microprocessing unit chip has forty terminals. terminals 30 are coupled to the bi-directional bus 26.
  • the bus 26 is the main control and data information conduit of the programmed systems 12, 14, an is adapted to transmit information rapidly in both directions and in time-multiplexed format between subsys coupled thereto.
  • the programmed systems 12, 14 communicate with external environment through a further terminal set at t edge of the circuit board, often called a board edge connector 32.
  • the edge connector 32 couples with the sy interface logic 24, which in turn couples with the input/output system 22, which in turn communicates with bus 26.
  • the testing apparatus 10 i in order to diagno faults in the test system 12, the testing apparatus 10 i
  • a test bus probe 34 via a test bus cable assembly 36
  • a reference bus probe 38 via a reference bus cable assembly 40
  • the coupling is made in such a manner that comparison between simultaneous signals on the respective buses 26 can be made to detect non-coincidences ("failures") and to automatically trace them to their sources based on the information supplied by the bus 26.
  • a manual test probe 42 and a manual reference probe 44 may be provided for manually tracing faults not associated with the bus 26.
  • the test system 12 includes a clock (MPU clock) 28 which is coupled to the test system CPU 18 in a CPU socket 19 and to the reference system 14.
  • the MPU clock 28 is operative to synchronize the reference system 14 with the test system 12 to assure precisely synchronous operation.
  • the multiple terminal probes 34, 38 are typically a forty-pin connector (corresponding to the number of CPU 18 terminals).
  • the probes 34, 38 are generally attached directly to the test unit CPU 18 and reference unit CPU 18 in CPU socket 19.
  • a cable assembly 48 interconnects the testing apparatus 10 and the test environment.
  • the cable assembly 40 includes the forty-line bus cables 36, 40 adapted to convey all signal information coupled to the CPU 18, which in turn are coupled respectively to a test cable buffer circuit 50 and a reference cable buffer circuit 52.
  • the respective cable buffer circuits 50, 52 are operative to buffer the inputs and outputs of the CPU 18 for driving the diagnostic circuitry of the testing apparatus 10.
  • the buffer 50 is adapted to include logic circuitry 54 for testing for internal shorts on the test system bus 26.
  • Th shorts test logic circuitry 54 may specifically include a shorts test register (not shown), which is a thr state register. The shorts test register is responsive to shorts test data via a shorts test data line 58 and to a shorts test clock 56.
  • the shorts test sequence is undertaken as follow
  • the tester 10 is preprogrammed with an indication of which CPU terminals 30 (Fig. 1) are permanently stuck in high or low states so that those terminals are ignored.
  • the CPU 1 is removed from its socket 19 in the test system 12 for th duration of the shorts test.
  • the multiple terminal probe is then connected to the test system CPU socket 19 to forc all possible lines of bus 26 to float.
  • the shorts test register is cleared to zero.
  • all lines o bus 26 are tested one at a time for any which are stuck in high state.
  • Thereafter a single high bit is clocked throu the shorts test register one place at a time for each of t bus lines to change each of the bus lines high one at a time.
  • Each of the other bus lines is also tested to determine if any of the other bus lines has also changed state. In this manner each of the bus lines is checked to determine whether it is stuck high, stuck low or stuck together with another bus line.
  • a central controller 60 control switches or buttons 62, a display device 64 (such a cathode ray tube (CRT) or the like), cycle or personalit logic 66, test and reference buffers 68 and 70, and variou special purpose comparator and latch subsystems 72, 74, 76 and 78.
  • a display device 64 such as a cathode ray tube (CRT) or the like
  • CRT cathode ray tube
  • personalit logic 66 test and reference buffers 68 and 70
  • variou special purpose comparator and latch subsystems 72, 74, 76 and 78 variou special purpose comparator and latch subsystems 72, 74, 76 and 78.
  • the information on the bus 26 at one instant may be output from the CPU 18 to a particular memory 20 or I/O subsystems 22.
  • the- bus contained information may be input data to the CPU 18.
  • the CPU 18 may use the bus 26 to identify to other subsystems state information on its current operation or state. Address as well as data information may be time-multiplexed onto the common bus 26.
  • the bus may also exhibit an "off" state (characterized by a high impedance) during which time signals on the bus 26 have no significance.
  • the testing apparatus 10 must be capable of responding to or decoding the significance of each signal or state occurring on the bus 26.
  • the personality logic 66 is tailor designed to the characteristics of the type of CPU 18 employed in the test system 12.
  • the personality logic is operative to generate specialized strobe signals (via strobe lines 71, 73, 75, 77 and 79) and status signals (via CPU status bus line 110) for correct operation of the testing apparatus 10 with the particular CPU 18.
  • the personality logic 66 is combined with test buffer 68 to direct the timing and the routing of microprocessor signals to the comparator inputs.
  • the strobe signals are for time-demultiplexing the sequential bus line signals which enables the central controller 60 to sort out the information flowing on the bi ⁇ directional bus 26, and eventually to separate failure sources.
  • a data strobe carried via line 75 is derived by the personality logic 66 to identify those instants at which the bus 26 contains valid data.
  • a status strobe, carried by lines 71, 77, is similarly derived for identifying the particular process cycle in progress. The status strobe further defines the type of information transfer taking place on the bus 26.
  • An address strobe, carried via line 73, identifies when a valid address is being presented on the bus 26.
  • Further strobes as for example a control strobe carried via line 79, are employed to sample the states of the various control signals to an from the CPU 18, and also to time demultiplex shared address/data terminal input and output terminals of the C 18.
  • the personality logic 66 and buffers 68 and 70 may include storage registers (not shown) for temporarily storing digital information which can then be transmitted parallel with subsequent information through an enhanced line output bus of the buffers 68 and 70.
  • the buffers 68 and 70 are provided with forty input lines whereas a forty-eight line output is provided.
  • the first comparator and latch subsystem her the address comparator/latch 72, is coupled to receive parallel address signals from both the reference system buffer 70 and the test system buffer 68.
  • the second comparator and latch subsystem herein the data comparator/latch 74 is coupled to receive data informatio from the reference system buffer 70 and test system buffe 68.
  • the third comparator and latch subsystem herein the control/miscellaneous comparator/latch 76, is coupled to receive control signals and other miscellaneous signals f the reference system buffer 70 and test system buffer 68.
  • the fourth comparator subsystem herein the pro comparator 78, is an optional comparator coupled directly the manual probes 42 and 44.
  • the comparator/latches 72, and 76 are adapted to compare reference system bus signal and test system bus signals in parallel operational relation.
  • Each of the comparator/latches 72, 74, 76 provides four output types, namely a "Fail Indication” 80 82 and 84, a state description ("State”) 86, 88 and 90, a stuck register description ("Stuck”) 92, 94, 96 and a failure description ("Failures”) 97, 98 and 100.
  • the central controller 60 provides a reset mechanism via a reset signal line 46.
  • a Fail Indication signal 80, 82, 84 is generated whenever a comparator detects non-coincidence between outputs of the reference buffer 70 and the test buffer 68.
  • the particular Fail Indication signal identifies the type of failure, namely address, data or control.
  • the controller 60 immediately removes enable signals via signal line 102 from the comparators 72, 74, 76, 78 and the personality logic 66. This freezes the state of the latches in the comparator/latch subsystems 72, 74, 76 prior to the occurrence of the next timing strobe and thereby captures the State, Stuck and Failures description in the current location.
  • the State buses 86, 88 and 90 are merged into a single State bus 104, the Stuck buses 92, 94 and 96 are merged into a single Stuck bus 106 and the Failures buses 97, 98 and 100 are merged into a single Failures bus
  • the Failures bus 108 identifies the address of the non- compare signals.
  • the Stuck bus 106 identifies the signals which have never experienced logic state transitions.
  • the State bus 104 identifies the address and status of the system program at failure.
  • the removal of the enable signal via signal line 102 to the personality logic 66 also causes a latch (not shown) in the personality logic 66 to provide a CPU status signal to the controller 60.
  • the system information provided by the comparator/latches 72, 74 and 76 and the CPU status information disclose to the central controller 60 the identity and the location of faults within the test system 12.
  • a sequential diagnostic algorithm shown in Fig. 3 is the technique employed by the central controller 60 to analyze the information and to present the analysis in useful form to a display/output device 112.
  • the separate Fail Indication signals via signal lines 80, 82 and 84 serve as flags permitting the controller 60 to separate address, data and control failures according to the sequential diagnostic algorithm of Fig. 3.
  • the controller 60 checks CPU status (signal line 110). If the CPU 18 is operating in a direct memory access (DMA) cycle (step 200) the controller 60 immediatel identifies and signals a Bus Device Failure (step 202), causing display of current address, data and status information. This information will indicate failure at a specific bus-connected subsystem. Using this information, the user with the help of a program memory map of the test system 10 locates the defective bus-coupled subsystem.
  • DMA direct memory access
  • Th memory map may be automatically referenced by the controll 60 through a separate algorithm that compares the address, data and status information with the parameters of a memor map description. A description of an automatic memory map search is given hereafter. If the failure is not located a bus-coupled subsystem, then the bus-coupled subsystem propagating the failure is used as a starting point to locate the failure through a conventional spatial diagnost algorithm using the manual probes 42, 44. if a failure does not occur on a DMA cycle, the controller 60 then checks for address failure (step 204), that is, non-coincidence between the address information o the test system 12 and the reference system 14 indicated b signal line 80. A positive address failure indication points to a failure in the CPU 18 (step 206) thereupon the controller 60 causes display of "CPU FAIL" or the like, or the cycle count at fail (operational termination) .
  • step 204 the controller 60 checks for a control signal failure (step 208) as indicated by signal line 84. If a control signal failure is positively indicated, the controller 60 checks the CPU status line 110 to determine if the conditi occurred during control input (step 210), thereby indicati input control signal failure. A positive indication point to a bus-coupled subsystem failure (step 202) locatable wi the help of the program memory map previously described. negative indication points to a CPU failure (step 206).
  • step 208 the controller 60 checks for data failure (step 212) as indicated by signal line 82 (Fig. 2). If data failure has occurred, the controller 60 checks CPU status through line 110 to determine if the condition occurred during a write cycle (step 214). A positive indication points to CPU failure (step 206). A negative indication points to a bus-coupled subsystem failure (step 202).
  • a controller 60 embodying the sequential diagnostic algorithm comprises a means for indicating the nature of the non-coincidence between the reference system 14 and the test system 12 and a means for designating the bus-coupled subsystem originating the non- coincidence.
  • a test apparatus 10 incorporating the sequential diagnostic algorithm greatly facilitates the isolation of programmed microprocessor-based board/system faults.
  • FIG. 3 may be embodied as either a hard-wired circuit of digital logic gates or in software form.
  • D is TRUE if the system is on a read cycle at failure
  • E is TRUE if there is an input control signal at failure
  • Figure 4 represents a schematic diagram of a circuit according to Equations 1 and 2.
  • the test system memory map may be embodied manually by reference to printed documentation or automatically through an auxiliary memory map input device 63 (Fig. 2) coupled to the central controller 60.
  • the identification of a faulty bus-connected subsystem may the become the starting point of a technique or algorithm for automatically guiding the user to the faulty device or nod (terminal).
  • One such guide probe algorithm is the AutotrackTM algorithm embodied in the Model 3040A Logic
  • the implementation of the search for the program or data location of failure comprises first specifying the program address or address range of each of the bus-couple subsystems. Thereafter, utilizing the tester-generated address at failure, sequentially searching the address entries in the memory map until a matching address or cor ⁇ related address range is found. Then comparing the data b bits for which failure occurred against known information about which data bus bits are associated with that particular entry in the address map. This last step is necessary because each data bus bit may designate a different subsystem coupled to the data bus.
  • the tester has isolated the bus- coupled subsystem causing the error.
  • the organization of the data base, in this case a memory map, stored in the logic search apparatus determines the search implementation.
  • One example of one possible organization for search implementation is given in the Table below. In the Table, the first three columns are in hexadecimal (base 16) notation and the last column is in character notation such as ASCII code.
  • Column 3 is a data bit mask for identifying data bus bit position of a device coupled to the data portion of bus 26 (Fig. 1). The example is shown for a 16-bit address and 8-bit data bus configuration.
  • Entries 2 through 9 exemplify the 1024 x 1 bit RAM chips of the above example. Entry 1 is for a 2048 x 8 Read Only Memory (ROM) chip.
  • auxiliary functions include a mode selector 250, and address/mask circuit 252 and a cycle counter 254.
  • the comparator/latch subsystems 72, 74; 76 comprise a comparator section, a failure indication section and a three-state latch section.
  • the comparator section comprises forty EXCLUSIVE OR gates 260 (with inverted outputs) connected in parallel to the reference system buffer 70 and the test system buffer 68 (Fig. 2).
  • the three-state latch section includes a first array 270 of ten four-input D-type registers, such as type 8551 (manufactured by National Semiconductor Corporation of Santa Clara, California), a second array 272 of ten four- input D-type registers, also type 8551, and a third array 274 of ten four-bit latches or quad latches such as type 8544 also manufactured by National Semiconductor Corp.
  • the inputs of the first array 270 are derived from the outputs of gates 260.
  • the first array 270 is operative to store failing pin information, if any, and to make that information available to the controller 60.
  • the inputs of the second array 272 are derived from the output test buffer 68.
  • the second array is operative to store all binary state information and to make it available to the controller 60.
  • the third array 274 derives input from an array of forty dual input EXCLUSIVE OR gates 276 whose inputs consist of the state information from test system buffer 68 and from forty parallel delay circuits 278 (D-type flip-flops).
  • the third array is thus operative to store the compared current and previous state information to determine if there has been activity on each information line indicating stuck pins and to make the information available to the controller 60.
  • the failure indication section comprises the outputs of gates 260 coupled in groups of five to eight input NAND gates 262, each of which is coupled to a faul latch 264.
  • the eight fault latches 264 comprise D-type flops.
  • the inverted outputs " Q are coupled to one nine-i NAND gate 266.
  • a non-coincidence at any of the comparators 260 is propagated to the fault latches 26 which signals a Failure Indication at the output of gate 266, to the mode selector 250.
  • the Failure Indication disables the cycle counters and freezes all latches.
  • test modes of operation of the test apparatus 10 may include “st on-count”, “stop-on-Nth-fault” , “stop-on-probe” and “sto external-signal” .
  • the mode selector 2 monitors the COUNT signal line from cycle counter 254.
  • the cycle counter 254 registers a predetermined count, wh has been entered by the operator via keyboard control switches 62 (Fig. 2), the mode selector 250, through the signal line, it causes all registers and latches 270, 272 274 to be loaded with the current test information.
  • the "stop-on-probe" mode is normally employed after a bus failure has been identified in order to isola a non-bus-coupled failed subsystem.
  • the manual probes 42 44 (Fig. 1) are coupled to comparator 78 (Fig. 1) whose output as PROBE (Fig. 5) is provided to at least one of t
  • NAND gates 266 (Fig. 5) and to the mode selector 250.
  • Th manual probes 42, 44 are employed according to convention spatial diagnostic techniques to isolate the subsystem or device generating bad (non-coincident) outputs from good
  • the test apparatus 10 is operative to stop and latch data on an external signal. It is used when the test apparatus 10 i interfaced with other testers, as well as for diagnostic testing of the test apparatus 10 itself.
  • the "stop-on-Nth-failure" mode enables the operator to terminate system operation on a sensed non- coincidence other than the first sensed non-coincidence. This feature is particularly useful in testing circuitry or components which cannot be initialized such as a memory refresh controller having an internal counter (such as Intel 3222 of the Intel Corporation, Santa Clara, California) or an analog-to-digital (A/D) converter.
  • Uninitializable circuits may cause meaningless non-coincidences to be detected as failures, such as non-coincidences resulting from start-up.
  • this test mode may provide useful information by indicating how a real error would propagate through a system if the test system is allowed to continue operating after a failure occurs.
  • a counter clock selector 255 is provided at the input of the cycle counter 254.
  • the cycle counter 254 in operation is preloaded with N, the number of failures to be ignored.
  • the counter clock selector 255 monitors the FAIL signal output of NAND gate 266 to cause the cycle counter 254 to be clocked once each failure. Consequently the mode selector 250 inhibits the transition of the ENA signal in response to the FAIL signal until the COUNT signal line from the cycle counter 254 indicates that the predetermined number of failures has been counted.
  • One further feature of the invention is a masking function provided by the address/mask circuit 252.
  • the address/mask circuit 252 provides two types of masks, a hard ⁇ wired mask (EXT MASK) and a software-derived mask (ADDRESS).
  • the masking function is particularly useful when the test system 12 cannot be immediately initialized.
  • the hard-wired mask (EXT MASK) couples to the reset input of the fault latch 264.
  • the software-derived mask (ADDRESS) is initially loaded into an array of J-type flip-flops on the master reset (MR) signal and then is coupled to the fault latch
  • EXT MASK is operative to mask failures when TRUE.
  • ADDRESS mask is intended to mask all failures until a specified address occurs.
  • the inventive test apparatus provides access to the principal bi-directional .bus of a programmed microprocessor-based system, which considerab simplifies system diagnosis as compared with prior art e connected testers.
  • the invention is optimized for sequential bus-coupled operating systems such as program systems, as contrasted to random logic systems.
  • the invention provides controlled synchronous multiple clocking functions, which simplify diagnosis of programmed systems. Moreover, the invention allows for system diagnosis through program location and subsystem status analysis. Address, data and status, information i segregated, and a memory map is used to trace errors. . The invention provides a display of the channe fault rather than the failed pin. Inherent in the inven is the capability of deciphering the information on a ti multiplexed bi-directional bus.
  • a further feature is the capability of automatically testing for shorts on the bi-directional bu Without this feature, the "stop-on-first-fail" algorithm be defeated.
  • the sequential diagnostic algorithm herein disclosed may also be adapted to be embodied in any testi machine which is capable of sequentially monitoring all machine cycles and of stopping on the first failure of signal coincidence with a reference.
  • the algorithm may be implemented with a logic state analysis- type tester, a truth-table-type tester, or comparison-typ tester.
  • the algorithm cannot be implemented on signature-type testers since such testers cannot recogniz the first sequential failure.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

An automatic test apparatus (10) coupled to a bi-directional internal data and control bus (26) of a programmed microprocessor@based system (14) tests the performance of the system (14) in real time. Signal responses of the bus (26) within a known good system (12) are compared in real time to signal responses on the bus (26) of the unknown system under test (14) in order to identify faults. Faults are isolated by a sequential algorithm which stops operation at the designated occurence of a fault, typically the first fault, and thereupon traces the error causing the fault to the subsystem or components in the system under test (14) supplying the indicated error signal to the bi-directional bus (26).

Description

TESTER FOR MICROPROCESSOR-BASED SYSTEMS SPECIFICATION
Background of the Invention 1. Field of the Invention
This invention relates to automatic testing equipment (ATE) for dynamic testing of a microcomputer and specifically a microprocessor-based board. By a microprocessor-based board, it is meant a general-purpose central processing unit (CPU) or a special purpose microprocessor-based process controller, or the like, which is assembled in a self-contained package such as one or several circuit boards and is characterized by input and output terminals, (board edge inputs and outputs), at least one microprocessor unit (MPϋ), a bi-directional data and control bus coupled with the MPU, and at least some programmed logic functions (in either hardware or software form) , and which is capable of performing complex system functions and executing instructions according to "intelligent", i.e., programmed, decision criteria. In particular, the invention is related to a technique for automatic operational (real-time) testing of a microprocessor-based board or system.
As the complexity of large-scale integration (LSI) has increased and the applications for miniature and special purpose computers have expanded, the need for diagnosing errors in operational functions and faults in circuitry has also increased. Bus-connected LSI boards and MPU-based boards and systems have developed to such complexity that traditional testing is cumbersome and often impossible. While facilities and techniques for testing unprogrammed MPUs as well as LSI-type components, including random log systems, are known to the art, such facilities and techniques have heretofore been inadequate for testing
"intelligent" systems, such as programmed MPO-based board or systems under actual operating conditions.
One difficulty in attempting to upgrade conventional ATE is the lack of facilities to automatical and sequentially search out and identify sources of error and locations of faults within a bus-connected operating system. A second difficulty, which inhibits the diagnosi of faults, is the relatively limited access given the ATE the internal operation of the system. The MPU-based boar or system with its minimum component count and minimum number control and data lines represents a tremendously advanced system design. But, when such a system works improperly, i.e., requires debugging, the complexity of t debugging problem can defy diagnosis by previously known trouble-shooting techniques. There is thus a need for improved techniques and devices for automatically testing microcomputer-based boards and systems.
2. Description of the Prior Art Logic testers for random logic systems are know
Many testers employ so-called spatial algorithms wherein faults are traced by physically isolating location. The application of spatial algorithms is generally limited to fault tracing of non-bus-connected random logic systems. Programmed components are typically isolated or removed f a tested system to simplify fault analysis.
Logic testers for some simple microprocessor-ba systems are also known. Fluke Trendar of Mountain View, California, manufactures a line of microprocessor board testers utilizing nodal signature diagnostic and real-tim comparative diagnostic techniques for testing of random logic boards, LSI-type boards and microprocessor-based boards. One such representative system is the Model 3040A. Testers and techniques have also been developed capable of testing complex and irregular LSI devices in real time. A representative system is offered by Megatest Corporation of Sunnyvale, California. The level of complexity of a programmed microprocessor-based board, however, exceeds the current capability of these or other ATE to thoroughly analyze and detect faults. For example, known spatial algorithms are incapable of locating faults which create errors propagated through a programmed bus-connected system. Therefore, with the increased availability and importance of microprocessor-based boards, there is an increased need for ATE capable of quickly and thoroughly diagnosing faults in complex programmed systems.
Summary of the Invention According to the invention, an automatic test apparatus is coupled to a bi-directional internal data, address and control bus of a programmed microprocessor-based system and tests the performance of a system in real time by direct comparison with a known good system (reference system) . Signal responses on the bi-directional bus in the reference system are compared in real time to the unknown system, (system under test or test system), in order to sense failures. Failures are isolated by monitoring the digital signals on the bi-directional bus, and, according to a sequential algorithm, stopping the test at the first occurrence of a failure, identifying the status of the bus at the occurrence of the failure, and directing a search for the source of the failure. The technique is known as a "stop on first fail" algorithm. The "stop on first fail" algorithm prevents a failure from propagating through a system which would otherwise make it impossible to locate the source of the fault. The bi-directional bus is coupled to the microprocessor unit and acts as a sequentially time-shared "spinal cord" among subsystems communicating with the microprocessor unit. As such, the bus represents a tigh software/hardware feedback loop. According to the invention, therefore, the feedback loop is broken and th failure is traced by identifying the functional status o the bus and indicating the location of the failure throu automatic reference to the microprocessor memory map. ( memory map is a correspondence between memory locations within the computer system and actual devices implementi those locations.) The principal object of this invention is to provide a means for automatically diagnosing faults of a programmed microprocessor-based board or system. This i accomplished by providing means for accessing and techni for monitoring the bi-directional data and control bus coupled to the MPϋ on the microprocessor-based board to locate operational failures..
A further object of the invention is to operat two microprocessor-based boards in parallel real time fo test purposes, one of which is a system under test (test system or SUT) . This is accomplished by stimulating bot the reference system (REF) and the SUT by peripherals (i and output devices) common to both systems or by a commo stimulus generator. In addition, means are provided for synchronously clocking the operation of both the REF and SUT.
A further object of the invention is to provide diagnostic algorithm for locating faults. The algorithm operative to simultaneously stop the operation of the REF and the SUT at the first occurrence of non-coincident signals on the MPϋ bus. The algorithm employs direct information, data information, and status information derived from the monitoring of all input and output terminals of the MPU and the memory map of- the SUT to loc and display the source of the failure. A display may indicate which channel is the source of the error. The t "channel" refers to that device corresponding to a particular memory address. A channel is identified from information obtained at the first failure and through the memory map.
A still further object important to the operation of the invention is to provide an ability in the tester itself to utilize key information fed to the MPU, and particularly to identify the status and operational mode of the bi-directional bus.
Other objects and advantages will be apparent by reference to the following detailed description.
Brief Description of the Drawings Fig. 1 is a block diagram of a tester according to the invention illustrating the testing equipment.
Figs. 2A and 2B are together a detailed block diagram of the tester of Fig. 1. Fig. 2C illustrates the manner in which Figs. 2A and 2B relate. Figs. 2A, 2B and 2C are referred to collectively as Fig. 2.
Fig. 3 is a flow chart illustrating the sequential diagnostic algorithm according to the invention. Fig. 4 is a circuit diagram according to the sequential diagnostic algorithm.
Fig. 5 is a circuit diagram of a preferred embodiment of the primary data collection functions according to the invention.
Detailed Description of the Preferred Embodiments Figure 1 illustrates a test system environment embodying the invention. The environment includes a testing apparatus 10, a programmed computer system to be tested, "SUT" or "test system" 12, a system for comparison with the test system, "REF" or "reference system" 14, and operational peripheral devices 16 coupled through digital logic to the test system 12 and the reference system logic.
The peripheral devices 16 operate to stimulate both the test system 12 and the reference system 14 in synchronism. The peripheral devices 16 may be input/output equipment actually used in an operational system, such as displays, keyboards, printers and sensors, or there may provided a stimulus generator which is operative to simu actual input/output signals.
The basic architecture of the programmed syste 12, 14 is also illustrated in Fig. 1. Each system 12, 1 self-contained on a circuit board 15. Each system 12, 1 comprises a digital central processing unit (CPU) 18, me 20, an input/output subsystem 22, interface logic 24 and directional (or three-state) data and control bus 26. A clock 28 or clock input 30 is associated with each CPU 1 The memory 20 comprises a storage medium for digitized data and for an ordered set of operational instructions (a program) for the CPU 18. The program ma permanently resident in memory 20, for example, in the f of a read only memory, or it may be temporarily resident in a random access memory having read and write capabilities.
In order for the programmed test and reference systems 12 and 14 to be self-contained, the CPU 18 compr a microprocessing unit which is generally provided in a single unit package (chip) with multiple terminals 30. typical microprocessing unit chip has forty terminals. terminals 30 are coupled to the bi-directional bus 26. The bus 26 is the main control and data information conduit of the programmed systems 12, 14, an is adapted to transmit information rapidly in both directions and in time-multiplexed format between subsys coupled thereto.
The programmed systems 12, 14 communicate with external environment through a further terminal set at t edge of the circuit board, often called a board edge connector 32. The edge connector 32 couples with the sy interface logic 24, which in turn couples with the input/output system 22, which in turn communicates with bus 26.
According to the invention, in order to diagno faults in the test system 12, the testing apparatus 10 i
- directly coupled to the bi-directional bus 26 of the test system 12 through a test bus probe 34 via a test bus cable assembly 36, and also to the bus 26 of the reference system 14 through a reference bus probe 38 via a reference bus cable assembly 40. The coupling is made in such a manner that comparison between simultaneous signals on the respective buses 26 can be made to detect non-coincidences ("failures") and to automatically trace them to their sources based on the information supplied by the bus 26. In addition, a manual test probe 42 and a manual reference probe 44 may be provided for manually tracing faults not associated with the bus 26.
Turning now to Fig. 2, there is shown the testing apparatus 10 of Fig. 1 in greater detail. In addition to the interconnections shown in Fig. 1, the test system 12 includes a clock (MPU clock) 28 which is coupled to the test system CPU 18 in a CPU socket 19 and to the reference system 14. The MPU clock 28 is operative to synchronize the reference system 14 with the test system 12 to assure precisely synchronous operation.
In the preferred embodiment, the multiple terminal probes 34, 38 are typically a forty-pin connector (corresponding to the number of CPU 18 terminals). The probes 34, 38 are generally attached directly to the test unit CPU 18 and reference unit CPU 18 in CPU socket 19. A cable assembly 48 interconnects the testing apparatus 10 and the test environment. The cable assembly 40 includes the forty-line bus cables 36, 40 adapted to convey all signal information coupled to the CPU 18, which in turn are coupled respectively to a test cable buffer circuit 50 and a reference cable buffer circuit 52.
The respective cable buffer circuits 50, 52 are operative to buffer the inputs and outputs of the CPU 18 for driving the diagnostic circuitry of the testing apparatus 10.
The sequential diagnostic algorithm according to the invention cannot be accurate if the bus 26 contains short circuits. Therefore a separate test and test configuration is needed to check the bus 26 (Fig. 1) of th test system 12 for short circuits. For a shorts test, the buffer 50 is adapted to include logic circuitry 54 for testing for internal shorts on the test system bus 26. Th shorts test logic circuitry 54 (Fig. 2) may specifically include a shorts test register (not shown), which is a thr state register. The shorts test register is responsive to shorts test data via a shorts test data line 58 and to a shorts test clock 56.
The shorts test sequence is undertaken as follow The tester 10 is preprogrammed with an indication of which CPU terminals 30 (Fig. 1) are permanently stuck in high or low states so that those terminals are ignored. The CPU 1 is removed from its socket 19 in the test system 12 for th duration of the shorts test. The multiple terminal probe is then connected to the test system CPU socket 19 to forc all possible lines of bus 26 to float. Thereafter the shorts test register is cleared to zero. Then all lines o bus 26 are tested one at a time for any which are stuck in high state. Thereafter a single high bit is clocked throu the shorts test register one place at a time for each of t bus lines to change each of the bus lines high one at a time. Each of the other bus lines is also tested to determine if any of the other bus lines has also changed state. In this manner each of the bus lines is checked to determine whether it is stuck high, stuck low or stuck together with another bus line.
Referring now to the testing apparatus 10 per se the essential components are a central controller 60, control switches or buttons 62, a display device 64 (such a cathode ray tube (CRT) or the like), cycle or personalit logic 66, test and reference buffers 68 and 70, and variou special purpose comparator and latch subsystems 72, 74, 76 and 78.
The bus 26, being bi-directional and sequential, contains information whose significance varies with time.
~ ι By way of example (with reference to Fig. 1), the information on the bus 26 at one instant may be output from the CPU 18 to a particular memory 20 or I/O subsystems 22. At another instant the- bus contained information may be input data to the CPU 18. At still another instant the CPU 18 may use the bus 26 to identify to other subsystems state information on its current operation or state. Address as well as data information may be time-multiplexed onto the common bus 26. The bus may also exhibit an "off" state (characterized by a high impedance) during which time signals on the bus 26 have no significance.
The testing apparatus 10 must be capable of responding to or decoding the significance of each signal or state occurring on the bus 26. The personality logic 66 is tailor designed to the characteristics of the type of CPU 18 employed in the test system 12. The personality logic is operative to generate specialized strobe signals (via strobe lines 71, 73, 75, 77 and 79) and status signals (via CPU status bus line 110) for correct operation of the testing apparatus 10 with the particular CPU 18. The personality logic 66 is combined with test buffer 68 to direct the timing and the routing of microprocessor signals to the comparator inputs.
The strobe signals are for time-demultiplexing the sequential bus line signals which enables the central controller 60 to sort out the information flowing on the bi¬ directional bus 26, and eventually to separate failure sources. For example a data strobe carried via line 75 is derived by the personality logic 66 to identify those instants at which the bus 26 contains valid data. A status strobe, carried by lines 71, 77, is similarly derived for identifying the particular process cycle in progress. The status strobe further defines the type of information transfer taking place on the bus 26. An address strobe, carried via line 73, identifies when a valid address is being presented on the bus 26. Further strobes, as for example a control strobe carried via line 79, are employed to sample the states of the various control signals to an from the CPU 18, and also to time demultiplex shared address/data terminal input and output terminals of the C 18. The personality logic 66 and buffers 68 and 70 may include storage registers (not shown) for temporarily storing digital information which can then be transmitted parallel with subsequent information through an enhanced line output bus of the buffers 68 and 70. In the preferr embodiment the buffers 68 and 70 are provided with forty input lines whereas a forty-eight line output is provided Turning now to the comparator and latch subsystems, the first comparator and latch subsystem, her the address comparator/latch 72, is coupled to receive parallel address signals from both the reference system buffer 70 and the test system buffer 68. The second comparator and latch subsystem, herein the data comparator/latch 74 is coupled to receive data informatio from the reference system buffer 70 and test system buffe 68. The third comparator and latch subsystem, herein the control/miscellaneous comparator/latch 76, is coupled to receive control signals and other miscellaneous signals f the reference system buffer 70 and test system buffer 68.
The fourth comparator subsystem, herein the pro comparator 78, is an optional comparator coupled directly the manual probes 42 and 44. The comparator/latches 72, and 76 are adapted to compare reference system bus signal and test system bus signals in parallel operational relation. Each of the comparator/latches 72, 74, 76 provides four output types, namely a "Fail Indication" 80 82 and 84, a state description ("State") 86, 88 and 90, a stuck register description ("Stuck") 92, 94, 96 and a failure description ("Failures") 97, 98 and 100.
In order to assure that the reference system 14 and test system 12 commence operation under identical conditions, the central controller 60 provides a reset mechanism via a reset signal line 46.
C\Ϊ?Γ A Fail Indication signal 80, 82, 84 is generated whenever a comparator detects non-coincidence between outputs of the reference buffer 70 and the test buffer 68. The particular Fail Indication signal identifies the type of failure, namely address, data or control. When failure occurs, the controller 60 immediately removes enable signals via signal line 102 from the comparators 72, 74, 76, 78 and the personality logic 66. This freezes the state of the latches in the comparator/latch subsystems 72, 74, 76 prior to the occurrence of the next timing strobe and thereby captures the State, Stuck and Failures description in the current location. The State buses 86, 88 and 90 are merged into a single State bus 104, the Stuck buses 92, 94 and 96 are merged into a single Stuck bus 106 and the Failures buses 97, 98 and 100 are merged into a single Failures bus
108. The Failures bus 108 identifies the address of the non- compare signals. The Stuck bus 106 identifies the signals which have never experienced logic state transitions. The State bus 104 identifies the address and status of the system program at failure.
The removal of the enable signal via signal line 102 to the personality logic 66 also causes a latch (not shown) in the personality logic 66 to provide a CPU status signal to the controller 60. The system information provided by the comparator/latches 72, 74 and 76 and the CPU status information disclose to the central controller 60 the identity and the location of faults within the test system 12.
A sequential diagnostic algorithm shown in Fig. 3 is the technique employed by the central controller 60 to analyze the information and to present the analysis in useful form to a display/output device 112.
The separate Fail Indication signals via signal lines 80, 82 and 84 serve as flags permitting the controller 60 to separate address, data and control failures according to the sequential diagnostic algorithm of Fig. 3. Once a failure has been sensed (via signal lines 80, 82 or 84) the controller 60 checks CPU status (signal line 110). If the CPU 18 is operating in a direct memory access (DMA) cycle (step 200) the controller 60 immediatel identifies and signals a Bus Device Failure (step 202), causing display of current address, data and status information. This information will indicate failure at a specific bus-connected subsystem. Using this information, the user with the help of a program memory map of the test system 10 locates the defective bus-coupled subsystem. Th memory map may be automatically referenced by the controll 60 through a separate algorithm that compares the address, data and status information with the parameters of a memor map description. A description of an automatic memory map search is given hereafter. If the failure is not located a bus-coupled subsystem, then the bus-coupled subsystem propagating the failure is used as a starting point to locate the failure through a conventional spatial diagnost algorithm using the manual probes 42, 44. if a failure does not occur on a DMA cycle, the controller 60 then checks for address failure (step 204), that is, non-coincidence between the address information o the test system 12 and the reference system 14 indicated b signal line 80. A positive address failure indication points to a failure in the CPU 18 (step 206) thereupon the controller 60 causes display of "CPU FAIL" or the like, or the cycle count at fail (operational termination) .
If no address failure is indicated (step 204), then the controller 60 checks for a control signal failure (step 208) as indicated by signal line 84. If a control signal failure is positively indicated, the controller 60 checks the CPU status line 110 to determine if the conditi occurred during control input (step 210), thereby indicati input control signal failure. A positive indication point to a bus-coupled subsystem failure (step 202) locatable wi the help of the program memory map previously described. negative indication points to a CPU failure (step 206).
_ρ__.τι If no control signal failure is indicated (step 208), then the controller 60 checks for data failure (step 212) as indicated by signal line 82 (Fig. 2). If data failure has occurred, the controller 60 checks CPU status through line 110 to determine if the condition occurred during a write cycle (step 214). A positive indication points to CPU failure (step 206). A negative indication points to a bus-coupled subsystem failure (step 202).
If no data failure has been indicated (step 212), then the controller 60 signals occurrence of an extraneous failure. An error sign (step 216) is caused to be displayed together with the program count at fail. The error sign generally indicates a problem which is not caused by the test system 12 and therefore not within the capability of the testing apparatus 10 to diagnose automatically. In summary, a controller 60 embodying the sequential diagnostic algorithm comprises a means for indicating the nature of the non-coincidence between the reference system 14 and the test system 12 and a means for designating the bus-coupled subsystem originating the non- coincidence. Thus a test apparatus 10 incorporating the sequential diagnostic algorithm greatly facilitates the isolation of programmed microprocessor-based board/system faults. The sequential diagnostic algorithm of Fig. 3 may be embodied as either a hard-wired circuit of digital logic gates or in software form. Figure 4 illustrates one circuit embodiment employing AND, OR and inverter gates. The circuit separates failures into either bus-coupled subsystem faults or CPU faults according to the following Boolean logic equations: f = A + B(CD + E) Eq. 1 g = A(B + CD + F) Eq. 2 where f is TRUE if there is a bus-coupled subsystem failure; g is TRUE if there is a CPU failure; A is TRUE if the system is on a DMA cycle at failure;
B is TRUE if there is an address failure;
C is TRUE if there is a data failure;
D is TRUE if the system is on a read cycle at failure;
E is TRUE if there is an input control signal at failure; and
F is TRUE if there is an output control failure. Figure 4 represents a schematic diagram of a circuit according to Equations 1 and 2.
The test system memory map may be embodied manually by reference to printed documentation or automatically through an auxiliary memory map input device 63 (Fig. 2) coupled to the central controller 60. The identification of a faulty bus-connected subsystem may the become the starting point of a technique or algorithm for automatically guiding the user to the faulty device or nod (terminal). One such guide probe algorithm is the Autotrack™ algorithm embodied in the Model 3040A Logic
Tester built by Fluke Trendar Corporation of Mountain View California.
The implementation of the search for the program or data location of failure comprises first specifying the program address or address range of each of the bus-couple subsystems. Thereafter, utilizing the tester-generated address at failure, sequentially searching the address entries in the memory map until a matching address or cor¬ related address range is found. Then comparing the data b bits for which failure occurred against known information about which data bus bits are associated with that particular entry in the address map. This last step is necessary because each data bus bit may designate a different subsystem coupled to the data bus. For example, if 1024 8-bit bytes (words) of read-write memory are implemented with eight separate 1024 x 1 bit Random Access Memory (RAM) chips, eight entries are needed for that rang of 1024 addresses, and each entry would be identifiable only by matching with the data bus bit corresponding to each chip.
However, once the address at failure has been isolated and the correct data bus bit has indicated which chip is active at failure, the tester has isolated the bus- coupled subsystem causing the error.
Details about specific implementation of the search technique depend upon the architecture of the apparatus which actually carries out the search technique. One suitable apparatus is the Fluke Trendar 3040A Logic Tester mentioned above. The organization of the data base, in this case a memory map, stored in the logic search apparatus determines the search implementation. One example of one possible organization for search implementation is given in the Table below. In the Table, the first three columns are in hexadecimal (base 16) notation and the last column is in character notation such as ASCII code. Column 3 is a data bit mask for identifying data bus bit position of a device coupled to the data portion of bus 26 (Fig. 1). The example is shown for a 16-bit address and 8-bit data bus configuration. Entries 2 through 9 exemplify the 1024 x 1 bit RAM chips of the above example. Entry 1 is for a 2048 x 8 Read Only Memory (ROM) chip.
_ Q..-.H _ TABLE MEMORY MAP DATA ORGANIZATION
START STOP
ENTRY ADDRESS ADDRESS DATA MASK SUBSYSTEM IDENTIFIER
1 0000 07FF FF U27 - PROG 5. ROM 2 8000 83FF 80 U45 - RAM BIT 7 3 8000 83FF 40 U44 - RAM BIT 6 4 8000 83FF 20 U43 - RAM BIT 5 5 8000 83FF 10 U42 - RAM BIT 4 6 8000 83FF 08 U41 - RAM BIT 3 7 8000 83FF 04 U40 - RAM BIT 2 8 8000 83FF 02 U39 - RAM BIT 1 9 8000 83FF 01 U38 - RAM BIT 0
Referring now to Fig. 5, there is shown a schematic diagram of one embodiment of a digital circuit implementing the basic data gathering function of the comparator/latches 72, 74 and 76 (Fig. 2) together with selected auxiliary functions. The auxiliary functions include a mode selector 250, and address/mask circuit 252 and a cycle counter 254.
The comparator/latch subsystems 72, 74; 76 comprise a comparator section, a failure indication section and a three-state latch section.
The comparator section comprises forty EXCLUSIVE OR gates 260 (with inverted outputs) connected in parallel to the reference system buffer 70 and the test system buffer 68 (Fig. 2). The three-state latch section includes a first array 270 of ten four-input D-type registers, such as type 8551 (manufactured by National Semiconductor Corporation of Santa Clara, California), a second array 272 of ten four- input D-type registers, also type 8551, and a third array 274 of ten four-bit latches or quad latches such as type 8544 also manufactured by National Semiconductor Corp.
The inputs of the first array 270 are derived from the outputs of gates 260. The first array 270 is operative to store failing pin information, if any, and to make that information available to the controller 60.
The inputs of the second array 272 are derived from the output test buffer 68. The second array is operative to store all binary state information and to make it available to the controller 60. The third array 274 derives input from an array of forty dual input EXCLUSIVE OR gates 276 whose inputs consist of the state information from test system buffer 68 and from forty parallel delay circuits 278 (D-type flip-flops). The third array is thus operative to store the compared current and previous state information to determine if there has been activity on each information line indicating stuck pins and to make the information available to the controller 60. The failure indication section comprises the outputs of gates 260 coupled in groups of five to eight input NAND gates 262, each of which is coupled to a faul latch 264. The eight fault latches 264 comprise D-type flops. The inverted outputs "Q are coupled to one nine-i NAND gate 266. In operation, a non-coincidence at any of the comparators 260 is propagated to the fault latches 26 which signals a Failure Indication at the output of gate 266, to the mode selector 250. In the normal fault sensi mode, the Failure Indication disables the cycle counters and freezes all latches.
Other test modes of operation of the test apparatus 10 besides "stop-on-first-fail" may include "st on-count", "stop-on-Nth-fault" , "stop-on-probe" and "sto external-signal" .
In the "stop-on-count" mode the mode selector 2 monitors the COUNT signal line from cycle counter 254. the cycle counter 254 registers a predetermined count, wh has been entered by the operator via keyboard control switches 62 (Fig. 2), the mode selector 250, through the signal line, it causes all registers and latches 270, 272 274 to be loaded with the current test information.
The "stop-on-probe" mode is normally employed after a bus failure has been identified in order to isola a non-bus-coupled failed subsystem. The manual probes 42 44 (Fig. 1) are coupled to comparator 78 (Fig. 1) whose output as PROBE (Fig. 5) is provided to at least one of t
NAND gates 266 (Fig. 5) and to the mode selector 250. Th manual probes 42, 44 are employed according to convention spatial diagnostic techniques to isolate the subsystem or device generating bad (non-coincident) outputs from good
(coincident) inputs.
In the "stop-on-external-signal" mode, the test apparatus 10 is operative to stop and latch data on an external signal. It is used when the test apparatus 10 i interfaced with other testers, as well as for diagnostic testing of the test apparatus 10 itself. The "stop-on-Nth-failure" mode enables the operator to terminate system operation on a sensed non- coincidence other than the first sensed non-coincidence. This feature is particularly useful in testing circuitry or components which cannot be initialized such as a memory refresh controller having an internal counter (such as Intel 3222 of the Intel Corporation, Santa Clara, California) or an analog-to-digital (A/D) converter. Uninitializable circuits may cause meaningless non-coincidences to be detected as failures, such as non-coincidences resulting from start-up. In addition, this test mode may provide useful information by indicating how a real error would propagate through a system if the test system is allowed to continue operating after a failure occurs. Referring to Fig. 5, to implement the "stop-on-Nth- failure" mode a counter clock selector 255 is provided at the input of the cycle counter 254. The cycle counter 254 in operation is preloaded with N, the number of failures to be ignored. The counter clock selector 255 monitors the FAIL signal output of NAND gate 266 to cause the cycle counter 254 to be clocked once each failure. Consequently the mode selector 250 inhibits the transition of the ENA signal in response to the FAIL signal until the COUNT signal line from the cycle counter 254 indicates that the predetermined number of failures has been counted.
One further feature of the invention is a masking function provided by the address/mask circuit 252. The address/mask circuit 252 provides two types of masks, a hard¬ wired mask (EXT MASK) and a software-derived mask (ADDRESS). The masking function is particularly useful when the test system 12 cannot be immediately initialized. The hard-wired mask (EXT MASK) couples to the reset input of the fault latch 264. The software-derived mask (ADDRESS) is initially loaded into an array of J-type flip-flops on the master reset (MR) signal and then is coupled to the fault latch
264. EXT MASK is operative to mask failures when TRUE. The 20
ADDRESS mask is intended to mask all failures until a specified address occurs.
The invention has now been explained with reference to specific preferred embodiments having particular advantages over the prior art. In summary an way of example of the numerous advantages, the following features are noteworthy. The inventive test apparatus provides access to the principal bi-directional .bus of a programmed microprocessor-based system, which considerab simplifies system diagnosis as compared with prior art e connected testers. The invention is optimized for sequential bus-coupled operating systems such as program systems, as contrasted to random logic systems.
The invention provides controlled synchronous multiple clocking functions, which simplify diagnosis of programmed systems. Moreover, the invention allows for system diagnosis through program location and subsystem status analysis. Address, data and status, information i segregated, and a memory map is used to trace errors. . The invention provides a display of the channe fault rather than the failed pin. Inherent in the inven is the capability of deciphering the information on a ti multiplexed bi-directional bus.
A further feature is the capability of automatically testing for shorts on the bi-directional bu Without this feature, the "stop-on-first-fail" algorithm be defeated.
The sequential diagnostic algorithm herein disclosed may also be adapted to be embodied in any testi machine which is capable of sequentially monitoring all machine cycles and of stopping on the first failure of signal coincidence with a reference. For example, the algorithm may be implemented with a logic state analysis- type tester, a truth-table-type tester, or comparison-typ tester. However, the algorithm cannot be implemented on signature-type testers since such testers cannot recogniz the first sequential failure. Other features, advantages and obvious modifications will be apparent from the foregoing description to those of ordinary skill in the art. It is therefore not intended that this invention be limited except as indicated by the appended claims.

Claims

WHAT IS CLAIMED IS:
1. In an apparatus for testing a substantially self-contained programmed computer system, designated a t system, for identity with a second substantially self- contained programmed computer system, designated a refere system, the test system and the reference system being adapted to synchronously respond to a common clock means a common external input/output signal generating- means, e one of said programmed computer systems including subsystems, namely a central processing unit having a microprocessor, said microprocessor having a plurality of terminals, said microprocessor being removably mountable socket means of the central processing unit, a memory mea for a resident operational program and for data storage, input/output interface means communicating with the input/output signal generating means, and a bi-directiona bus which is coupled to each one of said subsystems and which is operative to communicate digital signals between said subsystems, the testing apparatus characterized by: first means including a signal connector for connecting said testing apparatus to the test system bus detecting said digital signals thereon, said signal connector comprising a multiple-terminal microprocessor connector means which couples said socket means with said microprocessor, said first detecting means further comprising buffer means coupled between said microprocess and comparing means; second means including a signal connector for connecting said testing apparatus to the reference system bus for detecting said digital signals thereon, said sign connector comprising a multiple-terminal microprocessor connector means which couples said socket with said microprocessor, said second detecting means further comprising buffer means coupled between said microprocess and comparing means; means coupled to said first bus signals detecting means and to said second bus signals detecting means, corresponding signals of said first and second bus signals detecting means being paired for comparing test system bus signals and reference system bus signals synchronously to detect non-coincidence therebetween; means for simultaneously terminating operation of the test system and of the reference system upon- detection of said non-coincidence; and means for indicating the nature of said non- coincidence.
24
2. An apparatus according to claim 1 wherein comparing means comprises an array of dual-input EXCLUS OR gates and an array of storage registers, the first i of each one of said gates being coupled to receive said signals from said first detecting means, the second inp each one of said gates being coupled to receive said bu signals from said second detecting means, the output of one of said gates being coupled to an input of one of s storage registers, said terminating means being coupled register an indication of non-coincidence between input each one of said gates and to cause storage of a representation of said non-coincidence.
3. An apparatus according to claim 2 wherein indicating means includes means coupled to said test sy bus for storing a representation of digital signals the in response to a registered indication of non-coinciden from said latch means.
4. An apparatus according to claim 3 wherein indicating means further includes means for sensing and storing signal indications of signal lines of said bus having experienced no signal change.
5. An apparatus according to claim 4 wherein sensing means comprises an array. of further dual-input EXCLUSIVE OR gates and an array of further storage registers, the output of each one of said further regis being coupled to one input of each one of said further gates, the input of each one of said further registers the other input of each one of said further gates being coupled to receive said test bus signals. 6. An apparatus according to claim 1 further including means for designating the bus-coupled subsystem originating the non-coincidence.
7. An apparatus according to claim 6 wherein said designating means is operative to designate between a central processing unit failure and a failure in another bus- coupled subsystem according to the following equations: f = A + B"(CD + E) g = A(B + CD + F) where g is TRUE if there is central processing unit failure; f is TRUE if there is a failure in another bus- coupled subsystem;
A is TRUE if the programmed system is operating on a direct memory access cycle during failure;
B is TRUE if there is an address failure; C is TRUE if there is a data failure;
D is TRUE if the programmed system is operating on a read cycle at failure;
E is TRUE if there is an input control failure; and F is TRUE if there is an output control failure.
8. In a digital test environment having means f providing external real-time signal stimulus to a plurali of identical programmed systems including at least a reference system and one system under test (test system), each said reference system and test system having data an control bus means, a microprocessor-type central processi unit and subsystems coupled to said bus means, said environment further having means adapted to be coupled directly to data and control signal bus means of said tes system for monitoring bus signals and means for comparing the bus signals of said reference system with the bus signals of said test system, and means for storing the signal response of said test system, a method for locatin faults in said test system under test comprising: a) exercising each one of said systems synchronously; b) comparing in real time the bus signals of sa reference system with said test system; c) terminating said exercising after a predetermined number of designated indications of non- coincidence of any corresponding bus signals; and d) identifying a channel originating the non- coincidence by reference to bus address, data and status signals at the occurrence of said designated non-coincide by preserving the state of bus signals extant on said bus means of said test system at the occurrence of said terminating step, and distinguishing between failures occurring in said central processing unit and at least one of said bus-coupled subsystems. 9. A method according to claim 8 wherein said preserving step is characterized by: collecting central processing unit status information, and system state failure and stuck information respecting address, data and control signals; and wherein said distinguishing step is characterized by: determining if said central processing unit is operating in a direct memory access cycle, and if so, designating a bus-coupled subsystem failure, and if not; determining if said non-coincidence occurred in said data signals, control signals or address signals; if said non-coincidence occurred in said address signals, designating a central processing unit failure; if said non-coincidence occurred in said control signals, determining whether said control signals non- coincidence is an input control signal failure or an output control signal failure; if an input control signal failure occurred, designating a bus-coupled subsystem failure, and if an output control signal failure occurred, designating a central processing unit failure; if said non-coincidence occurred in said data signals, determining whether said data signals non- coincidence occurred in a write cycle, and if so designating a central processing unit failure, but if not, designating a bus-coupled subsystem failure.
10. A method according to claim 9 further including the step of identifying the bus-coupled subsystem by examining a memory map of said program memory subsystem and comparing said memory map with a current program address, said subsystem identifying step occurring upon the designating of a bus-coupled subsystem failure.
___ cy i \
EP19790901509 1979-07-27 1981-02-24 Testor for microprocessor-based systems. Withdrawn EP0032895A4 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/US1979/000550 WO1981000475A1 (en) 1979-07-27 1979-07-27 Testor for microprocessor-based systems

Publications (2)

Publication Number Publication Date
EP0032895A1 EP0032895A1 (en) 1981-08-05
EP0032895A4 true EP0032895A4 (en) 1982-03-22

Family

ID=22147651

Family Applications (1)

Application Number Title Priority Date Filing Date
EP19790901509 Withdrawn EP0032895A4 (en) 1979-07-27 1981-02-24 Testor for microprocessor-based systems.

Country Status (4)

Country Link
EP (1) EP0032895A4 (en)
JP (1) JPS56500945A (en)
BR (1) BR7909027A (en)
WO (1) WO1981000475A1 (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5043984A (en) * 1987-04-14 1991-08-27 Japan Electronic Control Systems Co., Ltd. Method and system for inspecting microprocessor-based unit and/or component thereof
US4998250A (en) * 1988-09-08 1991-03-05 Data I/O Corporation Method and apparatus for determining an internal state of an electronic component
US4974080A (en) * 1989-06-13 1990-11-27 Magni Systems, Inc. Signal generator with display and memory card
GB2277817B (en) * 1993-05-06 1997-07-16 Qmax Technologies Pte Limited A bus cycle signature system
DE10144050A1 (en) 2001-09-07 2003-03-27 Bosch Gmbh Robert Verification of the software functions of a control unit, e.g. for use in automotive or machine tool applications, by use of a computer simulation model that is used for a experimental control unit and a serial control unit
CN106646186B (en) * 2016-10-10 2023-05-23 上海灵动微电子股份有限公司 Batch test method and system for chips

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3898621A (en) * 1973-04-06 1975-08-05 Gte Automatic Electric Lab Inc Data processor system diagnostic arrangement
US3908099A (en) * 1974-09-27 1975-09-23 Gte Automatic Electric Lab Inc Fault detection system for a telephone exchange
US4125763A (en) * 1977-07-15 1978-11-14 Fluke Trendar Corporation Automatic tester for microprocessor board

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2269148B1 (en) * 1974-04-25 1978-01-20 Honeywell Bull Soc Ind
US4097797A (en) * 1974-10-17 1978-06-27 Burroughs Corporation Apparatus for testing electrical circuit units such as printed circuit cards
US4001818A (en) * 1975-10-22 1977-01-04 Storage Technology Corporation Digital circuit failure detector
US4044244A (en) * 1976-08-06 1977-08-23 International Business Machines Corporation Automatic tester for complex semiconductor components including combinations of logic, memory and analog devices and processes of testing thereof
US4066883A (en) * 1976-11-24 1978-01-03 International Business Machines Corporation Test vehicle for selectively inserting diagnostic signals into a bus-connected data-processing system
US4168527A (en) * 1978-02-17 1979-09-18 Winkler Dean A Analog and digital circuit tester
US4161276A (en) * 1978-03-01 1979-07-17 Ncr Corporation Complex logical fault detection apparatus and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3898621A (en) * 1973-04-06 1975-08-05 Gte Automatic Electric Lab Inc Data processor system diagnostic arrangement
US3908099A (en) * 1974-09-27 1975-09-23 Gte Automatic Electric Lab Inc Fault detection system for a telephone exchange
US4125763A (en) * 1977-07-15 1978-11-14 Fluke Trendar Corporation Automatic tester for microprocessor board

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of WO8100475A1 *

Also Published As

Publication number Publication date
EP0032895A1 (en) 1981-08-05
WO1981000475A1 (en) 1981-02-19
JPS56500945A (en) 1981-07-09
BR7909027A (en) 1981-05-26

Similar Documents

Publication Publication Date Title
US4183459A (en) Tester for microprocessor-based systems
US4242751A (en) Automatic fault-probing method and apparatus for checking electrical circuits and the like
US4709366A (en) Computer assisted fault isolation in circuit board testing
US4993027A (en) Method and apparatus for determining microprocessor kernal faults
US6732311B1 (en) On-chip debugger
US7900086B2 (en) Accelerating test, debug and failure analysis of a multiprocessor device
US4433413A (en) Built-in apparatus and method for testing a microprocessor system
US5515384A (en) Method and system of fault diagnosis of application specific electronic circuits
EP0370929A2 (en) Kernel testing interface and method for automating diagnostics of microprocessor-based systems
EP0182388A2 (en) Logic circuit test probe
US4620302A (en) Programmable digital signal testing system
EP0170878A1 (en) Method and apparatus for testing electronic equipment
US7673188B2 (en) System and method for controlling synchronous functional microprocessor redundancy during test and method for determining results
CN111078492B (en) State monitoring system and method for SoC internal bus
US4551837A (en) High speed operational recurring signature evaluator for digital equipment tester
US5068852A (en) Hardware enhancements for improved performance of memory emulation method
CN115454751A (en) FPGA chip testing method and device and computer readable storage medium
WO1981000475A1 (en) Testor for microprocessor-based systems
US4796259A (en) Guided probe system and method for at-speed PC board testing
CA1124870A (en) Tester for micro-processor-based systems
US6785413B1 (en) Rapid defect analysis by placement of tester fail data
US5898705A (en) Method for detecting bus shorts in semiconductor devices
JPH1164454A (en) Simultaneous measurement control circuit for semiconductor-testing device
EP1291662B1 (en) Debugging system for semiconductor integrated circuit
US6959409B2 (en) Design for test of analog module systems

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

AK Designated contracting states

Kind code of ref document: A1

Designated state(s): DE FR GB SE

17P Request for examination filed

Effective date: 19810814

RAP1 Party data changed (applicant data changed or rights of an application transferred)

Owner name: JOHN FLUKE MFG. CO., INC.

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN

18D Application deemed to be withdrawn

Effective date: 19831102

RIN1 Information on inventor provided before grant (corrected)

Inventor name: LIPPMAN, MICHAEL DAVID

Inventor name: DONN, EDWARD SNEED (DECEASED)