JPH1188381A - Communication system, usb function device, communication system control method and medium recording communication condition display program - Google Patents

Communication system, usb function device, communication system control method and medium recording communication condition display program

Info

Publication number
JPH1188381A
JPH1188381A JP23712897A JP23712897A JPH1188381A JP H1188381 A JPH1188381 A JP H1188381A JP 23712897 A JP23712897 A JP 23712897A JP 23712897 A JP23712897 A JP 23712897A JP H1188381 A JPH1188381 A JP H1188381A
Authority
JP
Japan
Prior art keywords
data
usb
communication system
host device
usb host
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.)
Granted
Application number
JP23712897A
Other languages
Japanese (ja)
Other versions
JP3134821B2 (en
Inventor
Tsutomu Otani
努 大谷
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.)
NEC Corp
Original Assignee
NEC Corp
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 NEC Corp filed Critical NEC Corp
Priority to JP23712897A priority Critical patent/JP3134821B2/en
Publication of JPH1188381A publication Critical patent/JPH1188381A/en
Application granted granted Critical
Publication of JP3134821B2 publication Critical patent/JP3134821B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • User Interface Of Digital Computer (AREA)
  • Small-Scale Networks (AREA)
  • Digital Computer Display Output (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve convenience by displaying the transfer conditions of data in a communication system composed of a USB host device and a USB function device. SOLUTION: In a PID (packet identification field) detection circuit 32 on the side of this USB function device 20, whether it is the reception or transmission of the data is detected from a received token packet, the detection signals are respectively inputted to AND gates 41 and 42 and DMA request signals sent out from a function side USB transceiver 31 are inputted to the AND gates 41 and 42. Further, the display contents of a display device 70 are changed corresponding to the output of the AND gates 41 and 42. Thus, the transmission conditions and reception conditions of the data are displayed and the convenience is improved.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、USBホストデバ
イスとUSBファンクションデバイスとの間でデータの
転送を行う通信システムと、同USBファンクションデ
バイスと、同通信システムのための通信システム制御方
法および通信状況表示プログラムを記録した媒体に関す
る。
The present invention relates to a communication system for transferring data between a USB host device and a USB function device, the USB function device, a communication system control method for the communication system, and a communication status. The present invention relates to a medium on which a display program is recorded.

【0002】[0002]

【従来の技術】従来、双方向でデータの転送が可能なU
SBホストデバイスとUSBファンクションデバイスと
からなる通信システムにおいては、データ転送中である
ことを示す表示器等の表示手段を備えていなかった。
2. Description of the Related Art Conventionally, U is capable of bidirectional data transfer.
A communication system including an SB host device and a USB function device does not include a display unit such as a display that indicates that data is being transferred.

【0003】一方、特開平8−51447号公報に開示
されたものにおいては、P1394シリアルバスで複数
の電子機器間を接続してデータ転送を行う通信システム
において、各電子機器のデータの出力状況をLEDによ
り表示していた。
On the other hand, in the communication system disclosed in Japanese Patent Application Laid-Open No. Hei 8-51447, the data output status of each electronic device is controlled in a communication system in which a plurality of electronic devices are connected by a P1394 serial bus to transfer data. It was indicated by LED.

【0004】[0004]

【発明が解決しようとする課題】上述した従来の通信シ
ステムにおいては、次のような課題があった。前者のも
のにおいては、データ転送中であることを示す表示器等
の表示手段を備えていないため、データの転送状況を把
握することができなかった。
The conventional communication system described above has the following problems. In the former case, since there is no display means such as an indicator for indicating that data is being transferred, the data transfer status cannot be grasped.

【0005】一方、後者のものにおいては、P1394
シリアルバスで接続された複数の電子機器からなる通信
システムには適用できるものの、USBを用いた通信シ
ステムの具体的な適用例については何ら開示されていな
い。
On the other hand, in the latter case, P1394
Although it can be applied to a communication system including a plurality of electronic devices connected by a serial bus, it does not disclose any specific application example of a communication system using a USB.

【0006】本発明は、上記課題にかんがみてなされた
もので、USBホストデバイスとUSBファンクション
デバイスとからなる通信システムにおいて、データの転
送状況を表示して利便性を向上させることが可能な通信
システム、USBファンクションデバイス、通信システ
ム制御方法および通信状況表示プログラムを記録した媒
体の提供を目的とする。
SUMMARY OF THE INVENTION The present invention has been made in view of the above problems, and has been developed in a communication system including a USB host device and a USB function device, in which a data transfer status can be displayed to improve convenience. , A USB function device, a communication system control method, and a medium recording a communication status display program.

【0007】[0007]

【課題を解決するための手段】上記目的を達成するた
め、請求項1にかかる発明は、所定のトランシーバを備
えてデータの転送が可能なUSBホストデバイスと、U
SBファンクションデバイスとからなる通信システムで
あって、同USBホストデバイスとUSBファンクショ
ンデバイス間のデータの転送状況を表示するデータ転送
状況表示手段を備えた構成としてある。すなわち、各々
所定のトランシーバを備えたUSBホストデバイスと、
USBファンクションデバイスとの間でデータ転送が可
能であり、データ転送状況表示手段は、そのデータ転送
状況を表示する。
According to a first aspect of the present invention, there is provided a USB host device having a predetermined transceiver and capable of transferring data,
The communication system includes an SB function device and includes a data transfer status display unit that displays a data transfer status between the USB host device and the USB function device. That is, a USB host device having a predetermined transceiver,
Data transfer with the USB function device is possible, and the data transfer status display means displays the data transfer status.

【0008】ここにおけるデータ転送状況表示手段は、
データの送信状況のみを表示してもよいし、データの受
信状況のみであってもよいが、両者を表示できれば好適
である。そこで、請求項2にかかる発明においては、請
求項1に記載の通信システムにおいて、上記データ転送
状況表示手段は、データの送信状況と受信状況とを個別
に表示する構成としてある。すなわち、データの送信状
況と受信状況が個別に表示されるため、利用者にとって
分かりやすい。
[0008] The data transfer status display means here,
Only the data transmission status may be displayed, or only the data reception status may be displayed, but it is preferable if both can be displayed. Therefore, according to a second aspect of the present invention, in the communication system according to the first aspect, the data transfer status display means is configured to individually display a data transmission status and a data reception status. That is, since the data transmission status and the reception status are individually displayed, it is easy for the user to understand.

【0009】データの送信状況と受信状況とを個別に表
示する場合の具体的な構成の一例として、請求項3にか
かる発明は、請求項2に記載の通信システムにおいて、
上記USBホストデバイスは、データの送受信を行うに
先立ってデータの送信または受信を示すトークンを上記
USBホストデバイスに送出し、上記USBファンクシ
ョンデバイスは、上記トークンを受信した後、所定のD
MA要求信号に基づいて自身のトランシーバとバッファ
メモリ間でデータをDMA転送しつつ上記USBホスト
デバイスとの間でデータの送受信を行うとともに、上記
データ転送状況表示手段は、上記トークンと、上記DM
A要求信号に基づいてデータの送信状況と受信状況とを
表示する構成としてある。
According to a third aspect of the present invention, as an example of a specific configuration in a case where a data transmission state and a data reception state are individually displayed,
The USB host device sends a token indicating transmission or reception of data to the USB host device before data transmission / reception, and the USB function device receives a token indicating a predetermined D after receiving the token.
Based on the MA request signal, data is transmitted / received to / from the USB host device while DMA-transferring data between its own transceiver and the buffer memory, and the data transfer status display means includes the token and the DM
The transmission status and the reception status of the data are displayed based on the A request signal.

【0010】すなわち、上記USBホストデバイスは、
データの送受信を行うに先立って所定のトークンを上記
USBホストデバイスに送出し、このトークンを受信し
た上記USBファンクションデバイスは、自身のトラン
シーバとバッファメモリ間でデータをDMA転送しつつ
データの送受信を行う。データ転送状況表示手段は、上
記USBホストデバイスから送出されたトークンからデ
ータの送信であるか、またはデータの受信であるかを検
知するとともに、上記DMA要求信号からデータ転送時
を検知することにより、データの送信状況と受信状況を
表示する。
That is, the USB host device is:
Prior to data transmission / reception, a predetermined token is sent to the USB host device, and the USB function device receiving the token performs data transmission / reception while DMA-transferring data between its own transceiver and the buffer memory. . The data transfer status display means detects whether the data is transmitted or received from the token transmitted from the USB host device, and detects the data transfer time from the DMA request signal, Displays the data transmission status and reception status.

【0011】また、別の構成の一例として、請求項4に
かかる発明は、請求項2に記載の通信システムにおい
て、上記USBホストデバイスは、データの送受信を行
うに先立ってデータの送信または受信を示すトークンを
上記USBホストデバイスに送出し、上記USBファン
クションデバイスは、上記トークンを受信した後、所定
のDMA要求信号に基づいて自身のトランシーバとバッ
ファメモリ間でデータをDMA転送しつつ上記USBホ
ストデバイスとの間でデータの送受信を行うとともに、
上記データ転送状況表示手段は、上記トークンを検出し
た場合に上記DMA転送時のDMAカウント数を取得
し、所定のクロック信号に基づいてこのDMAカウント
数をカウントする間、データ送信中またはデータ受信中
の表示をする構成としてある。
[0011] As another example of the configuration, the invention according to claim 4 is the communication system according to claim 2, wherein the USB host device transmits or receives data before transmitting / receiving data. The USB function device sends the token to the USB host device, and after receiving the token, the USB function device performs DMA transfer of data between its own transceiver and the buffer memory based on a predetermined DMA request signal while performing the DMA transfer. Send and receive data to and from
The data transfer status display means obtains the DMA count number at the time of the DMA transfer when the token is detected, and performs the data transmission or the data reception while counting the DMA count number based on a predetermined clock signal. Is displayed.

【0012】すなわち、上述した請求項3で説明したも
のと同様の手順でUSBホストデバイスと、USBファ
ンクションデバイスとの間でデータの送受信が行われて
いる。データ転送状況表示手段は、このUSBホストデ
バイスから送出されたトークンからデータの送信である
か、またはデータの受信であるかを検知するとともに、
同トークン検出時にUSBファンクションデバイス側の
トランシーバと、バッファメモリとの間のDMA転送時
におけるDMAカウント数を取得する。その後、所定の
クロック信号に基づいてこのDMAカウント数をカウン
トする間、データの送受信がなされているものとしてデ
ータ送信中またはデータ受信中の表示をする。
That is, data is transmitted and received between the USB host device and the USB function device in the same procedure as that described in the third aspect. The data transfer status display means detects whether data is transmitted or data is received from the token transmitted from the USB host device,
When the token is detected, the DMA count number at the time of DMA transfer between the transceiver on the USB function device side and the buffer memory is acquired. Thereafter, while the DMA count is counted based on a predetermined clock signal, a display indicating that data is being transmitted or received is displayed during data transmission or data reception.

【0013】この場合、データ送信中またはデータ受信
中を表示する表示期間は上記クロック信号の周波数に依
存することは容易に分かる。そこで、請求項5にかかる
発明には、請求項4に記載の通信システムのおいて、上
記データ転送状況表示手段は、上記クロック信号の周波
数を可変設定する構成としてある。すなわち、上記クロ
ック信号の周波数を高くすれば、データ送信中またはデ
ータ受信中を表示する表示期間が短くなるし、同クロッ
ク信号の周波数を低くすれば同表示期間は長くなる。
In this case, it is easily understood that the display period during which data is being transmitted or data is being received depends on the frequency of the clock signal. Therefore, a fifth aspect of the present invention is the communication system according to the fourth aspect, wherein the data transfer status display means variably sets the frequency of the clock signal. That is, if the frequency of the clock signal is increased, the display period for displaying during data transmission or data reception is shortened, and if the frequency of the clock signal is decreased, the display period is extended.

【0014】データ転送状況表示手段は、上述したよう
に構成される通信システム上であれば、任意の箇所に設
置することが可能であり、例えば、独立した装置として
同通信システム上に設置することができるし、USBホ
ストデバイスまたはUSBファンクションデバイス内に
組み込むこともできる。後者の場合の一例として、請求
項6にかかるUSBファンクションデバイスは、所定の
トランシーバを備えてUSBホストデバイスとの間でデ
ータの転送が可能あるとともに、上記USBホストデバ
イスとの間のデータの転送状況を表示するデータ転送状
況表示手段を備えた構成としてある。
The data transfer status display means can be installed at any location on the communication system configured as described above. For example, it can be installed as an independent device on the communication system. It can also be incorporated in a USB host device or USB function device. As an example of the latter case, the USB function device according to claim 6, including a predetermined transceiver, capable of transferring data to and from a USB host device, and transferring data to and from the USB host device Is displayed.

【0015】すなわち、データ転送状況表示手段は、U
SBファンクションデバイスに組み込まれているため、
同USBファンクションデバイス側にデータの転送状況
が表示される。上述したようにして、USBホストデバ
イスとUSBファンクションデバイスとからなる通信シ
ステムにおいて、データの転送状況を表示するとして
も、実体のある装置に限定される必要はなく、その方法
としても機能することは容易に理解できる。
That is, the data transfer status display means is U
Because it is built into the SB function device,
The data transfer status is displayed on the USB function device side. As described above, in the communication system including the USB host device and the USB function device, even if the data transfer status is displayed, it is not necessary to be limited to a substantial device, and the method may function as a method. Easy to understand.

【0016】このため、請求項7にかかる方法の発明
は、所定のトランシーバを備えてデータの転送が可能な
USBホストデバイスと、USBファンクションデバイ
スとからなる通信システムのための通信システム制御方
法であって、同USBホストデバイスとUSBファンク
ションデバイス間のデータの転送状況を検知し、所定の
表示器に表示する構成としてある。すなわち、必ずしも
実体のある装置に限らず、その方法としても有効である
ことに相違はない。
[0016] Therefore, an invention of a method according to claim 7 is a communication system control method for a communication system comprising a USB host device having a predetermined transceiver capable of transferring data and a USB function device. Then, the state of data transfer between the USB host device and the USB function device is detected and displayed on a predetermined display. In other words, there is no difference in that the present invention is not necessarily limited to a substantial device and is also effective as a method.

【0017】発明の思想の具現化例として通信状況を表
示するソフトウェアとなる場合には、このソフトウェア
を記録した記録媒体上においても当然に存在し、利用さ
れる可能性がある。その一例として、請求項8にかかる
発明は、所定のトランシーバを備えてデータの転送が可
能なUSBホストデバイスと、USBファンクションデ
バイスとからなる通信システムのための通信状況表示プ
ログラムを記録した媒体であって、同USBホストデバ
イスとUSBファンクションデバイス間のデータの転送
状況を検知し、所定の表示器に表示する構成としてあ
る。
When the software for displaying the communication status is realized as an embodiment of the idea of the present invention, the software naturally exists on the recording medium on which the software is recorded, and may be used. As an example, the invention according to claim 8 is a medium in which a communication status display program for a communication system including a USB host device provided with a predetermined transceiver and capable of transferring data and a USB function device is recorded. Then, the state of data transfer between the USB host device and the USB function device is detected and displayed on a predetermined display.

【0018】もちろん、その記録媒体は、磁気記録媒体
であってもよいし光磁気記録媒体であってもよいし、今
後開発されるいかなる記録媒体においても全く同様に考
えることができる。また、一次複製品、二次複製品など
の複製段階については全く問う余地無く同等である。そ
の他、供給方法として通信回線を利用して行う場合でも
本発明が利用されていることにはかわりないし、半導体
チップに書き込まれたようなものであっても同様であ
る。
Of course, the recording medium may be a magnetic recording medium, a magneto-optical recording medium, or any recording medium to be developed in the future. Also, the duplication stages of the primary duplicated product, the secondary duplicated product, and the like are equivalent without any question. In addition, the present invention is not limited to the case where the present invention is used even when the supply method is performed using a communication line, and the same applies to a case where the information is written on a semiconductor chip.

【0019】さらに、一部がソフトウェアであって、一
部がハードウェアで実現されている場合においても発明
の思想において全く異なるものはなく、一部を記録媒体
上に記憶しておいて必要に応じて適宜読み込まれるよう
な形態のものとしてあってもよい。
Further, even if a part is implemented by software and a part is implemented by hardware, there is no difference in the concept of the invention, and it is necessary to store a part on a recording medium. It may be in a form that is appropriately read in accordance with it.

【0020】[0020]

【発明の実施の形態】以下、図面にもとづいて本発明の
実施形態を説明する。 <第一の実施形態>図1は、本発明の第一の実施形態に
かかる通信システムをブロック図により示している。
Embodiments of the present invention will be described below with reference to the drawings. <First Embodiment> FIG. 1 is a block diagram showing a communication system according to a first embodiment of the present invention.

【0021】同図において、USBホストデバイス10
は、ホスト側USBトランシーバ11を備え、USBフ
ァンクションデバイス20は、ファンクション側USB
トランシーバ31を備えており、ホスト側USBトラン
シーバ11とファンクション側USBトランシーバ31
とをD+信号線と、D−信号線とで接続し、通常のUS
B通信を可能としてある。このUSB通信は、図2に示
す手順に従って行われる。
In FIG. 1, a USB host device 10
Includes a host-side USB transceiver 11, and a USB function device 20 includes a function-side USB transceiver.
A host-side USB transceiver 11 and a function-side USB transceiver 31
Are connected by a D + signal line and a D- signal line.
B communication is enabled. This USB communication is performed according to the procedure shown in FIG.

【0022】すなわち、アイドル状態からUSBホスト
デバイス10がデータを受信する場合、図3に示すよう
に、まずUSBホストデバイス10がUSBファンクシ
ョンデバイス20に対してデータの転送を要求するため
のINトークンを送信する。このINトークンを受信し
たUSBファンクションデバイス20は、USBホスト
デバイス10の要求に従ってUSBデータを送信し、こ
のUSBデータを正常に受信完了すると、USBファン
クションデバイス20に対してACKパケットを送信し
てアイドル状態となる。
That is, when the USB host device 10 receives data from the idle state, first, as shown in FIG. 3, the USB host device 10 issues an IN token for requesting the USB function device 20 to transfer data. Send. Upon receiving the IN token, the USB function device 20 transmits the USB data according to the request of the USB host device 10, and when the reception of the USB data is completed normally, the USB function device 20 transmits an ACK packet to the USB function device 20 to enter the idle state. Becomes

【0023】一方、アイドル状態からUSBホストデバ
イス10がデータを送信する場合、図4に示すように、
まずUSBホストデバイス10がUSBファンクション
デバイス20に対してデータの受信準備を要求するため
のOUTトークンを送信する。このOUTトークンを受
信したUSBファンクションデバイス20は、USBホ
ストデバイス10の要求に従ってUSBデータを受信
し、このUSBデータを正常に受信完了すると、USB
ホストデバイス10に対してACKパケットを送信す
る。
On the other hand, when the USB host device 10 transmits data from the idle state, as shown in FIG.
First, the USB host device 10 transmits an OUT token for requesting the USB function device 20 to prepare for data reception. Upon receiving the OUT token, the USB function device 20 receives the USB data in accordance with the request from the USB host device 10, and when the reception of the USB data is completed normally, the USB function device 20
An ACK packet is transmitted to the host device 10.

【0024】上記INトークンと、OUTトークンのパ
ケットフォーマットは、図5に示すようになっており、
先頭からパケット識別フィールド(PID)、アドレス
・フィールド(ADDR)、エンドポイント・フィール
ド(ENDP)、CRCチェック・フィールド(CRC
5)の順に配置される。パケット識別フィールド(PI
D)にはINトークンまたはOUTトークンを識別する
ための情報がセットされており、アドレス・フィールド
にはUSBインタフェース上の特定のファンクションデ
バイスが指定されている。また、エンドポイント・フィ
ールド(ENDP)には特定のファンクションデバイス
における特定のエンドポイントが指定されており、CR
Cチェック・フィールドはトークンパケットの伝送誤り
を検出するための巡回冗長検査符号フィールドである。
The packet format of the IN token and the OUT token is as shown in FIG.
From the beginning, a packet identification field (PID), an address field (ADDR), an endpoint field (ENDP), a CRC check field (CRC)
5). Packet identification field (PI
In D), information for identifying an IN token or an OUT token is set, and a specific function device on the USB interface is specified in the address field. In the end point field (ENDP), a specific end point in a specific function device is specified.
The C check field is a cyclic redundancy check code field for detecting a transmission error of the token packet.

