CA1252532A - Flip status line - Google Patents

Flip status line

Info

Publication number
CA1252532A
CA1252532A CA000497212A CA497212A CA1252532A CA 1252532 A CA1252532 A CA 1252532A CA 000497212 A CA000497212 A CA 000497212A CA 497212 A CA497212 A CA 497212A CA 1252532 A CA1252532 A CA 1252532A
Authority
CA
Canada
Prior art keywords
response
bits
poll
polling
central control
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.)
Expired
Application number
CA000497212A
Other languages
French (fr)
Inventor
Alastair A. Warwick
David P. Schenkel
Kenny Y. Ng
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.)
Nortel Networks Ltd
Original Assignee
Northern Telecom Ltd
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 Northern Telecom Ltd filed Critical Northern Telecom Ltd
Priority to CA000497212A priority Critical patent/CA1252532A/en
Application granted granted Critical
Publication of CA1252532A publication Critical patent/CA1252532A/en
Expired legal-status Critical Current

Links

Abstract

FLIP STATUS LINE
Abstract of the Disclosure Fault checking of slave devices. All the slave devices are polled periodically by a master control circuit and their response is noted. The master control circuit asserts a control signal for every other poll so as to cause the slave device to invert the bits in its response signal when the control signal is asserted. The non-inversion of the bits during the period of several polls is indicative of either a fault condition or a device not present condition.

- i -

Description

~2~ 3~

FLIP STATUS LINE
Background of the Invention This invention relakes generally to fault checking, and more particularly to fault checking of slave devices.
It is known to have a master device control several slave devices. This may be done by the use of buses. In such a case, each slave device will have a unique address associated with it. A
poll address bus is used to address each slave device in turn, and a poll mode bus is used to send control signals ko the addressed slave device to elicit a particular response.
For example, the poll address bus may have seven lines which means that up to 128 slave devices may be involved. One test that is desirable to be able to perform is to test for the presence or absence of a slave device; another is to test for the operational status (i.e. operating or not operating) of a slave device that is present.
The test may be accomplished by using two bits to reply to the test. For example, the logic bits 11 returned by the slave device may indicate that the slave device is present and operational while the response 00 may indicate that the device is present but not operational. However, a fault may exist on the line drivers, causing the drivers to be stuck in the logic 1 position. Using known techniques this is difficult, if not impossible, to detect.
Summary of the Invention The present invention is directed to a method and a circuit for detecting such faults. Briefly stated, the present s~

invention operates by polling, in turn, all the device locations.
Each reply is noted and, after one complete polling cycle, the master control then asserts a "flip status line" which causes each slave device being polled to return the inverse of its reply signal. In other words, the device that replied with a logic 11 on the first polling cycle will now replay with a logic 00 iF its status has not changed and if it is working properly. If it replies with a logic 11 (i.e. the same reply on both the first and second polling cycle) a fault condition exists.
Sta-ted in other terms, the present invention is a method of verifying the response to a poll, of a device that is polled periodically so as to report its current status to a central control circuit, the method characterized by: polling the device periodically and asserting a control signal for every otiler poll so as to cause the device to invert the bits in its response signal when the control signal is asserted whereby the non-inversion of the bits during the period of several polls is indicative of either a fault condition or a device not present condition.
Brief Description of the Drawings The invention will now be described in more detail wi-th reference to the accompanying drawings, wherein like parts in each of the several figures are identified by the same reference character, and wherein:
Figure 1 is a simplified block diagram depicting one embodiment of the present invention;
Figure 2 is a chart containing signal values useful ~L~52~3;~

for understanding the present invention.
Figure 1 depic-ts a simplified block diagram of master control circuit 20 connected to slave devices 21a, 21b, 21c, and 21d referred to collectively as slave devices 21. Master control circui-t 20 is connected to slave devices 21 by the following busesO Poll address bus 22 is a seven-line bus used to send address signals to slave devices 21. Data bus 23 is a bidirectional eleven-line bus for the transfer of data between master control circuit 20 and slave devices 21. Poll mode bus 24 (four lines) is used to elicit response from slave devices 21; that is, poll address bus 22 specifies the address of the slave device 21 which is to respond, and poll mode bus 24 poses the question to be answered~ Note that poll mode bus 24 sends three types of signals. They are as follows: poll-no message; poll-messagej and poll-allocate (i.e. which slave device 21 has next use of data bus 23).
Status bus 26 is a two line bus used to return the status of a slave device 21 to master control circuit 20, in response to a poll on poll address bus 22 and poll mode bus 24. The final line of Figure 1 is flip status line 27.
Flip status line 27 is used to cause slave devices 21 to return the inverse of their normal response signal whenever line 27 is asserted (i.e. logic 1).
This is shown graphically in Figure 2. The first four lines of the chart in Figure 2 represent the response of a slave device 21 with Flip status line 27 not asserted (i.e. logic 0). The responses are 00 representing "Down" (i.e. devîce present but not 3~

operating); 10 represen-ting "Write" (i.e. device wishes to write or transmit data on data bus 13); 01 representing "Read" (i.e. device wishes to read or receive data from data bus 13); and 11 representing "Up" (i.e. device is present and operational but wishes no use of data bus 13).
The last four lines of the chart of Figure 2 represent the responses of a slave device 21 with flip status line 27 asserted (i.e. logic 1). This causes slave devices 21 to invert the bits in their status reply and "Down" now becomes 11, "Write" becomes 01, "Read" becomes 10, and "Up" becomes 00.
In operation, master control circuit 20 polls slave devices 21a, 21b, 21c, and 21d; it then keeps repeating that polling sequence over and over again. Every other polling cycle, by master control circuit 209 has flip status line 27 set at logic 1. If the status of slave device 21 has not changed from one polling cycle to the next, then the response of slave device 21 should alternate bet~een a given signal and its inverse from one poll to the next.
For example, assume that slave device 21a is "Up" and consequently on its first poll (flip status line 27 has a logic 0) it responds on status bus 26 with a logic 11 signal. On the second poll of slave device 21a (flip status line 27 has a logic 1) and device 21a responds on status bus 26 with a logic 00 signal (assuming no faults and assuming no change of status). If device 21a were to respond to the second poll with a logic 11 signal, this would indicate a fault (assuming no change of status).
Note that if a device is not present, the reply on ~5Z53~

