Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPS6349417B2 - - Google Patents
[go: Go Back, main page]

JPS6349417B2 - - Google Patents

Info

Publication number
JPS6349417B2
JPS6349417B2 JP57234147A JP23414782A JPS6349417B2 JP S6349417 B2 JPS6349417 B2 JP S6349417B2 JP 57234147 A JP57234147 A JP 57234147A JP 23414782 A JP23414782 A JP 23414782A JP S6349417 B2 JPS6349417 B2 JP S6349417B2
Authority
JP
Japan
Prior art keywords
data
parallel
serial
register
conversion
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
JP57234147A
Other languages
Japanese (ja)
Other versions
JPS59125139A (en
Inventor
Koji Torii
Juichi Ito
Hisashi Tanaka
Mikitaka Murase
Wataru Kikuchi
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.)
Fujitsu Ltd
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57234147A priority Critical patent/JPS59125139A/en
Publication of JPS59125139A publication Critical patent/JPS59125139A/en
Publication of JPS6349417B2 publication Critical patent/JPS6349417B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; 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/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0763Error or fault detection not based on redundancy by bit configuration check, e.g. of formats or tags

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Computer And Data Communications (AREA)
  • Dc Digital Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Communication Control (AREA)

Description

【発明の詳細な説明】 (a) 発明の技術分野 情報処理装置において、例えばホストコンピユ
ータと入出力装置との間のデータの送受信を行な
う場合、パラレルの形の情報を、1ワードごとに
シリアルの形に変換して送受信することが行なわ
れている。受信側では、受信したシリアル情報を
パラレルに変換して処理する。本発明は、このよ
うにデジタル情報をシリアルに変換して送受信す
る回路の診断方式に関する。
[Detailed Description of the Invention] (a) Technical Field of the Invention In an information processing device, for example, when transmitting and receiving data between a host computer and an input/output device, parallel information is transmitted word by word in serial form. It is used to convert it into a form and then send and receive it. On the receiving side, the received serial information is converted into parallel information and processed. The present invention relates to a method for diagnosing a circuit that converts digital information into serial data for transmission and reception.

(b) 技術の背景 第1図に示すようにホストコンピユータ1に
は、ワークステーシヨン・チヤネル2を介して複
数の入出力装置3a,3b,3c………が接続さ
れている。そしてワークステーシヨン・チヤネル
2と入出力装置3aに示されているように、それ
ぞれ送信のためのドライバDVとレシーバRVを
備えており、そしてドライバDVから相手側のレ
シーバRVへの情報送信は、同軸ケーブル4で行
なわれる。このとき、パラレルの形のデータをシ
リアルの形に変換して送信する。したがつて受信
側では、受信したデータをパラレルに変換しなけ
ればならない。
(b) Background of the Technology As shown in FIG. 1, a host computer 1 is connected to a plurality of input/output devices 3a, 3b, 3c, . . . via a workstation channel 2. As shown in the workstation channel 2 and the input/output device 3a, each is equipped with a driver DV and a receiver RV for transmission, and information transmission from the driver DV to the receiver RV on the other side is via coaxial This is done with cable 4. At this time, parallel data is converted into serial data and transmitted. Therefore, on the receiving side, the received data must be converted into parallel data.

第2図は、このようにパラレルのデータをシリ
アルに、シリアルのデータをパラレルに変換して
送受信する回路の従来例を示すブロツク図であ
る。送信するデータは、ライトデータバス5から
パラレルの形でシリアル/パラレル、パラレル/
シリアル変換用のレジスタ6に入力され、サンプ
リング回路7にシフトして出力される。そしてサ
ンプリング回路7でシリアル・インターフエイス
部の転送方式に従つてパルス幅などをデータ変換
してから、ドライバDVを介して、シリアル・イ
ンターフエイス部に出力される。またシリアル・
インターフエイス部から入力したシリアルの受信
データは、レシーバRVを介してサンプリング回
路7に入力し、データ変換した後、前記の変換レ
ジスタ6にシリアルに入力し、パラレルに変換し
て、リードデータバス8に出力される。
FIG. 2 is a block diagram showing a conventional example of a circuit that converts parallel data into serial data and serial data into parallel data for transmission and reception. The data to be transmitted is sent in parallel from the write data bus 5 in serial/parallel, parallel/
The signal is input to a serial conversion register 6, shifted to a sampling circuit 7, and output. Then, the sampling circuit 7 converts the pulse width and other data according to the transfer method of the serial interface section, and then outputs the data to the serial interface section via the driver DV. Also serial
The serial reception data inputted from the interface section is inputted to the sampling circuit 7 via the receiver RV, and after data conversion, it is serially inputted to the conversion register 6, converted to parallel data, and then sent to the read data bus 8. is output to.