【0025】このように構成されたトークンパケット
は、ファンクション側USBトランシーバ31に受信さ
れ、PID検出回路32が同トークンパケットの先頭フ
ィールドであるパケット識別フィールド(PID)にセ
ットされた情報を読み出してINトークンであるか、ま
たはOUTトークンであるかの識別を行う。さらに、こ
のPID検出回路32からは二本の信号出力線を導出し
てそれぞれANDゲート41,42に接続するととも
に、ANDゲート41にはOUTトークン検出信号を入
力し、ANDゲート42にはINトークン検出信号を入
力する。このOUTトークン検出信号はPID検出回路
32がOUTトークンを検出したときにアクティブとな
り、同様にINトークン検出信号はPID検出回路32
がINトークンを検出したときにアクティブとなる信号
であり、両者ともにACKパケットの送受信が行われる
と非アクティブとなる。
The token packet thus configured is received by the function-side USB transceiver 31, and the PID detection circuit 32 reads information set in the packet identification field (PID), which is the first field of the token packet, and IN It identifies whether the token is a token or an OUT token. Further, two signal output lines are derived from the PID detection circuit 32 and connected to the AND gates 41 and 42, respectively. An OUT token detection signal is input to the AND gate 41, and the IN token is input to the AND gate 42. Input the detection signal. This OUT token detection signal becomes active when the PID detection circuit 32 detects an OUT token.
Is a signal that becomes active when an IN token is detected, and both become inactive when an ACK packet is transmitted and received.