status bus 26 will be a logic 00 regardless of the sta-te of flip status line 27. In other words, status bus 26 will alternate between "Down" and "Up" which indicates slave device 21 is not present.
If a slave device 21 is present, but not operative (e.g. it has just been added to the system and is undergoing self test) it will reply to a poll (no message) with "Down" (logic 00).
On the next poll it will respond again with "Down" (but this time with logic 11, due to flip status line 27). Thus, master control circuit 20 can distinguish between a connected, but inoperative slave device 21 and a missing slave device 21.
This scheme can also detect errors in the drivers of slave devices 21 that drive status bus 26.

Claims (3)

THE EMBODIMENTS OF THE INVENTION IN WHICH AN EXCLUSIVE
PROPERTY OR PRIVILEGE IS CLAIMED ARE DEFINED AS FOLLOWS:
1. A method of verifying the operation of a device that is polled periodically by a central control device so as to report its current status, said method characterized by:
polling said device and recording the response at said central control device; and instructing said device to invert each bit in its reply and polling said device.
2. A method of verifying the operation of a device that is polled periodically, by a central control device, so as to report its current status, said method characterized by:
polling said device periodically, asserting a control signal for every other poll so as to cause said device to invert the bits in its reply, whereby the non-inversion of said bits during the period of several polls is indicative of either a fault condition or a device not present condition.
3. A method of verifying the response to a poll, of a device that is polled periodically so as to report its current status to a central control circuit, said method characterized by:
polling said device periodically and asserting a control signal for every other poll so as to cause said device to invert the bits in its response signal when said control signal is asserted, whereby the non-inversion of said bits during the period of several polls is indicative of either a fault condition or a device not present condition.

A method of verifying the operation of a device that is polled periodically, by a central control device, so as to report its current status, said method comprising the steps of:
a) polling said device and recording a first response received from said device at a central control device;
b) instructing said device to invert the bits in said first response to generate a second response to reply to a successive polling of said device; and c) polling said device and determining if said second response received from said device indicates that said device has inverted the bits of its second response in relation to said first response;
whereby a determination of the non-inversion of said bits in said second response in relation to said first response is indicative of either a fault condition or a device not present condition.
CA000497212A 1985-12-09 1985-12-09 Flip status line Expired CA1252532A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CA000497212A CA1252532A (en) 1985-12-09 1985-12-09 Flip status line

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CA000497212A CA1252532A (en) 1985-12-09 1985-12-09 Flip status line

Publications (1)

Publication Number Publication Date
CA1252532A true CA1252532A (en) 1989-04-11

Family

ID=4132046

Family Applications (1)

Application Number Title Priority Date Filing Date
CA000497212A Expired CA1252532A (en) 1985-12-09 1985-12-09 Flip status line

Country Status (1)

Country Link
CA (1) CA1252532A (en)

Similar Documents

Publication Publication Date Title
US4712213A (en) Flip status line
US6055653A (en) Method and apparatus for testing gang memory modules
GB1590265A (en) Data processing system
JPS6366477B2 (en)
JPS58502027A (en) Peripherals adapted to monitor low data rate serial input/output interfaces
CA1252532A (en) Flip status line
US6122755A (en) Method and apparatus for functional test of communication port
JP2000505262A (en) Method of checking and guaranteeing the usability of a networked system
US7174480B1 (en) Data processing method and system for simulation of hardware faults utilizing a PCI bus
JP3445443B2 (en) Communication control method
JPS63168757A (en) Bus error detecting system
JPH1164450A (en) Semiconductor-testing device
JP2755242B2 (en) Error notification method
EP0510679A2 (en) Fault information gathering system for peripheral controllers in a computer system
JP2002051088A (en) Transmitting/receiving unit for two-wire bus
JPS6218943B2 (en)
JPH0793225A (en) Memory check system
JPS6123263A (en) Test system
KR970002959B1 (en) Interface apparatus for error detection in data generation device
JPH04351132A (en) Fault detection system
JPH0156440B2 (en)
JPS61286770A (en) Apparatus for diagnosing trouble
JPH01121921A (en) Detection of power-off of printer
JPH03126149A (en) Bus system diagnostic system
JPH01224852A (en) Bus fault detecting system

Legal Events

Date Code Title Description
MKEX Expiry