(c) 従来技術とその問題点 このようにシリアル/パラレル、パラレル/シ
リアルに変換して送受信を行なう場合、電源投入
時に、各回路が正確に動作するか診断を行なつて
から、データの送受信が開始される。
(c) Prior art and its problems When transmitting and receiving data by converting serial/parallel or parallel/serial, it is necessary to diagnose whether each circuit operates correctly when the power is turned on before transmitting or receiving data. is started.

従来はこのような診断を行なうのに、各種のビ
ツトパターンをもつた診断用のデータA1,A2
……をメモリ9に記横させておき、それぞれのデ
ータA1,A2………を順次、Xレジスタ10およ
び演算回路11を介して、シリアル/パラレル、
パラレル/シリアル変換用のレジスタ6にセツト
する。そしてシリアルに変換して、送信回路をオ
フにした状態で、変換レジスタ6→サンプリング
回路7→ドライバDV→レシーバRV→サンプリ
ング回路7→変換レジスタ6のように、出力デー
タを折り返して、再度変換レジスタ6に入力す
る。このようにシリアルに出力したデータを変換
レジスタ6でパラレルに変換し、リードデータバ
ス8を介してYレジスタ12に入力する。そして
演算回路11で、先にXレジスタ10から入力し
たデータと比較・照合して、ビツトパターンが一
致しているかどうかをチエツクする。このような
診断を、各診断用データA1,A2………について
行なう。
Conventionally, to perform such a diagnosis, diagnostic data A 1 , A 2 , etc. with various bit patterns were used.
. . . is written in the memory 9, and the respective data A 1 , A 2 .
Set in register 6 for parallel/serial conversion. Then, after converting to serial, with the transmitting circuit turned off, the output data is looped back to the conversion register 6 -> sampling circuit 7 -> driver DV -> receiver RV -> sampling circuit 7 -> conversion register 6, and then to the conversion register again. Enter 6. The data thus output serially is converted into parallel data by the conversion register 6 and inputted to the Y register 12 via the read data bus 8. The arithmetic circuit 11 then compares and collates the data with the data previously input from the X register 10 to check whether the bit patterns match. Such a diagnosis is performed for each diagnostic data A 1 , A 2 . . . .

ところがこのような方式では、変換レジスタ6
にセツトしたデータが、例えば1ワード
“10111000P”(Pはチエツクビツト)であつたと
すると、該変換レジスタ6の誤動作でシフトが行
なわれず、該データが変換レジスタ6内に残つた
ままとなつた場合は、リードデータバス8に出力
した場合も、データの内容は“10111000P”とな
る。総ての回路が正確に動作した場合は、折り返
して来たデータを変換レジスタ6でパラレルに変
換してリードデータバス8に出力されたデータの
内容も“10111000P”となることはいうまでもな
い。結局送受信回路が正確に動作した場合の出力
データの内容も、変換レジスタ6からのシフトが
行なわれないで、セツトされたまま残つたデータ
の読み出し内容も等しくなり、変換レジスタ6自
身の診断は行なえないことになる。
However, in such a system, the conversion register 6
For example, if the data set in the conversion register 6 is one word "10111000P" (P is a check bit), and the shift is not performed due to a malfunction of the conversion register 6, and the data remains in the conversion register 6, , the content of the data will be "10111000P" also when output to the read data bus 8. If all the circuits operate correctly, it goes without saying that the returned data will be converted into parallel data by the conversion register 6 and the content of the data output to the read data bus 8 will be "10111000P". . In the end, the content of the output data when the transmitter/receiver circuit operates correctly is the same as the read content of the data that remains set without being shifted from the conversion register 6, making it impossible to diagnose the conversion register 6 itself. There will be no.