【0026】上述したように、トークンパケットが受信
されると、USBデータの送受信が開始される。本実施
形態におけるUSBファンクションデバイス20は、バ
ッファメモリ50を備えており、ファンクション側US
Bトランシーバ31は送受信するUSBデータをバッフ
ァメモリ50に一時的に格納することによりパフォーマ
ンスの向上を図っている。
As described above, when the token packet is received, transmission / reception of USB data is started. The USB function device 20 according to the present embodiment includes a buffer memory 50,
The B transceiver 31 improves performance by temporarily storing USB data to be transmitted and received in the buffer memory 50.

【0027】詳しくは、USBファンクションデバイス
20がUSBデータを受信する場合、ファンクション側
USBトランシーバ31は、所定のDMA要求信号をD
MAコントローラ61に送信し、DMAコントローラ6
1はこのDMA要求信号を受けて受信したUSBデータ
をバッファメモリ50にDMA転送する。一方、USB
ファンクションデバイス20からUSBデータを送信す
る場合、一旦バッファメモリ50にUSBデータを格納
した後、ファンクション側USBトランシーバ31がD
MAコントローラ61にDMA要求信号を送信し、DM
Aコントローラ61はこのDMA要求信号を受けてバッ
ファメモリ50に格納したUSBデータをファンクショ
ン側USBトランシーバ31に転送する。
More specifically, when the USB function device 20 receives USB data, the function-side USB transceiver 31 sends a predetermined DMA request signal to the D-side.
The data is transmitted to the MA controller 61 and the DMA controller 6
1 receives the DMA request signal and transfers the received USB data to the buffer memory 50 by DMA. Meanwhile, USB
When transmitting USB data from the function device 20, after the USB data is once stored in the buffer memory 50, the function-side USB transceiver 31
A DMA request signal is transmitted to the MA
The A controller 61 receives the DMA request signal and transfers the USB data stored in the buffer memory 50 to the function-side USB transceiver 31.

【0028】さらに、上記DMA要求信号は、ANDゲ
ート41,42のそれぞれにおいて、上記信号出力線を
接続した入力端子とは別の入力端子に入力するようにし
てある。従って、USBホストデバイス10からUSB
ファンクションデバイス20にデータ送信する場合、A
NDゲート41はDMA要求信号が発信される度にゲー
トされ、他方、USBファンクションデバイス20から
USBホストデバイス10にデータ送信する場合も同様
に、ANDゲート42はDMA要求信号が発信される度
にゲートされる。
Further, the DMA request signal is input to each of the AND gates 41 and 42 to an input terminal different from the input terminal connected to the signal output line. Therefore, the USB host device 10 sends the USB
When transmitting data to the function device 20, A
The ND gate 41 is gated each time a DMA request signal is transmitted. On the other hand, when data is transmitted from the USB function device 20 to the USB host device 10, similarly, the AND gate 42 is gated each time a DMA request signal is transmitted. Is done.

【0029】ANDゲート41,42の出力は、ともに
表示器70に入力してある。この表示器70は図示しな
い二つのLEDを備えており、一方のLEDは点灯時に
USBホストデバイス10へのデータ送信中であること
を示し、別の一方のLEDは点灯時にUSBホストデバ
イス10からデータ受信中であることを示す。この表示
器70はANDゲート41から信号出力がある場合に、
前者のLEDを点灯させ、ANDゲート42から信号出
力がある場合に後者のLEDを点灯させる。
The outputs of the AND gates 41 and 42 are both input to the display 70. The display 70 includes two LEDs (not shown), one of which indicates that data is being transmitted to the USB host device 10 when lit, and the other LED indicates that data is being transmitted from the USB host device 10 when lit. Indicates that receiving is in progress. This indicator 70 is provided when there is a signal output from the AND gate 41.
The former LED is turned on, and when there is a signal output from the AND gate 42, the latter LED is turned on.

【0030】従って、利用者はこの二つのLEDを視認
してデータの送受信の有無を確認することができる。以
上の意味において、第一の実施形態においては、PID
検出回路32と、ANDゲート41,42と、表示器7
0とがデータ転送状況表示手段を構成する。
Accordingly, the user can visually check these two LEDs to confirm whether or not data has been transmitted / received. In the above sense, in the first embodiment, the PID
Detection circuit 32, AND gates 41 and 42, display 7
0 constitutes data transfer status display means.

【0031】次に、上記のように構成した第一の実施形
態の動作について説明する。USBホストデバイス10
からUSBファンクションデバイス20にデータ送信す
る場合、まずUSBホストデバイス10は、USBファ
ンクションデバイス20に対してデータの受信準備を要
求するためのOUTトークンを送信する。すると、この
OUTトークンをファンクション側USBトランシーバ
31が受信し、PID検出回路32がOUTトークンで
あることを検出してOUTトークン検出信号をアクティ
ブにする。
Next, the operation of the first embodiment configured as described above will be described. USB host device 10
When transmitting data from the USB function device 20 to the USB function device 20, the USB host device 10 first transmits an OUT token for requesting the USB function device 20 to prepare for data reception. Then, this OUT token is received by the function-side USB transceiver 31, and the PID detection circuit 32 detects that it is an OUT token, and activates the OUT token detection signal.

【0032】その後、ファンクション側USBトランシ
ーバ31が実際のUSBデータを受信すると、DMAコ
ントローラ61に対してDMA要求信号を送信し、この
DMA要求信号を受けてDMAコントローラ61は、フ
ァンクション側USBトランシーバ31において受信し
たUSBデータをバッファメモリ50にDMA転送す
る。ANDゲート41の一方の入力端子にはアクティブ
となったOUTトークン検出信号が入力されているた
め、別の一方の入力端子に上記DMA要求信号が入力さ
れると、ANDゲート41はゲートされ、表示器70は
LEDを点灯させてUSBホストデバイス10からデー
タ受信中であることを示す。
After that, when the function-side USB transceiver 31 receives the actual USB data, the function-side USB transceiver 31 transmits a DMA request signal to the DMA controller 61. The received USB data is DMA-transferred to the buffer memory 50. Since the activated OUT token detection signal is input to one input terminal of the AND gate 41, when the DMA request signal is input to the other input terminal, the AND gate 41 is gated and displayed. The device 70 turns on the LED to indicate that data is being received from the USB host device 10.

【0033】USBファンクションデバイス20がUS
Bデータの受信を完了すると、USBホストデバイス1
0に対してACKパケットを送信してその旨を通知す
る。すると、PID検出回路32は、OUTトークン検
出信号を非アクティブにしてアイドル状態となり、上記
LEDが点灯することはない。
If the USB function device 20 is a US
When the reception of the B data is completed, the USB host device 1
Then, an ACK packet is transmitted to 0 to notify that fact. Then, the PID detection circuit 32 deactivates the OUT token detection signal and enters an idle state, and the LED does not light up.

【0034】一方、USBファンクションデバイス20
からUSBホストデバイス10にデータ送信する場合、
まずUSBホストデバイス10は、USBファンクショ
ンデバイス20に対してデータの転送を要求するための
INトークンを送信する。すると、このINトークンを
ファンクション側USBトランシーバ31が受信し、P
ID検出回路32がINトークンであることを検出して
INトークン検出信号をアクティブにする。
On the other hand, the USB function device 20
When transmitting data to the USB host device 10 from
First, the USB host device 10 transmits an IN token for requesting the USB function device 20 to transfer data. Then, this IN token is received by the function-side USB transceiver 31, and
The ID detection circuit 32 detects that it is an IN token and activates the IN token detection signal.