(d) 発明の目的 本発明は、従来の送受信回路の診断方式におけ
るこのような問題を解消し、変換レジスタの誤動
作も確実に診断できるようにすることを目的とす
る。
(d) Object of the Invention The object of the present invention is to eliminate such problems in the conventional diagnostic method for transmitting/receiving circuits, and to make it possible to reliably diagnose malfunctions of conversion registers.

(e) 発明の構成 この目的を達成するために本発明は、シリア
ル/パラレル、パラレル/シリアル変換用のレジ
スタを用いて、パラレルに入力したデジタル情報
をシリアルに変換し、シリアルの形で送受信する
回路の診断を行なう場合に、 シリアル/パラレル、パラレル/シリアル変換
用のデジタルのビツト長を、データ長+αビツト
と設定し、シリアル/パラレル、パラレル/シリ
アル変換レジスタのパラレル入力と、シリアル/
パラレル、パラレル/シリアル変換レジスタから
出力した診断データを繰り返しで再入力するシリ
アル入力のビツト位置を異にする方式を採つてい
る。
(e) Structure of the Invention In order to achieve this object, the present invention converts digital information input in parallel into serial data using registers for serial/parallel and parallel/serial conversion, and transmits and receives the data in serial form. When diagnosing a circuit, set the digital bit length for serial/parallel and parallel/serial conversion to data length + α bits, and connect the parallel input of the serial/parallel and parallel/serial conversion registers to the serial/parallel and parallel/serial conversion registers.
A method is adopted in which the diagnostic data output from the parallel and parallel/serial conversion registers is repeatedly re-inputted by changing the bit position of the serial input.

(f) 発明の実施例 次に本発明によ送受信回路の診断方式が実際上
どのように具体化されるかを実施例で説明する。
第3図は本発明の方式の実施例を示すブロツク図
であり、第2図の構成と同一部分には、同一符号
が付されている。本発明の場合も、診断用のデー
タA1,A2………を順次変換レジスタ6にセツト
し、ループ状に折り返して再度変換レジスタ6に
シリアルに入力し、それをパラレルに読み出し
て、先に入力したデータと比較する点は同じであ
る。本発明では、最初にセツトされたデータと折
り返されたデータとのビツト位置が異なるように
している。そのために、変換レジスタ6のビツト
長を、診断用のデータのデータ長+αビツトと
し、診断用データのデータ長より、α分(図示例
では2ビツト)だけ長くする。そしてライトデー
タバス5からのデータセツトは、先頭から所定ビ
ツト(図示例ではパリテイチエツクビツトPも含
めて9ビツト)の領域に行なう。レシーバRVか
ら折り返してシリアルにセツトする場合は、先頭
の2ビツト分はデータセツトしないで、残りの9
ビツトの領域にセツトする。つまりライトデータ
バス5からのパラレル入力時と、折り返しデータ
をシリアル入力するときに、2ビツト分だけビツ
ト位置をずらす。
(f) Embodiments of the Invention Next, examples will be used to explain how the diagnosis method for a transmitting/receiving circuit according to the present invention is actually implemented.
FIG. 3 is a block diagram showing an embodiment of the system of the present invention, and the same parts as those in FIG. 2 are given the same reference numerals. In the case of the present invention as well, diagnostic data A 1 , A 2 . The point of comparison with the data entered in is the same. In the present invention, the bit positions of the initially set data and the folded data are different. For this purpose, the bit length of the conversion register 6 is set to the data length of the diagnostic data + α bits, which is longer than the data length of the diagnostic data by α (2 bits in the illustrated example). The data set from the write data bus 5 is performed in a predetermined bit area (in the illustrated example, 9 bits including the parity check bit P) from the beginning. When setting serial data by looping back from receiver RV, do not set data for the first 2 bits, and set data for the remaining 9 bits.
Set to bit area. In other words, the bit position is shifted by 2 bits when parallel input from the write data bus 5 and when folded data is input serially.