【0035】その後、USBファンクションデバイス2
0は、バッファメモリ50に送信するUSBデータを一
旦格納し、ファンクション側USBトランシーバ31は
DMAコントローラ61にDMA要求信号を送信する。
この要求信号を受けたDMAコントローラ61は、バッ
ファメモリ50に格納したUSBデータをファンクショ
ン側USBトランシーバ31に転送し、このファンクシ
ョン側USBトランシーバ31はUSBデータをUSB
ホストデバイス10側に送信する。
Thereafter, the USB function device 2
0 temporarily stores USB data to be transmitted to the buffer memory 50, and the function-side USB transceiver 31 transmits a DMA request signal to the DMA controller 61.
The DMA controller 61 that has received the request signal transfers the USB data stored in the buffer memory 50 to the function-side USB transceiver 31, and the function-side USB transceiver 31 transfers the USB data to the USB.
It is transmitted to the host device 10 side.

【0036】ANDゲート42の一方の入力端子にはア
クティブとなったINトークン検出信号が入力されてい
るため、別の一方の入力端子に上記DMA要求信号が入
力されると、ANDゲート42はゲートされ、表示器7
0はLEDを点灯させてUSBホストデバイス10にデ
ータ送信中であることを示す。USBホストデバイス1
0がUSBデータの受信を完了すると、USBファンク
ションデバイス20に対してACKパケットを送信して
その旨を通知する。すると、PID検出回路32は、I
Nトークン検出信号を非アクティブにしてアイドル状態
となり、上記LEDが点灯することはない。
Since the activated IN token detection signal is input to one input terminal of the AND gate 42, when the DMA request signal is input to the other input terminal, the AND gate 42 is turned on. And display 7
0 indicates that the LED is turned on to transmit data to the USB host device 10. USB host device 1
When 0 completes the reception of the USB data, it transmits an ACK packet to the USB function device 20 to notify it. Then, the PID detection circuit 32 outputs I
The N token detection signal is deactivated to enter an idle state, and the LED does not light up.

【0037】<第二の実施形態>図6は、本発明の第二
の実施形態にかかる通信システムをブロック図により示
しており、第一の実施形態と同一の構成部品については
同一の符号を付してある。同図において、USBホスト
デバイス10のホスト側USBトランシーバ11と、U
SBファンクションデバイス21のファンクション側U
SBトランシーバ31は、D+信号線と、D−信号線と
で接続し、通常のUSB通信を可能としてある。この場
合のUSB通信も上述した第一の実施形態と同様に、フ
ァンクション側USBトランシーバ31とバッファメモ
リ50との間でUSBデータがDMA転送される。
<Second Embodiment> FIG. 6 is a block diagram showing a communication system according to a second embodiment of the present invention. The same components as those in the first embodiment are denoted by the same reference numerals. It is attached. In the figure, the host-side USB transceiver 11 of the USB host device 10 and the U-side
Function side U of SB function device 21
The SB transceiver 31 is connected by a D + signal line and a D- signal line, and enables normal USB communication. In the USB communication in this case, similarly to the first embodiment described above, USB data is DMA-transferred between the function-side USB transceiver 31 and the buffer memory 50.

【0038】PID検出回路32から出力されるOUT
トークン検出信号と、INトークン検出信号は、それぞ
れホスト側データ送信カウンタ43と、ホスト側データ
受信カウンタ44に入力してある。このホスト側データ
送信カウンタ43と、ホスト側データ受信カウンタ44
は、それぞれOUTトークン検出信号、INトークン検
出信号がアクティブとなった場合に、DMAカウンタ6
2からDMAカウント数を取得してラッチするととも
に、ラッチ完了後にこのDMAカウント数を「1」ずつ
カウントダウンし、そのカウント数が「0」となるまで
その出力信号をアクティブとする。
OUT output from the PID detection circuit 32
The token detection signal and the IN token detection signal are input to the host-side data transmission counter 43 and the host-side data reception counter 44, respectively. The host-side data transmission counter 43 and the host-side data reception counter 44
The DMA counter 6 operates when the OUT token detection signal and the IN token detection signal become active, respectively.
The DMA count is acquired from 2 and latched, and after the latch is completed, the DMA count is counted down by "1" and its output signal is activated until the count becomes "0".

【0039】ホスト側データ送信カウンタ43と、ホス
ト側データ受信カウンタ44の出力信号は、それぞれ表
示器70に入力してあり、この表示器70はホスト側デ
ータ送信カウンタ43からの出力信号がアクティブであ
る場合に、USBホストデバイス10からデータ受信中
であることを示すLEDを点灯させる一方、ホスト側デ
ータ受信カウンタ44からの出力信号がアクティブであ
る場合に、USBホストデバイス10にデータ送信中で
あることを示すLEDを点灯させる。
The output signals of the host-side data transmission counter 43 and the host-side data reception counter 44 are input to a display 70, and the display 70 is active when the output signal from the host-side data transmission counter 43 is active. In some cases, while the LED indicating that data is being received from the USB host device 10 is turned on, the data is being transmitted to the USB host device 10 when the output signal from the host-side data reception counter 44 is active. Is turned on.

【0040】すなわち、この第二の実施形態において
は、ホスト側データ送信カウンタ43またはホスト側デ
ータ受信カウンタ44の出力信号がアクティブである間
はデータの送受信が行われているものと擬制する。従っ
て、表示器70はデータの送受信の状況をリアルタイム
で表示しないものの、LEDの点灯時間が比較的長くな
って視認性が向上する。また、ホスト側データ送信カウ
ンタ43と、ホスト側データ受信カウンタ44における
上述したカウントダウンはクロック発生回路81から入
力されるクロック信号に同期して行われるようにしてあ
る。このクロック発生回路81から出力されるクロック
信号の周波数は、周波数設定部82により可変設定され
る。
That is, in the second embodiment, while the output signal of the host-side data transmission counter 43 or the host-side data reception counter 44 is active, it is assumed that data transmission / reception is being performed. Therefore, although the display 70 does not display the data transmission / reception status in real time, the lighting time of the LED is relatively long and the visibility is improved. The above-described countdown in the host-side data transmission counter 43 and the host-side data reception counter 44 is performed in synchronization with a clock signal input from the clock generation circuit 81. The frequency of the clock signal output from the clock generation circuit 81 is variably set by the frequency setting unit 82.

【0041】すなわち、このような構成とすることによ
り、ホスト側データ送信カウンタ43と、ホスト側デー
タ受信カウンタ44の出力信号のアクティブな期間を変
化させることができ、利便性を向上させることができ
る。以上の意味において、第二の実施形態においては、
PID検出回路32と、ホスト側データ送信カウンタ4
3と、ホスト側データ受信カウンタ44と、表示器70
と、クロック発生回路81と、周波数設定部82とがデ
ータ転送状況表示手段を構成する。
That is, with such a configuration, the active period of the output signals of the host-side data transmission counter 43 and the host-side data reception counter 44 can be changed, and the convenience can be improved. . In the above sense, in the second embodiment,
PID detection circuit 32 and host-side data transmission counter 4
3, the host-side data reception counter 44, and the display 70
, The clock generation circuit 81 and the frequency setting unit 82 constitute data transfer status display means.

【0042】ところで、この第二の実施形態において
は、数種のハードウェアを組み合わせてデータの送受信
の状況を表示器70に表示する構成としてあるが、この
構成に限定されることはない。例えば、図7に示すもの
においては、USBファンクションデバイス21はマイ
コン90を備え、このマイコン90がプログラムROM
91に記録された通信状況表示プログラムを実行するこ
とにより、表示器70にデータの送受信の状況を表示す
る構成としてある。なお、マイコン90は、クロック発
生回路81から発信されるクロック信号を入力として動
作する。
By the way, in the second embodiment, the state of data transmission / reception is displayed on the display 70 by combining several kinds of hardware, but the present invention is not limited to this configuration. For example, in the device shown in FIG. 7, the USB function device 21 includes a microcomputer 90, and the microcomputer 90 is provided with a program ROM.
By executing the communication status display program recorded in 91, the status of data transmission / reception is displayed on the display 70. Note that the microcomputer 90 operates with a clock signal transmitted from the clock generation circuit 81 as an input.

【0043】上記通信状況表示プログラムを実行するマ
イコン90の処理手順としては、まずファンクション側
USBトランシーバ31がトークンパケットを受信する
と、そのことを検知してOUTトークンまたはINトー
クンの識別を行い、DMAコントローラ61にDMA要
求信号を送信する。すると、このDMA要求信号を受信
したDMAコントローラ61は、ファンクション側US
Bトランシーバ31と、バッファメモリ50との間でU
SBデータの転送を開始する。
As a processing procedure of the microcomputer 90 for executing the communication status display program, first, when the function-side USB transceiver 31 receives a token packet, it detects the token packet and identifies an OUT token or an IN token. A DMA request signal is transmitted to 61. Then, the DMA controller 61 that has received the DMA request signal makes the function-side US
U between the B transceiver 31 and the buffer memory 50
The transfer of the SB data is started.

【0044】その後、マイコン90はDMAカウンタ6
2からDMAカウント数を取得し、上述したものと同様
にカウントダウンを開始する。そして、このカウントダ
ウンを行っている間、受信したトークンパケットの種別
に応じて表示器70の中のLEDを点灯させるように所
定の信号を送出する。もちろん、このカウントダウンの
スピードはソフト的に制御することが可能であり、外部
の入力スイッチからそのスピードを設定可能としてお
き、適宜読み込まれるようにしておいてもよい。
Thereafter, the microcomputer 90 sets the DMA counter 6
The DMA count is obtained from 2 and the countdown is started in the same manner as described above. While the countdown is being performed, a predetermined signal is transmitted so as to turn on the LED in the display 70 according to the type of the received token packet. Of course, the countdown speed can be controlled by software, and the speed may be set from an external input switch and may be read as appropriate.

【0045】次に、上記のように構成した第二の実施形
態の動作について説明する。USBホストデバイス10
からUSBファンクションデバイス21にデータ送信す
る場合、まずUSBホストデバイス10は、USBファ
ンクションデバイス21に対してデータの受信準備を要
求するためのOUTトークンを送信する。すると、この
OUTトークンをファンクション側USBトランシーバ
31が受信し、PID検出回路32がOUTトークンで
あることを検出してOUTトークン検出信号をアクティ
ブにする。
Next, the operation of the second embodiment configured as described above will be described. USB host device 10
When transmitting data from the USB function device 21 to the USB function device 21, the USB host device 10 first transmits an OUT token for requesting the USB function device 21 to prepare for data reception. Then, this OUT token is received by the function-side USB transceiver 31, and the PID detection circuit 32 detects that it is an OUT token, and activates the OUT token detection signal.

【0046】その後、ファンクション側USBトランシ
ーバ31が実際のUSBデータを受信すると、DMAコ
ントローラ61に対してDMA要求信号を送信し、この
DMA要求信号を受けてDMAコントローラ61は、フ
ァンクション側USBトランシーバ31において受信し
たUSBデータをバッファメモリ50にDMA転送す
る。
Thereafter, when the function-side USB transceiver 31 receives the actual USB data, the function-side USB transceiver 31 transmits a DMA request signal to the DMA controller 61. The received USB data is DMA-transferred to the buffer memory 50.

【0047】ホスト側データ送信カウンタ43は、OU
Tトークン検出信号がアクティブになると、DMAカウ
ンタ62からDMAカウント数を取得してラッチし、ラ
ッチ完了後、このDMAカウント数をクロック発生回路
から入力されるクロック信号に同期して「1」ずつカウ
ントダウンし、そのカウント数が「0」となるまで出力
信号をアクティブにする。すると、表示器70はLED
を点灯させてUSBホストデバイス10からデータ受信
中であることを示す。
The host-side data transmission counter 43 has an OU
When the T token detection signal becomes active, the DMA count number is obtained from the DMA counter 62 and latched. After the latch is completed, the DMA count number is counted down by "1" in synchronization with the clock signal input from the clock generation circuit. Then, the output signal is activated until the counted number becomes “0”. Then, the display 70 is LED
Is turned on to indicate that data is being received from the USB host device 10.

【0048】一方、USBファンクションデバイス21
からUSBホストデバイス10にデータ送信する場合、
まずUSBホストデバイス10は、USBファンクショ
ンデバイス21に対してデータの転送を要求するための
INトークンを送信する。すると、このINトークンを
ファンクション側USBトランシーバ31が受信し、P
ID検出回路32がINトークンであることを検出して
INトークン検出信号をアクティブにする。
On the other hand, the USB function device 21
When transmitting data to the USB host device 10 from
First, the USB host device 10 transmits an IN token for requesting the USB function device 21 to transfer data. Then, this IN token is received by the function-side USB transceiver 31, and
The ID detection circuit 32 detects that it is an IN token and activates the IN token detection signal.

【0049】その後、USBファンクションデバイス2
1は、バッファメモリ50に送信するUSBデータを一
旦格納し、ファンクション側USBトランシーバ31は
DMAコントローラ61にDMA要求信号を送信する。
この要求信号を受けたDMAコントローラ61は、バッ
ファメモリ50に格納したUSBデータをファンクショ
ン側USBトランシーバ31に転送し、このファンクシ
ョン側USBトランシーバ31はUSBデータをUSB
ホストデバイス10に送信する。
Thereafter, the USB function device 2
1 temporarily stores USB data to be transmitted to the buffer memory 50, and the function-side USB transceiver 31 transmits a DMA request signal to the DMA controller 61.
The DMA controller 61 that has received the request signal transfers the USB data stored in the buffer memory 50 to the function-side USB transceiver 31, and the function-side USB transceiver 31 transfers the USB data to the USB.
Transmit to the host device 10.

【0050】ホスト側データ受信カウンタ44は、IN
トークン検出信号がアクティブになると、DMAカウン
タ62からDMAカウント数を取得してラッチし、ラッ
チ完了後、このDMAカウント数をクロック発生回路か
ら入力されるクロック信号に同期して「1」ずつカウン
トダウンし、そのカウント数が「0」となるまで出力信
号をアクティブにする。すると、表示器70はLEDを
点灯させてUSBホストデバイス10にデータ送信中で
あることを示す。
The host-side data reception counter 44 sets the IN
When the token detection signal becomes active, the DMA count is acquired from the DMA counter 62 and latched. After the latch is completed, the DMA count is counted down by "1" in synchronization with the clock signal input from the clock generation circuit. , Until the count number becomes "0". Then, the display 70 turns on the LED to indicate that data is being transmitted to the USB host device 10.

【0051】ホスト側データ送信カウンタ43またはホ
スト側データ受信カウンタ44のカウントダウンのスピ
ードは、クロック発生回路81から出力されるクロック
信号の周波数に依存するが、その周波数は周波数設定部
82において可変設定されるため、ホスト側データ送信
カウンタ43またはホスト側データ受信カウンタ44か
らの出力信号のアクティブな期間を変化させることがで
きる。
The countdown speed of the host-side data transmission counter 43 or the host-side data reception counter 44 depends on the frequency of the clock signal output from the clock generation circuit 81, and the frequency is variably set by the frequency setting unit 82. Therefore, the active period of the output signal from the host-side data transmission counter 43 or the host-side data reception counter 44 can be changed.