このようにすれば、最初のパラレル入力したデ
ータが例えば1ワード“10111000P”であつたと
すると、変換レジスタ6の誤動作どでシフトが行
なわれず、該データが変換レジスタ6内に残つた
ままとなつた場合は、それをリードデータバス8
に出力する際のデータの内容は、前記のように先
頭の2ビツトは使用されないため、
“111000PXX”となる。XXは不定で、前の状態
が残つている。したがつて第2図の演算回路11
で、パラレル入力データの“10111000P”と変換
レジスタ6の誤動作のために残つたデータ
“111000PXX”を比較すると、変換レジスタのビ
ツト長とデータ長との差のαビツト(図示例では
2ビツト)だけ、不一致となり、変換レジスタ6
が誤動作していることが検出できる。
In this way, if the first parallel input data is, for example, one word "10111000P", the shift will not be performed due to a malfunction of the conversion register 6, and the data will remain in the conversion register 6. If it reads data bus 8
The content of the data when outputting to is, as mentioned above, the first two bits are not used.
It becomes “111000PXX”. XX is undefined and the previous state remains. Therefore, the arithmetic circuit 11 in FIG.
Then, when comparing the parallel input data "10111000P" and the data "111000PXX" remaining due to the malfunction of conversion register 6, only the difference between the bit length of the conversion register and the data length is α bits (2 bits in the example shown). , there is a mismatch, and the conversion register 6
It can be detected that the system is malfunctioning.

総ての回路が正確に動作した場合は、折り返し
て来たデータも“10111000P”で、かつ3ビツト
目以降のビツト位置にセツトされる。ただし、読
み出しも3ビツト目以降から行なわれるので、リ
ードデータバス8に出力されるデータ内容も
“10111000P”となり、先にライトデータバス5
から入力したデータと一致することになる。
If all the circuits operate correctly, the returned data will also be "10111000P" and will be set in the third and subsequent bit positions. However, since reading is also performed from the 3rd bit onwards, the data content output to the read data bus 8 is also "10111000P", and the data content is output to the write data bus 5 first.
This will match the data entered from.

(g) 発明の効果 以上のように本発明によれば、シリアル/パラ
レル、パラレル/シリアル変換用のレジスタのビ
ツト長を、診断用データのデータ長+αビツトと
設定し、シリアル/パラレル、パラレル/シリア
ル変換用レジスタのパラレル入力と、折り返され
たシリアル入力のビツト位置をずらす方式になつ
ている。そのため、変換レジスタ自身の誤動作
で、パラレル入力データがそのまま残つていて
も、リードデータバスに読み出す際は、αビツト
だけずれた状態で読み出されることにより、デー
タ比較を行なつた場合不一致となり、変換レジス
タの誤動作をチエツクでき、総ての回路を確実に
診断することが可能となる。
(g) Effects of the Invention As described above, according to the present invention, the bit length of the register for serial/parallel and parallel/serial conversion is set to the data length of diagnostic data + α bits, and serial/parallel, parallel/serial conversion is performed. The system shifts the bit positions of the parallel input of the serial conversion register and the folded serial input. Therefore, even if the parallel input data remains as it is due to a malfunction of the conversion register itself, when it is read out to the read data bus, it will be read out with a difference of α bit, resulting in a mismatch when the data is compared. Malfunctions of conversion registers can be checked, and all circuits can be reliably diagnosed.

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

第1図はデータの送受信方式を示すブロツク
図、第2図は従来の送受信回路の診断方式を示す
ブロツク図、第3図は本発明による送受信回路の
診断方式の実施例を示すブロツク図である。 図において、5はライトデータバス、6はシリ
アル/パラレル、パラレル/シリアル変換用のレ
ジスタ、7はサンプリング回路、DVはドライ
バ、RVはレシーバ、8はリードデータバス、1
1は比較・照合用の演算回路をそれぞれ示す。
FIG. 1 is a block diagram showing a data transmission/reception system, FIG. 2 is a block diagram showing a conventional transmission/reception circuit diagnostic system, and FIG. 3 is a block diagram showing an embodiment of a transmission/reception circuit diagnostic system according to the present invention. . In the figure, 5 is a write data bus, 6 is a register for serial/parallel and parallel/serial conversion, 7 is a sampling circuit, DV is a driver, RV is a receiver, 8 is a read data bus, 1
1 indicates an arithmetic circuit for comparison and verification, respectively.

Claims (1)

【特許請求の範囲】 1 シリアル/パラレル、パラレル/シリアル変
換用のレジスタを用いて、パラレルに入力したデ
ジタル情報をシリアルに変換し、シリアルの形で
送受信する回路の診断を行なう場合に、 シリアル/パラレル、パラレル/シリアル変換
用のレジスタのビツト長を、データ長+αビツト
と設定し、シリアル/パラレル、パラレル/シリ
アル変換レジスタのパラレル入力と、シリアル/
パラレル、パラレル/シリアル変換レジスタから
出力した診断データを折り返して再入力するシリ
アル入力のビツト位置を異にすることを特徴とす
る送受信回路の診断方式。
[Claims] 1. When diagnosing a circuit that converts digital information input in parallel to serial using a register for serial/parallel or parallel/serial conversion and transmits/receives in serial form, The bit length of the register for parallel and parallel/serial conversion is set as data length + α bit, and the parallel input of the serial/parallel and parallel/serial conversion register and the serial/
A diagnostic method for a transmitting/receiving circuit characterized by changing the bit position of a serial input in which diagnostic data output from a parallel and parallel/serial conversion register is looped back and re-inputted.
JP57234147A 1982-12-31 1982-12-31 Diagnosing system of transmitting and receiving circuit Granted JPS59125139A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57234147A JPS59125139A (en) 1982-12-31 1982-12-31 Diagnosing system of transmitting and receiving circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57234147A JPS59125139A (en) 1982-12-31 1982-12-31 Diagnosing system of transmitting and receiving circuit

Publications (2)

Publication Number Publication Date
JPS59125139A JPS59125139A (en) 1984-07-19
JPS6349417B2 true JPS6349417B2 (en) 1988-10-04

Family

ID=16966375

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57234147A Granted JPS59125139A (en) 1982-12-31 1982-12-31 Diagnosing system of transmitting and receiving circuit

Country Status (1)

Country Link
JP (1) JPS59125139A (en)

Also Published As

Publication number Publication date
JPS59125139A (en) 1984-07-19

Similar Documents

Publication Publication Date Title
US7082481B2 (en) Serial peripheral interface (SPI) apparatus with write buffer for improving data throughput
US4710927A (en) Diagnostic circuit
US5193093A (en) Data transfer process with loop checking
US9036718B2 (en) Low speed access to DRAM
JPS5837736B2 (en) Serial data transmission method
JPH0331928A (en) Frame converting circuit
JPS6349417B2 (en)
US5115149A (en) Bidirectional I/O signal separation circuit
JP3021855B2 (en) Serial data transfer device
US5974570A (en) Method for managing data processing system and high-reliability memory
JPS59139426A (en) Bus interface
JPH0548657A (en) Serial transmission system
US7327632B2 (en) Interface circuit
JPS5928745A (en) Information transfer system
JP3488250B2 (en) Serial data communication method
JPS5820050A (en) Testing system of interface converter
KR0179760B1 (en) Output data check circuit of programmable logic controller
JPS6321932B2 (en)
KR100207482B1 (en) Smart card parity detection device
JPS6044710B2 (en) System diagnosis method
CN119046227A (en) Data transmission module and data transmission method
JPS60225265A (en) Trouble diagnostic system
JPH1011390A (en) Microprocessor application equipment
JPH06104875A (en) Serial port
JPH01215128A (en) CRC calculator