【0052】このように、USBファンクションデバイ
ス20の側のPID検出回路32において、受信したト
ークンパケットからデータの受信または送信のいずれで
あるかを検知してその検知信号をそれぞれANDゲート
41,42に入力し、ファンクション側USBトランシ
ーバ31から送出されるDMA要求信号をANDゲート
41,42に入力するとともに、このANDゲート4
1,42の出力に応じて表示器70の表示内容を変化さ
せるようにしたため、データの送信状況と受信状況を表
示することができ、利便性を向上させることができる。
As described above, the PID detection circuit 32 on the side of the USB function device 20 detects whether data is received or transmitted from the received token packet, and sends the detection signal to the AND gates 41 and 42, respectively. The DMA request signal sent from the function-side USB transceiver 31 is input to AND gates 41 and 42, and the AND gate 4
Since the display contents of the display 70 are changed according to the outputs of the devices 1 and 42, the data transmission status and the data reception status can be displayed, and the convenience can be improved.

【0053】[0053]

【発明の効果】以上説明したように本発明は、USBホ
ストデバイスとUSBファンクションデバイスとからな
る通信システムにおいて、データの転送状況を表示する
ようにしたため、利便性を向上させることが可能な通信
システムを提供することができる。また、請求項2にか
かる発明によれば、データの送信状況と受信状況とを個
別に表示するようにしたため、データの転送状況が分か
りやすい。
As described above, according to the present invention, in a communication system including a USB host device and a USB function device, a data transfer status is displayed, so that a communication system capable of improving convenience can be provided. Can be provided. Further, according to the second aspect of the present invention, the data transmission status and the reception status are individually displayed, so that the data transfer status can be easily understood.

【0054】さらに、請求項3にかかる発明によれば、
簡易な構成でデータの送信状況と受信状況とを個別に表
示することができる。さらに、請求項4にかかる発明に
よれば、簡易な構成でデータの送信状況と受信状況とを
個別に表示しつつ、表示内容の視認性を向上させること
ができる。さらに、請求項5にかかる発明によれば、デ
ータの送信状況と受信状況とを表示する表示期間を可変
としたため、所望の表示態様を選択することができる。
Further, according to the invention of claim 3,
The data transmission status and the reception status can be individually displayed with a simple configuration. Further, according to the invention of claim 4, it is possible to improve the visibility of the displayed contents while individually displaying the data transmission status and the data reception status with a simple configuration. Furthermore, according to the fifth aspect of the invention, the display period for displaying the data transmission status and the data reception status is made variable, so that a desired display mode can be selected.

【0055】さらに、請求項6にかかる発明によれば、
データの転送状況を表示することが可能なUSBファン
クションデバイスを提供することができる。さらに、請
求項7にかかる発明によれば、USBホストデバイスと
USBファンクションデバイスとからなる通信システム
において、データの転送状況を表示するようにしたた
め、利便性を向上させることが可能な通信システム制御
方法を提供することができる。
Further, according to the invention of claim 6,
A USB function device capable of displaying a data transfer status can be provided. Further, according to the present invention, in a communication system including a USB host device and a USB function device, a data transfer status is displayed, so that a communication system control method capable of improving convenience can be provided. Can be provided.

【0056】さらに、請求項8にかかる発明によれば、
USBホストデバイスとUSBファンクションデバイス
とからなる通信システムにおいて、データの転送状況を
所定の表示器に表示する通信状況表示プログラムを記録
した媒体を提供することができる。
Further, according to the invention of claim 8,
In a communication system including a USB host device and a USB function device, it is possible to provide a medium recording a communication status display program for displaying a data transfer status on a predetermined display.

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

【図1】本発明の第一の実施形態にかかる通信システム
のブロック図である。
FIG. 1 is a block diagram of a communication system according to a first embodiment of the present invention.

【図2】USBホストデバイスのデータ送信時とデータ
受信時における伝送手順の流れを示すフローチャートで
ある。
FIG. 2 is a flowchart showing a flow of a transmission procedure at the time of data transmission and data reception of a USB host device.

【図3】USBファンクションデバイスからUSBホス
トデバイスにデータを送信するときの伝送手順を示すシ
ーケンス図である。
FIG. 3 is a sequence diagram showing a transmission procedure when transmitting data from a USB function device to a USB host device.

【図4】同USBホストデバイスからUSBファンクシ
ョンデバイスにデータを送信するときの伝送手順を示す
シーケンス図である。
FIG. 4 is a sequence diagram showing a transmission procedure when data is transmitted from the USB host device to a USB function device.

【図5】トークンパケットのフォーマットを示す概略図
である。
FIG. 5 is a schematic diagram showing a format of a token packet.

【図6】本発明の第二の実施形態にかかる通信システム
のブロック図である。
FIG. 6 is a block diagram of a communication system according to a second embodiment of the present invention.

【図7】同第二の実施形態の変形例にかかる通信システ
ムのブロック図である。
FIG. 7 is a block diagram of a communication system according to a modification of the second embodiment.

【符号の説明】[Explanation of symbols]

10…USBホストデバイス 11…ホスト側USBトランシーバ 20…USBファンクションデバイス 31…ファンクション側USBトランシーバ 32…PID検出回路 41,42…ANDゲート 50…バッファメモリ 61…DMAコントローラ 70…表示器 DESCRIPTION OF SYMBOLS 10 ... USB host device 11 ... Host side USB transceiver 20 ... USB function device 31 ... Function side USB transceiver 32 ... PID detection circuit 41, 42 ... AND gate 50 ... Buffer memory 61 ... DMA controller 70 ... Display

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 7/14 H04N 7/14 ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification code FI H04N 7/14 H04N 7/14

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 所定のトランシーバを備えてデータの転
送が可能なUSBホストデバイスと、USBファンクシ
ョンデバイスとからなる通信システムであって、 上記USBホストデバイスとUSBファンクションデバ
イス間のデータの転送状況を表示するデータ転送状況表
示手段を具備することを特徴とする通信システム。
1. A communication system comprising: a USB host device having a predetermined transceiver capable of transferring data; and a USB function device, wherein a data transfer status between the USB host device and the USB function device is displayed. A communication system, comprising:
【請求項2】 上記請求項1に記載の通信システムにお
いて、 上記データ転送状況表示手段は、データの送信状況と受
信状況とを個別に表示することを特徴とする通信システ
ム。
2. The communication system according to claim 1, wherein said data transfer status display means individually displays a data transmission status and a data reception status.
【請求項3】 上記請求項2に記載の通信システムにお
いて、 上記USBホストデバイスは、データの送受信を行うに
先立ってデータの送信または受信を示すトークンを上記
USBホストデバイスに送出し、 上記USBファンクションデバイスは、上記トークンを
受信した後、所定のDMA要求信号に基づいて自身のト
ランシーバとバッファメモリ間でデータをDMA転送し
つつ上記USBホストデバイスとの間でデータの送受信
を行うとともに、 上記データ転送状況表示手段は、上記トークンと、上記
DMA要求信号に基づいてデータの送信状況と受信状況
とを表示することを特徴とする通信システム。
3. The communication system according to claim 2, wherein the USB host device sends a token indicating data transmission or reception to the USB host device before transmitting / receiving data, and After receiving the token, the device transmits and receives data to and from the USB host device while DMA-transferring data between its own transceiver and the buffer memory based on a predetermined DMA request signal. A communication system, wherein the status display means displays data transmission status and reception status based on the token and the DMA request signal.
【請求項4】 上記請求項2に記載の通信システムにお
いて、 上記USBホストデバイスは、データの送受信を行うに
先立ってデータの送信または受信を示すトークンを上記
USBホストデバイスに送出し、 上記USBファンクションデバイスは、上記トークンを
受信した後、所定のDMA要求信号に基づいて自身のト
ランシーバとバッファメモリ間でデータをDMA転送し
つつ上記USBホストデバイスとの間でデータの送受信
を行うとともに、 上記データ転送状況表示手段は、上記トークンを検出し
た場合に上記DMA転送時のDMAカウント数を取得
し、所定のクロック信号に基づいてこのDMAカウント
数をカウントする間、データ送信中またはデータ受信中
の表示をすることを特徴とする通信システム。
4. The communication system according to claim 2, wherein the USB host device sends a token indicating data transmission or reception to the USB host device before transmitting / receiving data, and the USB function After receiving the token, the device transmits and receives data to and from the USB host device while DMA-transferring data between its own transceiver and the buffer memory based on a predetermined DMA request signal. The status display means acquires the DMA count number at the time of the DMA transfer when the token is detected, and displays an indication during data transmission or data reception while counting the DMA count number based on a predetermined clock signal. A communication system, comprising:
【請求項5】 上記請求項4に記載の通信システムにお
いて、 上記データ転送状況表示手段は、上記クロック信号の周
波数を可変設定することを特徴とする通信システム。
5. The communication system according to claim 4, wherein said data transfer status display means variably sets a frequency of said clock signal.
【請求項6】 所定のトランシーバを備えてUSBホス
トデバイスとの間でデータの転送が可能あるとともに、 上記USBホストデバイスとの間のデータの転送状況を
表示するデータ転送状況表示手段を具備することを特徴
とするUSBファンクションデバイス。
6. A data transfer status display means which includes a predetermined transceiver and is capable of transferring data to and from a USB host device, and displays a data transfer status to and from the USB host device. A USB function device characterized by the above-mentioned.
【請求項7】 所定のトランシーバを備えてデータの転
送が可能なUSBホストデバイスと、USBファンクシ
ョンデバイスとからなる通信システムのための通信シス
テム制御方法であって、 上記USBホストデバイスとUSBファンクションデバ
イス間のデータの転送状況を検知し、所定の表示器に表
示することを特徴とする通信システム制御方法。
7. A communication system control method for a communication system including a USB host device having a predetermined transceiver and capable of transferring data, and a USB function device, wherein the communication between the USB host device and the USB function device is performed. A method for controlling a communication system, comprising: detecting a data transfer status of the data and displaying the data on a predetermined display.
【請求項8】 所定のトランシーバを備えてデータの転
送が可能なUSBホストデバイスと、USBファンクシ
ョンデバイスとからなる通信システムのための通信状況
表示プログラムを記録した媒体であって、 上記USBホストデバイスとUSBファンクションデバ
イス間のデータの転送状況を検知し、所定の表示器に表
示することを特徴とする通信状況表示プログラムを記録
した媒体。
8. A medium in which a communication status display program for a communication system including a USB host device having a predetermined transceiver and capable of transferring data and a USB function device is recorded. A medium in which a communication status display program is recorded, wherein the status of data transfer between USB function devices is detected and displayed on a predetermined display.
JP23712897A 1997-09-02 1997-09-02 Communications system Expired - Fee Related JP3134821B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP23712897A JP3134821B2 (en) 1997-09-02 1997-09-02 Communications system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP23712897A JP3134821B2 (en) 1997-09-02 1997-09-02 Communications system

Publications (2)

Publication Number Publication Date
JPH1188381A true JPH1188381A (en) 1999-03-30
JP3134821B2 JP3134821B2 (en) 2001-02-13

Family

ID=17010830

Family Applications (1)

Application Number Title Priority Date Filing Date
JP23712897A Expired - Fee Related JP3134821B2 (en) 1997-09-02 1997-09-02 Communications system

Country Status (1)

Country Link
JP (1) JP3134821B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1085421A2 (en) * 1999-08-31 2001-03-21 Ando Electric Co., Ltd. USB data monitoring apparatus
WO2002023357A3 (en) * 2000-09-14 2003-04-03 St Microelectronics Method and device for signaling data transfer between a usb port and a usb smart card module
GB2394152A (en) * 2002-10-09 2004-04-14 Nokia Corp Detecting prior to data transfer whether direct memory access is supported
JP2010160681A (en) * 2009-01-08 2010-07-22 Nec Access Technica Ltd Usb hub device

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1085421A2 (en) * 1999-08-31 2001-03-21 Ando Electric Co., Ltd. USB data monitoring apparatus
EP1085421A3 (en) * 1999-08-31 2002-07-03 Ando Electric Co., Ltd. USB data monitoring apparatus
WO2002023357A3 (en) * 2000-09-14 2003-04-03 St Microelectronics Method and device for signaling data transfer between a usb port and a usb smart card module
JP2004524597A (en) * 2000-09-14 2004-08-12 エスティーマイクロエレクトロニクス Method and apparatus for displaying traffic of a universal serial bus smart card module
GB2394152A (en) * 2002-10-09 2004-04-14 Nokia Corp Detecting prior to data transfer whether direct memory access is supported
GB2394152B (en) * 2002-10-09 2005-11-02 Nokia Corp DMA Detection
US7444441B2 (en) 2002-10-09 2008-10-28 Nokia Corporation Device including means for transferring information indicating whether or not the device supports DMA
JP2010160681A (en) * 2009-01-08 2010-07-22 Nec Access Technica Ltd Usb hub device

Also Published As

Publication number Publication date
JP3134821B2 (en) 2001-02-13

Similar Documents

Publication Publication Date Title
CN101911000B (en) Control bus for connection of electronic devices
CN1551592B (en) Data transmission control device, electronic device and data transmission control method
US5978865A (en) System for performing DMA transfers where an interrupt request signal is generated based on the value of the last of a plurality of data bits transmitted
JP2001236304A (en) Microcomputer
US20050091427A1 (en) Integrated circuit device having send/receive macro for serial transfer bus
CA2336385A1 (en) Improved inter-device serial bus protocol
US7814254B2 (en) Mode setting method and system in hot plug of PCI device
US6665757B1 (en) Communication interface having a master activating/deactivating a first signal with a clock signal after a predetermined time after a slave activating/deactivating the first signal
JP4583590B2 (en) Control chipset arbitration in bus transactions
JPS5941033A (en) Electronic computer system
JPH1188381A (en) Communication system, usb function device, communication system control method and medium recording communication condition display program
WO1995026002A1 (en) Method and apparatus for transmission of signals over a shared line
US7062593B2 (en) Circuit system and method for data transmission between LPC devices
US7346714B2 (en) Notification of completion of communication with a plurality of data storage areas
KR100340815B1 (en) Process and arrangement for operating a bus system
KR20070102823A (en) Device for controlling address in a i2c protocol
JP2002149623A (en) Microcomputer
JP2800764B2 (en) Data transfer control method
KR100259585B1 (en) Dma controller
JP2576236B2 (en) Communication method of programmable controller
JP3615306B2 (en) Storage device access system
JP3743975B2 (en) Storage system
JP2671743B2 (en) Microcomputer
JP2000049808A (en) External storage device and data processing unit having infrared ray communication function and communication system
KR20050037220A (en) Bus interface apparatus for computer system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees